@aws-sdk/client-imagebuilder 3.43.0 → 3.45.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.
@@ -184,6 +184,11 @@ export declare namespace AmiDistributionConfiguration {
184
184
  */
185
185
  const filterSensitiveLog: (obj: AmiDistributionConfiguration) => any;
186
186
  }
187
+ export declare enum BuildType {
188
+ IMPORT = "IMPORT",
189
+ SCHEDULED = "SCHEDULED",
190
+ USER_INITIATED = "USER_INITIATED"
191
+ }
187
192
  /**
188
193
  * <p>You have exceeded the permitted request rate for the specific operation.</p>
189
194
  */
@@ -204,7 +209,9 @@ export interface CancelImageCreationRequest {
204
209
  */
205
210
  imageBuildVersionArn: string | undefined;
206
211
  /**
207
- * <p>The idempotency token used to make this request idempotent.</p>
212
+ * <p>Unique, case-sensitive identifier you provide to ensure
213
+ * 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>
214
+ * in the <i>Amazon EC2 API Reference</i>.</p>
208
215
  */
209
216
  clientToken?: string;
210
217
  }
@@ -220,7 +227,7 @@ export interface CancelImageCreationResponse {
220
227
  */
221
228
  requestId?: string;
222
229
  /**
223
- * <p>The idempotency token used to make this request idempotent.</p>
230
+ * <p>The idempotency token that was used for this request.</p>
224
231
  */
225
232
  clientToken?: string;
226
233
  /**
@@ -1270,6 +1277,58 @@ export declare namespace LaunchTemplateConfiguration {
1270
1277
  */
1271
1278
  const filterSensitiveLog: (obj: LaunchTemplateConfiguration) => any;
1272
1279
  }
1280
+ export declare enum DiskImageFormat {
1281
+ RAW = "RAW",
1282
+ VHD = "VHD",
1283
+ VMDK = "VMDK"
1284
+ }
1285
+ /**
1286
+ * <p>Properties that configure export from your build instance
1287
+ * to a compatible file format for your VM.</p>
1288
+ */
1289
+ export interface S3ExportConfiguration {
1290
+ /**
1291
+ * <p>The name of the role that grants VM Import/Export permission to
1292
+ * export images to your S3 bucket.</p>
1293
+ */
1294
+ roleName: string | undefined;
1295
+ /**
1296
+ * <p>Export the updated image to one of the following supported disk
1297
+ * image formats:</p>
1298
+ * <ul>
1299
+ * <li>
1300
+ * <p>
1301
+ * <b>Virtual Hard Disk (VHD)</b> –
1302
+ * Compatible with Citrix Xen and Microsoft Hyper-V virtualization products.</p>
1303
+ * </li>
1304
+ * <li>
1305
+ * <p>
1306
+ * <b>Stream-optimized ESX Virtual Machine Disk
1307
+ * (VMDK)</b> – Compatible with VMware ESX and
1308
+ * VMware vSphere versions 4, 5, and 6.</p>
1309
+ * </li>
1310
+ * <li>
1311
+ * <p>
1312
+ * <b>Raw</b> – Raw format.</p>
1313
+ * </li>
1314
+ * </ul>
1315
+ */
1316
+ diskImageFormat: DiskImageFormat | string | undefined;
1317
+ /**
1318
+ * <p>The S3 bucket in which to store the output disk images for your VM.</p>
1319
+ */
1320
+ s3Bucket: string | undefined;
1321
+ /**
1322
+ * <p>The Amazon S3 path for the bucket where the output disk images for your VM are stored.</p>
1323
+ */
1324
+ s3Prefix?: string;
1325
+ }
1326
+ export declare namespace S3ExportConfiguration {
1327
+ /**
1328
+ * @internal
1329
+ */
1330
+ const filterSensitiveLog: (obj: S3ExportConfiguration) => any;
1331
+ }
1273
1332
  /**
1274
1333
  * <p> Defines the settings for a specific Region.</p>
1275
1334
  */
@@ -1297,6 +1356,11 @@ export interface Distribution {
1297
1356
  * for specified accounts.</p>
1298
1357
  */
1299
1358
  launchTemplateConfigurations?: LaunchTemplateConfiguration[];
1359
+ /**
1360
+ * <p>Configure export settings to deliver disk images created from your image build,
1361
+ * using a file format that is compatible with your VMs in that Region.</p>
1362
+ */
1363
+ s3ExportConfiguration?: S3ExportConfiguration;
1300
1364
  }
1301
1365
  export declare namespace Distribution {
1302
1366
  /**
@@ -1356,11 +1420,14 @@ export declare namespace CreateDistributionConfigurationResponse {
1356
1420
  const filterSensitiveLog: (obj: CreateDistributionConfigurationResponse) => any;
1357
1421
  }
1358
1422
  /**
1359
- * <p>Image tests configuration.</p>
1423
+ * <p>Configure image tests for your pipeline build. Tests run after building
1424
+ * the image, to verify that the AMI or container image is valid before
1425
+ * distributing it.</p>
1360
1426
  */
1361
1427
  export interface ImageTestsConfiguration {
1362
1428
  /**
1363
- * <p>Defines if tests should be executed when building this image.</p>
1429
+ * <p>Determines if tests should run after building the image. Image Builder defaults
1430
+ * to enable tests to run following the image build, before image distribution.</p>
1364
1431
  */
1365
1432
  imageTestsEnabled?: boolean;
1366
1433
  /**
@@ -1706,11 +1773,11 @@ export declare namespace InstanceMetadataOptions {
1706
1773
  */
1707
1774
  export interface S3Logs {
1708
1775
  /**
1709
- * <p>The Amazon S3 bucket in which to store the logs.</p>
1776
+ * <p>The S3 bucket in which to store the logs.</p>
1710
1777
  */
1711
1778
  s3BucketName?: string;
1712
1779
  /**
1713
- * <p>The Amazon S3 path in which to store the logs.</p>
1780
+ * <p>The Amazon S3 path to the bucket where the logs are stored.</p>
1714
1781
  */
1715
1782
  s3KeyPrefix?: string;
1716
1783
  }
@@ -1778,7 +1845,12 @@ export interface CreateInfrastructureConfigurationRequest {
1778
1845
  */
1779
1846
  terminateInstanceOnFailure?: boolean;
1780
1847
  /**
1781
- * <p>The SNS topic on which to send image build events.</p>
1848
+ * <p>The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.</p>
1849
+ * <note>
1850
+ * <p>EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys
1851
+ * from other accounts. The key that is used to encrypt the SNS topic must reside in the
1852
+ * account that the Image Builder service runs under.</p>
1853
+ * </note>
1782
1854
  */
1783
1855
  snsTopicArn?: string;
1784
1856
  /**
@@ -2440,7 +2512,12 @@ export interface InfrastructureConfiguration {
2440
2512
  */
2441
2513
  terminateInstanceOnFailure?: boolean;
2442
2514
  /**
2443
- * <p>The SNS topic Amazon Resource Name (ARN) of the infrastructure configuration.</p>
2515
+ * <p>The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.</p>
2516
+ * <note>
2517
+ * <p>EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys
2518
+ * from other accounts. The key that is used to encrypt the SNS topic must reside in the
2519
+ * account that the Image Builder service runs under.</p>
2520
+ * </note>
2444
2521
  */
2445
2522
  snsTopicArn?: string;
2446
2523
  /**
@@ -2609,6 +2686,28 @@ export interface Image {
2609
2686
  tags?: {
2610
2687
  [key: string]: string;
2611
2688
  };
2689
+ /**
2690
+ * <p>Indicates the type of build that created this image. The build can be initiated
2691
+ * in the following ways:</p>
2692
+ * <ul>
2693
+ * <li>
2694
+ * <p>
2695
+ * <b>USER_INITIATED</b> – A manual
2696
+ * pipeline build request.</p>
2697
+ * </li>
2698
+ * <li>
2699
+ * <p>
2700
+ * <b>SCHEDULED</b> – A pipeline build
2701
+ * initiated by a cron expression in the Image Builder pipeline, or from EventBridge.</p>
2702
+ * </li>
2703
+ * <li>
2704
+ * <p>
2705
+ * <b>IMPORT</b> – A VM import created
2706
+ * the image to use as the base image for the recipe.</p>
2707
+ * </li>
2708
+ * </ul>
2709
+ */
2710
+ buildType?: BuildType | string;
2612
2711
  }
2613
2712
  export declare namespace Image {
2614
2713
  /**
@@ -2958,6 +3057,87 @@ export declare namespace ImportComponentResponse {
2958
3057
  */
2959
3058
  const filterSensitiveLog: (obj: ImportComponentResponse) => any;
2960
3059
  }
3060
+ export interface ImportVmImageRequest {
3061
+ /**
3062
+ * <p>The name of the base image that is created by the import process.</p>
3063
+ */
3064
+ name: string | undefined;
3065
+ /**
3066
+ * <p>The semantic version to attach to the base image that was created during the
3067
+ * import process. This version follows the semantic version syntax.</p>
3068
+ * <note>
3069
+ * <p>The semantic version has four nodes: <major>.<minor>.<patch>/<build>.
3070
+ * You can assign values for the first three, and can filter on all of them.</p>
3071
+ * <p>
3072
+ * <b>Assignment:</b> For the first three nodes you can assign any positive integer value, including
3073
+ * zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the
3074
+ * build number to the fourth node.</p>
3075
+ * <p>
3076
+ * <b>Patterns:</b> You can use any numeric pattern that adheres to the assignment requirements for
3077
+ * the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or
3078
+ * a date, such as 2021.01.01.</p>
3079
+ * </note>
3080
+ */
3081
+ semanticVersion: string | undefined;
3082
+ /**
3083
+ * <p>The description for the base image that is created by the import process.</p>
3084
+ */
3085
+ description?: string;
3086
+ /**
3087
+ * <p>The operating system platform for the imported VM.</p>
3088
+ */
3089
+ platform: Platform | string | undefined;
3090
+ /**
3091
+ * <p>The operating system version for the imported VM.</p>
3092
+ */
3093
+ osVersion?: string;
3094
+ /**
3095
+ * <p>The <code>importTaskId</code> (API) or <code>ImportTaskId</code> (CLI) from the
3096
+ * Amazon EC2 VM import process. Image Builder retrieves information from the import process to pull
3097
+ * in the AMI that is created from the VM source as the base image for your recipe.</p>
3098
+ */
3099
+ vmImportTaskId: string | undefined;
3100
+ /**
3101
+ * <p>Tags that are attached to the import resources.</p>
3102
+ */
3103
+ tags?: {
3104
+ [key: string]: string;
3105
+ };
3106
+ /**
3107
+ * <p>Unique, case-sensitive identifier you provide to ensure
3108
+ * 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>
3109
+ * in the <i>Amazon EC2 API Reference</i>.</p>
3110
+ */
3111
+ clientToken?: string;
3112
+ }
3113
+ export declare namespace ImportVmImageRequest {
3114
+ /**
3115
+ * @internal
3116
+ */
3117
+ const filterSensitiveLog: (obj: ImportVmImageRequest) => any;
3118
+ }
3119
+ export interface ImportVmImageResponse {
3120
+ /**
3121
+ * <p>The request ID that uniquely identifies this request.</p>
3122
+ */
3123
+ requestId?: string;
3124
+ /**
3125
+ * <p>The Amazon Resource Name (ARN) of the AMI that was created during the VM
3126
+ * import process. This AMI is used as the base image for the recipe that
3127
+ * imported the VM.</p>
3128
+ */
3129
+ imageArn?: string;
3130
+ /**
3131
+ * <p>The idempotency token that was used for this request.</p>
3132
+ */
3133
+ clientToken?: string;
3134
+ }
3135
+ export declare namespace ImportVmImageResponse {
3136
+ /**
3137
+ * @internal
3138
+ */
3139
+ const filterSensitiveLog: (obj: ImportVmImageResponse) => any;
3140
+ }
2961
3141
  /**
2962
3142
  * <p>You have provided an invalid pagination token in your request.</p>
2963
3143
  */
@@ -3322,6 +3502,28 @@ export interface ImageSummary {
3322
3502
  tags?: {
3323
3503
  [key: string]: string;
3324
3504
  };
3505
+ /**
3506
+ * <p>Indicates the type of build that created this image. The build can be initiated
3507
+ * in the following ways:</p>
3508
+ * <ul>
3509
+ * <li>
3510
+ * <p>
3511
+ * <b>USER_INITIATED</b> – A manual
3512
+ * pipeline build request.</p>
3513
+ * </li>
3514
+ * <li>
3515
+ * <p>
3516
+ * <b>SCHEDULED</b> – A pipeline build
3517
+ * initiated by a cron expression in the Image Builder pipeline, or from EventBridge.</p>
3518
+ * </li>
3519
+ * <li>
3520
+ * <p>
3521
+ * <b>IMPORT</b> – A VM import created
3522
+ * the image to use as the base image for the recipe.</p>
3523
+ * </li>
3524
+ * </ul>
3525
+ */
3526
+ buildType?: BuildType | string;
3325
3527
  }
3326
3528
  export declare namespace ImageSummary {
3327
3529
  /**
@@ -3785,6 +3987,28 @@ export interface ImageVersion {
3785
3987
  * <p>The date on which this specific version of the Image Builder image was created.</p>
3786
3988
  */
3787
3989
  dateCreated?: string;
3990
+ /**
3991
+ * <p>Indicates the type of build that created this image. The build can be initiated
3992
+ * in the following ways:</p>
3993
+ * <ul>
3994
+ * <li>
3995
+ * <p>
3996
+ * <b>USER_INITIATED</b> – A manual
3997
+ * pipeline build request.</p>
3998
+ * </li>
3999
+ * <li>
4000
+ * <p>
4001
+ * <b>SCHEDULED</b> – A pipeline build
4002
+ * initiated by a cron expression in the Image Builder pipeline, or from EventBridge.</p>
4003
+ * </li>
4004
+ * <li>
4005
+ * <p>
4006
+ * <b>IMPORT</b> – A VM import created
4007
+ * the image to use as the base image for the recipe.</p>
4008
+ * </li>
4009
+ * </ul>
4010
+ */
4011
+ buildType?: BuildType | string;
3788
4012
  }
3789
4013
  export declare namespace ImageVersion {
3790
4014
  /**
@@ -4352,7 +4576,12 @@ export interface UpdateInfrastructureConfigurationRequest {
4352
4576
  */
4353
4577
  terminateInstanceOnFailure?: boolean;
4354
4578
  /**
4355
- * <p>The SNS topic on which to send image build events.</p>
4579
+ * <p>The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.</p>
4580
+ * <note>
4581
+ * <p>EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys
4582
+ * from other accounts. The key that is used to encrypt the SNS topic must reside in the
4583
+ * account that the Image Builder service runs under.</p>
4584
+ * </note>
4356
4585
  */
4357
4586
  snsTopicArn?: string;
4358
4587
  /**
@@ -27,6 +27,7 @@ import { GetImageRecipeCommandInput, GetImageRecipeCommandOutput } from "../comm
27
27
  import { GetImageRecipePolicyCommandInput, GetImageRecipePolicyCommandOutput } from "../commands/GetImageRecipePolicyCommand";
28
28
  import { GetInfrastructureConfigurationCommandInput, GetInfrastructureConfigurationCommandOutput } from "../commands/GetInfrastructureConfigurationCommand";
29
29
  import { ImportComponentCommandInput, ImportComponentCommandOutput } from "../commands/ImportComponentCommand";
30
+ import { ImportVmImageCommandInput, ImportVmImageCommandOutput } from "../commands/ImportVmImageCommand";
30
31
  import { ListComponentBuildVersionsCommandInput, ListComponentBuildVersionsCommandOutput } from "../commands/ListComponentBuildVersionsCommand";
31
32
  import { ListComponentsCommandInput, ListComponentsCommandOutput } from "../commands/ListComponentsCommand";
32
33
  import { ListContainerRecipesCommandInput, ListContainerRecipesCommandOutput } from "../commands/ListContainerRecipesCommand";
@@ -76,6 +77,7 @@ export declare const serializeAws_restJson1GetImageRecipeCommand: (input: GetIma
76
77
  export declare const serializeAws_restJson1GetImageRecipePolicyCommand: (input: GetImageRecipePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
78
  export declare const serializeAws_restJson1GetInfrastructureConfigurationCommand: (input: GetInfrastructureConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
78
79
  export declare const serializeAws_restJson1ImportComponentCommand: (input: ImportComponentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
80
+ export declare const serializeAws_restJson1ImportVmImageCommand: (input: ImportVmImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
79
81
  export declare const serializeAws_restJson1ListComponentBuildVersionsCommand: (input: ListComponentBuildVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
80
82
  export declare const serializeAws_restJson1ListComponentsCommand: (input: ListComponentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
81
83
  export declare const serializeAws_restJson1ListContainerRecipesCommand: (input: ListContainerRecipesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -125,6 +127,7 @@ export declare const deserializeAws_restJson1GetImageRecipeCommand: (output: __H
125
127
  export declare const deserializeAws_restJson1GetImageRecipePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetImageRecipePolicyCommandOutput>;
126
128
  export declare const deserializeAws_restJson1GetInfrastructureConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInfrastructureConfigurationCommandOutput>;
127
129
  export declare const deserializeAws_restJson1ImportComponentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportComponentCommandOutput>;
130
+ export declare const deserializeAws_restJson1ImportVmImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportVmImageCommandOutput>;
128
131
  export declare const deserializeAws_restJson1ListComponentBuildVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListComponentBuildVersionsCommandOutput>;
129
132
  export declare const deserializeAws_restJson1ListComponentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListComponentsCommandOutput>;
130
133
  export declare const deserializeAws_restJson1ListContainerRecipesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListContainerRecipesCommandOutput>;
@@ -26,6 +26,7 @@ import { GetImageRecipeCommandInput, GetImageRecipeCommandOutput } from "./comma
26
26
  import { GetImageRecipePolicyCommandInput, GetImageRecipePolicyCommandOutput } from "./commands/GetImageRecipePolicyCommand";
27
27
  import { GetInfrastructureConfigurationCommandInput, GetInfrastructureConfigurationCommandOutput } from "./commands/GetInfrastructureConfigurationCommand";
28
28
  import { ImportComponentCommandInput, ImportComponentCommandOutput } from "./commands/ImportComponentCommand";
29
+ import { ImportVmImageCommandInput, ImportVmImageCommandOutput } from "./commands/ImportVmImageCommand";
29
30
  import { ListComponentBuildVersionsCommandInput, ListComponentBuildVersionsCommandOutput } from "./commands/ListComponentBuildVersionsCommand";
30
31
  import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
31
32
  import { ListContainerRecipesCommandInput, ListContainerRecipesCommandOutput } from "./commands/ListContainerRecipesCommand";
@@ -160,6 +161,10 @@ export declare class Imagebuilder extends ImagebuilderClient {
160
161
  importComponent(args: ImportComponentCommandInput, cb: (err: any, data?: ImportComponentCommandOutput) => void): void;
161
162
  importComponent(args: ImportComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportComponentCommandOutput) => void): void;
162
163
 
164
+ importVmImage(args: ImportVmImageCommandInput, options?: __HttpHandlerOptions): Promise<ImportVmImageCommandOutput>;
165
+ importVmImage(args: ImportVmImageCommandInput, cb: (err: any, data?: ImportVmImageCommandOutput) => void): void;
166
+ importVmImage(args: ImportVmImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportVmImageCommandOutput) => void): void;
167
+
163
168
  listComponentBuildVersions(args: ListComponentBuildVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListComponentBuildVersionsCommandOutput>;
164
169
  listComponentBuildVersions(args: ListComponentBuildVersionsCommandInput, cb: (err: any, data?: ListComponentBuildVersionsCommandOutput) => void): void;
165
170
  listComponentBuildVersions(args: ListComponentBuildVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListComponentBuildVersionsCommandOutput) => void): void;
@@ -33,6 +33,7 @@ import { GetImageRecipeCommandInput, GetImageRecipeCommandOutput } from "./comma
33
33
  import { GetImageRecipePolicyCommandInput, GetImageRecipePolicyCommandOutput } from "./commands/GetImageRecipePolicyCommand";
34
34
  import { GetInfrastructureConfigurationCommandInput, GetInfrastructureConfigurationCommandOutput } from "./commands/GetInfrastructureConfigurationCommand";
35
35
  import { ImportComponentCommandInput, ImportComponentCommandOutput } from "./commands/ImportComponentCommand";
36
+ import { ImportVmImageCommandInput, ImportVmImageCommandOutput } from "./commands/ImportVmImageCommand";
36
37
  import { ListComponentBuildVersionsCommandInput, ListComponentBuildVersionsCommandOutput } from "./commands/ListComponentBuildVersionsCommand";
37
38
  import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
38
39
  import { ListContainerRecipesCommandInput, ListContainerRecipesCommandOutput } from "./commands/ListContainerRecipesCommand";
@@ -55,8 +56,8 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
55
56
  import { UpdateDistributionConfigurationCommandInput, UpdateDistributionConfigurationCommandOutput } from "./commands/UpdateDistributionConfigurationCommand";
56
57
  import { UpdateImagePipelineCommandInput, UpdateImagePipelineCommandOutput } from "./commands/UpdateImagePipelineCommand";
57
58
  import { UpdateInfrastructureConfigurationCommandInput, UpdateInfrastructureConfigurationCommandOutput } from "./commands/UpdateInfrastructureConfigurationCommand";
58
- export declare type ServiceInputTypes = CancelImageCreationCommandInput | CreateComponentCommandInput | CreateContainerRecipeCommandInput | CreateDistributionConfigurationCommandInput | CreateImageCommandInput | CreateImagePipelineCommandInput | CreateImageRecipeCommandInput | CreateInfrastructureConfigurationCommandInput | DeleteComponentCommandInput | DeleteContainerRecipeCommandInput | DeleteDistributionConfigurationCommandInput | DeleteImageCommandInput | DeleteImagePipelineCommandInput | DeleteImageRecipeCommandInput | DeleteInfrastructureConfigurationCommandInput | GetComponentCommandInput | GetComponentPolicyCommandInput | GetContainerRecipeCommandInput | GetContainerRecipePolicyCommandInput | GetDistributionConfigurationCommandInput | GetImageCommandInput | GetImagePipelineCommandInput | GetImagePolicyCommandInput | GetImageRecipeCommandInput | GetImageRecipePolicyCommandInput | GetInfrastructureConfigurationCommandInput | ImportComponentCommandInput | ListComponentBuildVersionsCommandInput | ListComponentsCommandInput | ListContainerRecipesCommandInput | ListDistributionConfigurationsCommandInput | ListImageBuildVersionsCommandInput | ListImagePackagesCommandInput | ListImagePipelineImagesCommandInput | ListImagePipelinesCommandInput | ListImageRecipesCommandInput | ListImagesCommandInput | ListInfrastructureConfigurationsCommandInput | ListTagsForResourceCommandInput | PutComponentPolicyCommandInput | PutContainerRecipePolicyCommandInput | PutImagePolicyCommandInput | PutImageRecipePolicyCommandInput | StartImagePipelineExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDistributionConfigurationCommandInput | UpdateImagePipelineCommandInput | UpdateInfrastructureConfigurationCommandInput;
59
- export declare type ServiceOutputTypes = CancelImageCreationCommandOutput | CreateComponentCommandOutput | CreateContainerRecipeCommandOutput | CreateDistributionConfigurationCommandOutput | CreateImageCommandOutput | CreateImagePipelineCommandOutput | CreateImageRecipeCommandOutput | CreateInfrastructureConfigurationCommandOutput | DeleteComponentCommandOutput | DeleteContainerRecipeCommandOutput | DeleteDistributionConfigurationCommandOutput | DeleteImageCommandOutput | DeleteImagePipelineCommandOutput | DeleteImageRecipeCommandOutput | DeleteInfrastructureConfigurationCommandOutput | GetComponentCommandOutput | GetComponentPolicyCommandOutput | GetContainerRecipeCommandOutput | GetContainerRecipePolicyCommandOutput | GetDistributionConfigurationCommandOutput | GetImageCommandOutput | GetImagePipelineCommandOutput | GetImagePolicyCommandOutput | GetImageRecipeCommandOutput | GetImageRecipePolicyCommandOutput | GetInfrastructureConfigurationCommandOutput | ImportComponentCommandOutput | ListComponentBuildVersionsCommandOutput | ListComponentsCommandOutput | ListContainerRecipesCommandOutput | ListDistributionConfigurationsCommandOutput | ListImageBuildVersionsCommandOutput | ListImagePackagesCommandOutput | ListImagePipelineImagesCommandOutput | ListImagePipelinesCommandOutput | ListImageRecipesCommandOutput | ListImagesCommandOutput | ListInfrastructureConfigurationsCommandOutput | ListTagsForResourceCommandOutput | PutComponentPolicyCommandOutput | PutContainerRecipePolicyCommandOutput | PutImagePolicyCommandOutput | PutImageRecipePolicyCommandOutput | StartImagePipelineExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDistributionConfigurationCommandOutput | UpdateImagePipelineCommandOutput | UpdateInfrastructureConfigurationCommandOutput;
59
+ export declare type ServiceInputTypes = CancelImageCreationCommandInput | CreateComponentCommandInput | CreateContainerRecipeCommandInput | CreateDistributionConfigurationCommandInput | CreateImageCommandInput | CreateImagePipelineCommandInput | CreateImageRecipeCommandInput | CreateInfrastructureConfigurationCommandInput | DeleteComponentCommandInput | DeleteContainerRecipeCommandInput | DeleteDistributionConfigurationCommandInput | DeleteImageCommandInput | DeleteImagePipelineCommandInput | DeleteImageRecipeCommandInput | DeleteInfrastructureConfigurationCommandInput | GetComponentCommandInput | GetComponentPolicyCommandInput | GetContainerRecipeCommandInput | GetContainerRecipePolicyCommandInput | GetDistributionConfigurationCommandInput | GetImageCommandInput | GetImagePipelineCommandInput | GetImagePolicyCommandInput | GetImageRecipeCommandInput | GetImageRecipePolicyCommandInput | GetInfrastructureConfigurationCommandInput | ImportComponentCommandInput | ImportVmImageCommandInput | ListComponentBuildVersionsCommandInput | ListComponentsCommandInput | ListContainerRecipesCommandInput | ListDistributionConfigurationsCommandInput | ListImageBuildVersionsCommandInput | ListImagePackagesCommandInput | ListImagePipelineImagesCommandInput | ListImagePipelinesCommandInput | ListImageRecipesCommandInput | ListImagesCommandInput | ListInfrastructureConfigurationsCommandInput | ListTagsForResourceCommandInput | PutComponentPolicyCommandInput | PutContainerRecipePolicyCommandInput | PutImagePolicyCommandInput | PutImageRecipePolicyCommandInput | StartImagePipelineExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDistributionConfigurationCommandInput | UpdateImagePipelineCommandInput | UpdateInfrastructureConfigurationCommandInput;
60
+ export declare type ServiceOutputTypes = CancelImageCreationCommandOutput | CreateComponentCommandOutput | CreateContainerRecipeCommandOutput | CreateDistributionConfigurationCommandOutput | CreateImageCommandOutput | CreateImagePipelineCommandOutput | CreateImageRecipeCommandOutput | CreateInfrastructureConfigurationCommandOutput | DeleteComponentCommandOutput | DeleteContainerRecipeCommandOutput | DeleteDistributionConfigurationCommandOutput | DeleteImageCommandOutput | DeleteImagePipelineCommandOutput | DeleteImageRecipeCommandOutput | DeleteInfrastructureConfigurationCommandOutput | GetComponentCommandOutput | GetComponentPolicyCommandOutput | GetContainerRecipeCommandOutput | GetContainerRecipePolicyCommandOutput | GetDistributionConfigurationCommandOutput | GetImageCommandOutput | GetImagePipelineCommandOutput | GetImagePolicyCommandOutput | GetImageRecipeCommandOutput | GetImageRecipePolicyCommandOutput | GetInfrastructureConfigurationCommandOutput | ImportComponentCommandOutput | ImportVmImageCommandOutput | ListComponentBuildVersionsCommandOutput | ListComponentsCommandOutput | ListContainerRecipesCommandOutput | ListDistributionConfigurationsCommandOutput | ListImageBuildVersionsCommandOutput | ListImagePackagesCommandOutput | ListImagePipelineImagesCommandOutput | ListImagePipelinesCommandOutput | ListImageRecipesCommandOutput | ListImagesCommandOutput | ListInfrastructureConfigurationsCommandOutput | ListTagsForResourceCommandOutput | PutComponentPolicyCommandOutput | PutContainerRecipePolicyCommandOutput | PutImagePolicyCommandOutput | PutImageRecipePolicyCommandOutput | StartImagePipelineExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDistributionConfigurationCommandOutput | UpdateImagePipelineCommandOutput | UpdateInfrastructureConfigurationCommandOutput;
60
61
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
61
62
 
62
63
  requestHandler?: __HttpHandler;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
4
+ import { ImportVmImageRequest, ImportVmImageResponse } from "../models/models_0";
5
+ export interface ImportVmImageCommandInput extends ImportVmImageRequest {
6
+ }
7
+ export interface ImportVmImageCommandOutput extends ImportVmImageResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ImportVmImageCommand extends $Command<ImportVmImageCommandInput, ImportVmImageCommandOutput, ImagebuilderClientResolvedConfig> {
11
+ readonly input: ImportVmImageCommandInput;
12
+ constructor(input: ImportVmImageCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportVmImageCommandInput, ImportVmImageCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -25,6 +25,7 @@ export * from "./GetImageRecipeCommand";
25
25
  export * from "./GetImageRecipePolicyCommand";
26
26
  export * from "./GetInfrastructureConfigurationCommand";
27
27
  export * from "./ImportComponentCommand";
28
+ export * from "./ImportVmImageCommand";
28
29
  export * from "./ListComponentBuildVersionsCommand";
29
30
  export * from "./ListComponentsCommand";
30
31
  export * from "./ListContainerRecipesCommand";
@@ -98,6 +98,11 @@ export declare namespace AmiDistributionConfiguration {
98
98
 
99
99
  const filterSensitiveLog: (obj: AmiDistributionConfiguration) => any;
100
100
  }
101
+ export declare enum BuildType {
102
+ IMPORT = "IMPORT",
103
+ SCHEDULED = "SCHEDULED",
104
+ USER_INITIATED = "USER_INITIATED"
105
+ }
101
106
 
102
107
  export interface CallRateLimitExceededException extends __SmithyException, $MetadataBearer {
103
108
  name: "CallRateLimitExceededException";
@@ -675,6 +680,26 @@ export declare namespace LaunchTemplateConfiguration {
675
680
 
676
681
  const filterSensitiveLog: (obj: LaunchTemplateConfiguration) => any;
677
682
  }
683
+ export declare enum DiskImageFormat {
684
+ RAW = "RAW",
685
+ VHD = "VHD",
686
+ VMDK = "VMDK"
687
+ }
688
+
689
+ export interface S3ExportConfiguration {
690
+
691
+ roleName: string | undefined;
692
+
693
+ diskImageFormat: DiskImageFormat | string | undefined;
694
+
695
+ s3Bucket: string | undefined;
696
+
697
+ s3Prefix?: string;
698
+ }
699
+ export declare namespace S3ExportConfiguration {
700
+
701
+ const filterSensitiveLog: (obj: S3ExportConfiguration) => any;
702
+ }
678
703
 
679
704
  export interface Distribution {
680
705
 
@@ -687,6 +712,8 @@ export interface Distribution {
687
712
  licenseConfigurationArns?: string[];
688
713
 
689
714
  launchTemplateConfigurations?: LaunchTemplateConfiguration[];
715
+
716
+ s3ExportConfiguration?: S3ExportConfiguration;
690
717
  }
691
718
  export declare namespace Distribution {
692
719
 
@@ -1393,6 +1420,8 @@ export interface Image {
1393
1420
  tags?: {
1394
1421
  [key: string]: string;
1395
1422
  };
1423
+
1424
+ buildType?: BuildType | string;
1396
1425
  }
1397
1426
  export declare namespace Image {
1398
1427
 
@@ -1587,6 +1616,42 @@ export declare namespace ImportComponentResponse {
1587
1616
 
1588
1617
  const filterSensitiveLog: (obj: ImportComponentResponse) => any;
1589
1618
  }
1619
+ export interface ImportVmImageRequest {
1620
+
1621
+ name: string | undefined;
1622
+
1623
+ semanticVersion: string | undefined;
1624
+
1625
+ description?: string;
1626
+
1627
+ platform: Platform | string | undefined;
1628
+
1629
+ osVersion?: string;
1630
+
1631
+ vmImportTaskId: string | undefined;
1632
+
1633
+ tags?: {
1634
+ [key: string]: string;
1635
+ };
1636
+
1637
+ clientToken?: string;
1638
+ }
1639
+ export declare namespace ImportVmImageRequest {
1640
+
1641
+ const filterSensitiveLog: (obj: ImportVmImageRequest) => any;
1642
+ }
1643
+ export interface ImportVmImageResponse {
1644
+
1645
+ requestId?: string;
1646
+
1647
+ imageArn?: string;
1648
+
1649
+ clientToken?: string;
1650
+ }
1651
+ export declare namespace ImportVmImageResponse {
1652
+
1653
+ const filterSensitiveLog: (obj: ImportVmImageResponse) => any;
1654
+ }
1590
1655
 
1591
1656
  export interface InvalidPaginationTokenException extends __SmithyException, $MetadataBearer {
1592
1657
  name: "InvalidPaginationTokenException";
@@ -1744,6 +1809,8 @@ export interface ImageSummary {
1744
1809
  tags?: {
1745
1810
  [key: string]: string;
1746
1811
  };
1812
+
1813
+ buildType?: BuildType | string;
1747
1814
  }
1748
1815
  export declare namespace ImageSummary {
1749
1816
 
@@ -1931,6 +1998,8 @@ export interface ImageVersion {
1931
1998
  owner?: string;
1932
1999
 
1933
2000
  dateCreated?: string;
2001
+
2002
+ buildType?: BuildType | string;
1934
2003
  }
1935
2004
  export declare namespace ImageVersion {
1936
2005
 
@@ -27,6 +27,7 @@ import { GetImageRecipeCommandInput, GetImageRecipeCommandOutput } from "../comm
27
27
  import { GetImageRecipePolicyCommandInput, GetImageRecipePolicyCommandOutput } from "../commands/GetImageRecipePolicyCommand";
28
28
  import { GetInfrastructureConfigurationCommandInput, GetInfrastructureConfigurationCommandOutput } from "../commands/GetInfrastructureConfigurationCommand";
29
29
  import { ImportComponentCommandInput, ImportComponentCommandOutput } from "../commands/ImportComponentCommand";
30
+ import { ImportVmImageCommandInput, ImportVmImageCommandOutput } from "../commands/ImportVmImageCommand";
30
31
  import { ListComponentBuildVersionsCommandInput, ListComponentBuildVersionsCommandOutput } from "../commands/ListComponentBuildVersionsCommand";
31
32
  import { ListComponentsCommandInput, ListComponentsCommandOutput } from "../commands/ListComponentsCommand";
32
33
  import { ListContainerRecipesCommandInput, ListContainerRecipesCommandOutput } from "../commands/ListContainerRecipesCommand";
@@ -76,6 +77,7 @@ export declare const serializeAws_restJson1GetImageRecipeCommand: (input: GetIma
76
77
  export declare const serializeAws_restJson1GetImageRecipePolicyCommand: (input: GetImageRecipePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
78
  export declare const serializeAws_restJson1GetInfrastructureConfigurationCommand: (input: GetInfrastructureConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
78
79
  export declare const serializeAws_restJson1ImportComponentCommand: (input: ImportComponentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
80
+ export declare const serializeAws_restJson1ImportVmImageCommand: (input: ImportVmImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
79
81
  export declare const serializeAws_restJson1ListComponentBuildVersionsCommand: (input: ListComponentBuildVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
80
82
  export declare const serializeAws_restJson1ListComponentsCommand: (input: ListComponentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
81
83
  export declare const serializeAws_restJson1ListContainerRecipesCommand: (input: ListContainerRecipesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -125,6 +127,7 @@ export declare const deserializeAws_restJson1GetImageRecipeCommand: (output: __H
125
127
  export declare const deserializeAws_restJson1GetImageRecipePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetImageRecipePolicyCommandOutput>;
126
128
  export declare const deserializeAws_restJson1GetInfrastructureConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInfrastructureConfigurationCommandOutput>;
127
129
  export declare const deserializeAws_restJson1ImportComponentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportComponentCommandOutput>;
130
+ export declare const deserializeAws_restJson1ImportVmImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportVmImageCommandOutput>;
128
131
  export declare const deserializeAws_restJson1ListComponentBuildVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListComponentBuildVersionsCommandOutput>;
129
132
  export declare const deserializeAws_restJson1ListComponentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListComponentsCommandOutput>;
130
133
  export declare const deserializeAws_restJson1ListContainerRecipesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListContainerRecipesCommandOutput>;
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.43.0",
4
+ "version": "3.45.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.43.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
24
+ "@aws-sdk/client-sts": "3.45.0",
25
+ "@aws-sdk/config-resolver": "3.45.0",
26
+ "@aws-sdk/credential-provider-node": "3.45.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.40.0",
28
28
  "@aws-sdk/hash-node": "3.40.0",
29
29
  "@aws-sdk/invalid-dependency": "3.40.0",
@@ -32,7 +32,7 @@
32
32
  "@aws-sdk/middleware-logger": "3.40.0",
33
33
  "@aws-sdk/middleware-retry": "3.40.0",
34
34
  "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
35
+ "@aws-sdk/middleware-signing": "3.45.0",
36
36
  "@aws-sdk/middleware-stack": "3.40.0",
37
37
  "@aws-sdk/middleware-user-agent": "3.40.0",
38
38
  "@aws-sdk/node-config-provider": "3.40.0",