@aws-sdk/client-imagebuilder 3.723.0 → 3.726.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.
package/README.md CHANGED
@@ -509,6 +509,14 @@ ImportComponent
509
509
 
510
510
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/imagebuilder/command/ImportComponentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-imagebuilder/Interface/ImportComponentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-imagebuilder/Interface/ImportComponentCommandOutput/)
511
511
 
512
+ </details>
513
+ <details>
514
+ <summary>
515
+ ImportDiskImage
516
+ </summary>
517
+
518
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/imagebuilder/command/ImportDiskImageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-imagebuilder/Interface/ImportDiskImageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-imagebuilder/Interface/ImportDiskImageCommandOutput/)
519
+
512
520
  </details>
513
521
  <details>
514
522
  <summary>
package/dist-cjs/index.js CHANGED
@@ -78,6 +78,7 @@ __export(src_exports, {
78
78
  ImagebuilderClient: () => ImagebuilderClient,
79
79
  ImagebuilderServiceException: () => ImagebuilderServiceException,
80
80
  ImportComponentCommand: () => ImportComponentCommand,
81
+ ImportDiskImageCommand: () => ImportDiskImageCommand,
81
82
  ImportVmImageCommand: () => ImportVmImageCommand,
82
83
  InvalidPaginationTokenException: () => InvalidPaginationTokenException,
83
84
  InvalidParameterCombinationException: () => InvalidParameterCombinationException,
@@ -363,6 +364,7 @@ var ImageStatus = {
363
364
  };
364
365
  var BuildType = {
365
366
  IMPORT: "IMPORT",
367
+ IMPORT_ISO: "IMPORT_ISO",
366
368
  SCHEDULED: "SCHEDULED",
367
369
  USER_INITIATED: "USER_INITIATED"
368
370
  };
@@ -1424,6 +1426,30 @@ var se_ImportComponentCommand = /* @__PURE__ */ __name(async (input, context) =>
1424
1426
  b.m("PUT").h(headers).b(body);
1425
1427
  return b.build();
1426
1428
  }, "se_ImportComponentCommand");
1429
+ var se_ImportDiskImageCommand = /* @__PURE__ */ __name(async (input, context) => {
1430
+ const b = (0, import_core.requestBuilder)(input, context);
1431
+ const headers = {
1432
+ "content-type": "application/json"
1433
+ };
1434
+ b.bp("/ImportDiskImage");
1435
+ let body;
1436
+ body = JSON.stringify(
1437
+ (0, import_smithy_client.take)(input, {
1438
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1439
+ description: [],
1440
+ executionRole: [],
1441
+ infrastructureConfigurationArn: [],
1442
+ name: [],
1443
+ osVersion: [],
1444
+ platform: [],
1445
+ semanticVersion: [],
1446
+ tags: (_) => (0, import_smithy_client._json)(_),
1447
+ uri: []
1448
+ })
1449
+ );
1450
+ b.m("PUT").h(headers).b(body);
1451
+ return b.build();
1452
+ }, "se_ImportDiskImageCommand");
1427
1453
  var se_ImportVmImageCommand = /* @__PURE__ */ __name(async (input, context) => {
1428
1454
  const b = (0, import_core.requestBuilder)(input, context);
1429
1455
  const headers = {
@@ -2667,6 +2693,21 @@ var de_ImportComponentCommand = /* @__PURE__ */ __name(async (output, context) =
2667
2693
  Object.assign(contents, doc);
2668
2694
  return contents;
2669
2695
  }, "de_ImportComponentCommand");
2696
+ var de_ImportDiskImageCommand = /* @__PURE__ */ __name(async (output, context) => {
2697
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2698
+ return de_CommandError(output, context);
2699
+ }
2700
+ const contents = (0, import_smithy_client.map)({
2701
+ $metadata: deserializeMetadata(output)
2702
+ });
2703
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2704
+ const doc = (0, import_smithy_client.take)(data, {
2705
+ clientToken: import_smithy_client.expectString,
2706
+ imageBuildVersionArn: import_smithy_client.expectString
2707
+ });
2708
+ Object.assign(contents, doc);
2709
+ return contents;
2710
+ }, "de_ImportDiskImageCommand");
2670
2711
  var de_ImportVmImageCommand = /* @__PURE__ */ __name(async (output, context) => {
2671
2712
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2672
2713
  return de_CommandError(output, context);
@@ -4296,6 +4337,21 @@ var ImportComponentCommand = class extends import_smithy_client.Command.classBui
4296
4337
  }
4297
4338
  };
4298
4339
 
4340
+ // src/commands/ImportDiskImageCommand.ts
4341
+
4342
+
4343
+
4344
+ var ImportDiskImageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4345
+ return [
4346
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4347
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4348
+ ];
4349
+ }).s("imagebuilder", "ImportDiskImage", {}).n("ImagebuilderClient", "ImportDiskImageCommand").f(void 0, void 0).ser(se_ImportDiskImageCommand).de(de_ImportDiskImageCommand).build() {
4350
+ static {
4351
+ __name(this, "ImportDiskImageCommand");
4352
+ }
4353
+ };
4354
+
4299
4355
  // src/commands/ImportVmImageCommand.ts
4300
4356
 
4301
4357
 
