@aws-sdk/client-imagebuilder 3.183.0 → 3.185.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 +11 -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 +5 -5
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class ImagebuilderClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var ImagebuilderClient = (function (_super) {
13
+ __extends(ImagebuilderClient, _super);
14
+ function ImagebuilderClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ ImagebuilderClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return ImagebuilderClient;
38
+ }(__Client));
39
+ export { ImagebuilderClient };
@@ -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 { CancelImageCreationRequestFilterSensitiveLog, CancelImageCreationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CancelImageCreationCommand, serializeAws_restJson1CancelImageCreationCommand, } from "../protocols/Aws_restJson1";
5
- export class CancelImageCreationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CancelImageCreationCommand = (function (_super) {
7
+ __extends(CancelImageCreationCommand, _super);
8
+ function CancelImageCreationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CancelImageCreationCommand.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 = "CancelImageCreationCommand";
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 = "CancelImageCreationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CancelImageCreationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CancelImageCreationResponseFilterSensitiveLog,
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
+ CancelImageCreationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CancelImageCreationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CancelImageCreationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CancelImageCreationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CancelImageCreationCommand;
38
+ }($Command));
39
+ export { CancelImageCreationCommand };
@@ -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 { CreateComponentRequestFilterSensitiveLog, CreateComponentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateComponentCommand, serializeAws_restJson1CreateComponentCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateComponentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateComponentCommand = (function (_super) {
7
+ __extends(CreateComponentCommand, _super);
8
+ function CreateComponentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateComponentCommand.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 = "CreateComponentCommand";
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 = "CreateComponentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateComponentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateComponentResponseFilterSensitiveLog,
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
+ CreateComponentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateComponentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateComponentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateComponentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateComponentCommand;
38
+ }($Command));
39
+ export { CreateComponentCommand };
@@ -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 { CreateContainerRecipeRequestFilterSensitiveLog, CreateContainerRecipeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateContainerRecipeCommand, serializeAws_restJson1CreateContainerRecipeCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateContainerRecipeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateContainerRecipeCommand = (function (_super) {
7
+ __extends(CreateContainerRecipeCommand, _super);
8
+ function CreateContainerRecipeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateContainerRecipeCommand.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 = "CreateContainerRecipeCommand";
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 = "CreateContainerRecipeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateContainerRecipeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateContainerRecipeResponseFilterSensitiveLog,
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
+ CreateContainerRecipeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateContainerRecipeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateContainerRecipeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateContainerRecipeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateContainerRecipeCommand;
38
+ }($Command));
39
+ export { CreateContainerRecipeCommand };
@@ -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 { CreateDistributionConfigurationRequestFilterSensitiveLog, CreateDistributionConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateDistributionConfigurationCommand, serializeAws_restJson1CreateDistributionConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateDistributionConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDistributionConfigurationCommand = (function (_super) {
7
+ __extends(CreateDistributionConfigurationCommand, _super);
8
+ function CreateDistributionConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDistributionConfigurationCommand.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 = "CreateDistributionConfigurationCommand";
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 = "CreateDistributionConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDistributionConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDistributionConfigurationResponseFilterSensitiveLog,
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
+ CreateDistributionConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateDistributionConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDistributionConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateDistributionConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDistributionConfigurationCommand;
38
+ }($Command));
39
+ export { CreateDistributionConfigurationCommand };
@@ -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 { CreateImageRequestFilterSensitiveLog, CreateImageResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateImageCommand, serializeAws_restJson1CreateImageCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateImageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateImageCommand = (function (_super) {
7
+ __extends(CreateImageCommand, _super);
8
+ function CreateImageCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateImageCommand.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 = "CreateImageCommand";
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 = "CreateImageCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateImageRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateImageResponseFilterSensitiveLog,
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
+ CreateImageCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateImageCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateImageCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateImageCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateImageCommand;
38
+ }($Command));
39
+ export { CreateImageCommand };
@@ -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 { CreateImagePipelineRequestFilterSensitiveLog, CreateImagePipelineResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateImagePipelineCommand, serializeAws_restJson1CreateImagePipelineCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateImagePipelineCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateImagePipelineCommand = (function (_super) {
7
+ __extends(CreateImagePipelineCommand, _super);
8
+ function CreateImagePipelineCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateImagePipelineCommand.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 = "CreateImagePipelineCommand";
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 = "CreateImagePipelineCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateImagePipelineRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateImagePipelineResponseFilterSensitiveLog,
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
+ CreateImagePipelineCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateImagePipelineCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateImagePipelineCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateImagePipelineCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateImagePipelineCommand;
38
+ }($Command));
39
+ export { CreateImagePipelineCommand };
@@ -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 { CreateImageRecipeRequestFilterSensitiveLog, CreateImageRecipeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateImageRecipeCommand, serializeAws_restJson1CreateImageRecipeCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateImageRecipeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateImageRecipeCommand = (function (_super) {
7
+ __extends(CreateImageRecipeCommand, _super);
8
+ function CreateImageRecipeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateImageRecipeCommand.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 = "CreateImageRecipeCommand";
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 = "CreateImageRecipeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateImageRecipeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateImageRecipeResponseFilterSensitiveLog,
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
+ CreateImageRecipeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateImageRecipeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateImageRecipeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateImageRecipeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateImageRecipeCommand;
38
+ }($Command));
39
+ export { CreateImageRecipeCommand };
@@ -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 { CreateInfrastructureConfigurationRequestFilterSensitiveLog, CreateInfrastructureConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateInfrastructureConfigurationCommand, serializeAws_restJson1CreateInfrastructureConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateInfrastructureConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateInfrastructureConfigurationCommand = (function (_super) {
7
+ __extends(CreateInfrastructureConfigurationCommand, _super);
8
+ function CreateInfrastructureConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateInfrastructureConfigurationCommand.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 = "CreateInfrastructureConfigurationCommand";
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 = "CreateInfrastructureConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateInfrastructureConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateInfrastructureConfigurationResponseFilterSensitiveLog,
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
+ CreateInfrastructureConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateInfrastructureConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateInfrastructureConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateInfrastructureConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateInfrastructureConfigurationCommand;
38
+ }($Command));
39
+ export { CreateInfrastructureConfigurationCommand };
@@ -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 { DeleteComponentRequestFilterSensitiveLog, DeleteComponentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteComponentCommand, serializeAws_restJson1DeleteComponentCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteComponentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteComponentCommand = (function (_super) {
7
+ __extends(DeleteComponentCommand, _super);
8
+ function DeleteComponentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteComponentCommand.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 = "DeleteComponentCommand";
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 = "DeleteComponentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteComponentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteComponentResponseFilterSensitiveLog,
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
+ DeleteComponentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteComponentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteComponentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteComponentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteComponentCommand;
38
+ }($Command));
39
+ export { DeleteComponentCommand };