@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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.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 = "ListTagsForResourceCommand";
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 = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
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
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -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 { PutComponentPolicyRequestFilterSensitiveLog, PutComponentPolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PutComponentPolicyCommand, serializeAws_restJson1PutComponentPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class PutComponentPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutComponentPolicyCommand = (function (_super) {
7
+ __extends(PutComponentPolicyCommand, _super);
8
+ function PutComponentPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutComponentPolicyCommand.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 = "PutComponentPolicyCommand";
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 = "PutComponentPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutComponentPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutComponentPolicyResponseFilterSensitiveLog,
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
+ PutComponentPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutComponentPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutComponentPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutComponentPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutComponentPolicyCommand;
38
+ }($Command));
39
+ export { PutComponentPolicyCommand };
@@ -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 { PutContainerRecipePolicyRequestFilterSensitiveLog, PutContainerRecipePolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PutContainerRecipePolicyCommand, serializeAws_restJson1PutContainerRecipePolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class PutContainerRecipePolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutContainerRecipePolicyCommand = (function (_super) {
7
+ __extends(PutContainerRecipePolicyCommand, _super);
8
+ function PutContainerRecipePolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutContainerRecipePolicyCommand.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 = "PutContainerRecipePolicyCommand";
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 = "PutContainerRecipePolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutContainerRecipePolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutContainerRecipePolicyResponseFilterSensitiveLog,
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
+ PutContainerRecipePolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutContainerRecipePolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutContainerRecipePolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutContainerRecipePolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutContainerRecipePolicyCommand;
38
+ }($Command));
39
+ export { PutContainerRecipePolicyCommand };
@@ -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 { PutImagePolicyRequestFilterSensitiveLog, PutImagePolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PutImagePolicyCommand, serializeAws_restJson1PutImagePolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class PutImagePolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutImagePolicyCommand = (function (_super) {
7
+ __extends(PutImagePolicyCommand, _super);
8
+ function PutImagePolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutImagePolicyCommand.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 = "PutImagePolicyCommand";
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 = "PutImagePolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutImagePolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutImagePolicyResponseFilterSensitiveLog,
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
+ PutImagePolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutImagePolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutImagePolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutImagePolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutImagePolicyCommand;
38
+ }($Command));
39
+ export { PutImagePolicyCommand };
@@ -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 { PutImageRecipePolicyRequestFilterSensitiveLog, PutImageRecipePolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PutImageRecipePolicyCommand, serializeAws_restJson1PutImageRecipePolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class PutImageRecipePolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutImageRecipePolicyCommand = (function (_super) {
7
+ __extends(PutImageRecipePolicyCommand, _super);
8
+ function PutImageRecipePolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutImageRecipePolicyCommand.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 = "PutImageRecipePolicyCommand";
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 = "PutImageRecipePolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutImageRecipePolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutImageRecipePolicyResponseFilterSensitiveLog,
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
+ PutImageRecipePolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutImageRecipePolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutImageRecipePolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutImageRecipePolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutImageRecipePolicyCommand;
38
+ }($Command));
39
+ export { PutImageRecipePolicyCommand };
@@ -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 { StartImagePipelineExecutionRequestFilterSensitiveLog, StartImagePipelineExecutionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1StartImagePipelineExecutionCommand, serializeAws_restJson1StartImagePipelineExecutionCommand, } from "../protocols/Aws_restJson1";
5
- export class StartImagePipelineExecutionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartImagePipelineExecutionCommand = (function (_super) {
7
+ __extends(StartImagePipelineExecutionCommand, _super);
8
+ function StartImagePipelineExecutionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartImagePipelineExecutionCommand.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 = "StartImagePipelineExecutionCommand";
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 = "StartImagePipelineExecutionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartImagePipelineExecutionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartImagePipelineExecutionResponseFilterSensitiveLog,
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
+ StartImagePipelineExecutionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StartImagePipelineExecutionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartImagePipelineExecutionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StartImagePipelineExecutionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartImagePipelineExecutionCommand;
38
+ }($Command));
39
+ export { StartImagePipelineExecutionCommand };
@@ -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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.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 = "TagResourceCommand";
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 = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
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
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -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 { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.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 = "UntagResourceCommand";
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 = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
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
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -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 { UpdateDistributionConfigurationRequestFilterSensitiveLog, UpdateDistributionConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateDistributionConfigurationCommand, serializeAws_restJson1UpdateDistributionConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateDistributionConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateDistributionConfigurationCommand = (function (_super) {
7
+ __extends(UpdateDistributionConfigurationCommand, _super);
8
+ function UpdateDistributionConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateDistributionConfigurationCommand.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 = "UpdateDistributionConfigurationCommand";
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 = "UpdateDistributionConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateDistributionConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateDistributionConfigurationResponseFilterSensitiveLog,
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
+ UpdateDistributionConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateDistributionConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateDistributionConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateDistributionConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateDistributionConfigurationCommand;
38
+ }($Command));
39
+ export { UpdateDistributionConfigurationCommand };
@@ -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 { UpdateImagePipelineRequestFilterSensitiveLog, UpdateImagePipelineResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateImagePipelineCommand, serializeAws_restJson1UpdateImagePipelineCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateImagePipelineCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateImagePipelineCommand = (function (_super) {
7
+ __extends(UpdateImagePipelineCommand, _super);
8
+ function UpdateImagePipelineCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateImagePipelineCommand.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 = "UpdateImagePipelineCommand";
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 = "UpdateImagePipelineCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateImagePipelineRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateImagePipelineResponseFilterSensitiveLog,
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
+ UpdateImagePipelineCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateImagePipelineCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateImagePipelineCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateImagePipelineCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateImagePipelineCommand;
38
+ }($Command));
39
+ export { UpdateImagePipelineCommand };