@@ -4876,6 +4932,7 @@ var commands = {
4876
4932
  GetWorkflowExecutionCommand,
4877
4933
  GetWorkflowStepExecutionCommand,
4878
4934
  ImportComponentCommand,
4935
+ ImportDiskImageCommand,
4879
4936
  ImportVmImageCommand,
4880
4937
  ListComponentBuildVersionsCommand,
4881
4938
  ListComponentsCommand,
@@ -5049,6 +5106,7 @@ var paginateListWorkflows = (0, import_core.createPaginator)(ImagebuilderClient,
5049
5106
  GetWorkflowExecutionCommand,
5050
5107
  GetWorkflowStepExecutionCommand,
5051
5108
  ImportComponentCommand,
5109
+ ImportDiskImageCommand,
5052
5110
  ImportVmImageCommand,
5053
5111
  ListComponentBuildVersionsCommand,
5054
5112
  ListComponentsCommand,
@@ -37,6 +37,7 @@ import { GetWorkflowCommand } from "./commands/GetWorkflowCommand";
37
37
  import { GetWorkflowExecutionCommand, } from "./commands/GetWorkflowExecutionCommand";
38
38
  import { GetWorkflowStepExecutionCommand, } from "./commands/GetWorkflowStepExecutionCommand";
39
39
  import { ImportComponentCommand, } from "./commands/ImportComponentCommand";
40
+ import { ImportDiskImageCommand, } from "./commands/ImportDiskImageCommand";
40
41
  import { ImportVmImageCommand, } from "./commands/ImportVmImageCommand";
41
42
  import { ListComponentBuildVersionsCommand, } from "./commands/ListComponentBuildVersionsCommand";
42
43
  import { ListComponentsCommand, } from "./commands/ListComponentsCommand";
@@ -113,6 +114,7 @@ const commands = {
113
114
  GetWorkflowExecutionCommand,
114
115
  GetWorkflowStepExecutionCommand,
115
116
  ImportComponentCommand,
117
+ ImportDiskImageCommand,
116
118
  ImportVmImageCommand,
117
119
  ListComponentBuildVersionsCommand,
118
120
  ListComponentsCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ImportDiskImageCommand, se_ImportDiskImageCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ImportDiskImageCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("imagebuilder", "ImportDiskImage", {})
17
+ .n("ImagebuilderClient", "ImportDiskImageCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ImportDiskImageCommand)
20
+ .de(de_ImportDiskImageCommand)
21
+ .build() {
22
+ }
@@ -36,6 +36,7 @@ export * from "./GetWorkflowCommand";
36
36
  export * from "./GetWorkflowExecutionCommand";
37
37
  export * from "./GetWorkflowStepExecutionCommand";
38
38
  export * from "./ImportComponentCommand";
39
+ export * from "./ImportDiskImageCommand";
39
40
  export * from "./ImportVmImageCommand";
40
41
  export * from "./ListComponentBuildVersionsCommand";
41
42
  export * from "./ListComponentsCommand";
@@ -15,6 +15,7 @@ export const ImageStatus = {
15
15
  };
16
16
  export const BuildType = {
17
17
  IMPORT: "IMPORT",
18
+ IMPORT_ISO: "IMPORT_ISO",
18
19
  SCHEDULED: "SCHEDULED",
19
20
  USER_INITIATED: "USER_INITIATED",
20
21
  };
@@ -556,6 +556,28 @@ export const se_ImportComponentCommand = async (input, context) => {
556
556
  b.m("PUT").h(headers).b(body);
557
557
  return b.build();
558
558
  };
559
+ export const se_ImportDiskImageCommand = async (input, context) => {
560
+ const b = rb(input, context);
561
+ const headers = {
562
+ "content-type": "application/json",
563
+ };
564
+ b.bp("/ImportDiskImage");
565
+ let body;
566
+ body = JSON.stringify(take(input, {
567
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
568
+ description: [],
569
+ executionRole: [],
570
+ infrastructureConfigurationArn: [],
571
+ name: [],
572
+ osVersion: [],
573
+ platform: [],
574
+ semanticVersion: [],
575
+ tags: (_) => _json(_),
576
+ uri: [],
577
+ }));
578
+ b.m("PUT").h(headers).b(body);
579
+ return b.build();
580
+ };
559
581
  export const se_ImportVmImageCommand = async (input, context) => {
560
582
  const b = rb(input, context);
561
583
  const headers = {
@@ -1731,6 +1753,21 @@ export const de_ImportComponentCommand = async (output, context) => {
1731
1753
  Object.assign(contents, doc);
1732
1754
  return contents;
1733
1755
  };
1756
+ export const de_ImportDiskImageCommand = async (output, context) => {
1757
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1758
+ return de_CommandError(output, context);
1759
+ }
1760
+ const contents = map({
1761
+ $metadata: deserializeMetadata(output),
1762
+ });
1763
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1764
+ const doc = take(data, {
1765
+ clientToken: __expectString,
1766
+ imageBuildVersionArn: __expectString,
1767
+ });
1768
+ Object.assign(contents, doc);
1769
+ return contents;
1770
+ };
1734
1771
  export const de_ImportVmImageCommand = async (output, context) => {
1735
1772
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1736
1773
  return de_CommandError(output, context);
@@ -37,6 +37,7 @@ import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/Ge
37
37
  import { GetWorkflowExecutionCommandInput, GetWorkflowExecutionCommandOutput } from "./commands/GetWorkflowExecutionCommand";
38
38
  import { GetWorkflowStepExecutionCommandInput, GetWorkflowStepExecutionCommandOutput } from "./commands/GetWorkflowStepExecutionCommand";
39
39
  import { ImportComponentCommandInput, ImportComponentCommandOutput } from "./commands/ImportComponentCommand";
40
+ import { ImportDiskImageCommandInput, ImportDiskImageCommandOutput } from "./commands/ImportDiskImageCommand";
40
41
  import { ImportVmImageCommandInput, ImportVmImageCommandOutput } from "./commands/ImportVmImageCommand";
41
42
  import { ListComponentBuildVersionsCommandInput, ListComponentBuildVersionsCommandOutput } from "./commands/ListComponentBuildVersionsCommand";
42
43
  import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
@@ -303,6 +304,12 @@ export interface Imagebuilder {
303
304
  importComponent(args: ImportComponentCommandInput, options?: __HttpHandlerOptions): Promise<ImportComponentCommandOutput>;
304
305
  importComponent(args: ImportComponentCommandInput, cb: (err: any, data?: ImportComponentCommandOutput) => void): void;
305
306
  importComponent(args: ImportComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportComponentCommandOutput) => void): void;
307
+ /**
308
+ * @see {@link ImportDiskImageCommand}
309
+ */
310
+ importDiskImage(args: ImportDiskImageCommandInput, options?: __HttpHandlerOptions): Promise<ImportDiskImageCommandOutput>;
311
+ importDiskImage(args: ImportDiskImageCommandInput, cb: (err: any, data?: ImportDiskImageCommandOutput) => void): void;
312
+ importDiskImage(args: ImportDiskImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportDiskImageCommandOutput) => void): void;
306
313
  /**
307
314
  * @see {@link ImportVmImageCommand}
308
315
  */
@@ -45,6 +45,7 @@ import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/Ge
45
45
  import { GetWorkflowExecutionCommandInput, GetWorkflowExecutionCommandOutput } from "./commands/GetWorkflowExecutionCommand";
46
46
  import { GetWorkflowStepExecutionCommandInput, GetWorkflowStepExecutionCommandOutput } from "./commands/GetWorkflowStepExecutionCommand";
47
47
  import { ImportComponentCommandInput, ImportComponentCommandOutput } from "./commands/ImportComponentCommand";
48
+ import { ImportDiskImageCommandInput, ImportDiskImageCommandOutput } from "./commands/ImportDiskImageCommand";
48
49
  import { ImportVmImageCommandInput, ImportVmImageCommandOutput } from "./commands/ImportVmImageCommand";
49
50
  import { ListComponentBuildVersionsCommandInput, ListComponentBuildVersionsCommandOutput } from "./commands/ListComponentBuildVersionsCommand";
50
51
  import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
@@ -87,11 +88,11 @@ export { __Client };
87
88
  /**
88
89
  * @public
89
90
  */
90
- export type ServiceInputTypes = CancelImageCreationCommandInput | CancelLifecycleExecutionCommandInput | CreateComponentCommandInput | CreateContainerRecipeCommandInput | CreateDistributionConfigurationCommandInput | CreateImageCommandInput | CreateImagePipelineCommandInput | CreateImageRecipeCommandInput | CreateInfrastructureConfigurationCommandInput | CreateLifecyclePolicyCommandInput | CreateWorkflowCommandInput | DeleteComponentCommandInput | DeleteContainerRecipeCommandInput | DeleteDistributionConfigurationCommandInput | DeleteImageCommandInput | DeleteImagePipelineCommandInput | DeleteImageRecipeCommandInput | DeleteInfrastructureConfigurationCommandInput | DeleteLifecyclePolicyCommandInput | DeleteWorkflowCommandInput | GetComponentCommandInput | GetComponentPolicyCommandInput | GetContainerRecipeCommandInput | GetContainerRecipePolicyCommandInput | GetDistributionConfigurationCommandInput | GetImageCommandInput | GetImagePipelineCommandInput | GetImagePolicyCommandInput | GetImageRecipeCommandInput | GetImageRecipePolicyCommandInput | GetInfrastructureConfigurationCommandInput | GetLifecycleExecutionCommandInput | GetLifecyclePolicyCommandInput | GetMarketplaceResourceCommandInput | GetWorkflowCommandInput | GetWorkflowExecutionCommandInput | GetWorkflowStepExecutionCommandInput | ImportComponentCommandInput | ImportVmImageCommandInput | ListComponentBuildVersionsCommandInput | ListComponentsCommandInput | ListContainerRecipesCommandInput | ListDistributionConfigurationsCommandInput | ListImageBuildVersionsCommandInput | ListImagePackagesCommandInput | ListImagePipelineImagesCommandInput | ListImagePipelinesCommandInput | ListImageRecipesCommandInput | ListImageScanFindingAggregationsCommandInput | ListImageScanFindingsCommandInput | ListImagesCommandInput | ListInfrastructureConfigurationsCommandInput | ListLifecycleExecutionResourcesCommandInput | ListLifecycleExecutionsCommandInput | ListLifecyclePoliciesCommandInput | ListTagsForResourceCommandInput | ListWaitingWorkflowStepsCommandInput | ListWorkflowBuildVersionsCommandInput | ListWorkflowExecutionsCommandInput | ListWorkflowStepExecutionsCommandInput | ListWorkflowsCommandInput | PutComponentPolicyCommandInput | PutContainerRecipePolicyCommandInput | PutImagePolicyCommandInput | PutImageRecipePolicyCommandInput | SendWorkflowStepActionCommandInput | StartImagePipelineExecutionCommandInput | StartResourceStateUpdateCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDistributionConfigurationCommandInput | UpdateImagePipelineCommandInput | UpdateInfrastructureConfigurationCommandInput | UpdateLifecyclePolicyCommandInput;
91
+ export type ServiceInputTypes = CancelImageCreationCommandInput | CancelLifecycleExecutionCommandInput | CreateComponentCommandInput | CreateContainerRecipeCommandInput | CreateDistributionConfigurationCommandInput | CreateImageCommandInput | CreateImagePipelineCommandInput | CreateImageRecipeCommandInput | CreateInfrastructureConfigurationCommandInput | CreateLifecyclePolicyCommandInput | CreateWorkflowCommandInput | DeleteComponentCommandInput | DeleteContainerRecipeCommandInput | DeleteDistributionConfigurationCommandInput | DeleteImageCommandInput | DeleteImagePipelineCommandInput | DeleteImageRecipeCommandInput | DeleteInfrastructureConfigurationCommandInput | DeleteLifecyclePolicyCommandInput | DeleteWorkflowCommandInput | GetComponentCommandInput | GetComponentPolicyCommandInput | GetContainerRecipeCommandInput | GetContainerRecipePolicyCommandInput | GetDistributionConfigurationCommandInput | GetImageCommandInput | GetImagePipelineCommandInput | GetImagePolicyCommandInput | GetImageRecipeCommandInput | GetImageRecipePolicyCommandInput | GetInfrastructureConfigurationCommandInput | GetLifecycleExecutionCommandInput | GetLifecyclePolicyCommandInput | GetMarketplaceResourceCommandInput | GetWorkflowCommandInput | GetWorkflowExecutionCommandInput | GetWorkflowStepExecutionCommandInput | ImportComponentCommandInput | ImportDiskImageCommandInput | ImportVmImageCommandInput | ListComponentBuildVersionsCommandInput | ListComponentsCommandInput | ListContainerRecipesCommandInput | ListDistributionConfigurationsCommandInput | ListImageBuildVersionsCommandInput | ListImagePackagesCommandInput | ListImagePipelineImagesCommandInput | ListImagePipelinesCommandInput | ListImageRecipesCommandInput | ListImageScanFindingAggregationsCommandInput | ListImageScanFindingsCommandInput | ListImagesCommandInput | ListInfrastructureConfigurationsCommandInput | ListLifecycleExecutionResourcesCommandInput | ListLifecycleExecutionsCommandInput | ListLifecyclePoliciesCommandInput | ListTagsForResourceCommandInput | ListWaitingWorkflowStepsCommandInput | ListWorkflowBuildVersionsCommandInput | ListWorkflowExecutionsCommandInput | ListWorkflowStepExecutionsCommandInput | ListWorkflowsCommandInput | PutComponentPolicyCommandInput | PutContainerRecipePolicyCommandInput | PutImagePolicyCommandInput | PutImageRecipePolicyCommandInput | SendWorkflowStepActionCommandInput | StartImagePipelineExecutionCommandInput | StartResourceStateUpdateCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDistributionConfigurationCommandInput | UpdateImagePipelineCommandInput | UpdateInfrastructureConfigurationCommandInput | UpdateLifecyclePolicyCommandInput;
91
92
  /**
92
93
  * @public
93
94
  */
94
- export type ServiceOutputTypes = CancelImageCreationCommandOutput | CancelLifecycleExecutionCommandOutput | CreateComponentCommandOutput | CreateContainerRecipeCommandOutput | CreateDistributionConfigurationCommandOutput | CreateImageCommandOutput | CreateImagePipelineCommandOutput | CreateImageRecipeCommandOutput | CreateInfrastructureConfigurationCommandOutput | CreateLifecyclePolicyCommandOutput | CreateWorkflowCommandOutput | DeleteComponentCommandOutput | DeleteContainerRecipeCommandOutput | DeleteDistributionConfigurationCommandOutput | DeleteImageCommandOutput | DeleteImagePipelineCommandOutput | DeleteImageRecipeCommandOutput | DeleteInfrastructureConfigurationCommandOutput | DeleteLifecyclePolicyCommandOutput | DeleteWorkflowCommandOutput | GetComponentCommandOutput | GetComponentPolicyCommandOutput | GetContainerRecipeCommandOutput | GetContainerRecipePolicyCommandOutput | GetDistributionConfigurationCommandOutput | GetImageCommandOutput | GetImagePipelineCommandOutput | GetImagePolicyCommandOutput | GetImageRecipeCommandOutput | GetImageRecipePolicyCommandOutput | GetInfrastructureConfigurationCommandOutput | GetLifecycleExecutionCommandOutput | GetLifecyclePolicyCommandOutput | GetMarketplaceResourceCommandOutput | GetWorkflowCommandOutput | GetWorkflowExecutionCommandOutput | GetWorkflowStepExecutionCommandOutput | ImportComponentCommandOutput | ImportVmImageCommandOutput | ListComponentBuildVersionsCommandOutput | ListComponentsCommandOutput | ListContainerRecipesCommandOutput | ListDistributionConfigurationsCommandOutput | ListImageBuildVersionsCommandOutput | ListImagePackagesCommandOutput | ListImagePipelineImagesCommandOutput | ListImagePipelinesCommandOutput | ListImageRecipesCommandOutput | ListImageScanFindingAggregationsCommandOutput | ListImageScanFindingsCommandOutput | ListImagesCommandOutput | ListInfrastructureConfigurationsCommandOutput | ListLifecycleExecutionResourcesCommandOutput | ListLifecycleExecutionsCommandOutput | ListLifecyclePoliciesCommandOutput | ListTagsForResourceCommandOutput | ListWaitingWorkflowStepsCommandOutput | ListWorkflowBuildVersionsCommandOutput | ListWorkflowExecutionsCommandOutput | ListWorkflowStepExecutionsCommandOutput | ListWorkflowsCommandOutput | PutComponentPolicyCommandOutput | PutContainerRecipePolicyCommandOutput | PutImagePolicyCommandOutput | PutImageRecipePolicyCommandOutput | SendWorkflowStepActionCommandOutput | StartImagePipelineExecutionCommandOutput | StartResourceStateUpdateCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDistributionConfigurationCommandOutput | UpdateImagePipelineCommandOutput | UpdateInfrastructureConfigurationCommandOutput | UpdateLifecyclePolicyCommandOutput;
95
+ export type ServiceOutputTypes = CancelImageCreationCommandOutput | CancelLifecycleExecutionCommandOutput | CreateComponentCommandOutput | CreateContainerRecipeCommandOutput | CreateDistributionConfigurationCommandOutput | CreateImageCommandOutput | CreateImagePipelineCommandOutput | CreateImageRecipeCommandOutput | CreateInfrastructureConfigurationCommandOutput | CreateLifecyclePolicyCommandOutput | CreateWorkflowCommandOutput | DeleteComponentCommandOutput | DeleteContainerRecipeCommandOutput | DeleteDistributionConfigurationCommandOutput | DeleteImageCommandOutput | DeleteImagePipelineCommandOutput | DeleteImageRecipeCommandOutput | DeleteInfrastructureConfigurationCommandOutput | DeleteLifecyclePolicyCommandOutput | DeleteWorkflowCommandOutput | GetComponentCommandOutput | GetComponentPolicyCommandOutput | GetContainerRecipeCommandOutput | GetContainerRecipePolicyCommandOutput | GetDistributionConfigurationCommandOutput | GetImageCommandOutput | GetImagePipelineCommandOutput | GetImagePolicyCommandOutput | GetImageRecipeCommandOutput | GetImageRecipePolicyCommandOutput | GetInfrastructureConfigurationCommandOutput | GetLifecycleExecutionCommandOutput | GetLifecyclePolicyCommandOutput | GetMarketplaceResourceCommandOutput | GetWorkflowCommandOutput | GetWorkflowExecutionCommandOutput | GetWorkflowStepExecutionCommandOutput | ImportComponentCommandOutput | ImportDiskImageCommandOutput | ImportVmImageCommandOutput | ListComponentBuildVersionsCommandOutput | ListComponentsCommandOutput | ListContainerRecipesCommandOutput | ListDistributionConfigurationsCommandOutput | ListImageBuildVersionsCommandOutput | ListImagePackagesCommandOutput | ListImagePipelineImagesCommandOutput | ListImagePipelinesCommandOutput | ListImageRecipesCommandOutput | ListImageScanFindingAggregationsCommandOutput | ListImageScanFindingsCommandOutput | ListImagesCommandOutput | ListInfrastructureConfigurationsCommandOutput | ListLifecycleExecutionResourcesCommandOutput | ListLifecycleExecutionsCommandOutput | ListLifecyclePoliciesCommandOutput | ListTagsForResourceCommandOutput | ListWaitingWorkflowStepsCommandOutput | ListWorkflowBuildVersionsCommandOutput | ListWorkflowExecutionsCommandOutput | ListWorkflowStepExecutionsCommandOutput | ListWorkflowsCommandOutput | PutComponentPolicyCommandOutput | PutContainerRecipePolicyCommandOutput | PutImagePolicyCommandOutput | PutImageRecipePolicyCommandOutput | SendWorkflowStepActionCommandOutput | StartImagePipelineExecutionCommandOutput | StartResourceStateUpdateCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDistributionConfigurationCommandOutput | UpdateImagePipelineCommandOutput | UpdateInfrastructureConfigurationCommandOutput | UpdateLifecyclePolicyCommandOutput;
95
96
  /**
96
97
  * @public
97
98
  */
@@ -310,7 +310,7 @@ declare const GetImageCommand_base: {
310
310
  * // ],
311
311
  * // },
312
312
  * // tags: "<TagMap>",
313
- * // buildType: "USER_INITIATED" || "SCHEDULED" || "IMPORT",
313
+ * // buildType: "USER_INITIATED" || "SCHEDULED" || "IMPORT" || "IMPORT_ISO",
314
314
  * // imageSource: "AMAZON_MANAGED" || "AWS_MARKETPLACE" || "IMPORTED" || "CUSTOM",
315
315
  * // scanState: { // ImageScanState
316
316
  * // status: "PENDING" || "SCANNING" || "COLLECTING" || "COMPLETED" || "ABANDONED" || "FAILED" || "TIMED_OUT",
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
4
+ import { ImportDiskImageRequest, ImportDiskImageResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ImportDiskImageCommand}.
14
+ */
15
+ export interface ImportDiskImageCommandInput extends ImportDiskImageRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ImportDiskImageCommand}.
21
+ */
22
+ export interface ImportDiskImageCommandOutput extends ImportDiskImageResponse, __MetadataBearer {
23
+ }
24
+ declare const ImportDiskImageCommand_base: {
25
+ new (input: ImportDiskImageCommandInput): import("@smithy/smithy-client").CommandImpl<ImportDiskImageCommandInput, ImportDiskImageCommandOutput, ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ImportDiskImageCommandInput): import("@smithy/smithy-client").CommandImpl<ImportDiskImageCommandInput, ImportDiskImageCommandOutput, ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Import a Windows operating system image from a verified Microsoft ISO disk
31
+ * file. The following disk images are supported:</p>
32
+ * <ul>
33
+ * <li>
34
+ * <p>Windows 11 Enterprise</p>
35
+ * </li>
36
+ * </ul>
37
+ * @example
38
+ * Use a bare-bones client and the command you need to make an API call.
39
+ * ```javascript
40
+ * import { ImagebuilderClient, ImportDiskImageCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
41
+ * // const { ImagebuilderClient, ImportDiskImageCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
42
+ * const client = new ImagebuilderClient(config);
43
+ * const input = { // ImportDiskImageRequest
44
+ * name: "STRING_VALUE", // required
45
+ * semanticVersion: "STRING_VALUE", // required
46
+ * description: "STRING_VALUE",
47
+ * platform: "STRING_VALUE", // required
48
+ * osVersion: "STRING_VALUE", // required
49
+ * executionRole: "STRING_VALUE",
50
+ * infrastructureConfigurationArn: "STRING_VALUE", // required
51
+ * uri: "STRING_VALUE", // required
52
+ * tags: { // TagMap
53
+ * "<keys>": "STRING_VALUE",
54
+ * },
55
+ * clientToken: "STRING_VALUE", // required
56
+ * };
57
+ * const command = new ImportDiskImageCommand(input);
58
+ * const response = await client.send(command);
59
+ * // { // ImportDiskImageResponse
60
+ * // clientToken: "STRING_VALUE",
61
+ * // imageBuildVersionArn: "STRING_VALUE",
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param ImportDiskImageCommandInput - {@link ImportDiskImageCommandInput}
67
+ * @returns {@link ImportDiskImageCommandOutput}
68
+ * @see {@link ImportDiskImageCommandInput} for command's `input` shape.
69
+ * @see {@link ImportDiskImageCommandOutput} for command's `response` shape.
70
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
71
+ *
72
+ * @throws {@link ClientException} (client fault)
73
+ * <p>These errors are usually caused by a client action, such as using an action or
74
+ * resource on behalf of a user that doesn't have permissions to use the action or
75
+ * resource, or specifying an invalid resource identifier.</p>
76
+ *
77
+ * @throws {@link ServiceException} (server fault)
78
+ * <p>This exception is thrown when the service encounters an unrecoverable
79
+ * exception.</p>
80
+ *
81
+ * @throws {@link ServiceUnavailableException} (server fault)
82
+ * <p>The service is unable to process your request at this time.</p>
83
+ *
84
+ * @throws {@link ImagebuilderServiceException}
85
+ * <p>Base exception class for all service exceptions from Imagebuilder service.</p>
86
+ *
87
+ * @public
88
+ */
89
+ export declare class ImportDiskImageCommand extends ImportDiskImageCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: ImportDiskImageRequest;
94
+ output: ImportDiskImageResponse;
95
+ };
96
+ sdk: {
97
+ input: ImportDiskImageCommandInput;
98
+ output: ImportDiskImageCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -91,7 +91,7 @@ declare const ListImageBuildVersionsCommand_base: {
91
91
  * // tags: { // TagMap
92
92
  * // "<keys>": "STRING_VALUE",
93
93
  * // },
94
- * // buildType: "USER_INITIATED" || "SCHEDULED" || "IMPORT",
94
+ * // buildType: "USER_INITIATED" || "SCHEDULED" || "IMPORT" || "IMPORT_ISO",
95
95
  * // imageSource: "AMAZON_MANAGED" || "AWS_MARKETPLACE" || "IMPORTED" || "CUSTOM",
96
96
  * // deprecationTime: new Date("TIMESTAMP"),
97
97
  * // lifecycleExecutionId: "STRING_VALUE",
@@ -91,7 +91,7 @@ declare const ListImagePipelineImagesCommand_base: {
91
91
  * // tags: { // TagMap
92
92
  * // "<keys>": "STRING_VALUE",
93
93
  * // },
94
- * // buildType: "USER_INITIATED" || "SCHEDULED" || "IMPORT",
94
+ * // buildType: "USER_INITIATED" || "SCHEDULED" || "IMPORT" || "IMPORT_ISO",
95
95
  * // imageSource: "AMAZON_MANAGED" || "AWS_MARKETPLACE" || "IMPORTED" || "CUSTOM",
96
96
  * // deprecationTime: new Date("TIMESTAMP"),
97
97
  * // lifecycleExecutionId: "STRING_VALUE",
@@ -64,7 +64,7 @@ declare const ListImagesCommand_base: {
64
64
  * // osVersion: "STRING_VALUE",
65
65
  * // owner: "STRING_VALUE",
66
66
  * // dateCreated: "STRING_VALUE",
67
- * // buildType: "USER_INITIATED" || "SCHEDULED" || "IMPORT",
67
+ * // buildType: "USER_INITIATED" || "SCHEDULED" || "IMPORT" || "IMPORT_ISO",
68
68
  * // imageSource: "AMAZON_MANAGED" || "AWS_MARKETPLACE" || "IMPORTED" || "CUSTOM",
69
69
  * // },
70
70
  * // ],
@@ -36,6 +36,7 @@ export * from "./GetWorkflowCommand";
36
36
  export * from "./GetWorkflowExecutionCommand";
37
37
  export * from "./GetWorkflowStepExecutionCommand";
38
38
  export * from "./ImportComponentCommand";
39
+ export * from "./ImportDiskImageCommand";
39
40
  export * from "./ImportVmImageCommand";
40
41
  export * from "./ListComponentBuildVersionsCommand";
41
42
  export * from "./ListComponentsCommand";
@@ -253,6 +253,7 @@ export interface AmiDistributionConfiguration {
253
253
  */
254
254
  export declare const BuildType: {
255
255
  readonly IMPORT: "IMPORT";
256
+ readonly IMPORT_ISO: "IMPORT_ISO";
256
257
  readonly SCHEDULED: "SCHEDULED";
257
258
  readonly USER_INITIATED: "USER_INITIATED";
258
259
  };
@@ -1825,7 +1826,7 @@ export interface ImageTestsConfiguration {
1825
1826
  /**
1826
1827
  * <p>The maximum time in minutes that tests are permitted to run.</p>
1827
1828
  * <note>
1828
- * <p>The timeout attribute is not currently active. This value is
1829
+ * <p>The timeout property is not currently active. This value is
1829
1830
  * ignored.</p>
1830
1831
  * </note>
1831
1832
  * @public
@@ -2015,14 +2016,26 @@ export interface Schedule {
2015
2016
  */
2016
2017
  timezone?: string | undefined;
2017
2018
  /**
2018
- * <p>The condition configures when the pipeline should trigger a new image build. When the
2019
- * <code>pipelineExecutionStartCondition</code> is set to
2020
- * <code>EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE</code>, and you use semantic
2021
- * version filters on the base image or components in your image recipe, EC2 Image Builder will
2022
- * build a new image only when there are new versions of the image or components in your
2023
- * recipe that match the semantic version filter. When it is set to
2024
- * <code>EXPRESSION_MATCH_ONLY</code>, it will build a new image every time the CRON
2025
- * expression matches the current time. For semantic version syntax, see <a href="https://docs.aws.amazon.com/imagebuilder/latest/APIReference/API_CreateComponent.html">CreateComponent</a> in the <i> EC2 Image Builder API Reference</i>.</p>
2019
+ * <p>The start condition configures when the pipeline should trigger a new image build,
2020
+ * as follows. If no value is set Image Builder defaults to
2021
+ * <code>EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE</code>.</p>
2022
+ * <ul>
2023
+ * <li>
2024
+ * <p>
2025
+ * <code>EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE</code> (default)
2026
+ * When you use semantic version filters on the base image or components in your
2027
+ * image recipe, EC2 Image Builder builds a new image only when there are new versions of
2028
+ * the base image or components in your recipe that match the filter.</p>
2029
+ * <note>
2030
+ * <p>For semantic version syntax, see <a href="https://docs.aws.amazon.com/imagebuilder/latest/APIReference/API_CreateComponent.html">CreateComponent</a>.</p>
2031
+ * </note>
2032
+ * </li>
2033
+ * <li>
2034
+ * <p>
2035
+ * <code>EXPRESSION_MATCH_ONLY</code> – This condition builds a new
2036
+ * image every time the CRON expression matches the current time.</p>
2037
+ * </li>
2038
+ * </ul>
2026
2039
  * @public
2027
2040
  */
2028
2041
  pipelineExecutionStartCondition?: PipelineExecutionStartCondition | undefined;
@@ -3903,6 +3916,11 @@ export interface Image {
3903
3916
  * <b>IMPORT</b> – A VM import created
3904
3917
  * the image to use as the base image for the recipe.</p>
3905
3918
  * </li>
3919
+ * <li>
3920
+ * <p>
3921
+ * <b>IMPORT_ISO</b> – An ISO disk import created
3922
+ * the image.</p>
3923
+ * </li>
3906
3924
  * </ul>
3907
3925
  * @public
3908
3926
  */
@@ -4967,6 +4985,83 @@ export interface ImportComponentResponse {
4967
4985
  */
4968
4986
  componentBuildVersionArn?: string | undefined;
4969
4987
  }
4988
+ /**
4989
+ * @public
4990
+ */
4991
+ export interface ImportDiskImageRequest {
4992
+ /**
4993
+ * <p>The name of the image resource that's created from the import.</p>
4994
+ * @public
4995
+ */
4996
+ name: string | undefined;
4997
+ /**
4998
+ * <p>The semantic version to attach to the image that's created during the import
4999
+ * process. This version follows the semantic version syntax.</p>
5000
+ * @public
5001
+ */
5002
+ semanticVersion: string | undefined;
5003
+ /**
5004
+ * <p>The description for your disk image import.</p>
5005
+ * @public
5006
+ */
5007
+ description?: string | undefined;
5008
+ /**
5009
+ * <p>The operating system platform for the imported image. Allowed values include
5010
+ * the following: <code>Windows</code>.</p>
5011
+ * @public
5012
+ */
5013
+ platform: string | undefined;
5014
+ /**
5015
+ * <p>The operating system version for the imported image. Allowed values include
5016
+ * the following: <code>Microsoft Windows 11</code>.</p>
5017
+ * @public
5018
+ */
5019
+ osVersion: string | undefined;
5020
+ /**
5021
+ * <p>The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access
5022
+ * to perform workflow actions to import an image from a Microsoft ISO file.</p>
5023
+ * @public
5024
+ */
5025
+ executionRole?: string | undefined;
5026
+ /**
5027
+ * <p>The Amazon Resource Name (ARN) of the infrastructure configuration resource that's used for
5028
+ * launching the EC2 instance on which the ISO image is built.</p>
5029
+ * @public
5030
+ */
5031
+ infrastructureConfigurationArn: string | undefined;
5032
+ /**
5033
+ * <p>The <code>uri</code> of the ISO disk file that's stored in Amazon S3.</p>
5034
+ * @public
5035
+ */
5036
+ uri: string | undefined;
5037
+ /**
5038
+ * <p>Tags that are attached to image resources created from the import.</p>
5039
+ * @public
5040
+ */
5041
+ tags?: Record<string, string> | undefined;
5042
+ /**
5043
+ * <p>Unique, case-sensitive identifier you provide to ensure
5044
+ * idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>
5045
+ * in the <i>Amazon EC2 API Reference</i>.</p>
5046
+ * @public
5047
+ */
5048
+ clientToken?: string | undefined;
5049
+ }
5050
+ /**
5051
+ * @public
5052
+ */
5053
+ export interface ImportDiskImageResponse {
5054
+ /**
5055
+ * <p>The client token that uniquely identifies the request.</p>
5056
+ * @public
5057
+ */
5058
+ clientToken?: string | undefined;
5059
+ /**
5060
+ * <p>The Amazon Resource Name (ARN) of the output AMI that was created from the ISO disk file.</p>
5061
+ * @public
5062
+ */
5063
+ imageBuildVersionArn?: string | undefined;
5064
+ }
4970
5065
  /**
4971
5066
  * @public
4972
5067
  */
@@ -5462,6 +5557,11 @@ export interface ImageSummary {
5462
5557
  * <b>IMPORT</b> – A VM import created
5463
5558
  * the image to use as the base image for the recipe.</p>
5464
5559
  * </li>
5560
+ * <li>
5561
+ * <p>
5562
+ * <b>IMPORT_ISO</b> – An ISO disk import created
5563
+ * the image.</p>
5564
+ * </li>
5465
5565
  * </ul>
5466
5566
  * @public
5467
5567
  */
@@ -5977,6 +6077,11 @@ export interface ImageVersion {
5977
6077
  * <b>IMPORT</b> – A VM import created
5978
6078
  * the image to use as the base image for the recipe.</p>
5979
6079
  * </li>
6080
+ * <li>
6081
+ * <p>
6082
+ * <b>IMPORT_ISO</b> – An ISO disk import created
6083
+ * the image.</p>
6084
+ * </li>
5980
6085
  * </ul>
5981
6086
  * @public
5982
6087
  */
@@ -38,6 +38,7 @@ import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "../commands/G
38
38
  import { GetWorkflowExecutionCommandInput, GetWorkflowExecutionCommandOutput } from "../commands/GetWorkflowExecutionCommand";
39
39
  import { GetWorkflowStepExecutionCommandInput, GetWorkflowStepExecutionCommandOutput } from "../commands/GetWorkflowStepExecutionCommand";
40
40
  import { ImportComponentCommandInput, ImportComponentCommandOutput } from "../commands/ImportComponentCommand";
41
+ import { ImportDiskImageCommandInput, ImportDiskImageCommandOutput } from "../commands/ImportDiskImageCommand";
41
42
  import { ImportVmImageCommandInput, ImportVmImageCommandOutput } from "../commands/ImportVmImageCommand";
42
43
  import { ListComponentBuildVersionsCommandInput, ListComponentBuildVersionsCommandOutput } from "../commands/ListComponentBuildVersionsCommand";
43
44
  import { ListComponentsCommandInput, ListComponentsCommandOutput } from "../commands/ListComponentsCommand";
@@ -226,6 +227,10 @@ export declare const se_GetWorkflowStepExecutionCommand: (input: GetWorkflowStep
226
227
  * serializeAws_restJson1ImportComponentCommand
227
228
  */
228
229
  export declare const se_ImportComponentCommand: (input: ImportComponentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
230
+ /**
231
+ * serializeAws_restJson1ImportDiskImageCommand
232
+ */
233
+ export declare const se_ImportDiskImageCommand: (input: ImportDiskImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
229
234
  /**
230
235
  * serializeAws_restJson1ImportVmImageCommand
231
236
  */
@@ -522,6 +527,10 @@ export declare const de_GetWorkflowStepExecutionCommand: (output: __HttpResponse
522
527
  * deserializeAws_restJson1ImportComponentCommand
523
528
  */
524
529
  export declare const de_ImportComponentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportComponentCommandOutput>;
530
+ /**
531
+ * deserializeAws_restJson1ImportDiskImageCommand
532
+ */
533
+ export declare const de_ImportDiskImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportDiskImageCommandOutput>;
525
534
  /**
526
535
  * deserializeAws_restJson1ImportVmImageCommand
527
536
  */
@@ -151,6 +151,10 @@ import {
151
151
  ImportComponentCommandInput,
152
152
  ImportComponentCommandOutput,
153
153
  } from "./commands/ImportComponentCommand";
154
+ import {
155
+ ImportDiskImageCommandInput,
156
+ ImportDiskImageCommandOutput,
157
+ } from "./commands/ImportDiskImageCommand";
154
158
  import {
155
159
  ImportVmImageCommandInput,
156
160
  ImportVmImageCommandOutput,
@@ -803,6 +807,19 @@ export interface Imagebuilder {
803
807
  options: __HttpHandlerOptions,
804
808
  cb: (err: any, data?: ImportComponentCommandOutput) => void
805
809
  ): void;
810
+ importDiskImage(
811
+ args: ImportDiskImageCommandInput,
812
+ options?: __HttpHandlerOptions
813
+ ): Promise<ImportDiskImageCommandOutput>;
814
+ importDiskImage(
815
+ args: ImportDiskImageCommandInput,
816
+ cb: (err: any, data?: ImportDiskImageCommandOutput) => void
817
+ ): void;
818
+ importDiskImage(
819
+ args: ImportDiskImageCommandInput,
820
+ options: __HttpHandlerOptions,
821
+ cb: (err: any, data?: ImportDiskImageCommandOutput) => void
822
+ ): void;
806
823
  importVmImage(
807
824
  args: ImportVmImageCommandInput,
808
825
  options?: __HttpHandlerOptions
@@ -197,6 +197,10 @@ import {
197
197
  ImportComponentCommandInput,
198
198
  ImportComponentCommandOutput,
199
199
  } from "./commands/ImportComponentCommand";
200
+ import {
201
+ ImportDiskImageCommandInput,
202
+ ImportDiskImageCommandOutput,
203
+ } from "./commands/ImportDiskImageCommand";
200
204
  import {
201
205
  ImportVmImageCommandInput,
202
206
  ImportVmImageCommandOutput,
@@ -387,6 +391,7 @@ export type ServiceInputTypes =
387
391
  | GetWorkflowExecutionCommandInput
388
392
  | GetWorkflowStepExecutionCommandInput
389
393
  | ImportComponentCommandInput
394
+ | ImportDiskImageCommandInput
390
395
  | ImportVmImageCommandInput
391
396
  | ListComponentBuildVersionsCommandInput
392
397
  | ListComponentsCommandInput
@@ -462,6 +467,7 @@ export type ServiceOutputTypes =
462
467
  | GetWorkflowExecutionCommandOutput
463
468
  | GetWorkflowStepExecutionCommandOutput
464
469
  | ImportComponentCommandOutput
470
+ | ImportDiskImageCommandOutput
465
471
  | ImportVmImageCommandOutput
466
472
  | ListComponentBuildVersionsCommandOutput
467
473
  | ListComponentsCommandOutput
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ImagebuilderClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ImagebuilderClient";
8
+ import {
9
+ ImportDiskImageRequest,
10
+ ImportDiskImageResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ImportDiskImageCommandInput extends ImportDiskImageRequest {}
15
+ export interface ImportDiskImageCommandOutput
16
+ extends ImportDiskImageResponse,
17
+ __MetadataBearer {}
18
+ declare const ImportDiskImageCommand_base: {
19
+ new (
20
+ input: ImportDiskImageCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ ImportDiskImageCommandInput,
23
+ ImportDiskImageCommandOutput,
24
+ ImagebuilderClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: ImportDiskImageCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ImportDiskImageCommandInput,
32
+ ImportDiskImageCommandOutput,
33
+ ImagebuilderClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class ImportDiskImageCommand extends ImportDiskImageCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: ImportDiskImageRequest;
43
+ output: ImportDiskImageResponse;
44
+ };
45
+ sdk: {
46
+ input: ImportDiskImageCommandInput;
47
+ output: ImportDiskImageCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -36,6 +36,7 @@ export * from "./GetWorkflowCommand";
36
36
  export * from "./GetWorkflowExecutionCommand";
37
37
  export * from "./GetWorkflowStepExecutionCommand";
38
38
  export * from "./ImportComponentCommand";
39
+ export * from "./ImportDiskImageCommand";
39
40
  export * from "./ImportVmImageCommand";
40
41
  export * from "./ListComponentBuildVersionsCommand";
41
42
  export * from "./ListComponentsCommand";
@@ -60,6 +60,7 @@ export interface AmiDistributionConfiguration {
60
60
  }
61
61
  export declare const BuildType: {
62
62
  readonly IMPORT: "IMPORT";
63
+ readonly IMPORT_ISO: "IMPORT_ISO";
63
64
  readonly SCHEDULED: "SCHEDULED";
64
65
  readonly USER_INITIATED: "USER_INITIATED";
65
66
  };
@@ -1212,6 +1213,22 @@ export interface ImportComponentResponse {
1212
1213
  clientToken?: string | undefined;
1213
1214
  componentBuildVersionArn?: string | undefined;
1214
1215
  }
1216
+ export interface ImportDiskImageRequest {
1217
+ name: string | undefined;
1218
+ semanticVersion: string | undefined;
1219
+ description?: string | undefined;
1220
+ platform: string | undefined;
1221
+ osVersion: string | undefined;
1222
+ executionRole?: string | undefined;
1223
+ infrastructureConfigurationArn: string | undefined;
1224
+ uri: string | undefined;
1225
+ tags?: Record<string, string> | undefined;
1226
+ clientToken?: string | undefined;
1227
+ }
1228
+ export interface ImportDiskImageResponse {
1229
+ clientToken?: string | undefined;
1230
+ imageBuildVersionArn?: string | undefined;
1231
+ }
1215
1232
  export interface ImportVmImageRequest {
1216
1233
  name: string | undefined;
1217
1234
  semanticVersion: string | undefined;
@@ -155,6 +155,10 @@ import {
155
155
  ImportComponentCommandInput,
156
156
  ImportComponentCommandOutput,
157
157
  } from "../commands/ImportComponentCommand";
158
+ import {
159
+ ImportDiskImageCommandInput,
160
+ ImportDiskImageCommandOutput,
161
+ } from "../commands/ImportDiskImageCommand";
158
162
  import {
159
163
  ImportVmImageCommandInput,
160
164
  ImportVmImageCommandOutput,
@@ -451,6 +455,10 @@ export declare const se_ImportComponentCommand: (
451
455
  input: ImportComponentCommandInput,
452
456
  context: __SerdeContext
453
457
  ) => Promise<__HttpRequest>;
458
+ export declare const se_ImportDiskImageCommand: (
459
+ input: ImportDiskImageCommandInput,
460
+ context: __SerdeContext
461
+ ) => Promise<__HttpRequest>;
454
462
  export declare const se_ImportVmImageCommand: (
455
463
  input: ImportVmImageCommandInput,
456
464
  context: __SerdeContext
@@ -747,6 +755,10 @@ export declare const de_ImportComponentCommand: (
747
755
  output: __HttpResponse,
748
756
  context: __SerdeContext
749
757
  ) => Promise<ImportComponentCommandOutput>;
758
+ export declare const de_ImportDiskImageCommand: (
759
+ output: __HttpResponse,
760
+ context: __SerdeContext
761
+ ) => Promise<ImportDiskImageCommandOutput>;
750
762
  export declare const de_ImportVmImageCommand: (
751
763
  output: __HttpResponse,
752
764
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-imagebuilder",
3
3
  "description": "AWS SDK for JavaScript Imagebuilder Client for Node.js, Browser and React Native",
4
- "version": "3.723.0",
4
+ "version": "3.726.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-imagebuilder",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.723.0",
24
- "@aws-sdk/client-sts": "3.723.0",
23
+ "@aws-sdk/client-sso-oidc": "3.726.0",
24
+ "@aws-sdk/client-sts": "3.726.0",
25
25
  "@aws-sdk/core": "3.723.0",
26
- "@aws-sdk/credential-provider-node": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.726.0",
27
27
  "@aws-sdk/middleware-host-header": "3.723.0",
28
28
  "@aws-sdk/middleware-logger": "3.723.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
- "@aws-sdk/middleware-user-agent": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.726.0",
31
31
  "@aws-sdk/region-config-resolver": "3.723.0",
32
32
  "@aws-sdk/types": "3.723.0",
33
- "@aws-sdk/util-endpoints": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.726.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.723.0",
35
- "@aws-sdk/util-user-agent-node": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.726.0",
36
36
  "@smithy/config-resolver": "^4.0.0",
37
37
  "@smithy/core": "^3.0.0",
38
38
  "@smithy/fetch-http-handler": "^5.0.0",