aws-sdk-imagebuilder 1.74.0 → 1.75.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-imagebuilder/client.rb +94 -5
- data/lib/aws-sdk-imagebuilder/client_api.rb +29 -0
- data/lib/aws-sdk-imagebuilder/types.rb +115 -13
- data/lib/aws-sdk-imagebuilder.rb +1 -1
- data/sig/client.rbs +20 -0
- data/sig/types.rbs +23 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eedb41e0fd024941b970d683984483cfe9a391fc2114180823165a8c092df9fd
|
4
|
+
data.tar.gz: 1ba2e7340f22c1e811e8ec4eac90f7ff496960823c3707115cb0f9d27f197d5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed72f64e05d5cf7b5bae5bfc9e6615fa1f4c7438840ba79ec2d0815fa6346d0cd0d1a30e614f2dfcd39e3027006ec0dadbf3cc62c1a5aa5f63fd82f19f0cf788
|
7
|
+
data.tar.gz: 80f63a41782e67dfb4e987751b087212746cadd8edf3b3ad2f933c3837ff564a8af8185f927950e63169eca7be3de97c6a43c7aa2b660aae5d75809cb30b9e0d
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.75.0
|
@@ -2422,7 +2422,7 @@ module Aws::Imagebuilder
|
|
2422
2422
|
# resp.image.output_resources.containers[0].image_uris[0] #=> String
|
2423
2423
|
# resp.image.tags #=> Hash
|
2424
2424
|
# resp.image.tags["TagKey"] #=> String
|
2425
|
-
# resp.image.build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
|
2425
|
+
# resp.image.build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT", "IMPORT_ISO"
|
2426
2426
|
# resp.image.image_source #=> String, one of "AMAZON_MANAGED", "AWS_MARKETPLACE", "IMPORTED", "CUSTOM"
|
2427
2427
|
# resp.image.scan_state.status #=> String, one of "PENDING", "SCANNING", "COLLECTING", "COMPLETED", "ABANDONED", "FAILED", "TIMED_OUT"
|
2428
2428
|
# resp.image.scan_state.reason #=> String
|
@@ -3115,6 +3115,95 @@ module Aws::Imagebuilder
|
|
3115
3115
|
req.send_request(options)
|
3116
3116
|
end
|
3117
3117
|
|
3118
|
+
# Import a Windows operating system image from a verified Microsoft ISO
|
3119
|
+
# disk file. The following disk images are supported:
|
3120
|
+
#
|
3121
|
+
# * Windows 11 Enterprise
|
3122
|
+
#
|
3123
|
+
# ^
|
3124
|
+
#
|
3125
|
+
# @option params [required, String] :name
|
3126
|
+
# The name of the image resource that's created from the import.
|
3127
|
+
#
|
3128
|
+
# @option params [required, String] :semantic_version
|
3129
|
+
# The semantic version to attach to the image that's created during the
|
3130
|
+
# import process. This version follows the semantic version syntax.
|
3131
|
+
#
|
3132
|
+
# @option params [String] :description
|
3133
|
+
# The description for your disk image import.
|
3134
|
+
#
|
3135
|
+
# @option params [required, String] :platform
|
3136
|
+
# The operating system platform for the imported image. Allowed values
|
3137
|
+
# include the following: `Windows`.
|
3138
|
+
#
|
3139
|
+
# @option params [required, String] :os_version
|
3140
|
+
# The operating system version for the imported image. Allowed values
|
3141
|
+
# include the following: `Microsoft Windows 11`.
|
3142
|
+
#
|
3143
|
+
# @option params [String] :execution_role
|
3144
|
+
# The name or Amazon Resource Name (ARN) for the IAM role you create
|
3145
|
+
# that grants Image Builder access to perform workflow actions to import
|
3146
|
+
# an image from a Microsoft ISO file.
|
3147
|
+
#
|
3148
|
+
# @option params [required, String] :infrastructure_configuration_arn
|
3149
|
+
# The Amazon Resource Name (ARN) of the infrastructure configuration
|
3150
|
+
# resource that's used for launching the EC2 instance on which the ISO
|
3151
|
+
# image is built.
|
3152
|
+
#
|
3153
|
+
# @option params [required, String] :uri
|
3154
|
+
# The `uri` of the ISO disk file that's stored in Amazon S3.
|
3155
|
+
#
|
3156
|
+
# @option params [Hash<String,String>] :tags
|
3157
|
+
# Tags that are attached to image resources created from the import.
|
3158
|
+
#
|
3159
|
+
# @option params [required, String] :client_token
|
3160
|
+
# Unique, case-sensitive identifier you provide to ensure idempotency of
|
3161
|
+
# the request. For more information, see [Ensuring idempotency][1] in
|
3162
|
+
# the *Amazon EC2 API Reference*.
|
3163
|
+
#
|
3164
|
+
# **A suitable default value is auto-generated.** You should normally
|
3165
|
+
# not need to pass this option.**
|
3166
|
+
#
|
3167
|
+
#
|
3168
|
+
#
|
3169
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
3170
|
+
#
|
3171
|
+
# @return [Types::ImportDiskImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3172
|
+
#
|
3173
|
+
# * {Types::ImportDiskImageResponse#client_token #client_token} => String
|
3174
|
+
# * {Types::ImportDiskImageResponse#image_build_version_arn #image_build_version_arn} => String
|
3175
|
+
#
|
3176
|
+
# @example Request syntax with placeholder values
|
3177
|
+
#
|
3178
|
+
# resp = client.import_disk_image({
|
3179
|
+
# name: "NonEmptyString", # required
|
3180
|
+
# semantic_version: "VersionNumber", # required
|
3181
|
+
# description: "NonEmptyString",
|
3182
|
+
# platform: "NonEmptyString", # required
|
3183
|
+
# os_version: "OsVersion", # required
|
3184
|
+
# execution_role: "RoleNameOrArn",
|
3185
|
+
# infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
|
3186
|
+
# uri: "Uri", # required
|
3187
|
+
# tags: {
|
3188
|
+
# "TagKey" => "TagValue",
|
3189
|
+
# },
|
3190
|
+
# client_token: "ClientToken", # required
|
3191
|
+
# })
|
3192
|
+
#
|
3193
|
+
# @example Response structure
|
3194
|
+
#
|
3195
|
+
# resp.client_token #=> String
|
3196
|
+
# resp.image_build_version_arn #=> String
|
3197
|
+
#
|
3198
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportDiskImage AWS API Documentation
|
3199
|
+
#
|
3200
|
+
# @overload import_disk_image(params = {})
|
3201
|
+
# @param [Hash] params ({})
|
3202
|
+
def import_disk_image(params = {}, options = {})
|
3203
|
+
req = build_request(:import_disk_image, params)
|
3204
|
+
req.send_request(options)
|
3205
|
+
end
|
3206
|
+
|
3118
3207
|
# When you export your virtual machine (VM) from its virtualization
|
3119
3208
|
# environment, that process creates a set of one or more disk container
|
3120
3209
|
# files that act as snapshots of your VM’s environment, settings, and
|
@@ -3589,7 +3678,7 @@ module Aws::Imagebuilder
|
|
3589
3678
|
# resp.image_summary_list[0].output_resources.containers[0].image_uris[0] #=> String
|
3590
3679
|
# resp.image_summary_list[0].tags #=> Hash
|
3591
3680
|
# resp.image_summary_list[0].tags["TagKey"] #=> String
|
3592
|
-
# resp.image_summary_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
|
3681
|
+
# resp.image_summary_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT", "IMPORT_ISO"
|
3593
3682
|
# resp.image_summary_list[0].image_source #=> String, one of "AMAZON_MANAGED", "AWS_MARKETPLACE", "IMPORTED", "CUSTOM"
|
3594
3683
|
# resp.image_summary_list[0].deprecation_time #=> Time
|
3595
3684
|
# resp.image_summary_list[0].lifecycle_execution_id #=> String
|
@@ -3722,7 +3811,7 @@ module Aws::Imagebuilder
|
|
3722
3811
|
# resp.image_summary_list[0].output_resources.containers[0].image_uris[0] #=> String
|
3723
3812
|
# resp.image_summary_list[0].tags #=> Hash
|
3724
3813
|
# resp.image_summary_list[0].tags["TagKey"] #=> String
|
3725
|
-
# resp.image_summary_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
|
3814
|
+
# resp.image_summary_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT", "IMPORT_ISO"
|
3726
3815
|
# resp.image_summary_list[0].image_source #=> String, one of "AMAZON_MANAGED", "AWS_MARKETPLACE", "IMPORTED", "CUSTOM"
|
3727
3816
|
# resp.image_summary_list[0].deprecation_time #=> Time
|
3728
3817
|
# resp.image_summary_list[0].lifecycle_execution_id #=> String
|
@@ -4164,7 +4253,7 @@ module Aws::Imagebuilder
|
|
4164
4253
|
# resp.image_version_list[0].os_version #=> String
|
4165
4254
|
# resp.image_version_list[0].owner #=> String
|
4166
4255
|
# resp.image_version_list[0].date_created #=> String
|
4167
|
-
# resp.image_version_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
|
4256
|
+
# resp.image_version_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT", "IMPORT_ISO"
|
4168
4257
|
# resp.image_version_list[0].image_source #=> String, one of "AMAZON_MANAGED", "AWS_MARKETPLACE", "IMPORTED", "CUSTOM"
|
4169
4258
|
# resp.next_token #=> String
|
4170
4259
|
#
|
@@ -5680,7 +5769,7 @@ module Aws::Imagebuilder
|
|
5680
5769
|
tracer: tracer
|
5681
5770
|
)
|
5682
5771
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
5683
|
-
context[:gem_version] = '1.
|
5772
|
+
context[:gem_version] = '1.75.0'
|
5684
5773
|
Seahorse::Client::Request.new(handlers, context)
|
5685
5774
|
end
|
5686
5775
|
|
@@ -211,6 +211,8 @@ module Aws::Imagebuilder
|
|
211
211
|
ImageVersionList = Shapes::ListShape.new(name: 'ImageVersionList')
|
212
212
|
ImportComponentRequest = Shapes::StructureShape.new(name: 'ImportComponentRequest')
|
213
213
|
ImportComponentResponse = Shapes::StructureShape.new(name: 'ImportComponentResponse')
|
214
|
+
ImportDiskImageRequest = Shapes::StructureShape.new(name: 'ImportDiskImageRequest')
|
215
|
+
ImportDiskImageResponse = Shapes::StructureShape.new(name: 'ImportDiskImageResponse')
|
214
216
|
ImportVmImageRequest = Shapes::StructureShape.new(name: 'ImportVmImageRequest')
|
215
217
|
ImportVmImageResponse = Shapes::StructureShape.new(name: 'ImportVmImageResponse')
|
216
218
|
InfrastructureConfiguration = Shapes::StructureShape.new(name: 'InfrastructureConfiguration')
|
@@ -1305,6 +1307,22 @@ module Aws::Imagebuilder
|
|
1305
1307
|
ImportComponentResponse.add_member(:component_build_version_arn, Shapes::ShapeRef.new(shape: ComponentBuildVersionArn, location_name: "componentBuildVersionArn"))
|
1306
1308
|
ImportComponentResponse.struct_class = Types::ImportComponentResponse
|
1307
1309
|
|
1310
|
+
ImportDiskImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
|
1311
|
+
ImportDiskImageRequest.add_member(:semantic_version, Shapes::ShapeRef.new(shape: VersionNumber, required: true, location_name: "semanticVersion"))
|
1312
|
+
ImportDiskImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
1313
|
+
ImportDiskImageRequest.add_member(:platform, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "platform"))
|
1314
|
+
ImportDiskImageRequest.add_member(:os_version, Shapes::ShapeRef.new(shape: OsVersion, required: true, location_name: "osVersion"))
|
1315
|
+
ImportDiskImageRequest.add_member(:execution_role, Shapes::ShapeRef.new(shape: RoleNameOrArn, location_name: "executionRole"))
|
1316
|
+
ImportDiskImageRequest.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: InfrastructureConfigurationArn, required: true, location_name: "infrastructureConfigurationArn"))
|
1317
|
+
ImportDiskImageRequest.add_member(:uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "uri"))
|
1318
|
+
ImportDiskImageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
1319
|
+
ImportDiskImageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1320
|
+
ImportDiskImageRequest.struct_class = Types::ImportDiskImageRequest
|
1321
|
+
|
1322
|
+
ImportDiskImageResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
1323
|
+
ImportDiskImageResponse.add_member(:image_build_version_arn, Shapes::ShapeRef.new(shape: ImageBuildVersionArn, location_name: "imageBuildVersionArn"))
|
1324
|
+
ImportDiskImageResponse.struct_class = Types::ImportDiskImageResponse
|
1325
|
+
|
1308
1326
|
ImportVmImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
|
1309
1327
|
ImportVmImageRequest.add_member(:semantic_version, Shapes::ShapeRef.new(shape: VersionNumber, required: true, location_name: "semanticVersion"))
|
1310
1328
|
ImportVmImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
@@ -2759,6 +2777,17 @@ module Aws::Imagebuilder
|
|
2759
2777
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
2760
2778
|
end)
|
2761
2779
|
|
2780
|
+
api.add_operation(:import_disk_image, Seahorse::Model::Operation.new.tap do |o|
|
2781
|
+
o.name = "ImportDiskImage"
|
2782
|
+
o.http_method = "PUT"
|
2783
|
+
o.http_request_uri = "/ImportDiskImage"
|
2784
|
+
o.input = Shapes::ShapeRef.new(shape: ImportDiskImageRequest)
|
2785
|
+
o.output = Shapes::ShapeRef.new(shape: ImportDiskImageResponse)
|
2786
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2787
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
2788
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2789
|
+
end)
|
2790
|
+
|
2762
2791
|
api.add_operation(:import_vm_image, Seahorse::Model::Operation.new.tap do |o|
|
2763
2792
|
o.name = "ImportVmImage"
|
2764
2793
|
o.http_method = "PUT"
|
@@ -3453,6 +3453,8 @@ module Aws::Imagebuilder
|
|
3453
3453
|
#
|
3454
3454
|
# * **IMPORT** – A VM import created the image to use as the base
|
3455
3455
|
# image for the recipe.
|
3456
|
+
#
|
3457
|
+
# * **IMPORT\_ISO** – An ISO disk import created the image.
|
3456
3458
|
# @return [String]
|
3457
3459
|
#
|
3458
3460
|
# @!attribute [rw] image_source
|
@@ -4099,6 +4101,8 @@ module Aws::Imagebuilder
|
|
4099
4101
|
#
|
4100
4102
|
# * **IMPORT** – A VM import created the image to use as the base
|
4101
4103
|
# image for the recipe.
|
4104
|
+
#
|
4105
|
+
# * **IMPORT\_ISO** – An ISO disk import created the image.
|
4102
4106
|
# @return [String]
|
4103
4107
|
#
|
4104
4108
|
# @!attribute [rw] image_source
|
@@ -4151,8 +4155,7 @@ module Aws::Imagebuilder
|
|
4151
4155
|
# @!attribute [rw] timeout_minutes
|
4152
4156
|
# The maximum time in minutes that tests are permitted to run.
|
4153
4157
|
#
|
4154
|
-
# <note markdown="1"> The timeout
|
4155
|
-
# ignored.
|
4158
|
+
# <note markdown="1"> The timeout property is not currently active. This value is ignored.
|
4156
4159
|
#
|
4157
4160
|
# </note>
|
4158
4161
|
# @return [Integer]
|
@@ -4255,6 +4258,8 @@ module Aws::Imagebuilder
|
|
4255
4258
|
#
|
4256
4259
|
# * **IMPORT** – A VM import created the image to use as the base
|
4257
4260
|
# image for the recipe.
|
4261
|
+
#
|
4262
|
+
# * **IMPORT\_ISO** – An ISO disk import created the image.
|
4258
4263
|
# @return [String]
|
4259
4264
|
#
|
4260
4265
|
# @!attribute [rw] image_source
|
@@ -4400,6 +4405,98 @@ module Aws::Imagebuilder
|
|
4400
4405
|
include Aws::Structure
|
4401
4406
|
end
|
4402
4407
|
|
4408
|
+
# @!attribute [rw] name
|
4409
|
+
# The name of the image resource that's created from the import.
|
4410
|
+
# @return [String]
|
4411
|
+
#
|
4412
|
+
# @!attribute [rw] semantic_version
|
4413
|
+
# The semantic version to attach to the image that's created during
|
4414
|
+
# the import process. This version follows the semantic version
|
4415
|
+
# syntax.
|
4416
|
+
# @return [String]
|
4417
|
+
#
|
4418
|
+
# @!attribute [rw] description
|
4419
|
+
# The description for your disk image import.
|
4420
|
+
# @return [String]
|
4421
|
+
#
|
4422
|
+
# @!attribute [rw] platform
|
4423
|
+
# The operating system platform for the imported image. Allowed values
|
4424
|
+
# include the following: `Windows`.
|
4425
|
+
# @return [String]
|
4426
|
+
#
|
4427
|
+
# @!attribute [rw] os_version
|
4428
|
+
# The operating system version for the imported image. Allowed values
|
4429
|
+
# include the following: `Microsoft Windows 11`.
|
4430
|
+
# @return [String]
|
4431
|
+
#
|
4432
|
+
# @!attribute [rw] execution_role
|
4433
|
+
# The name or Amazon Resource Name (ARN) for the IAM role you create
|
4434
|
+
# that grants Image Builder access to perform workflow actions to
|
4435
|
+
# import an image from a Microsoft ISO file.
|
4436
|
+
# @return [String]
|
4437
|
+
#
|
4438
|
+
# @!attribute [rw] infrastructure_configuration_arn
|
4439
|
+
# The Amazon Resource Name (ARN) of the infrastructure configuration
|
4440
|
+
# resource that's used for launching the EC2 instance on which the
|
4441
|
+
# ISO image is built.
|
4442
|
+
# @return [String]
|
4443
|
+
#
|
4444
|
+
# @!attribute [rw] uri
|
4445
|
+
# The `uri` of the ISO disk file that's stored in Amazon S3.
|
4446
|
+
# @return [String]
|
4447
|
+
#
|
4448
|
+
# @!attribute [rw] tags
|
4449
|
+
# Tags that are attached to image resources created from the import.
|
4450
|
+
# @return [Hash<String,String>]
|
4451
|
+
#
|
4452
|
+
# @!attribute [rw] client_token
|
4453
|
+
# Unique, case-sensitive identifier you provide to ensure idempotency
|
4454
|
+
# of the request. For more information, see [Ensuring idempotency][1]
|
4455
|
+
# in the *Amazon EC2 API Reference*.
|
4456
|
+
#
|
4457
|
+
# **A suitable default value is auto-generated.** You should normally
|
4458
|
+
# not need to pass this option.
|
4459
|
+
#
|
4460
|
+
#
|
4461
|
+
#
|
4462
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
4463
|
+
# @return [String]
|
4464
|
+
#
|
4465
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportDiskImageRequest AWS API Documentation
|
4466
|
+
#
|
4467
|
+
class ImportDiskImageRequest < Struct.new(
|
4468
|
+
:name,
|
4469
|
+
:semantic_version,
|
4470
|
+
:description,
|
4471
|
+
:platform,
|
4472
|
+
:os_version,
|
4473
|
+
:execution_role,
|
4474
|
+
:infrastructure_configuration_arn,
|
4475
|
+
:uri,
|
4476
|
+
:tags,
|
4477
|
+
:client_token)
|
4478
|
+
SENSITIVE = []
|
4479
|
+
include Aws::Structure
|
4480
|
+
end
|
4481
|
+
|
4482
|
+
# @!attribute [rw] client_token
|
4483
|
+
# The client token that uniquely identifies the request.
|
4484
|
+
# @return [String]
|
4485
|
+
#
|
4486
|
+
# @!attribute [rw] image_build_version_arn
|
4487
|
+
# The Amazon Resource Name (ARN) of the output AMI that was created
|
4488
|
+
# from the ISO disk file.
|
4489
|
+
# @return [String]
|
4490
|
+
#
|
4491
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportDiskImageResponse AWS API Documentation
|
4492
|
+
#
|
4493
|
+
class ImportDiskImageResponse < Struct.new(
|
4494
|
+
:client_token,
|
4495
|
+
:image_build_version_arn)
|
4496
|
+
SENSITIVE = []
|
4497
|
+
include Aws::Structure
|
4498
|
+
end
|
4499
|
+
|
4403
4500
|
# @!attribute [rw] name
|
4404
4501
|
# The name of the base image that is created by the import process.
|
4405
4502
|
# @return [String]
|
@@ -7331,17 +7428,22 @@ module Aws::Imagebuilder
|
|
7331
7428
|
# @return [String]
|
7332
7429
|
#
|
7333
7430
|
# @!attribute [rw] pipeline_execution_start_condition
|
7334
|
-
# The condition configures when the pipeline should trigger a
|
7335
|
-
# image build.
|
7336
|
-
# `EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
|
7337
|
-
#
|
7338
|
-
#
|
7339
|
-
#
|
7340
|
-
#
|
7341
|
-
#
|
7342
|
-
#
|
7343
|
-
#
|
7344
|
-
#
|
7431
|
+
# The start condition configures when the pipeline should trigger a
|
7432
|
+
# new image build, as follows. If no value is set Image Builder
|
7433
|
+
# defaults to `EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE`.
|
7434
|
+
#
|
7435
|
+
# * `EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE` (default) –
|
7436
|
+
# When you use semantic version filters on the base image or
|
7437
|
+
# components in your image recipe, EC2 Image Builder builds a new
|
7438
|
+
# image only when there are new versions of the base image or
|
7439
|
+
# components in your recipe that match the filter.
|
7440
|
+
#
|
7441
|
+
# <note markdown="1"> For semantic version syntax, see [CreateComponent][1].
|
7442
|
+
#
|
7443
|
+
# </note>
|
7444
|
+
#
|
7445
|
+
# * `EXPRESSION_MATCH_ONLY` – This condition builds a new image every
|
7446
|
+
# time the CRON expression matches the current time.
|
7345
7447
|
#
|
7346
7448
|
#
|
7347
7449
|
#
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -845,6 +845,26 @@ module Aws
|
|
845
845
|
) -> _ImportComponentResponseSuccess
|
846
846
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportComponentResponseSuccess
|
847
847
|
|
848
|
+
interface _ImportDiskImageResponseSuccess
|
849
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ImportDiskImageResponse]
|
850
|
+
def client_token: () -> ::String
|
851
|
+
def image_build_version_arn: () -> ::String
|
852
|
+
end
|
853
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#import_disk_image-instance_method
|
854
|
+
def import_disk_image: (
|
855
|
+
name: ::String,
|
856
|
+
semantic_version: ::String,
|
857
|
+
?description: ::String,
|
858
|
+
platform: ::String,
|
859
|
+
os_version: ::String,
|
860
|
+
?execution_role: ::String,
|
861
|
+
infrastructure_configuration_arn: ::String,
|
862
|
+
uri: ::String,
|
863
|
+
?tags: Hash[::String, ::String],
|
864
|
+
client_token: ::String
|
865
|
+
) -> _ImportDiskImageResponseSuccess
|
866
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportDiskImageResponseSuccess
|
867
|
+
|
848
868
|
interface _ImportVmImageResponseSuccess
|
849
869
|
include ::Seahorse::Client::_ResponseSuccess[Types::ImportVmImageResponse]
|
850
870
|
def request_id: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -844,7 +844,7 @@ module Aws::Imagebuilder
|
|
844
844
|
attr_accessor date_created: ::String
|
845
845
|
attr_accessor output_resources: Types::OutputResources
|
846
846
|
attr_accessor tags: ::Hash[::String, ::String]
|
847
|
-
attr_accessor build_type: ("USER_INITIATED" | "SCHEDULED" | "IMPORT")
|
847
|
+
attr_accessor build_type: ("USER_INITIATED" | "SCHEDULED" | "IMPORT" | "IMPORT_ISO")
|
848
848
|
attr_accessor image_source: ("AMAZON_MANAGED" | "AWS_MARKETPLACE" | "IMPORTED" | "CUSTOM")
|
849
849
|
attr_accessor scan_state: Types::ImageScanState
|
850
850
|
attr_accessor image_scanning_configuration: Types::ImageScanningConfiguration
|
@@ -988,7 +988,7 @@ module Aws::Imagebuilder
|
|
988
988
|
attr_accessor date_created: ::String
|
989
989
|
attr_accessor output_resources: Types::OutputResources
|
990
990
|
attr_accessor tags: ::Hash[::String, ::String]
|
991
|
-
attr_accessor build_type: ("USER_INITIATED" | "SCHEDULED" | "IMPORT")
|
991
|
+
attr_accessor build_type: ("USER_INITIATED" | "SCHEDULED" | "IMPORT" | "IMPORT_ISO")
|
992
992
|
attr_accessor image_source: ("AMAZON_MANAGED" | "AWS_MARKETPLACE" | "IMPORTED" | "CUSTOM")
|
993
993
|
attr_accessor deprecation_time: ::Time
|
994
994
|
attr_accessor lifecycle_execution_id: ::String
|
@@ -1010,7 +1010,7 @@ module Aws::Imagebuilder
|
|
1010
1010
|
attr_accessor os_version: ::String
|
1011
1011
|
attr_accessor owner: ::String
|
1012
1012
|
attr_accessor date_created: ::String
|
1013
|
-
attr_accessor build_type: ("USER_INITIATED" | "SCHEDULED" | "IMPORT")
|
1013
|
+
attr_accessor build_type: ("USER_INITIATED" | "SCHEDULED" | "IMPORT" | "IMPORT_ISO")
|
1014
1014
|
attr_accessor image_source: ("AMAZON_MANAGED" | "AWS_MARKETPLACE" | "IMPORTED" | "CUSTOM")
|
1015
1015
|
SENSITIVE: []
|
1016
1016
|
end
|
@@ -1038,6 +1038,26 @@ module Aws::Imagebuilder
|
|
1038
1038
|
SENSITIVE: []
|
1039
1039
|
end
|
1040
1040
|
|
1041
|
+
class ImportDiskImageRequest
|
1042
|
+
attr_accessor name: ::String
|
1043
|
+
attr_accessor semantic_version: ::String
|
1044
|
+
attr_accessor description: ::String
|
1045
|
+
attr_accessor platform: ::String
|
1046
|
+
attr_accessor os_version: ::String
|
1047
|
+
attr_accessor execution_role: ::String
|
1048
|
+
attr_accessor infrastructure_configuration_arn: ::String
|
1049
|
+
attr_accessor uri: ::String
|
1050
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
1051
|
+
attr_accessor client_token: ::String
|
1052
|
+
SENSITIVE: []
|
1053
|
+
end
|
1054
|
+
|
1055
|
+
class ImportDiskImageResponse
|
1056
|
+
attr_accessor client_token: ::String
|
1057
|
+
attr_accessor image_build_version_arn: ::String
|
1058
|
+
SENSITIVE: []
|
1059
|
+
end
|
1060
|
+
|
1041
1061
|
class ImportVmImageRequest
|
1042
1062
|
attr_accessor name: ::String
|
1043
1063
|
attr_accessor semantic_version: ::String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-imagebuilder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.75.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|