|
543 | 543 | ],
|
544 | 544 | "documentation":"<p>Imports a component and transforms its data into a component document.</p>"
|
545 | 545 | },
|
| 546 | + "ImportVmImage":{ |
| 547 | + "name":"ImportVmImage", |
| 548 | + "http":{ |
| 549 | + "method":"PUT", |
| 550 | + "requestUri":"/ImportVmImage" |
| 551 | + }, |
| 552 | + "input":{"shape":"ImportVmImageRequest"}, |
| 553 | + "output":{"shape":"ImportVmImageResponse"}, |
| 554 | + "errors":[ |
| 555 | + {"shape":"ServiceException"}, |
| 556 | + {"shape":"ClientException"}, |
| 557 | + {"shape":"ServiceUnavailableException"} |
| 558 | + ], |
| 559 | + "documentation":"<p>When you export your virtual machine (VM) from its virtualization environment, that process creates a set of one or more disk container files that act as snapshots of your VM’s environment, settings, and data. The Amazon EC2 API <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportImage.html\">ImportImage</a> action uses those files to import your VM and create an AMI. To import using the CLI command, see <a href=\"https://docs.aws.amazon.com/cli/latest/reference/ec2/import-image.html\">import-image</a> </p> <p>You can reference the task ID from the VM import to pull in the AMI that the import created as the base image for your Image Builder recipe.</p>" |
| 560 | + }, |
546 | 561 | "ListComponentBuildVersions":{
|
547 | 562 | "name":"ListComponentBuildVersions",
|
548 | 563 | "http":{
|
|
1056 | 1071 | },
|
1057 | 1072 | "Arn":{"type":"string"},
|
1058 | 1073 | "Boolean":{"type":"boolean"},
|
| 1074 | + "BuildType":{ |
| 1075 | + "type":"string", |
| 1076 | + "enum":[ |
| 1077 | + "USER_INITIATED", |
| 1078 | + "SCHEDULED", |
| 1079 | + "IMPORT" |
| 1080 | + ] |
| 1081 | + }, |
1059 | 1082 | "CallRateLimitExceededException":{
|
1060 | 1083 | "type":"structure",
|
1061 | 1084 | "members":{
|
|
1078 | 1101 | },
|
1079 | 1102 | "clientToken":{
|
1080 | 1103 | "shape":"ClientToken",
|
1081 |
| - "documentation":"<p>The idempotency token used to make this request idempotent.</p>", |
| 1104 | + "documentation":"<p>Unique, case-sensitive identifier you provide to ensure 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> in the <i>Amazon EC2 API Reference</i>.</p>", |
1082 | 1105 | "idempotencyToken":true
|
1083 | 1106 | }
|
1084 | 1107 | }
|
|
1092 | 1115 | },
|
1093 | 1116 | "clientToken":{
|
1094 | 1117 | "shape":"ClientToken",
|
1095 |
| - "documentation":"<p>The idempotency token used to make this request idempotent.</p>" |
| 1118 | + "documentation":"<p>The idempotency token that was used for this request.</p>" |
1096 | 1119 | },
|
1097 | 1120 | "imageBuildVersionArn":{
|
1098 | 1121 | "shape":"ImageBuildVersionArn",
|
|
2277 | 2300 | }
|
2278 | 2301 | }
|
2279 | 2302 | },
|
| 2303 | + "DiskImageFormat":{ |
| 2304 | + "type":"string", |
| 2305 | + "enum":[ |
| 2306 | + "VMDK", |
| 2307 | + "RAW", |
| 2308 | + "VHD" |
| 2309 | + ] |
| 2310 | + }, |
2280 | 2311 | "Distribution":{
|
2281 | 2312 | "type":"structure",
|
2282 | 2313 | "required":["region"],
|
|
2300 | 2331 | "launchTemplateConfigurations":{
|
2301 | 2332 | "shape":"LaunchTemplateConfigurationList",
|
2302 | 2333 | "documentation":"<p>A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts.</p>"
|
| 2334 | + }, |
| 2335 | + "s3ExportConfiguration":{ |
| 2336 | + "shape":"S3ExportConfiguration", |
| 2337 | + "documentation":"<p>Configure export settings to deliver disk images created from your image build, using a file format that is compatible with your VMs in that Region.</p>" |
2303 | 2338 | }
|
2304 | 2339 | },
|
2305 | 2340 | "documentation":"<p> Defines the settings for a specific Region.</p>"
|
|
2878 | 2913 | "tags":{
|
2879 | 2914 | "shape":"TagMap",
|
2880 | 2915 | "documentation":"<p>The tags of the image.</p>"
|
| 2916 | + }, |
| 2917 | + "buildType":{ |
| 2918 | + "shape":"BuildType", |
| 2919 | + "documentation":"<p>Indicates the type of build that created this image. The build can be initiated in the following ways:</p> <ul> <li> <p> <b>USER_INITIATED</b> – A manual pipeline build request.</p> </li> <li> <p> <b>SCHEDULED</b> – A pipeline build initiated by a cron expression in the Image Builder pipeline, or from EventBridge.</p> </li> <li> <p> <b>IMPORT</b> – A VM import created the image to use as the base image for the recipe.</p> </li> </ul>" |
2881 | 2920 | }
|
2882 | 2921 | },
|
2883 | 2922 | "documentation":"<p>An Image Builder image. You must specify exactly one recipe for the image – either a container recipe (<code>containerRecipe</code>), which creates a container image, or an image recipe (<code>imageRecipe</code>), which creates an AMI.</p>"
|
|
3170 | 3209 | "tags":{
|
3171 | 3210 | "shape":"TagMap",
|
3172 | 3211 | "documentation":"<p>The tags of the image.</p>"
|
| 3212 | + }, |
| 3213 | + "buildType":{ |
| 3214 | + "shape":"BuildType", |
| 3215 | + "documentation":"<p>Indicates the type of build that created this image. The build can be initiated in the following ways:</p> <ul> <li> <p> <b>USER_INITIATED</b> – A manual pipeline build request.</p> </li> <li> <p> <b>SCHEDULED</b> – A pipeline build initiated by a cron expression in the Image Builder pipeline, or from EventBridge.</p> </li> <li> <p> <b>IMPORT</b> – A VM import created the image to use as the base image for the recipe.</p> </li> </ul>" |
3173 | 3216 | }
|
3174 | 3217 | },
|
3175 | 3218 | "documentation":"<p>An image summary.</p>"
|
|
3183 | 3226 | "members":{
|
3184 | 3227 | "imageTestsEnabled":{
|
3185 | 3228 | "shape":"NullableBoolean",
|
3186 |
| - "documentation":"<p>Defines if tests should be executed when building this image.</p>" |
| 3229 | + "documentation":"<p>Determines if tests should run after building the image. Image Builder defaults to enable tests to run following the image build, before image distribution.</p>" |
3187 | 3230 | },
|
3188 | 3231 | "timeoutMinutes":{
|
3189 | 3232 | "shape":"ImageTestsTimeoutMinutes",
|
3190 | 3233 | "documentation":"<p>The maximum time in minutes that tests are permitted to run.</p>"
|
3191 | 3234 | }
|
3192 | 3235 | },
|
3193 |
| - "documentation":"<p>Image tests configuration.</p>" |
| 3236 | + "documentation":"<p>Configure image tests for your pipeline build. Tests run after building the image, to verify that the AMI or container image is valid before distributing it.</p>" |
3194 | 3237 | },
|
3195 | 3238 | "ImageTestsTimeoutMinutes":{
|
3196 | 3239 | "type":"integer",
|
|
3238 | 3281 | "dateCreated":{
|
3239 | 3282 | "shape":"DateTime",
|
3240 | 3283 | "documentation":"<p>The date on which this specific version of the Image Builder image was created.</p>"
|
| 3284 | + }, |
| 3285 | + "buildType":{ |
| 3286 | + "shape":"BuildType", |
| 3287 | + "documentation":"<p>Indicates the type of build that created this image. The build can be initiated in the following ways:</p> <ul> <li> <p> <b>USER_INITIATED</b> – A manual pipeline build request.</p> </li> <li> <p> <b>SCHEDULED</b> – A pipeline build initiated by a cron expression in the Image Builder pipeline, or from EventBridge.</p> </li> <li> <p> <b>IMPORT</b> – A VM import created the image to use as the base image for the recipe.</p> </li> </ul>" |
3241 | 3288 | }
|
3242 | 3289 | },
|
3243 | 3290 | "documentation":"<p>The defining characteristics of a specific version of an Image Builder image.</p>"
|
|
3333 | 3380 | }
|
3334 | 3381 | }
|
3335 | 3382 | },
|
| 3383 | + "ImportVmImageRequest":{ |
| 3384 | + "type":"structure", |
| 3385 | + "required":[ |
| 3386 | + "name", |
| 3387 | + "semanticVersion", |
| 3388 | + "platform", |
| 3389 | + "vmImportTaskId", |
| 3390 | + "clientToken" |
| 3391 | + ], |
| 3392 | + "members":{ |
| 3393 | + "name":{ |
| 3394 | + "shape":"NonEmptyString", |
| 3395 | + "documentation":"<p>The name of the base image that is created by the import process.</p>" |
| 3396 | + }, |
| 3397 | + "semanticVersion":{ |
| 3398 | + "shape":"VersionNumber", |
| 3399 | + "documentation":"<p>The semantic version to attach to the base image that was created during the import process. This version follows the semantic version syntax.</p> <note> <p>The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.</p> <p> <b>Assignment:</b> For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.</p> <p> <b>Patterns:</b> You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.</p> </note>" |
| 3400 | + }, |
| 3401 | + "description":{ |
| 3402 | + "shape":"NonEmptyString", |
| 3403 | + "documentation":"<p>The description for the base image that is created by the import process.</p>" |
| 3404 | + }, |
| 3405 | + "platform":{ |
| 3406 | + "shape":"Platform", |
| 3407 | + "documentation":"<p>The operating system platform for the imported VM.</p>" |
| 3408 | + }, |
| 3409 | + "osVersion":{ |
| 3410 | + "shape":"OsVersion", |
| 3411 | + "documentation":"<p>The operating system version for the imported VM.</p>" |
| 3412 | + }, |
| 3413 | + "vmImportTaskId":{ |
| 3414 | + "shape":"NonEmptyString", |
| 3415 | + "documentation":"<p>The <code>importTaskId</code> (API) or <code>ImportTaskId</code> (CLI) from the Amazon EC2 VM import process. Image Builder retrieves information from the import process to pull in the AMI that is created from the VM source as the base image for your recipe.</p>" |
| 3416 | + }, |
| 3417 | + "tags":{ |
| 3418 | + "shape":"TagMap", |
| 3419 | + "documentation":"<p>Tags that are attached to the import resources.</p>" |
| 3420 | + }, |
| 3421 | + "clientToken":{ |
| 3422 | + "shape":"ClientToken", |
| 3423 | + "documentation":"<p>Unique, case-sensitive identifier you provide to ensure 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> in the <i>Amazon EC2 API Reference</i>.</p>", |
| 3424 | + "idempotencyToken":true |
| 3425 | + } |
| 3426 | + } |
| 3427 | + }, |
| 3428 | + "ImportVmImageResponse":{ |
| 3429 | + "type":"structure", |
| 3430 | + "members":{ |
| 3431 | + "requestId":{ |
| 3432 | + "shape":"NonEmptyString", |
| 3433 | + "documentation":"<p>The request ID that uniquely identifies this request.</p>" |
| 3434 | + }, |
| 3435 | + "imageArn":{ |
| 3436 | + "shape":"Arn", |
| 3437 | + "documentation":"<p>The Amazon Resource Name (ARN) of the AMI that was created during the VM import process. This AMI is used as the base image for the recipe that imported the VM.</p>" |
| 3438 | + }, |
| 3439 | + "clientToken":{ |
| 3440 | + "shape":"ClientToken", |
| 3441 | + "documentation":"<p>The idempotency token that was used for this request.</p>" |
| 3442 | + } |
| 3443 | + } |
| 3444 | + }, |
3336 | 3445 | "InfrastructureConfiguration":{
|
3337 | 3446 | "type":"structure",
|
3338 | 3447 | "members":{
|
|
4366 | 4475 | "max":25,
|
4367 | 4476 | "min":1
|
4368 | 4477 | },
|
| 4478 | + "S3ExportConfiguration":{ |
| 4479 | + "type":"structure", |
| 4480 | + "required":[ |
| 4481 | + "roleName", |
| 4482 | + "diskImageFormat", |
| 4483 | + "s3Bucket" |
| 4484 | + ], |
| 4485 | + "members":{ |
| 4486 | + "roleName":{ |
| 4487 | + "shape":"NonEmptyString", |
| 4488 | + "documentation":"<p>The name of the role that grants VM Import/Export permission to export images to your S3 bucket.</p>" |
| 4489 | + }, |
| 4490 | + "diskImageFormat":{ |
| 4491 | + "shape":"DiskImageFormat", |
| 4492 | + "documentation":"<p>Export the updated image to one of the following supported disk image formats:</p> <ul> <li> <p> <b>Virtual Hard Disk (VHD)</b> – Compatible with Citrix Xen and Microsoft Hyper-V virtualization products.</p> </li> <li> <p> <b>Stream-optimized ESX Virtual Machine Disk (VMDK)</b> – Compatible with VMware ESX and VMware vSphere versions 4, 5, and 6.</p> </li> <li> <p> <b>Raw</b> – Raw format.</p> </li> </ul>" |
| 4493 | + }, |
| 4494 | + "s3Bucket":{ |
| 4495 | + "shape":"NonEmptyString", |
| 4496 | + "documentation":"<p>The S3 bucket in which to store the output disk images for your VM.</p>" |
| 4497 | + }, |
| 4498 | + "s3Prefix":{ |
| 4499 | + "shape":"NonEmptyString", |
| 4500 | + "documentation":"<p>The Amazon S3 path for the bucket where the output disk images for your VM are stored.</p>" |
| 4501 | + } |
| 4502 | + }, |
| 4503 | + "documentation":"<p>Properties that configure export from your build instance to a compatible file format for your VM.</p>" |
| 4504 | + }, |
4369 | 4505 | "S3Logs":{
|
4370 | 4506 | "type":"structure",
|
4371 | 4507 | "members":{
|
4372 | 4508 | "s3BucketName":{
|
4373 | 4509 | "shape":"NonEmptyString",
|
4374 |
| - "documentation":"<p>The Amazon S3 bucket in which to store the logs.</p>" |
| 4510 | + "documentation":"<p>The S3 bucket in which to store the logs.</p>" |
4375 | 4511 | },
|
4376 | 4512 | "s3KeyPrefix":{
|
4377 | 4513 | "shape":"NonEmptyString",
|
4378 |
| - "documentation":"<p>The Amazon S3 path in which to store the logs.</p>" |
| 4514 | + "documentation":"<p>The Amazon S3 path to the bucket where the logs are stored.</p>" |
4379 | 4515 | }
|
4380 | 4516 | },
|
4381 | 4517 | "documentation":"<p>Amazon S3 logging configuration.</p>"
|
|
0 commit comments