@aws-sdk/client-imagebuilder 3.928.0 → 3.930.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 (96) hide show
  1. package/dist-cjs/index.js +3642 -3413
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/ImagebuilderClient.js +2 -0
  4. package/dist-es/commands/CancelImageCreationCommand.js +3 -9
  5. package/dist-es/commands/CancelLifecycleExecutionCommand.js +3 -9
  6. package/dist-es/commands/CreateComponentCommand.js +3 -9
  7. package/dist-es/commands/CreateContainerRecipeCommand.js +3 -9
  8. package/dist-es/commands/CreateDistributionConfigurationCommand.js +3 -9
  9. package/dist-es/commands/CreateImageCommand.js +3 -9
  10. package/dist-es/commands/CreateImagePipelineCommand.js +3 -9
  11. package/dist-es/commands/CreateImageRecipeCommand.js +3 -9
  12. package/dist-es/commands/CreateInfrastructureConfigurationCommand.js +3 -9
  13. package/dist-es/commands/CreateLifecyclePolicyCommand.js +3 -9
  14. package/dist-es/commands/CreateWorkflowCommand.js +3 -9
  15. package/dist-es/commands/DeleteComponentCommand.js +3 -9
  16. package/dist-es/commands/DeleteContainerRecipeCommand.js +3 -9
  17. package/dist-es/commands/DeleteDistributionConfigurationCommand.js +3 -9
  18. package/dist-es/commands/DeleteImageCommand.js +3 -9
  19. package/dist-es/commands/DeleteImagePipelineCommand.js +3 -9
  20. package/dist-es/commands/DeleteImageRecipeCommand.js +3 -9
  21. package/dist-es/commands/DeleteInfrastructureConfigurationCommand.js +3 -9
  22. package/dist-es/commands/DeleteLifecyclePolicyCommand.js +3 -9
  23. package/dist-es/commands/DeleteWorkflowCommand.js +3 -9
  24. package/dist-es/commands/GetComponentCommand.js +3 -9
  25. package/dist-es/commands/GetComponentPolicyCommand.js +3 -9
  26. package/dist-es/commands/GetContainerRecipeCommand.js +3 -9
  27. package/dist-es/commands/GetContainerRecipePolicyCommand.js +3 -9
  28. package/dist-es/commands/GetDistributionConfigurationCommand.js +3 -9
  29. package/dist-es/commands/GetImageCommand.js +3 -9
  30. package/dist-es/commands/GetImagePipelineCommand.js +3 -9
  31. package/dist-es/commands/GetImagePolicyCommand.js +3 -9
  32. package/dist-es/commands/GetImageRecipeCommand.js +3 -9
  33. package/dist-es/commands/GetImageRecipePolicyCommand.js +3 -9
  34. package/dist-es/commands/GetInfrastructureConfigurationCommand.js +3 -9
  35. package/dist-es/commands/GetLifecycleExecutionCommand.js +3 -9
  36. package/dist-es/commands/GetLifecyclePolicyCommand.js +3 -9
  37. package/dist-es/commands/GetMarketplaceResourceCommand.js +3 -9
  38. package/dist-es/commands/GetWorkflowCommand.js +3 -9
  39. package/dist-es/commands/GetWorkflowExecutionCommand.js +3 -9
  40. package/dist-es/commands/GetWorkflowStepExecutionCommand.js +3 -9
  41. package/dist-es/commands/ImportComponentCommand.js +3 -9
  42. package/dist-es/commands/ImportDiskImageCommand.js +3 -9
  43. package/dist-es/commands/ImportVmImageCommand.js +3 -9
  44. package/dist-es/commands/ListComponentBuildVersionsCommand.js +3 -9
  45. package/dist-es/commands/ListComponentsCommand.js +3 -9
  46. package/dist-es/commands/ListContainerRecipesCommand.js +3 -9
  47. package/dist-es/commands/ListDistributionConfigurationsCommand.js +3 -9
  48. package/dist-es/commands/ListImageBuildVersionsCommand.js +3 -9
  49. package/dist-es/commands/ListImagePackagesCommand.js +3 -9
  50. package/dist-es/commands/ListImagePipelineImagesCommand.js +3 -9
  51. package/dist-es/commands/ListImagePipelinesCommand.js +3 -9
  52. package/dist-es/commands/ListImageRecipesCommand.js +3 -9
  53. package/dist-es/commands/ListImageScanFindingAggregationsCommand.js +3 -9
  54. package/dist-es/commands/ListImageScanFindingsCommand.js +3 -9
  55. package/dist-es/commands/ListImagesCommand.js +3 -9
  56. package/dist-es/commands/ListInfrastructureConfigurationsCommand.js +3 -9
  57. package/dist-es/commands/ListLifecycleExecutionResourcesCommand.js +3 -9
  58. package/dist-es/commands/ListLifecycleExecutionsCommand.js +3 -9
  59. package/dist-es/commands/ListLifecyclePoliciesCommand.js +3 -9
  60. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  61. package/dist-es/commands/ListWaitingWorkflowStepsCommand.js +3 -9
  62. package/dist-es/commands/ListWorkflowBuildVersionsCommand.js +3 -9
  63. package/dist-es/commands/ListWorkflowExecutionsCommand.js +3 -9
  64. package/dist-es/commands/ListWorkflowStepExecutionsCommand.js +3 -9
  65. package/dist-es/commands/ListWorkflowsCommand.js +3 -9
  66. package/dist-es/commands/PutComponentPolicyCommand.js +3 -9
  67. package/dist-es/commands/PutContainerRecipePolicyCommand.js +3 -9
  68. package/dist-es/commands/PutImagePolicyCommand.js +3 -9
  69. package/dist-es/commands/PutImageRecipePolicyCommand.js +3 -9
  70. package/dist-es/commands/SendWorkflowStepActionCommand.js +3 -9
  71. package/dist-es/commands/StartImagePipelineExecutionCommand.js +3 -9
  72. package/dist-es/commands/StartResourceStateUpdateCommand.js +3 -9
  73. package/dist-es/commands/TagResourceCommand.js +3 -9
  74. package/dist-es/commands/UntagResourceCommand.js +3 -9
  75. package/dist-es/commands/UpdateDistributionConfigurationCommand.js +3 -9
  76. package/dist-es/commands/UpdateImagePipelineCommand.js +3 -9
  77. package/dist-es/commands/UpdateInfrastructureConfigurationCommand.js +3 -9
  78. package/dist-es/commands/UpdateLifecyclePolicyCommand.js +3 -9
  79. package/dist-es/runtimeConfig.shared.js +2 -0
  80. package/dist-es/schemas/schemas_0.js +3473 -0
  81. package/dist-types/ImagebuilderClient.d.ts +10 -1
  82. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  83. package/dist-types/runtimeConfig.d.ts +1 -0
  84. package/dist-types/runtimeConfig.native.d.ts +1 -0
  85. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  86. package/dist-types/schemas/schemas_0.d.ts +406 -0
  87. package/dist-types/ts3.4/ImagebuilderClient.d.ts +4 -0
  88. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  89. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  90. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  91. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  92. package/dist-types/ts3.4/schemas/schemas_0.d.ts +411 -0
  93. package/package.json +33 -34
  94. package/dist-es/protocols/Aws_restJson1.js +0 -2853
  95. package/dist-types/protocols/Aws_restJson1.d.ts +0 -677
  96. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -905
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartResourceStateUpdateCommand, se_StartResourceStateUpdateCommand } from "../protocols/Aws_restJson1";
4
+ import { StartResourceStateUpdate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartResourceStateUpdateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("imagebuilder", "StartResourceStateUpdate", {})
17
13
  .n("ImagebuilderClient", "StartResourceStateUpdateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartResourceStateUpdateCommand)
20
- .de(de_StartResourceStateUpdateCommand)
14
+ .sc(StartResourceStateUpdate)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("imagebuilder", "TagResource", {})
17
13
  .n("ImagebuilderClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("imagebuilder", "UntagResource", {})
17
13
  .n("ImagebuilderClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateDistributionConfigurationCommand, se_UpdateDistributionConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateDistributionConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateDistributionConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("imagebuilder", "UpdateDistributionConfiguration", {})
17
13
  .n("ImagebuilderClient", "UpdateDistributionConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateDistributionConfigurationCommand)
20
- .de(de_UpdateDistributionConfigurationCommand)
14
+ .sc(UpdateDistributionConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateImagePipelineCommand, se_UpdateImagePipelineCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateImagePipeline } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateImagePipelineCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("imagebuilder", "UpdateImagePipeline", {})
17
13
  .n("ImagebuilderClient", "UpdateImagePipelineCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateImagePipelineCommand)
20
- .de(de_UpdateImagePipelineCommand)
14
+ .sc(UpdateImagePipeline)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateInfrastructureConfigurationCommand, se_UpdateInfrastructureConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateInfrastructureConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateInfrastructureConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("imagebuilder", "UpdateInfrastructureConfiguration", {})
17
13
  .n("ImagebuilderClient", "UpdateInfrastructureConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateInfrastructureConfigurationCommand)
20
- .de(de_UpdateInfrastructureConfigurationCommand)
14
+ .sc(UpdateInfrastructureConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateLifecyclePolicyCommand, se_UpdateLifecyclePolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateLifecyclePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateLifecyclePolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("imagebuilder", "UpdateLifecyclePolicy", {})
17
13
  .n("ImagebuilderClient", "UpdateLifecyclePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateLifecyclePolicyCommand)
20
- .de(de_UpdateLifecyclePolicyCommand)
14
+ .sc(UpdateLifecyclePolicy)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.imagebuilder" }),
25
27
  serviceId: config?.serviceId ?? "imagebuilder",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,