aws-sdk-imagebuilder 1.74.0 → 1.76.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20d1df149f957a7bf1e34390be588d34a0decb58986d05fa2a8051732cddf856
4
- data.tar.gz: 634f8a35adce43c937d287cfd3d970069b5d5fde6f0d16ca406bea288565ec7f
3
+ metadata.gz: 16885e39cc633f4324d8b3213caa6694adba63850cd7175b14eb6b66d45cf65d
4
+ data.tar.gz: e6a565d5b67d6445cacffa6891dcc429a3040b5d4787b1f4f0efd587746ccf3c
5
5
  SHA512:
6
- metadata.gz: c73fdd1b164ec63a01788111bebe5342912660e4661d95a26665508de820b9305b9957d0c699ddbd7b6759fe4c6aac622a57b7a8b19bd8f821c7977cbc156b0b
7
- data.tar.gz: 361546a568dbadef9b10a45a16c8ef8b6d97eacfd179a02013c0b99fd20d913f388c80685be8c873a1da4e0fe611cf309791e7bcc2888bf28556c4593a2d5225
6
+ metadata.gz: c6f96ec83b3b85757601ad414a851fd39379d4eb62b63d0c6ec88faaf697d64f6dc63a100e00c7f5f36fc0a45cb341a72aaf9ab7c8eb2a60283b8fef73011ab3
7
+ data.tar.gz: f7b5b59d6ae9d61583fcb9982795b95d9919d11a65e05acf2962fbe4e5c080b329b8ac0f2c748902c9e5583172d555539aacf8cec7fe704160f6cc8577547b68
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.76.0 (2025-01-15)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.75.0 (2025-01-07)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for importing images from ISO disk files. Added new ImportDiskImage API operation.
13
+
4
14
  1.74.0 (2024-12-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.74.0
1
+ 1.76.0
@@ -257,11 +257,34 @@ module Aws::Imagebuilder
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -2422,7 +2445,7 @@ module Aws::Imagebuilder
2422
2445
  # resp.image.output_resources.containers[0].image_uris[0] #=> String
2423
2446
  # resp.image.tags #=> Hash
2424
2447
  # resp.image.tags["TagKey"] #=> String
2425
- # resp.image.build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
2448
+ # resp.image.build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT", "IMPORT_ISO"
2426
2449
  # resp.image.image_source #=> String, one of "AMAZON_MANAGED", "AWS_MARKETPLACE", "IMPORTED", "CUSTOM"
2427
2450
  # resp.image.scan_state.status #=> String, one of "PENDING", "SCANNING", "COLLECTING", "COMPLETED", "ABANDONED", "FAILED", "TIMED_OUT"
2428
2451
  # resp.image.scan_state.reason #=> String
@@ -3115,6 +3138,95 @@ module Aws::Imagebuilder
3115
3138
  req.send_request(options)
3116
3139
  end
3117
3140
 
3141
+ # Import a Windows operating system image from a verified Microsoft ISO
3142
+ # disk file. The following disk images are supported:
3143
+ #
3144
+ # * Windows 11 Enterprise
3145
+ #
3146
+ # ^
3147
+ #
3148
+ # @option params [required, String] :name
3149
+ # The name of the image resource that's created from the import.
3150
+ #
3151
+ # @option params [required, String] :semantic_version
3152
+ # The semantic version to attach to the image that's created during the
3153
+ # import process. This version follows the semantic version syntax.
3154
+ #
3155
+ # @option params [String] :description
3156
+ # The description for your disk image import.
3157
+ #
3158
+ # @option params [required, String] :platform
3159
+ # The operating system platform for the imported image. Allowed values
3160
+ # include the following: `Windows`.
3161
+ #
3162
+ # @option params [required, String] :os_version
3163
+ # The operating system version for the imported image. Allowed values
3164
+ # include the following: `Microsoft Windows 11`.
3165
+ #
3166
+ # @option params [String] :execution_role
3167
+ # The name or Amazon Resource Name (ARN) for the IAM role you create
3168
+ # that grants Image Builder access to perform workflow actions to import
3169
+ # an image from a Microsoft ISO file.
3170
+ #
3171
+ # @option params [required, String] :infrastructure_configuration_arn
3172
+ # The Amazon Resource Name (ARN) of the infrastructure configuration
3173
+ # resource that's used for launching the EC2 instance on which the ISO
3174
+ # image is built.
3175
+ #
3176
+ # @option params [required, String] :uri
3177
+ # The `uri` of the ISO disk file that's stored in Amazon S3.
3178
+ #
3179
+ # @option params [Hash<String,String>] :tags
3180
+ # Tags that are attached to image resources created from the import.
3181
+ #
3182
+ # @option params [required, String] :client_token
3183
+ # Unique, case-sensitive identifier you provide to ensure idempotency of
3184
+ # the request. For more information, see [Ensuring idempotency][1] in
3185
+ # the *Amazon EC2 API Reference*.
3186
+ #
3187
+ # **A suitable default value is auto-generated.** You should normally
3188
+ # not need to pass this option.**
3189
+ #
3190
+ #
3191
+ #
3192
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
3193
+ #
3194
+ # @return [Types::ImportDiskImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3195
+ #
3196
+ # * {Types::ImportDiskImageResponse#client_token #client_token} => String
3197
+ # * {Types::ImportDiskImageResponse#image_build_version_arn #image_build_version_arn} => String
3198
+ #
3199
+ # @example Request syntax with placeholder values
3200
+ #
3201
+ # resp = client.import_disk_image({
3202
+ # name: "NonEmptyString", # required
3203
+ # semantic_version: "VersionNumber", # required
3204
+ # description: "NonEmptyString",
3205
+ # platform: "NonEmptyString", # required
3206
+ # os_version: "OsVersion", # required
3207
+ # execution_role: "RoleNameOrArn",
3208
+ # infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
3209
+ # uri: "Uri", # required
3210
+ # tags: {
3211
+ # "TagKey" => "TagValue",
3212
+ # },
3213
+ # client_token: "ClientToken", # required
3214
+ # })
3215
+ #
3216
+ # @example Response structure
3217
+ #
3218
+ # resp.client_token #=> String
3219
+ # resp.image_build_version_arn #=> String
3220
+ #
3221
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportDiskImage AWS API Documentation
3222
+ #
3223
+ # @overload import_disk_image(params = {})
3224
+ # @param [Hash] params ({})
3225
+ def import_disk_image(params = {}, options = {})
3226
+ req = build_request(:import_disk_image, params)
3227
+ req.send_request(options)
3228
+ end
3229
+
3118
3230
  # When you export your virtual machine (VM) from its virtualization
3119
3231
  # environment, that process creates a set of one or more disk container
3120
3232
  # files that act as snapshots of your VM’s environment, settings, and
@@ -3589,7 +3701,7 @@ module Aws::Imagebuilder
3589
3701
  # resp.image_summary_list[0].output_resources.containers[0].image_uris[0] #=> String
3590
3702
  # resp.image_summary_list[0].tags #=> Hash
3591
3703
  # resp.image_summary_list[0].tags["TagKey"] #=> String
3592
- # resp.image_summary_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
3704
+ # resp.image_summary_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT", "IMPORT_ISO"
3593
3705
  # resp.image_summary_list[0].image_source #=> String, one of "AMAZON_MANAGED", "AWS_MARKETPLACE", "IMPORTED", "CUSTOM"
3594
3706
  # resp.image_summary_list[0].deprecation_time #=> Time
3595
3707
  # resp.image_summary_list[0].lifecycle_execution_id #=> String
@@ -3722,7 +3834,7 @@ module Aws::Imagebuilder
3722
3834
  # resp.image_summary_list[0].output_resources.containers[0].image_uris[0] #=> String
3723
3835
  # resp.image_summary_list[0].tags #=> Hash
3724
3836
  # resp.image_summary_list[0].tags["TagKey"] #=> String
3725
- # resp.image_summary_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
3837
+ # resp.image_summary_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT", "IMPORT_ISO"
3726
3838
  # resp.image_summary_list[0].image_source #=> String, one of "AMAZON_MANAGED", "AWS_MARKETPLACE", "IMPORTED", "CUSTOM"
3727
3839
  # resp.image_summary_list[0].deprecation_time #=> Time
3728
3840
  # resp.image_summary_list[0].lifecycle_execution_id #=> String
@@ -4164,7 +4276,7 @@ module Aws::Imagebuilder
4164
4276
  # resp.image_version_list[0].os_version #=> String
4165
4277
  # resp.image_version_list[0].owner #=> String
4166
4278
  # resp.image_version_list[0].date_created #=> String
4167
- # resp.image_version_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
4279
+ # resp.image_version_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT", "IMPORT_ISO"
4168
4280
  # resp.image_version_list[0].image_source #=> String, one of "AMAZON_MANAGED", "AWS_MARKETPLACE", "IMPORTED", "CUSTOM"
4169
4281
  # resp.next_token #=> String
4170
4282
  #
@@ -5680,7 +5792,7 @@ module Aws::Imagebuilder
5680
5792
  tracer: tracer
5681
5793
  )
