@aws-sdk/client-imagebuilder 3.41.0 → 3.46.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.
@@ -114,11 +114,11 @@ export declare namespace Ami {
114
114
  const filterSensitiveLog: (obj: Ami) => any;
115
115
  }
116
116
  /**
117
- * <p>Describes the configuration for a launch permission. The launch permission modification request is sent to the
118
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyImageAttribute.html">Amazon EC2 ModifyImageAttribute</a>
117
+ * <p>Describes the configuration for a launch permission. The launch permission modification
118
+ * request is sent to the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyImageAttribute.html">Amazon EC2 ModifyImageAttribute</a>
119
119
  * API on behalf of the user for each Region they have selected to distribute the AMI. To make an AMI public,
120
- * set the launch permission authorized accounts to <code>all</code>. See the examples for making an AMI public at
121
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyImageAttribute.html">Amazon EC2 ModifyImageAttribute</a>.</p>
120
+ * set the launch permission authorized accounts to <code>all</code>. See the examples for making an AMI
121
+ * public at <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyImageAttribute.html">Amazon EC2 ModifyImageAttribute</a>.</p>
122
122
  */
123
123
  export interface LaunchPermissionConfiguration {
124
124
  /**
@@ -129,6 +129,16 @@ export interface LaunchPermissionConfiguration {
129
129
  * <p>The name of the group.</p>
130
130
  */
131
131
  userGroups?: string[];
132
+ /**
133
+ * <p>The ARN for an Amazon Web Services Organization that you want to share your AMI with. For more information, see
134
+ * <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html">What is Organizations?</a>.</p>
135
+ */
136
+ organizationArns?: string[];
137
+ /**
138
+ * <p>The ARN for an Organizations organizational unit (OU) that you want to share your AMI with. For more
139
+ * information about key concepts for Organizations, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html">Organizations terminology and concepts</a>.</p>
140
+ */
141
+ organizationalUnitArns?: string[];
132
142
  }
133
143
  export declare namespace LaunchPermissionConfiguration {
134
144
  /**
@@ -145,7 +155,7 @@ export interface AmiDistributionConfiguration {
145
155
  */
146
156
  name?: string;
147
157
  /**
148
- * <p>The description of the distribution configuration. Minimum and maximum length are in characters.</p>
158
+ * <p>The description of the AMI distribution configuration. Minimum and maximum length are in characters.</p>
149
159
  */
150
160
  description?: string;
151
161
  /**
@@ -174,6 +184,11 @@ export declare namespace AmiDistributionConfiguration {
174
184
  */
175
185
  const filterSensitiveLog: (obj: AmiDistributionConfiguration) => any;
176
186
  }
187
+ export declare enum BuildType {
188
+ IMPORT = "IMPORT",
189
+ SCHEDULED = "SCHEDULED",
190
+ USER_INITIATED = "USER_INITIATED"
191
+ }
177
192
  /**
178
193
  * <p>You have exceeded the permitted request rate for the specific operation.</p>
179
194
  */
@@ -194,7 +209,9 @@ export interface CancelImageCreationRequest {
194
209
  */
195
210
  imageBuildVersionArn: string | undefined;
196
211
  /**
197
- * <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>
198
215
  */
199
216
  clientToken?: string;
200
217
  }
@@ -210,7 +227,7 @@ export interface CancelImageCreationResponse {
210
227
  */
211
228
  requestId?: string;
212
229
  /**
213
- * <p>The idempotency token used to make this request idempotent.</p>
230
+ * <p>The idempotency token that was used for this request.</p>
214
231
  */
215
232
  clientToken?: string;
216
233
  /**
@@ -1260,6 +1277,58 @@ export declare namespace LaunchTemplateConfiguration {
1260
1277
  */
1261
1278
  const filterSensitiveLog: (obj: LaunchTemplateConfiguration) => any;
1262
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
+ }
1263
1332
  /**
1264
1333
  * <p> Defines the settings for a specific Region.</p>
1265
1334
  */
@@ -1287,6 +1356,11 @@ export interface Distribution {
1287
1356
  * for specified accounts.</p>
1288
1357
  */
1289
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;
1290
1364
  }
1291
1365
  export declare namespace Distribution {
1292
1366
  /**
@@ -1346,11 +1420,14 @@ export declare namespace CreateDistributionConfigurationResponse {
1346
1420
  const filterSensitiveLog: (obj: CreateDistributionConfigurationResponse) => any;
1347
1421
  }
1348
1422
  /**
1349
- * <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>
1350
1426
  */
1351
1427
  export interface ImageTestsConfiguration {
1352
1428
  /**
1353
- * <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>
1354
1431
  */
1355
1432
  imageTestsEnabled?: boolean;
1356
1433
  /**
@@ -1696,11 +1773,11 @@ export declare namespace InstanceMetadataOptions {
1696
1773
  */
1697
1774
  export interface S3Logs {
1698
1775
  /**
1699
- * <p>The Amazon S3 bucket in which to store the logs.</p>
1776
+ * <p>The S3 bucket in which to store the logs.</p>
1700
1777
  */
1701
1778
  s3BucketName?: string;
1702
1779
  /**
1703
- * <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>
1704
1781
  */
1705
1782
  s3KeyPrefix?: string;
1706
1783
  }
@@ -1768,7 +1845,12 @@ export interface CreateInfrastructureConfigurationRequest {
1768
1845
  */
1769
1846
  terminateInstanceOnFailure?: boolean;
1770
1847
  /**
1771
- * <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>
1772
1854
  */
1773
1855
  snsTopicArn?: string;
1774
1856
  /**
@@ -2430,7 +2512,12 @@ export interface InfrastructureConfiguration {
2430
2512
  */
2431
2513
  terminateInstanceOnFailure?: boolean;
2432
2514
  /**
2433
- * <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>
2434
2521
  */
2435
2522
  snsTopicArn?: string;
2436
2523
  /**
@@ -2599,6 +2686,28 @@ export interface Image {
2599
2686
  tags?: {
2600
2687
  [key: string]: string;
2601
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;
2602
2711
  }
2603
2712
  export declare namespace Image {
2604
2713
  /**
@@ -2948,6 +3057,87 @@ export declare namespace ImportComponentResponse {
2948
3057
  */
2949
3058
  const filterSensitiveLog: (obj: ImportComponentResponse) => any;
2950
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
+ }
2951
3141
  /**
2952
3142
  * <p>You have provided an invalid pagination token in your request.</p>
2953
3143
  */
@@ -3312,6 +3502,28 @@ export interface ImageSummary {
3312
3502
  tags?: {
3313
3503
  [key: string]: string;
3314
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;
3315
3527
  }
3316
3528
  export declare namespace ImageSummary {
3317
3529
  /**
@@ -3775,6 +3987,28 @@ export interface ImageVersion {
3775
3987
  * <p>The date on which this specific version of the Image Builder image was created.</p>
3776
3988
  */
3777
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;
3778
4012
  }
3779
4013
  export declare namespace ImageVersion {
3780
4014
  /**
@@ -4342,7 +4576,12 @@ export interface UpdateInfrastructureConfigurationRequest {
4342
4576
  */
4343
4577
  terminateInstanceOnFailure?: boolean;
4344
4578
  /**
4345
- * <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>
4346
4585
  */
4347
4586
  snsTopicArn?: string;
4348
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";
@@ -68,6 +68,10 @@ export interface LaunchPermissionConfiguration {
68
68
  userIds?: string[];
69
69
 
70
70
  userGroups?: string[];
71
+
72
+ organizationArns?: string[];
73
+
74
+ organizationalUnitArns?: string[];
71
75
  }
72
76
  export declare namespace LaunchPermissionConfiguration {
73
77
 
@@ -94,6 +98,11 @@ export declare namespace AmiDistributionConfiguration {
94
98
 
95
99
  const filterSensitiveLog: (obj: AmiDistributionConfiguration) => any;
96
100
  }
101
+ export declare enum BuildType {
102
+ IMPORT = "IMPORT",
103
+ SCHEDULED = "SCHEDULED",
104
+ USER_INITIATED = "USER_INITIATED"
105
+ }
97
106
 
98
107
  export interface CallRateLimitExceededException extends __SmithyException, $MetadataBearer {
99
108
  name: "CallRateLimitExceededException";
@@ -671,6 +680,26 @@ export declare namespace LaunchTemplateConfiguration {
671
680
 
672
681
  const filterSensitiveLog: (obj: LaunchTemplateConfiguration) => any;
673
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
+ }
674
703
 
675
704
  export interface Distribution {
676
705
 
@@ -683,6 +712,8 @@ export interface Distribution {
683
712
  licenseConfigurationArns?: string[];
684
713
 
685
714
  launchTemplateConfigurations?: LaunchTemplateConfiguration[];
715
+
716
+ s3ExportConfiguration?: S3ExportConfiguration;
686
717
  }
687
718
  export declare namespace Distribution {
688
719
 
@@ -1389,6 +1420,8 @@ export interface Image {
1389
1420
  tags?: {
1390
1421
  [key: string]: string;
1391
1422
  };
1423
+
1424
+ buildType?: BuildType | string;
1392
1425
  }
1393
1426
  export declare namespace Image {
1394
1427
 
@@ -1583,6 +1616,42 @@ export declare namespace ImportComponentResponse {
1583
1616
 
1584
1617
  const filterSensitiveLog: (obj: ImportComponentResponse) => any;
1585
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
+ }
1586
1655
 
1587
1656
  export interface InvalidPaginationTokenException extends __SmithyException, $MetadataBearer {
1588
1657
  name: "InvalidPaginationTokenException";
@@ -1740,6 +1809,8 @@ export interface ImageSummary {
1740
1809
  tags?: {
1741
1810
  [key: string]: string;
1742
1811
  };
1812
+
1813
+ buildType?: BuildType | string;
1743
1814
  }
1744
1815
  export declare namespace ImageSummary {
1745
1816
 
@@ -1927,6 +1998,8 @@ export interface ImageVersion {
1927
1998
  owner?: string;
1928
1999
 
1929
2000
  dateCreated?: string;
2001
+
2002
+ buildType?: BuildType | string;
1930
2003
  }
1931
2004
  export declare namespace ImageVersion {
1932
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>;