aws-sdk-imagebuilder 1.72.0 → 1.73.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 +4 -4
- data/CHANGELOG.md +5 -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/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 +2 -2
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
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"))
|
|
@@ -1101,7 +1101,7 @@ module Aws::Imagebuilder
|
|
|
1101
1101
|
# @return [Types::TargetContainerRepository]
|
|
1102
1102
|
#
|
|
1103
1103
|
# @!attribute [rw] kms_key_id
|
|
1104
|
-
# Identifies which KMS key is used to encrypt the
|
|
1104
|
+
# Identifies which KMS key is used to encrypt the Dockerfile template.
|
|
1105
1105
|
# @return [String]
|
|
1106
1106
|
#
|
|
1107
1107
|
# @!attribute [rw] client_token
|
|
@@ -1625,7 +1625,9 @@ module Aws::Imagebuilder
|
|
|
1625
1625
|
# @return [String]
|
|
1626
1626
|
#
|
|
1627
1627
|
# @!attribute [rw] resource_tags
|
|
1628
|
-
# The tags
|
|
1628
|
+
# The metadata tags to assign to the Amazon EC2 instance that Image
|
|
1629
|
+
# Builder launches during the build process. Tags are formatted as key
|
|
1630
|
+
# value pairs.
|
|
1629
1631
|
# @return [Hash<String,String>]
|
|
1630
1632
|
#
|
|
1631
1633
|
# @!attribute [rw] instance_metadata_options
|
|
@@ -1634,9 +1636,16 @@ module Aws::Imagebuilder
|
|
|
1634
1636
|
# @return [Types::InstanceMetadataOptions]
|
|
1635
1637
|
#
|
|
1636
1638
|
# @!attribute [rw] tags
|
|
1637
|
-
# The tags
|
|
1639
|
+
# The metadata tags to assign to the infrastructure configuration
|
|
1640
|
+
# resource that Image Builder creates as output. Tags are formatted as
|
|
1641
|
+
# key value pairs.
|
|
1638
1642
|
# @return [Hash<String,String>]
|
|
1639
1643
|
#
|
|
1644
|
+
# @!attribute [rw] placement
|
|
1645
|
+
# The instance placement settings that define where the instances that
|
|
1646
|
+
# are launched from your image will run.
|
|
1647
|
+
# @return [Types::Placement]
|
|
1648
|
+
#
|
|
1640
1649
|
# @!attribute [rw] client_token
|
|
1641
1650
|
# Unique, case-sensitive identifier you provide to ensure idempotency
|
|
1642
1651
|
# of the request. For more information, see [Ensuring idempotency][1]
|
|
@@ -1666,6 +1675,7 @@ module Aws::Imagebuilder
|
|
|
1666
1675
|
:resource_tags,
|
|
1667
1676
|
:instance_metadata_options,
|
|
1668
1677
|
:tags,
|
|
1678
|
+
:placement,
|
|
1669
1679
|
:client_token)
|
|
1670
1680
|
SENSITIVE = []
|
|
1671
1681
|
include Aws::Structure
|
|
@@ -2460,8 +2470,8 @@ module Aws::Imagebuilder
|
|
|
2460
2470
|
#
|
|
2461
2471
|
# @!attribute [rw] container_tags
|
|
2462
2472
|
# Tags for Image Builder to apply to the output container image that
|
|
2463
|
-
#
|
|
2464
|
-
# images.
|
|
2473
|
+
# Amazon Inspector scans. Tags can help you identify and manage your
|
|
2474
|
+
# scanned images.
|
|
2465
2475
|
# @return [Array<String>]
|
|
2466
2476
|
#
|
|
2467
2477
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/EcrConfiguration AWS API Documentation
|
|
@@ -4502,6 +4512,11 @@ module Aws::Imagebuilder
|
|
|
4502
4512
|
# The tags of the infrastructure configuration.
|
|
4503
4513
|
# @return [Hash<String,String>]
|
|
4504
4514
|
#
|
|
4515
|
+
# @!attribute [rw] placement
|
|
4516
|
+
# The instance placement settings that define where the instances that
|
|
4517
|
+
# are launched from your image will run.
|
|
4518
|
+
# @return [Types::Placement]
|
|
4519
|
+
#
|
|
4505
4520
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/InfrastructureConfiguration AWS API Documentation
|
|
4506
4521
|
#
|
|
4507
4522
|
class InfrastructureConfiguration < Struct.new(
|
|
@@ -4520,7 +4535,8 @@ module Aws::Imagebuilder
|
|
|
4520
4535
|
:date_updated,
|
|
4521
4536
|
:resource_tags,
|
|
4522
4537
|
:instance_metadata_options,
|
|
4523
|
-
:tags
|
|
4538
|
+
:tags,
|
|
4539
|
+
:placement)
|
|
4524
4540
|
SENSITIVE = []
|
|
4525
4541
|
include Aws::Structure
|
|
4526
4542
|
end
|
|
@@ -4563,6 +4579,11 @@ module Aws::Imagebuilder
|
|
|
4563
4579
|
# The instance profile of the infrastructure configuration.
|
|
4564
4580
|
# @return [String]
|
|
4565
4581
|
#
|
|
4582
|
+
# @!attribute [rw] placement
|
|
4583
|
+
# The instance placement settings that define where the instances that
|
|
4584
|
+
# are launched from your image will run.
|
|
4585
|
+
# @return [Types::Placement]
|
|
4586
|
+
#
|
|
4566
4587
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/InfrastructureConfigurationSummary AWS API Documentation
|
|
4567
4588
|
#
|
|
4568
4589
|
class InfrastructureConfigurationSummary < Struct.new(
|
|
@@ -4574,7 +4595,8 @@ module Aws::Imagebuilder
|
|
|
4574
4595
|
:resource_tags,
|
|
4575
4596
|
:tags,
|
|
4576
4597
|
:instance_types,
|
|
4577
|
-
:instance_profile_name
|
|
4598
|
+
:instance_profile_name,
|
|
4599
|
+
:placement)
|
|
4578
4600
|
SENSITIVE = []
|
|
4579
4601
|
include Aws::Structure
|
|
4580
4602
|
end
|
|
@@ -6790,6 +6812,57 @@ module Aws::Imagebuilder
|
|
|
6790
6812
|
include Aws::Structure
|
|
6791
6813
|
end
|
|
6792
6814
|
|
|
6815
|
+
# By default, EC2 instances run on shared tenancy hardware. This means
|
|
6816
|
+
# that multiple Amazon Web Services accounts might share the same
|
|
6817
|
+
# physical hardware. When you use dedicated hardware, the physical
|
|
6818
|
+
# server that hosts your instances is dedicated to your Amazon Web
|
|
6819
|
+
# Services account. Instance placement settings contain the details for
|
|
6820
|
+
# the physical hardware where instances that Image Builder launches
|
|
6821
|
+
# during image creation will run.
|
|
6822
|
+
#
|
|
6823
|
+
# @!attribute [rw] availability_zone
|
|
6824
|
+
# The Availability Zone where your build and test instances will
|
|
6825
|
+
# launch.
|
|
6826
|
+
# @return [String]
|
|
6827
|
+
#
|
|
6828
|
+
# @!attribute [rw] tenancy
|
|
6829
|
+
# The tenancy of the instance. An instance with a tenancy of
|
|
6830
|
+
# `dedicated` runs on single-tenant hardware. An instance with a
|
|
6831
|
+
# tenancy of `host` runs on a Dedicated Host.
|
|
6832
|
+
#
|
|
6833
|
+
# If tenancy is set to `host`, then you can optionally specify one
|
|
6834
|
+
# target for placement – either host ID or host resource group ARN. If
|
|
6835
|
+
# automatic placement is enabled for your host, and you don't specify
|
|
6836
|
+
# any placement target, Amazon EC2 will try to find an available host
|
|
6837
|
+
# for your build and test instances.
|
|
6838
|
+
# @return [String]
|
|
6839
|
+
#
|
|
6840
|
+
# @!attribute [rw] host_id
|
|
6841
|
+
# The ID of the Dedicated Host on which build and test instances run.
|
|
6842
|
+
# This only applies if `tenancy` is `host`. If you specify the host
|
|
6843
|
+
# ID, you must not specify the resource group ARN. If you specify
|
|
6844
|
+
# both, Image Builder returns an error.
|
|
6845
|
+
# @return [String]
|
|
6846
|
+
#
|
|
6847
|
+
# @!attribute [rw] host_resource_group_arn
|
|
6848
|
+
# The Amazon Resource Name (ARN) of the host resource group in which
|
|
6849
|
+
# to launch build and test instances. This only applies if `tenancy`
|
|
6850
|
+
# is `host`. If you specify the resource group ARN, you must not
|
|
6851
|
+
# specify the host ID. If you specify both, Image Builder returns an
|
|
6852
|
+
# error.
|
|
6853
|
+
# @return [String]
|
|
6854
|
+
#
|
|
6855
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Placement AWS API Documentation
|
|
6856
|
+
#
|
|
6857
|
+
class Placement < Struct.new(
|
|
6858
|
+
:availability_zone,
|
|
6859
|
+
:tenancy,
|
|
6860
|
+
:host_id,
|
|
6861
|
+
:host_resource_group_arn)
|
|
6862
|
+
SENSITIVE = []
|
|
6863
|
+
include Aws::Structure
|
|
6864
|
+
end
|
|
6865
|
+
|
|
6793
6866
|
# @!attribute [rw] component_arn
|
|
6794
6867
|
# The Amazon Resource Name (ARN) of the component that this policy
|
|
6795
6868
|
# should be applied to.
|
|
@@ -7783,19 +7856,6 @@ module Aws::Imagebuilder
|
|
|
7783
7856
|
# </note>
|
|
7784
7857
|
# @return [String]
|
|
7785
7858
|
#
|
|
7786
|
-
# @!attribute [rw] client_token
|
|
7787
|
-
# Unique, case-sensitive identifier you provide to ensure idempotency
|
|
7788
|
-
# of the request. For more information, see [Ensuring idempotency][1]
|
|
7789
|
-
# in the *Amazon EC2 API Reference*.
|
|
7790
|
-
#
|
|
7791
|
-
# **A suitable default value is auto-generated.** You should normally
|
|
7792
|
-
# not need to pass this option.
|
|
7793
|
-
#
|
|
7794
|
-
#
|
|
7795
|
-
#
|
|
7796
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
|
7797
|
-
# @return [String]
|
|
7798
|
-
#
|
|
7799
7859
|
# @!attribute [rw] resource_tags
|
|
7800
7860
|
# The tags attached to the resource created by Image Builder.
|
|
7801
7861
|
# @return [Hash<String,String>]
|
|
@@ -7818,6 +7878,24 @@ module Aws::Imagebuilder
|
|
|
7818
7878
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/configuring-instance-metadata-options.html
|
|
7819
7879
|
# @return [Types::InstanceMetadataOptions]
|
|
7820
7880
|
#
|
|
7881
|
+
# @!attribute [rw] placement
|
|
7882
|
+
# The instance placement settings that define where the instances that
|
|
7883
|
+
# are launched from your image will run.
|
|
7884
|
+
# @return [Types::Placement]
|
|
7885
|
+
#
|
|
7886
|
+
# @!attribute [rw] client_token
|
|
7887
|
+
# Unique, case-sensitive identifier you provide to ensure idempotency
|
|
7888
|
+
# of the request. For more information, see [Ensuring idempotency][1]
|
|
7889
|
+
# in the *Amazon EC2 API Reference*.
|
|
7890
|
+
#
|
|
7891
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
7892
|
+
# not need to pass this option.
|
|
7893
|
+
#
|
|
7894
|
+
#
|
|
7895
|
+
#
|
|
7896
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
|
7897
|
+
# @return [String]
|
|
7898
|
+
#
|
|
7821
7899
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateInfrastructureConfigurationRequest AWS API Documentation
|
|
7822
7900
|
#
|
|
7823
7901
|
class UpdateInfrastructureConfigurationRequest < Struct.new(
|
|
@@ -7831,9 +7909,10 @@ module Aws::Imagebuilder
|
|
|
7831
7909
|
:key_pair,
|
|
7832
7910
|
:terminate_instance_on_failure,
|
|
7833
7911
|
:sns_topic_arn,
|
|
7834
|
-
:client_token,
|
|
7835
7912
|
:resource_tags,
|
|
7836
|
-
:instance_metadata_options
|
|
7913
|
+
:instance_metadata_options,
|
|
7914
|
+
:placement,
|
|
7915
|
+
:client_token)
|
|
7837
7916
|
SENSITIVE = []
|
|
7838
7917
|
include Aws::Structure
|
|
7839
7918
|
end
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -111,7 +111,7 @@ module Aws
|
|
|
111
111
|
semantic_version: ::String,
|
|
112
112
|
?description: ::String,
|
|
113
113
|
?change_description: ::String,
|
|
114
|
-
platform: ("Windows" | "Linux"),
|
|
114
|
+
platform: ("Windows" | "Linux" | "macOS"),
|
|
115
115
|
?supported_os_versions: Array[::String],
|
|
116
116
|
?data: ::String,
|
|
117
117
|
?uri: ::String,
|
|
@@ -166,7 +166,7 @@ module Aws
|
|
|
166
166
|
},
|
|
167
167
|
?dockerfile_template_data: ::String,
|
|
168
168
|
?dockerfile_template_uri: ::String,
|
|
169
|
-
?platform_override: ("Windows" | "Linux"),
|
|
169
|
+
?platform_override: ("Windows" | "Linux" | "macOS"),
|
|
170
170
|
?image_os_version_override: ::String,
|
|
171
171
|
parent_image: ::String,
|
|
172
172
|
?tags: Hash[::String, ::String],
|
|
@@ -425,6 +425,12 @@ module Aws
|
|
|
425
425
|
http_put_response_hop_limit: ::Integer?
|
|
426
426
|
},
|
|
427
427
|
?tags: Hash[::String, ::String],
|
|
428
|
+
?placement: {
|
|
429
|
+
availability_zone: ::String?,
|
|
430
|
+
tenancy: ("default" | "dedicated" | "host")?,
|
|
431
|
+
host_id: ::String?,
|
|
432
|
+
host_resource_group_arn: ::String?
|
|
433
|
+
},
|
|
428
434
|
client_token: ::String
|
|
429
435
|
) -> _CreateInfrastructureConfigurationResponseSuccess
|
|
430
436
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInfrastructureConfigurationResponseSuccess
|
|
@@ -817,7 +823,7 @@ module Aws
|
|
|
817
823
|
?change_description: ::String,
|
|
818
824
|
type: ("BUILD" | "TEST"),
|
|
819
825
|
format: ("SHELL"),
|
|
820
|
-
platform: ("Windows" | "Linux"),
|
|
826
|
+
platform: ("Windows" | "Linux" | "macOS"),
|
|
821
827
|
?data: ::String,
|
|
822
828
|
?uri: ::String,
|
|
823
829
|
?kms_key_id: ::String,
|
|
@@ -837,7 +843,7 @@ module Aws
|
|
|
837
843
|
name: ::String,
|
|
838
844
|
semantic_version: ::String,
|
|
839
845
|
?description: ::String,
|
|
840
|
-
platform: ("Windows" | "Linux"),
|
|
846
|
+
platform: ("Windows" | "Linux" | "macOS"),
|
|
841
847
|
?os_version: ::String,
|
|
842
848
|
vm_import_task_id: ::String,
|
|
843
849
|
?tags: Hash[::String, ::String],
|
|
@@ -1498,12 +1504,18 @@ module Aws
|
|
|
1498
1504
|
?key_pair: ::String,
|
|
1499
1505
|
?terminate_instance_on_failure: bool,
|
|
1500
1506
|
?sns_topic_arn: ::String,
|
|
1501
|
-
client_token: ::String,
|
|
1502
1507
|
?resource_tags: Hash[::String, ::String],
|
|
1503
1508
|
?instance_metadata_options: {
|
|
1504
1509
|
http_tokens: ::String?,
|
|
1505
1510
|
http_put_response_hop_limit: ::Integer?
|
|
1506
|
-
}
|
|
1511
|
+
},
|
|
1512
|
+
?placement: {
|
|
1513
|
+
availability_zone: ::String?,
|
|
1514
|
+
tenancy: ("default" | "dedicated" | "host")?,
|
|
1515
|
+
host_id: ::String?,
|
|
1516
|
+
host_resource_group_arn: ::String?
|
|
1517
|
+
},
|
|
1518
|
+
client_token: ::String
|
|
1507
1519
|
) -> _UpdateInfrastructureConfigurationResponseSuccess
|
|
1508
1520
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInfrastructureConfigurationResponseSuccess
|
|
1509
1521
|
|
data/sig/types.rbs
CHANGED
|
@@ -81,7 +81,7 @@ module Aws::Imagebuilder
|
|
|
81
81
|
attr_accessor description: ::String
|
|
82
82
|
attr_accessor change_description: ::String
|
|
83
83
|
attr_accessor type: ("BUILD" | "TEST")
|
|
84
|
-
attr_accessor platform: ("Windows" | "Linux")
|
|
84
|
+
attr_accessor platform: ("Windows" | "Linux" | "macOS")
|
|
85
85
|
attr_accessor supported_os_versions: ::Array[::String]
|
|
86
86
|
attr_accessor state: Types::ComponentState
|
|
87
87
|
attr_accessor parameters: ::Array[Types::ComponentParameterDetail]
|
|
@@ -126,7 +126,7 @@ module Aws::Imagebuilder
|
|
|
126
126
|
attr_accessor arn: ::String
|
|
127
127
|
attr_accessor name: ::String
|
|
128
128
|
attr_accessor version: ::String
|
|
129
|
-
attr_accessor platform: ("Windows" | "Linux")
|
|
129
|
+
attr_accessor platform: ("Windows" | "Linux" | "macOS")
|
|
130
130
|
attr_accessor supported_os_versions: ::Array[::String]
|
|
131
131
|
attr_accessor state: Types::ComponentState
|
|
132
132
|
attr_accessor type: ("BUILD" | "TEST")
|
|
@@ -145,7 +145,7 @@ module Aws::Imagebuilder
|
|
|
145
145
|
attr_accessor name: ::String
|
|
146
146
|
attr_accessor version: ::String
|
|
147
147
|
attr_accessor description: ::String
|
|
148
|
-
attr_accessor platform: ("Windows" | "Linux")
|
|
148
|
+
attr_accessor platform: ("Windows" | "Linux" | "macOS")
|
|
149
149
|
attr_accessor supported_os_versions: ::Array[::String]
|
|
150
150
|
attr_accessor type: ("BUILD" | "TEST")
|
|
151
151
|
attr_accessor owner: ::String
|
|
@@ -171,7 +171,7 @@ module Aws::Imagebuilder
|
|
|
171
171
|
attr_accessor container_type: ("DOCKER")
|
|
172
172
|
attr_accessor name: ::String
|
|
173
173
|
attr_accessor description: ::String
|
|
174
|
-
attr_accessor platform: ("Windows" | "Linux")
|
|
174
|
+
attr_accessor platform: ("Windows" | "Linux" | "macOS")
|
|
175
175
|
attr_accessor owner: ::String
|
|
176
176
|
attr_accessor version: ::String
|
|
177
177
|
attr_accessor components: ::Array[Types::ComponentConfiguration]
|
|
@@ -191,7 +191,7 @@ module Aws::Imagebuilder
|
|
|
191
191
|
attr_accessor arn: ::String
|
|
192
192
|
attr_accessor container_type: ("DOCKER")
|
|
193
193
|
attr_accessor name: ::String
|
|
194
|
-
attr_accessor platform: ("Windows" | "Linux")
|
|
194
|
+
attr_accessor platform: ("Windows" | "Linux" | "macOS")
|
|
195
195
|
attr_accessor owner: ::String
|
|
196
196
|
attr_accessor parent_image: ::String
|
|
197
197
|
attr_accessor date_created: ::String
|
|
@@ -204,7 +204,7 @@ module Aws::Imagebuilder
|
|
|
204
204
|
attr_accessor semantic_version: ::String
|
|
205
205
|
attr_accessor description: ::String
|
|
206
206
|
attr_accessor change_description: ::String
|
|
207
|
-
attr_accessor platform: ("Windows" | "Linux")
|
|
207
|
+
attr_accessor platform: ("Windows" | "Linux" | "macOS")
|
|
208
208
|
attr_accessor supported_os_versions: ::Array[::String]
|
|
209
209
|
attr_accessor data: ::String
|
|
210
210
|
attr_accessor uri: ::String
|
|
@@ -230,7 +230,7 @@ module Aws::Imagebuilder
|
|
|
230
230
|
attr_accessor instance_configuration: Types::InstanceConfiguration
|
|
231
231
|
attr_accessor dockerfile_template_data: ::String
|
|
232
232
|
attr_accessor dockerfile_template_uri: ::String
|
|
233
|
-
attr_accessor platform_override: ("Windows" | "Linux")
|
|
233
|
+
attr_accessor platform_override: ("Windows" | "Linux" | "macOS")
|
|
234
234
|
attr_accessor image_os_version_override: ::String
|
|
235
235
|
attr_accessor parent_image: ::String
|
|
236
236
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
@@ -347,6 +347,7 @@ module Aws::Imagebuilder
|
|
|
347
347
|
attr_accessor resource_tags: ::Hash[::String, ::String]
|
|
348
348
|
attr_accessor instance_metadata_options: Types::InstanceMetadataOptions
|
|
349
349
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
350
|
+
attr_accessor placement: Types::Placement
|
|
350
351
|
attr_accessor client_token: ::String
|
|
351
352
|
SENSITIVE: []
|
|
352
353
|
end
|
|
@@ -812,7 +813,7 @@ module Aws::Imagebuilder
|
|
|
812
813
|
attr_accessor type: ("AMI" | "DOCKER")
|
|
813
814
|
attr_accessor name: ::String
|
|
814
815
|
attr_accessor version: ::String
|
|
815
|
-
attr_accessor platform: ("Windows" | "Linux")
|
|
816
|
+
attr_accessor platform: ("Windows" | "Linux" | "macOS")
|
|
816
817
|
attr_accessor enhanced_image_metadata_enabled: bool
|
|
817
818
|
attr_accessor os_version: ::String
|
|
818
819
|
attr_accessor state: Types::ImageState
|
|
@@ -853,7 +854,7 @@ module Aws::Imagebuilder
|
|
|
853
854
|
attr_accessor arn: ::String
|
|
854
855
|
attr_accessor name: ::String
|
|
855
856
|
attr_accessor description: ::String
|
|
856
|
-
attr_accessor platform: ("Windows" | "Linux")
|
|
857
|
+
attr_accessor platform: ("Windows" | "Linux" | "macOS")
|
|
857
858
|
attr_accessor enhanced_image_metadata_enabled: bool
|
|
858
859
|
attr_accessor image_recipe_arn: ::String
|
|
859
860
|
attr_accessor container_recipe_arn: ::String
|
|
@@ -884,7 +885,7 @@ module Aws::Imagebuilder
|
|
|
884
885
|
attr_accessor type: ("AMI" | "DOCKER")
|
|
885
886
|
attr_accessor name: ::String
|
|
886
887
|
attr_accessor description: ::String
|
|
887
|
-
attr_accessor platform: ("Windows" | "Linux")
|
|
888
|
+
attr_accessor platform: ("Windows" | "Linux" | "macOS")
|
|
888
889
|
attr_accessor owner: ::String
|
|
889
890
|
attr_accessor version: ::String
|
|
890
891
|
attr_accessor components: ::Array[Types::ComponentConfiguration]
|
|
@@ -900,7 +901,7 @@ module Aws::Imagebuilder
|
|
|
900
901
|
class ImageRecipeSummary
|
|
901
902
|
attr_accessor arn: ::String
|
|
902
903
|
attr_accessor name: ::String
|
|
903
|
-
attr_accessor platform: ("Windows" | "Linux")
|
|
904
|
+
attr_accessor platform: ("Windows" | "Linux" | "macOS")
|
|
904
905
|
attr_accessor owner: ::String
|
|
905
906
|
attr_accessor parent_image: ::String
|
|
906
907
|
attr_accessor date_created: ::String
|
|
@@ -963,7 +964,7 @@ module Aws::Imagebuilder
|
|
|
963
964
|
attr_accessor name: ::String
|
|
964
965
|
attr_accessor type: ("AMI" | "DOCKER")
|
|
965
966
|
attr_accessor version: ::String
|
|
966
|
-
attr_accessor platform: ("Windows" | "Linux")
|
|
967
|
+
attr_accessor platform: ("Windows" | "Linux" | "macOS")
|
|
967
968
|
attr_accessor os_version: ::String
|
|
968
969
|
attr_accessor state: Types::ImageState
|
|
969
970
|
attr_accessor owner: ::String
|
|
@@ -988,7 +989,7 @@ module Aws::Imagebuilder
|
|
|
988
989
|
attr_accessor name: ::String
|
|
989
990
|
attr_accessor type: ("AMI" | "DOCKER")
|
|
990
991
|
attr_accessor version: ::String
|
|
991
|
-
attr_accessor platform: ("Windows" | "Linux")
|
|
992
|
+
attr_accessor platform: ("Windows" | "Linux" | "macOS")
|
|
992
993
|
attr_accessor os_version: ::String
|
|
993
994
|
attr_accessor owner: ::String
|
|
994
995
|
attr_accessor date_created: ::String
|
|
@@ -1004,7 +1005,7 @@ module Aws::Imagebuilder
|
|
|
1004
1005
|
attr_accessor change_description: ::String
|
|
1005
1006
|
attr_accessor type: ("BUILD" | "TEST")
|
|
1006
1007
|
attr_accessor format: ("SHELL")
|
|
1007
|
-
attr_accessor platform: ("Windows" | "Linux")
|
|
1008
|
+
attr_accessor platform: ("Windows" | "Linux" | "macOS")
|
|
1008
1009
|
attr_accessor data: ::String
|
|
1009
1010
|
attr_accessor uri: ::String
|
|
1010
1011
|
attr_accessor kms_key_id: ::String
|
|
@@ -1024,7 +1025,7 @@ module Aws::Imagebuilder
|
|
|
1024
1025
|
attr_accessor name: ::String
|
|
1025
1026
|
attr_accessor semantic_version: ::String
|
|
1026
1027
|
attr_accessor description: ::String
|
|
1027
|
-
attr_accessor platform: ("Windows" | "Linux")
|
|
1028
|
+
attr_accessor platform: ("Windows" | "Linux" | "macOS")
|
|
1028
1029
|
attr_accessor os_version: ::String
|
|
1029
1030
|
attr_accessor vm_import_task_id: ::String
|
|
1030
1031
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
@@ -1056,6 +1057,7 @@ module Aws::Imagebuilder
|
|
|
1056
1057
|
attr_accessor resource_tags: ::Hash[::String, ::String]
|
|
1057
1058
|
attr_accessor instance_metadata_options: Types::InstanceMetadataOptions
|
|
1058
1059
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
1060
|
+
attr_accessor placement: Types::Placement
|
|
1059
1061
|
SENSITIVE: []
|
|
1060
1062
|
end
|
|
1061
1063
|
|
|
@@ -1069,6 +1071,7 @@ module Aws::Imagebuilder
|
|
|
1069
1071
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
1070
1072
|
attr_accessor instance_types: ::Array[::String]
|
|
1071
1073
|
attr_accessor instance_profile_name: ::String
|
|
1074
|
+
attr_accessor placement: Types::Placement
|
|
1072
1075
|
SENSITIVE: []
|
|
1073
1076
|
end
|
|
1074
1077
|
|
|
@@ -1627,6 +1630,14 @@ module Aws::Imagebuilder
|
|
|
1627
1630
|
SENSITIVE: []
|
|
1628
1631
|
end
|
|
1629
1632
|
|
|
1633
|
+
class Placement
|
|
1634
|
+
attr_accessor availability_zone: ::String
|
|
1635
|
+
attr_accessor tenancy: ("default" | "dedicated" | "host")
|
|
1636
|
+
attr_accessor host_id: ::String
|
|
1637
|
+
attr_accessor host_resource_group_arn: ::String
|
|
1638
|
+
SENSITIVE: []
|
|
1639
|
+
end
|
|
1640
|
+
|
|
1630
1641
|
class PutComponentPolicyRequest
|
|
1631
1642
|
attr_accessor component_arn: ::String
|
|
1632
1643
|
attr_accessor policy: ::String
|
|
@@ -1893,9 +1904,10 @@ module Aws::Imagebuilder
|
|
|
1893
1904
|
attr_accessor key_pair: ::String
|
|
1894
1905
|
attr_accessor terminate_instance_on_failure: bool
|
|
1895
1906
|
attr_accessor sns_topic_arn: ::String
|
|
1896
|
-
attr_accessor client_token: ::String
|
|
1897
1907
|
attr_accessor resource_tags: ::Hash[::String, ::String]
|
|
1898
1908
|
attr_accessor instance_metadata_options: Types::InstanceMetadataOptions
|
|
1909
|
+
attr_accessor placement: Types::Placement
|
|
1910
|
+
attr_accessor client_token: ::String
|
|
1899
1911
|
SENSITIVE: []
|
|
1900
1912
|
end
|
|
1901
1913
|
|
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.73.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-10-
|
|
11
|
+
date: 2024-10-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|