5682
5794
  context[:gem_name] = 'aws-sdk-imagebuilder'
5683
- context[:gem_version] = '1.74.0'
5795
+ context[:gem_version] = '1.76.0'
5684
5796
  Seahorse::Client::Request.new(handlers, context)
5685
5797
  end
5686
5798
 
@@ -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 attribute is not currently active. This value is
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 new
7335
- # image build. When the `pipelineExecutionStartCondition` is set to
7336
- # `EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE`, and you use
7337
- # semantic version filters on the base image or components in your
7338
- # image recipe, EC2 Image Builder will build a new image only when
7339
- # there are new versions of the image or components in your recipe
7340
- # that match the semantic version filter. When it is set to
7341
- # `EXPRESSION_MATCH_ONLY`, it will build a new image every time the
7342
- # CRON expression matches the current time. For semantic version
7343
- # syntax, see [CreateComponent][1] in the <i> EC2 Image Builder API
7344
- # Reference</i>.
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
  #
@@ -54,7 +54,7 @@ module Aws::Imagebuilder
54
54
  autoload :EndpointProvider, 'aws-sdk-imagebuilder/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-imagebuilder/endpoints'
56
56
 
57
- GEM_VERSION = '1.74.0'
57
+ GEM_VERSION = '1.76.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -845,6 +847,26 @@ module Aws
845
847
  ) -> _ImportComponentResponseSuccess
846
848
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportComponentResponseSuccess
847
849
 
850
+ interface _ImportDiskImageResponseSuccess
851
+ include ::Seahorse::Client::_ResponseSuccess[Types::ImportDiskImageResponse]
852
+ def client_token: () -> ::String
853
+ def image_build_version_arn: () -> ::String
854
+ end
855
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#import_disk_image-instance_method
856
+ def import_disk_image: (
857
+ name: ::String,
858
+ semantic_version: ::String,
859
+ ?description: ::String,
860
+ platform: ::String,
861
+ os_version: ::String,
862
+ ?execution_role: ::String,
863
+ infrastructure_configuration_arn: ::String,
864
+ uri: ::String,
865
+ ?tags: Hash[::String, ::String],
866
+ client_token: ::String
867
+ ) -> _ImportDiskImageResponseSuccess
868
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportDiskImageResponseSuccess
869
+
848
870
  interface _ImportVmImageResponseSuccess
849
871
  include ::Seahorse::Client::_ResponseSuccess[Types::ImportVmImageResponse]
850
872
  def request_id: () -> ::String
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
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.74.0
4
+ version: 1.76.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: 2024-12-02 00:00:00.000000000 Z
11
+ date: 2025-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.210.0
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement