@aws-sdk/client-imagebuilder 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 (74) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Imagebuilder.js +209 -202
  4. package/dist-es/ImagebuilderClient.js +28 -22
  5. package/dist-es/commands/CancelImageCreationCommand.js +28 -21
  6. package/dist-es/commands/CreateComponentCommand.js +28 -21
  7. package/dist-es/commands/CreateContainerRecipeCommand.js +28 -21
  8. package/dist-es/commands/CreateDistributionConfigurationCommand.js +28 -21
  9. package/dist-es/commands/CreateImageCommand.js +28 -21
  10. package/dist-es/commands/CreateImagePipelineCommand.js +28 -21
  11. package/dist-es/commands/CreateImageRecipeCommand.js +28 -21
  12. package/dist-es/commands/CreateInfrastructureConfigurationCommand.js +28 -21
  13. package/dist-es/commands/DeleteComponentCommand.js +28 -21
  14. package/dist-es/commands/DeleteContainerRecipeCommand.js +28 -21
  15. package/dist-es/commands/DeleteDistributionConfigurationCommand.js +28 -21
  16. package/dist-es/commands/DeleteImageCommand.js +28 -21
  17. package/dist-es/commands/DeleteImagePipelineCommand.js +28 -21
  18. package/dist-es/commands/DeleteImageRecipeCommand.js +28 -21
  19. package/dist-es/commands/DeleteInfrastructureConfigurationCommand.js +28 -21
  20. package/dist-es/commands/GetComponentCommand.js +28 -21
  21. package/dist-es/commands/GetComponentPolicyCommand.js +28 -21
  22. package/dist-es/commands/GetContainerRecipeCommand.js +28 -21
  23. package/dist-es/commands/GetContainerRecipePolicyCommand.js +28 -21
  24. package/dist-es/commands/GetDistributionConfigurationCommand.js +28 -21
  25. package/dist-es/commands/GetImageCommand.js +28 -21
  26. package/dist-es/commands/GetImagePipelineCommand.js +28 -21
  27. package/dist-es/commands/GetImagePolicyCommand.js +28 -21
  28. package/dist-es/commands/GetImageRecipeCommand.js +28 -21
  29. package/dist-es/commands/GetImageRecipePolicyCommand.js +28 -21
  30. package/dist-es/commands/GetInfrastructureConfigurationCommand.js +28 -21
  31. package/dist-es/commands/ImportComponentCommand.js +28 -21
  32. package/dist-es/commands/ImportVmImageCommand.js +28 -21
  33. package/dist-es/commands/ListComponentBuildVersionsCommand.js +28 -21
  34. package/dist-es/commands/ListComponentsCommand.js +28 -21
  35. package/dist-es/commands/ListContainerRecipesCommand.js +28 -21
  36. package/dist-es/commands/ListDistributionConfigurationsCommand.js +28 -21
  37. package/dist-es/commands/ListImageBuildVersionsCommand.js +28 -21
  38. package/dist-es/commands/ListImagePackagesCommand.js +28 -21
  39. package/dist-es/commands/ListImagePipelineImagesCommand.js +28 -21
  40. package/dist-es/commands/ListImagePipelinesCommand.js +28 -21
  41. package/dist-es/commands/ListImageRecipesCommand.js +28 -21
  42. package/dist-es/commands/ListImagesCommand.js +28 -21
  43. package/dist-es/commands/ListInfrastructureConfigurationsCommand.js +28 -21
  44. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  45. package/dist-es/commands/PutComponentPolicyCommand.js +28 -21
  46. package/dist-es/commands/PutContainerRecipePolicyCommand.js +28 -21
  47. package/dist-es/commands/PutImagePolicyCommand.js +28 -21
  48. package/dist-es/commands/PutImageRecipePolicyCommand.js +28 -21
  49. package/dist-es/commands/StartImagePipelineExecutionCommand.js +28 -21
  50. package/dist-es/commands/TagResourceCommand.js +28 -21
  51. package/dist-es/commands/UntagResourceCommand.js +28 -21
  52. package/dist-es/commands/UpdateDistributionConfigurationCommand.js +28 -21
  53. package/dist-es/commands/UpdateImagePipelineCommand.js +28 -21
  54. package/dist-es/commands/UpdateInfrastructureConfigurationCommand.js +28 -21
  55. package/dist-es/endpoints.js +8 -8
  56. package/dist-es/models/ImagebuilderServiceException.js +10 -5
  57. package/dist-es/models/models_0.js +333 -622
  58. package/dist-es/pagination/ListComponentBuildVersionsPaginator.js +68 -25
  59. package/dist-es/pagination/ListComponentsPaginator.js +68 -25
  60. package/dist-es/pagination/ListContainerRecipesPaginator.js +68 -25
  61. package/dist-es/pagination/ListDistributionConfigurationsPaginator.js +68 -25
  62. package/dist-es/pagination/ListImageBuildVersionsPaginator.js +68 -25
  63. package/dist-es/pagination/ListImagePackagesPaginator.js +68 -25
  64. package/dist-es/pagination/ListImagePipelineImagesPaginator.js +68 -25
  65. package/dist-es/pagination/ListImagePipelinesPaginator.js +68 -25
  66. package/dist-es/pagination/ListImageRecipesPaginator.js +68 -25
  67. package/dist-es/pagination/ListImagesPaginator.js +68 -25
  68. package/dist-es/pagination/ListInfrastructureConfigurationsPaginator.js +68 -25
  69. package/dist-es/protocols/Aws_restJson1.js +6003 -4518
  70. package/dist-es/runtimeConfig.browser.js +12 -26
  71. package/dist-es/runtimeConfig.js +12 -30
  72. package/dist-es/runtimeConfig.native.js +5 -8
  73. package/dist-es/runtimeConfig.shared.js +11 -8
  74. package/package.json +33 -33
