aws-sdk-imagebuilder 1.71.0 → 1.73.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-imagebuilder/client.rb +73 -49
- data/lib/aws-sdk-imagebuilder/client_api.rb +13 -1
- data/lib/aws-sdk-imagebuilder/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-imagebuilder/endpoints.rb +2 -801
- data/lib/aws-sdk-imagebuilder/plugins/endpoints.rb +1 -152
- data/lib/aws-sdk-imagebuilder/types.rb +101 -22
- data/lib/aws-sdk-imagebuilder.rb +1 -1
- data/sig/client.rbs +18 -6
- data/sig/types.rbs +28 -16
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0236b315cd019adc353f638487e70f006955e8f216c42cd1af4713faa5271261
|
4
|
+
data.tar.gz: f84cfa87ca03717b791ad0f390dd870442f0d2f401664c9b4729abd1d7d6182e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3bb4ff33269ecb6b39f1c3f630aab7a4df8cfc7021e2103b5a7e9ceae28caa40d8c123fdb30fc32c44b11773dda3047086204a65dd59c603f0776ed4e60f4f5
|
7
|
+
data.tar.gz: 61a5432b634227b920bd3f376e0c6f1a493a19ad5b9769883a5571b1681c2db4fb7a37ddc5527d4d9eeeabd443bc95bc5d7d9033a60f1b1adfead670d7b96a32
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.73.0 (2024-10-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add macOS platform and instance placement options
|
8
|
+
|
9
|
+
1.72.0 (2024-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.71.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.73.0
|
@@ -629,7 +629,7 @@ module Aws::Imagebuilder
|
|
629
629
|
# semantic_version: "VersionNumber", # required
|
630
630
|
# description: "NonEmptyString",
|
631
631
|
# change_description: "NonEmptyString",
|
632
|
-
# platform: "Windows", # required, accepts Windows, Linux
|
632
|
+
# platform: "Windows", # required, accepts Windows, Linux, macOS
|
633
633
|
# supported_os_versions: ["OsVersion"],
|
634
634
|
# data: "InlineComponentData",
|
635
635
|
# uri: "Uri",
|
@@ -724,7 +724,7 @@ module Aws::Imagebuilder
|
|
724
724
|
# The destination repository for the container image.
|
725
725
|
#
|
726
726
|
# @option params [String] :kms_key_id
|
727
|
-
# Identifies which KMS key is used to encrypt the
|
727
|
+
# Identifies which KMS key is used to encrypt the Dockerfile template.
|
728
728
|
#
|
729
729
|
# @option params [required, String] :client_token
|
730
730
|
# Unique, case-sensitive identifier you provide to ensure idempotency of
|
@@ -784,7 +784,7 @@ module Aws::Imagebuilder
|
|
784
784
|
# },
|
785
785
|
# dockerfile_template_data: "InlineDockerFileTemplate",
|
786
786
|
# dockerfile_template_uri: "Uri",
|
787
|
-
# platform_override: "Windows", # accepts Windows, Linux
|
787
|
+
# platform_override: "Windows", # accepts Windows, Linux, macOS
|
788
788
|
# image_os_version_override: "NonEmptyString",
|
789
789
|
# parent_image: "NonEmptyString", # required
|
790
790
|
# tags: {
|
@@ -1368,14 +1368,22 @@ module Aws::Imagebuilder
|
|
1368
1368
|
# </note>
|
1369
1369
|
#
|
1370
1370
|
# @option params [Hash<String,String>] :resource_tags
|
1371
|
-
# The tags
|
1371
|
+
# The metadata tags to assign to the Amazon EC2 instance that Image
|
1372
|
+
# Builder launches during the build process. Tags are formatted as key
|
1373
|
+
# value pairs.
|
1372
1374
|
#
|
1373
1375
|
# @option params [Types::InstanceMetadataOptions] :instance_metadata_options
|
1374
1376
|
# The instance metadata options that you can set for the HTTP requests
|
1375
1377
|
# that pipeline builds use to launch EC2 build and test instances.
|
1376
1378
|
#
|
1377
1379
|
# @option params [Hash<String,String>] :tags
|
1378
|
-
# The tags
|
1380
|
+
# The metadata tags to assign to the infrastructure configuration
|
1381
|
+
# resource that Image Builder creates as output. Tags are formatted as
|
1382
|
+
# key value pairs.
|
1383
|
+
#
|
1384
|
+
# @option params [Types::Placement] :placement
|
1385
|
+
# The instance placement settings that define where the instances that
|
1386
|
+
# are launched from your image will run.
|
1379
1387
|
#
|
1380
1388
|
# @option params [required, String] :client_token
|
1381
1389
|
# Unique, case-sensitive identifier you provide to ensure idempotency of
|
@@ -1423,6 +1431,12 @@ module Aws::Imagebuilder
|
|
1423
1431
|
# tags: {
|
1424
1432
|
# "TagKey" => "TagValue",
|
1425
1433
|
# },
|
1434
|
+
# placement: {
|
1435
|
+
# availability_zone: "NonEmptyString",
|
1436
|
+
# tenancy: "default", # accepts default, dedicated, host
|
1437
|
+
# host_id: "NonEmptyString",
|
1438
|
+
# host_resource_group_arn: "NonEmptyString",
|
1439
|
+
# },
|
1426
1440
|
# client_token: "ClientToken", # required
|
1427
1441
|
# })
|
1428
1442
|
#
|
@@ -1981,7 +1995,7 @@ module Aws::Imagebuilder
|
|
1981
1995
|
# resp.component.description #=> String
|
1982
1996
|
# resp.component.change_description #=> String
|
1983
1997
|
# resp.component.type #=> String, one of "BUILD", "TEST"
|
1984
|
-
# resp.component.platform #=> String, one of "Windows", "Linux"
|
1998
|
+
# resp.component.platform #=> String, one of "Windows", "Linux", "macOS"
|
1985
1999
|
# resp.component.supported_os_versions #=> Array
|
1986
2000
|
# resp.component.supported_os_versions[0] #=> String
|
1987
2001
|
# resp.component.state.status #=> String, one of "DEPRECATED"
|
@@ -2065,7 +2079,7 @@ module Aws::Imagebuilder
|
|
2065
2079
|
# resp.container_recipe.container_type #=> String, one of "DOCKER"
|
2066
2080
|
# resp.container_recipe.name #=> String
|
2067
2081
|
# resp.container_recipe.description #=> String
|
2068
|
-
# resp.container_recipe.platform #=> String, one of "Windows", "Linux"
|
2082
|
+
# resp.container_recipe.platform #=> String, one of "Windows", "Linux", "macOS"
|
2069
2083
|
# resp.container_recipe.owner #=> String
|
2070
2084
|
# resp.container_recipe.version #=> String
|
2071
2085
|
# resp.container_recipe.components #=> Array
|
@@ -2239,7 +2253,7 @@ module Aws::Imagebuilder
|
|
2239
2253
|
# resp.image.type #=> String, one of "AMI", "DOCKER"
|
2240
2254
|
# resp.image.name #=> String
|
2241
2255
|
# resp.image.version #=> String
|
2242
|
-
# resp.image.platform #=> String, one of "Windows", "Linux"
|
2256
|
+
# resp.image.platform #=> String, one of "Windows", "Linux", "macOS"
|
2243
2257
|
# resp.image.enhanced_image_metadata_enabled #=> Boolean
|
2244
2258
|
# resp.image.os_version #=> String
|
2245
2259
|
# resp.image.state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED", "DISABLED"
|
@@ -2248,7 +2262,7 @@ module Aws::Imagebuilder
|
|
2248
2262
|
# resp.image.image_recipe.type #=> String, one of "AMI", "DOCKER"
|
2249
2263
|
# resp.image.image_recipe.name #=> String
|
2250
2264
|
# resp.image.image_recipe.description #=> String
|
2251
|
-
# resp.image.image_recipe.platform #=> String, one of "Windows", "Linux"
|
2265
|
+
# resp.image.image_recipe.platform #=> String, one of "Windows", "Linux", "macOS"
|
2252
2266
|
# resp.image.image_recipe.owner #=> String
|
2253
2267
|
# resp.image.image_recipe.version #=> String
|
2254
2268
|
# resp.image.image_recipe.components #=> Array
|
@@ -2280,7 +2294,7 @@ module Aws::Imagebuilder
|
|
2280
2294
|
# resp.image.container_recipe.container_type #=> String, one of "DOCKER"
|
2281
2295
|
# resp.image.container_recipe.name #=> String
|
2282
2296
|
# resp.image.container_recipe.description #=> String
|
2283
|
-
# resp.image.container_recipe.platform #=> String, one of "Windows", "Linux"
|
2297
|
+
# resp.image.container_recipe.platform #=> String, one of "Windows", "Linux", "macOS"
|
2284
2298
|
# resp.image.container_recipe.owner #=> String
|
2285
2299
|
# resp.image.container_recipe.version #=> String
|
2286
2300
|
# resp.image.container_recipe.components #=> Array
|
@@ -2336,6 +2350,10 @@ module Aws::Imagebuilder
|
|
2336
2350
|
# resp.image.infrastructure_configuration.instance_metadata_options.http_put_response_hop_limit #=> Integer
|
2337
2351
|
# resp.image.infrastructure_configuration.tags #=> Hash
|
2338
2352
|
# resp.image.infrastructure_configuration.tags["TagKey"] #=> String
|
2353
|
+
# resp.image.infrastructure_configuration.placement.availability_zone #=> String
|
2354
|
+
# resp.image.infrastructure_configuration.placement.tenancy #=> String, one of "default", "dedicated", "host"
|
2355
|
+
# resp.image.infrastructure_configuration.placement.host_id #=> String
|
2356
|
+
# resp.image.infrastructure_configuration.placement.host_resource_group_arn #=> String
|
2339
2357
|
# resp.image.distribution_configuration.arn #=> String
|
2340
2358
|
# resp.image.distribution_configuration.name #=> String
|
2341
2359
|
# resp.image.distribution_configuration.description #=> String
|
@@ -2453,7 +2471,7 @@ module Aws::Imagebuilder
|
|
2453
2471
|
# resp.image_pipeline.arn #=> String
|
2454
2472
|
# resp.image_pipeline.name #=> String
|
2455
2473
|
# resp.image_pipeline.description #=> String
|
2456
|
-
# resp.image_pipeline.platform #=> String, one of "Windows", "Linux"
|
2474
|
+
# resp.image_pipeline.platform #=> String, one of "Windows", "Linux", "macOS"
|
2457
2475
|
# resp.image_pipeline.enhanced_image_metadata_enabled #=> Boolean
|
2458
2476
|
# resp.image_pipeline.image_recipe_arn #=> String
|
2459
2477
|
# resp.image_pipeline.container_recipe_arn #=> String
|
@@ -2549,7 +2567,7 @@ module Aws::Imagebuilder
|
|
2549
2567
|
# resp.image_recipe.type #=> String, one of "AMI", "DOCKER"
|
2550
2568
|
# resp.image_recipe.name #=> String
|
2551
2569
|
# resp.image_recipe.description #=> String
|
2552
|
-
# resp.image_recipe.platform #=> String, one of "Windows", "Linux"
|
2570
|
+
# resp.image_recipe.platform #=> String, one of "Windows", "Linux", "macOS"
|
2553
2571
|
# resp.image_recipe.owner #=> String
|
2554
2572
|
# resp.image_recipe.version #=> String
|
2555
2573
|
# resp.image_recipe.components #=> Array
|
@@ -2660,6 +2678,10 @@ module Aws::Imagebuilder
|
|
2660
2678
|
# resp.infrastructure_configuration.instance_metadata_options.http_put_response_hop_limit #=> Integer
|
2661
2679
|
# resp.infrastructure_configuration.tags #=> Hash
|
2662
2680
|
# resp.infrastructure_configuration.tags["TagKey"] #=> String
|
2681
|
+
# resp.infrastructure_configuration.placement.availability_zone #=> String
|
2682
|
+
# resp.infrastructure_configuration.placement.tenancy #=> String, one of "default", "dedicated", "host"
|
2683
|
+
# resp.infrastructure_configuration.placement.host_id #=> String
|
2684
|
+
# resp.infrastructure_configuration.placement.host_resource_group_arn #=> String
|
2663
2685
|
#
|
2664
2686
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetInfrastructureConfiguration AWS API Documentation
|
2665
2687
|
#
|
@@ -3019,7 +3041,7 @@ module Aws::Imagebuilder
|
|
3019
3041
|
# change_description: "NonEmptyString",
|
3020
3042
|
# type: "BUILD", # required, accepts BUILD, TEST
|
3021
3043
|
# format: "SHELL", # required, accepts SHELL
|
3022
|
-
# platform: "Windows", # required, accepts Windows, Linux
|
3044
|
+
# platform: "Windows", # required, accepts Windows, Linux, macOS
|
3023
3045
|
# data: "NonEmptyString",
|
3024
3046
|
# uri: "Uri",
|
3025
3047
|
# kms_key_id: "NonEmptyString",
|
@@ -3127,7 +3149,7 @@ module Aws::Imagebuilder
|
|
3127
3149
|
# name: "NonEmptyString", # required
|
3128
3150
|
# semantic_version: "VersionNumber", # required
|
3129
3151
|
# description: "NonEmptyString",
|
3130
|
-
# platform: "Windows", # required, accepts Windows, Linux
|
3152
|
+
# platform: "Windows", # required, accepts Windows, Linux, macOS
|
3131
3153
|
# os_version: "OsVersion",
|
3132
3154
|
# vm_import_task_id: "NonEmptyString", # required
|
3133
3155
|
# tags: {
|
@@ -3152,19 +3174,7 @@ module Aws::Imagebuilder
|
|
3152
3174
|
end
|
3153
3175
|
|
3154
3176
|
# Returns the list of component build versions for the specified
|
3155
|
-
#
|
3156
|
-
#
|
3157
|
-
# <note markdown="1"> The semantic version has four nodes:
|
3158
|
-
# <major>.<minor>.<patch>/<build>. You can
|
3159
|
-
# assign values for the first three, and can filter on all of them.
|
3160
|
-
#
|
3161
|
-
# **Filtering:** With semantic versioning, you have the flexibility to
|
3162
|
-
# use wildcards (x) to specify the most recent versions or nodes when
|
3163
|
-
# selecting the base image or components for your recipe. When you use a
|
3164
|
-
# wildcard in any node, all nodes to the right of the first wildcard
|
3165
|
-
# must also be wildcards.
|
3166
|
-
#
|
3167
|
-
# </note>
|
3177
|
+
# component version Amazon Resource Name (ARN).
|
3168
3178
|
#
|
3169
3179
|
# @option params [required, String] :component_version_arn
|
3170
3180
|
# The component version Amazon Resource Name (ARN) whose versions you
|
@@ -3200,7 +3210,7 @@ module Aws::Imagebuilder
|
|
3200
3210
|
# resp.component_summary_list[0].arn #=> String
|
3201
3211
|
# resp.component_summary_list[0].name #=> String
|
3202
3212
|
# resp.component_summary_list[0].version #=> String
|
3203
|
-
# resp.component_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
3213
|
+
# resp.component_summary_list[0].platform #=> String, one of "Windows", "Linux", "macOS"
|
3204
3214
|
# resp.component_summary_list[0].supported_os_versions #=> Array
|
3205
3215
|
# resp.component_summary_list[0].supported_os_versions[0] #=> String
|
3206
3216
|
# resp.component_summary_list[0].state.status #=> String, one of "DEPRECATED"
|
@@ -3305,7 +3315,7 @@ module Aws::Imagebuilder
|
|
3305
3315
|
# resp.component_version_list[0].name #=> String
|
3306
3316
|
# resp.component_version_list[0].version #=> String
|
3307
3317
|
# resp.component_version_list[0].description #=> String
|
3308
|
-
# resp.component_version_list[0].platform #=> String, one of "Windows", "Linux"
|
3318
|
+
# resp.component_version_list[0].platform #=> String, one of "Windows", "Linux", "macOS"
|
3309
3319
|
# resp.component_version_list[0].supported_os_versions #=> Array
|
3310
3320
|
# resp.component_version_list[0].supported_os_versions[0] #=> String
|
3311
3321
|
# resp.component_version_list[0].type #=> String, one of "BUILD", "TEST"
|
@@ -3376,7 +3386,7 @@ module Aws::Imagebuilder
|
|
3376
3386
|
# resp.container_recipe_summary_list[0].arn #=> String
|
3377
3387
|
# resp.container_recipe_summary_list[0].container_type #=> String, one of "DOCKER"
|
3378
3388
|
# resp.container_recipe_summary_list[0].name #=> String
|
3379
|
-
# resp.container_recipe_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
3389
|
+
# resp.container_recipe_summary_list[0].platform #=> String, one of "Windows", "Linux", "macOS"
|
3380
3390
|
# resp.container_recipe_summary_list[0].owner #=> String
|
3381
3391
|
# resp.container_recipe_summary_list[0].parent_image #=> String
|
3382
3392
|
# resp.container_recipe_summary_list[0].date_created #=> String
|
@@ -3506,7 +3516,7 @@ module Aws::Imagebuilder
|
|
3506
3516
|
# resp.image_summary_list[0].name #=> String
|
3507
3517
|
# resp.image_summary_list[0].type #=> String, one of "AMI", "DOCKER"
|
3508
3518
|
# resp.image_summary_list[0].version #=> String
|
3509
|
-
# resp.image_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
3519
|
+
# resp.image_summary_list[0].platform #=> String, one of "Windows", "Linux", "macOS"
|
3510
3520
|
# resp.image_summary_list[0].os_version #=> String
|
3511
3521
|
# resp.image_summary_list[0].state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED", "DISABLED"
|
3512
3522
|
# resp.image_summary_list[0].state.reason #=> String
|
@@ -3639,7 +3649,7 @@ module Aws::Imagebuilder
|
|
3639
3649
|
# resp.image_summary_list[0].name #=> String
|
3640
3650
|
# resp.image_summary_list[0].type #=> String, one of "AMI", "DOCKER"
|
3641
3651
|
# resp.image_summary_list[0].version #=> String
|
3642
|
-
# resp.image_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
3652
|
+
# resp.image_summary_list[0].platform #=> String, one of "Windows", "Linux", "macOS"
|
3643
3653
|
# resp.image_summary_list[0].os_version #=> String
|
3644
3654
|
# resp.image_summary_list[0].state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED", "DISABLED"
|
3645
3655
|
# resp.image_summary_list[0].state.reason #=> String
|
@@ -3726,7 +3736,7 @@ module Aws::Imagebuilder
|
|
3726
3736
|
# resp.image_pipeline_list[0].arn #=> String
|
3727
3737
|
# resp.image_pipeline_list[0].name #=> String
|
3728
3738
|
# resp.image_pipeline_list[0].description #=> String
|
3729
|
-
# resp.image_pipeline_list[0].platform #=> String, one of "Windows", "Linux"
|
3739
|
+
# resp.image_pipeline_list[0].platform #=> String, one of "Windows", "Linux", "macOS"
|
3730
3740
|
# resp.image_pipeline_list[0].enhanced_image_metadata_enabled #=> Boolean
|
3731
3741
|
# resp.image_pipeline_list[0].image_recipe_arn #=> String
|
3732
3742
|
# resp.image_pipeline_list[0].container_recipe_arn #=> String
|
@@ -3821,7 +3831,7 @@ module Aws::Imagebuilder
|
|
3821
3831
|
# resp.image_recipe_summary_list #=> Array
|
3822
3832
|
# resp.image_recipe_summary_list[0].arn #=> String
|
3823
3833
|
# resp.image_recipe_summary_list[0].name #=> String
|
3824
|
-
# resp.image_recipe_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
3834
|
+
# resp.image_recipe_summary_list[0].platform #=> String, one of "Windows", "Linux", "macOS"
|
3825
3835
|
# resp.image_recipe_summary_list[0].owner #=> String
|
3826
3836
|
# resp.image_recipe_summary_list[0].parent_image #=> String
|
3827
3837
|
# resp.image_recipe_summary_list[0].date_created #=> String
|
@@ -4097,7 +4107,7 @@ module Aws::Imagebuilder
|
|
4097
4107
|
# resp.image_version_list[0].name #=> String
|
4098
4108
|
# resp.image_version_list[0].type #=> String, one of "AMI", "DOCKER"
|
4099
4109
|
# resp.image_version_list[0].version #=> String
|
4100
|
-
# resp.image_version_list[0].platform #=> String, one of "Windows", "Linux"
|
4110
|
+
# resp.image_version_list[0].platform #=> String, one of "Windows", "Linux", "macOS"
|
4101
4111
|
# resp.image_version_list[0].os_version #=> String
|
4102
4112
|
# resp.image_version_list[0].owner #=> String
|
4103
4113
|
# resp.image_version_list[0].date_created #=> String
|
@@ -4163,6 +4173,10 @@ module Aws::Imagebuilder
|
|
4163
4173
|
# resp.infrastructure_configuration_summary_list[0].instance_types #=> Array
|
4164
4174
|
# resp.infrastructure_configuration_summary_list[0].instance_types[0] #=> String
|
4165
4175
|
# resp.infrastructure_configuration_summary_list[0].instance_profile_name #=> String
|
4176
|
+
# resp.infrastructure_configuration_summary_list[0].placement.availability_zone #=> String
|
4177
|
+
# resp.infrastructure_configuration_summary_list[0].placement.tenancy #=> String, one of "default", "dedicated", "host"
|
4178
|
+
# resp.infrastructure_configuration_summary_list[0].placement.host_id #=> String
|
4179
|
+
# resp.infrastructure_configuration_summary_list[0].placement.host_resource_group_arn #=> String
|
4166
4180
|
# resp.next_token #=> String
|
4167
4181
|
#
|
4168
4182
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListInfrastructureConfigurations AWS API Documentation
|
@@ -5394,18 +5408,6 @@ module Aws::Imagebuilder
|
|
5394
5408
|
#
|
5395
5409
|
# </note>
|
5396
5410
|
#
|
5397
|
-
# @option params [required, String] :client_token
|
5398
|
-
# Unique, case-sensitive identifier you provide to ensure idempotency of
|
5399
|
-
# the request. For more information, see [Ensuring idempotency][1] in
|
5400
|
-
# the *Amazon EC2 API Reference*.
|
5401
|
-
#
|
5402
|
-
# **A suitable default value is auto-generated.** You should normally
|
5403
|
-
# not need to pass this option.**
|
5404
|
-
#
|
5405
|
-
#
|
5406
|
-
#
|
5407
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
5408
|
-
#
|
5409
5411
|
# @option params [Hash<String,String>] :resource_tags
|
5410
5412
|
# The tags attached to the resource created by Image Builder.
|
5411
5413
|
#
|
@@ -5426,6 +5428,22 @@ module Aws::Imagebuilder
|
|
5426
5428
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
|
5427
5429
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/configuring-instance-metadata-options.html
|
5428
5430
|
#
|
5431
|
+
# @option params [Types::Placement] :placement
|
5432
|
+
# The instance placement settings that define where the instances that
|
5433
|
+
# are launched from your image will run.
|
5434
|
+
#
|
5435
|
+
# @option params [required, String] :client_token
|
5436
|
+
# Unique, case-sensitive identifier you provide to ensure idempotency of
|
5437
|
+
# the request. For more information, see [Ensuring idempotency][1] in
|
5438
|
+
# the *Amazon EC2 API Reference*.
|
5439
|
+
#
|
5440
|
+
# **A suitable default value is auto-generated.** You should normally
|
5441
|
+
# not need to pass this option.**
|
5442
|
+
#
|
5443
|
+
#
|
5444
|
+
#
|
5445
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
5446
|
+
#
|
5429
5447
|
# @return [Types::UpdateInfrastructureConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5430
5448
|
#
|
5431
5449
|
# * {Types::UpdateInfrastructureConfigurationResponse#request_id #request_id} => String
|
@@ -5450,7 +5468,6 @@ module Aws::Imagebuilder
|
|
5450
5468
|
# key_pair: "NonEmptyString",
|
5451
5469
|
# terminate_instance_on_failure: false,
|
5452
5470
|
# sns_topic_arn: "SnsTopicArn",
|
5453
|
-
# client_token: "ClientToken", # required
|
5454
5471
|
# resource_tags: {
|
5455
5472
|
# "TagKey" => "TagValue",
|
5456
5473
|
# },
|
@@ -5458,6 +5475,13 @@ module Aws::Imagebuilder
|
|
5458
5475
|
# http_tokens: "HttpTokens",
|
5459
5476
|
# http_put_response_hop_limit: 1,
|
5460
5477
|
# },
|
5478
|
+
# placement: {
|
5479
|
+
# availability_zone: "NonEmptyString",
|
5480
|
+
# tenancy: "default", # accepts default, dedicated, host
|
5481
|
+
# host_id: "NonEmptyString",
|
5482
|
+
# host_resource_group_arn: "NonEmptyString",
|
5483
|
+
# },
|
5484
|
+
# client_token: "ClientToken", # required
|
5461
5485
|
# })
|
5462
5486
|
#
|
5463
5487
|
# @example Response structure
|
@@ -5603,7 +5627,7 @@ module Aws::Imagebuilder
|
|
5603
5627
|
tracer: tracer
|
5604
5628
|
)
|
5605
5629
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
5606
|
-
context[:gem_version] = '1.
|
5630
|
+
context[:gem_version] = '1.73.0'
|
5607
5631
|
Seahorse::Client::Request.new(handlers, context)
|
5608
5632
|
end
|
5609
5633
|
|
@@ -341,6 +341,7 @@ module Aws::Imagebuilder
|
|
341
341
|
ParallelGroup = Shapes::StringShape.new(name: 'ParallelGroup')
|
342
342
|
PipelineExecutionStartCondition = Shapes::StringShape.new(name: 'PipelineExecutionStartCondition')
|
343
343
|
PipelineStatus = Shapes::StringShape.new(name: 'PipelineStatus')
|
344
|
+
Placement = Shapes::StructureShape.new(name: 'Placement')
|
344
345
|
Platform = Shapes::StringShape.new(name: 'Platform')
|
345
346
|
PutComponentPolicyRequest = Shapes::StructureShape.new(name: 'PutComponentPolicyRequest')
|
346
347
|
PutComponentPolicyResponse = Shapes::StructureShape.new(name: 'PutComponentPolicyResponse')
|
@@ -393,6 +394,7 @@ module Aws::Imagebuilder
|
|
393
394
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
394
395
|
TargetContainerRepository = Shapes::StructureShape.new(name: 'TargetContainerRepository')
|
395
396
|
TargetResourceCount = Shapes::IntegerShape.new(name: 'TargetResourceCount')
|
397
|
+
TenancyType = Shapes::StringShape.new(name: 'TenancyType')
|
396
398
|
Timezone = Shapes::StringShape.new(name: 'Timezone')
|
397
399
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
398
400
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
@@ -751,6 +753,7 @@ module Aws::Imagebuilder
|
|
751
753
|
CreateInfrastructureConfigurationRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
752
754
|
CreateInfrastructureConfigurationRequest.add_member(:instance_metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptions, location_name: "instanceMetadataOptions"))
|
753
755
|
CreateInfrastructureConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
756
|
+
CreateInfrastructureConfigurationRequest.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "placement"))
|
754
757
|
CreateInfrastructureConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
755
758
|
CreateInfrastructureConfigurationRequest.struct_class = Types::CreateInfrastructureConfigurationRequest
|
756
759
|
|
@@ -1312,6 +1315,7 @@ module Aws::Imagebuilder
|
|
1312
1315
|
InfrastructureConfiguration.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
1313
1316
|
InfrastructureConfiguration.add_member(:instance_metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptions, location_name: "instanceMetadataOptions"))
|
1314
1317
|
InfrastructureConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
1318
|
+
InfrastructureConfiguration.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "placement"))
|
1315
1319
|
InfrastructureConfiguration.struct_class = Types::InfrastructureConfiguration
|
1316
1320
|
|
1317
1321
|
InfrastructureConfigurationSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "arn"))
|
@@ -1323,6 +1327,7 @@ module Aws::Imagebuilder
|
|
1323
1327
|
InfrastructureConfigurationSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
1324
1328
|
InfrastructureConfigurationSummary.add_member(:instance_types, Shapes::ShapeRef.new(shape: InstanceTypeList, location_name: "instanceTypes"))
|
1325
1329
|
InfrastructureConfigurationSummary.add_member(:instance_profile_name, Shapes::ShapeRef.new(shape: InstanceProfileNameType, location_name: "instanceProfileName"))
|
1330
|
+
InfrastructureConfigurationSummary.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "placement"))
|
1326
1331
|
InfrastructureConfigurationSummary.struct_class = Types::InfrastructureConfigurationSummary
|
1327
1332
|
|
1328
1333
|
InfrastructureConfigurationSummaryList.member = Shapes::ShapeRef.new(shape: InfrastructureConfigurationSummary)
|
@@ -1756,6 +1761,12 @@ module Aws::Imagebuilder
|
|
1756
1761
|
PackageVulnerabilityDetails.add_member(:reference_urls, Shapes::ShapeRef.new(shape: NonEmptyStringList, location_name: "referenceUrls"))
|
1757
1762
|
PackageVulnerabilityDetails.struct_class = Types::PackageVulnerabilityDetails
|
1758
1763
|
|
1764
|
+
Placement.add_member(:availability_zone, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "availabilityZone"))
|
1765
|
+
Placement.add_member(:tenancy, Shapes::ShapeRef.new(shape: TenancyType, location_name: "tenancy"))
|
1766
|
+
Placement.add_member(:host_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "hostId"))
|
1767
|
+
Placement.add_member(:host_resource_group_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "hostResourceGroupArn"))
|
1768
|
+
Placement.struct_class = Types::Placement
|
1769
|
+
|
1759
1770
|
PutComponentPolicyRequest.add_member(:component_arn, Shapes::ShapeRef.new(shape: ComponentBuildVersionArn, required: true, location_name: "componentArn"))
|
1760
1771
|
PutComponentPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicyDocument, required: true, location_name: "policy"))
|
1761
1772
|
PutComponentPolicyRequest.struct_class = Types::PutComponentPolicyRequest
|
@@ -1957,9 +1968,10 @@ module Aws::Imagebuilder
|
|
1957
1968
|
UpdateInfrastructureConfigurationRequest.add_member(:key_pair, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "keyPair"))
|
1958
1969
|
UpdateInfrastructureConfigurationRequest.add_member(:terminate_instance_on_failure, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminateInstanceOnFailure"))
|
1959
1970
|
UpdateInfrastructureConfigurationRequest.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: SnsTopicArn, location_name: "snsTopicArn"))
|
1960
|
-
UpdateInfrastructureConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1961
1971
|
UpdateInfrastructureConfigurationRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
1962
1972
|
UpdateInfrastructureConfigurationRequest.add_member(:instance_metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptions, location_name: "instanceMetadataOptions"))
|
1973
|
+
UpdateInfrastructureConfigurationRequest.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "placement"))
|
1974
|
+
UpdateInfrastructureConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1963
1975
|
UpdateInfrastructureConfigurationRequest.struct_class = Types::UpdateInfrastructureConfigurationRequest
|
1964
1976
|
|
1965
1977
|
UpdateInfrastructureConfigurationResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
@@ -52,15 +52,18 @@ module Aws::Imagebuilder
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|