@@ -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 { ListComponentsRequestFilterSensitiveLog, ListComponentsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListComponentsCommand, serializeAws_restJson1ListComponentsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListComponentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListComponentsCommand = (function (_super) {
7
+ __extends(ListComponentsCommand, _super);
8
+ function ListComponentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListComponentsCommand.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 = "ImagebuilderClient";
15
- const commandName = "ListComponentsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ImagebuilderClient";
18
+ var commandName = "ListComponentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListComponentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListComponentsResponseFilterSensitiveLog,
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
+ ListComponentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListComponentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListComponentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListComponentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListComponentsCommand;
38
+ }($Command));
39
+ export { ListComponentsCommand };
@@ -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 { ListContainerRecipesRequestFilterSensitiveLog, ListContainerRecipesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListContainerRecipesCommand, serializeAws_restJson1ListContainerRecipesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListContainerRecipesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListContainerRecipesCommand = (function (_super) {
7
+ __extends(ListContainerRecipesCommand, _super);
8
+ function ListContainerRecipesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListContainerRecipesCommand.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 = "ImagebuilderClient";
15
- const commandName = "ListContainerRecipesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ImagebuilderClient";
18
+ var commandName = "ListContainerRecipesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListContainerRecipesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListContainerRecipesResponseFilterSensitiveLog,
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
+ ListContainerRecipesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListContainerRecipesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListContainerRecipesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListContainerRecipesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListContainerRecipesCommand;
38
+ }($Command));
39
+ export { ListContainerRecipesCommand };
@@ -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 { ListDistributionConfigurationsRequestFilterSensitiveLog, ListDistributionConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListDistributionConfigurationsCommand, serializeAws_restJson1ListDistributionConfigurationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListDistributionConfigurationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDistributionConfigurationsCommand = (function (_super) {
7
+ __extends(ListDistributionConfigurationsCommand, _super);
8
+ function ListDistributionConfigurationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDistributionConfigurationsCommand.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 = "ImagebuilderClient";
15
- const commandName = "ListDistributionConfigurationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ImagebuilderClient";
18
+ var commandName = "ListDistributionConfigurationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDistributionConfigurationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDistributionConfigurationsResponseFilterSensitiveLog,
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
+ ListDistributionConfigurationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListDistributionConfigurationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDistributionConfigurationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListDistributionConfigurationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDistributionConfigurationsCommand;
38
+ }($Command));
39
+ export { ListDistributionConfigurationsCommand };
@@ -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 { ListImageBuildVersionsRequestFilterSensitiveLog, ListImageBuildVersionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListImageBuildVersionsCommand, serializeAws_restJson1ListImageBuildVersionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListImageBuildVersionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListImageBuildVersionsCommand = (function (_super) {
7
+ __extends(ListImageBuildVersionsCommand, _super);
8
+ function ListImageBuildVersionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListImageBuildVersionsCommand.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 = "ImagebuilderClient";
15
- const commandName = "ListImageBuildVersionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ImagebuilderClient";
18
+ var commandName = "ListImageBuildVersionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListImageBuildVersionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListImageBuildVersionsResponseFilterSensitiveLog,
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
+ ListImageBuildVersionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListImageBuildVersionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListImageBuildVersionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListImageBuildVersionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListImageBuildVersionsCommand;
38
+ }($Command));
39
+ export { ListImageBuildVersionsCommand };
@@ -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 { ListImagePackagesRequestFilterSensitiveLog, ListImagePackagesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListImagePackagesCommand, serializeAws_restJson1ListImagePackagesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListImagePackagesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListImagePackagesCommand = (function (_super) {
7
+ __extends(ListImagePackagesCommand, _super);
8
+ function ListImagePackagesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListImagePackagesCommand.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 = "ImagebuilderClient";
15
- const commandName = "ListImagePackagesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ImagebuilderClient";
18
+ var commandName = "ListImagePackagesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListImagePackagesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListImagePackagesResponseFilterSensitiveLog,
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
+ ListImagePackagesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListImagePackagesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListImagePackagesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListImagePackagesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListImagePackagesCommand;
38
+ }($Command));
39
+ export { ListImagePackagesCommand };
@@ -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 { ListImagePipelineImagesRequestFilterSensitiveLog, ListImagePipelineImagesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListImagePipelineImagesCommand, serializeAws_restJson1ListImagePipelineImagesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListImagePipelineImagesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListImagePipelineImagesCommand = (function (_super) {
7
+ __extends(ListImagePipelineImagesCommand, _super);
8
+ function ListImagePipelineImagesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListImagePipelineImagesCommand.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 = "ImagebuilderClient";
15
- const commandName = "ListImagePipelineImagesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ImagebuilderClient";
18
+ var commandName = "ListImagePipelineImagesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListImagePipelineImagesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListImagePipelineImagesResponseFilterSensitiveLog,
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
+ ListImagePipelineImagesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListImagePipelineImagesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListImagePipelineImagesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListImagePipelineImagesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListImagePipelineImagesCommand;
38
+ }($Command));
39
+ export { ListImagePipelineImagesCommand };
@@ -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 { ListImagePipelinesRequestFilterSensitiveLog, ListImagePipelinesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListImagePipelinesCommand, serializeAws_restJson1ListImagePipelinesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListImagePipelinesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListImagePipelinesCommand = (function (_super) {
7
+ __extends(ListImagePipelinesCommand, _super);
8
+ function ListImagePipelinesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListImagePipelinesCommand.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 = "ImagebuilderClient";
15
- const commandName = "ListImagePipelinesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ImagebuilderClient";
18
+ var commandName = "ListImagePipelinesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListImagePipelinesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListImagePipelinesResponseFilterSensitiveLog,
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
+ ListImagePipelinesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListImagePipelinesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListImagePipelinesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListImagePipelinesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListImagePipelinesCommand;
38
+ }($Command));
39
+ export { ListImagePipelinesCommand };
@@ -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 { ListImageRecipesRequestFilterSensitiveLog, ListImageRecipesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListImageRecipesCommand, serializeAws_restJson1ListImageRecipesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListImageRecipesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListImageRecipesCommand = (function (_super) {
7
+ __extends(ListImageRecipesCommand, _super);
8
+ function ListImageRecipesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListImageRecipesCommand.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 = "ImagebuilderClient";
15
- const commandName = "ListImageRecipesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ImagebuilderClient";
18
+ var commandName = "ListImageRecipesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListImageRecipesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListImageRecipesResponseFilterSensitiveLog,
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
+ ListImageRecipesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListImageRecipesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListImageRecipesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListImageRecipesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListImageRecipesCommand;
38
+ }($Command));
39
+ export { ListImageRecipesCommand };
@@ -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 { ListImagesRequestFilterSensitiveLog, ListImagesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListImagesCommand, serializeAws_restJson1ListImagesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListImagesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListImagesCommand = (function (_super) {
7
+ __extends(ListImagesCommand, _super);
8
+ function ListImagesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListImagesCommand.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 = "ImagebuilderClient";
15
- const commandName = "ListImagesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ImagebuilderClient";
18
+ var commandName = "ListImagesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListImagesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListImagesResponseFilterSensitiveLog,
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
+ ListImagesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListImagesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListImagesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListImagesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListImagesCommand;
38
+ }($Command));
39
+ export { ListImagesCommand };
@@ -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 { ListInfrastructureConfigurationsRequestFilterSensitiveLog, ListInfrastructureConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListInfrastructureConfigurationsCommand, serializeAws_restJson1ListInfrastructureConfigurationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListInfrastructureConfigurationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListInfrastructureConfigurationsCommand = (function (_super) {
7
+ __extends(ListInfrastructureConfigurationsCommand, _super);
8
+ function ListInfrastructureConfigurationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListInfrastructureConfigurationsCommand.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 = "ImagebuilderClient";
15
- const commandName = "ListInfrastructureConfigurationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ImagebuilderClient";
18
+ var commandName = "ListInfrastructureConfigurationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListInfrastructureConfigurationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListInfrastructureConfigurationsResponseFilterSensitiveLog,
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
+ ListInfrastructureConfigurationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListInfrastructureConfigurationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListInfrastructureConfigurationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListInfrastructureConfigurationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListInfrastructureConfigurationsCommand;
38
+ }($Command));
39
+ export { ListInfrastructureConfigurationsCommand };