aws-sdk-imagebuilder 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c4ec241a18d4be28882800beaf03f72b31a632bc
4
- data.tar.gz: a9abcaa54bff843f04191907b2cedb7a97304e32
2
+ SHA256:
3
+ metadata.gz: 1dab958235163bf1a5611fc68d16ab221b06ce1a619c7f3276b288e7b215c9a8
4
+ data.tar.gz: 69b294ca7d7f25cf5f8a1f83f16f6e27d0f41c7298c367985e0e6b0d007d2a2a
5
5
  SHA512:
6
- metadata.gz: db3df47db384726efc9d4ed2a53a38bdd143a33c60daf89fed788b500d655fa6fa53a81085e090d166c2723a6b648061d306a0a14d1c27ef48df0d1deddc4621
7
- data.tar.gz: 1ad4df577a63e65a050d2cf1eb2a02071efe7ccea114e9d81df34069c7228893136ff3540a7ca26a22cf9cf6bbe36ad98766314d871adbb1057dfcf966c5d9cd
6
+ metadata.gz: ce37e97ac11679126ae3b7edec7abfbefc50d35823bf78d79a1828598f22ef22b5be933b4cbd4b3a582747419f64df2237a72f89011c90afe97ce295fcd887bd
7
+ data.tar.gz: d95817f18678860aeaf33831548d80da13a78bef74bb426d2dbc02f93e548fc428391b621bf1e220957860a6e73727508d2eb5f3900b79951a5bf64a3d30cfe9
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-imagebuilder/customizations'
45
45
  # @service
46
46
  module Aws::Imagebuilder
47
47
 
48
- GEM_VERSION = '1.3.0'
48
+ GEM_VERSION = '1.4.0'
49
49
 
50
50
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:imagebuilder)
32
32
  module Aws::Imagebuilder
33
33
  # An API client for Imagebuilder. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::Imagebuilder::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::Imagebuilder::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -229,15 +229,19 @@ module Aws::Imagebuilder
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -265,8 +269,7 @@ module Aws::Imagebuilder
265
269
  #
266
270
  # @option options [Integer] :http_read_timeout (60) The default
267
271
  # number of seconds to wait for response data. This value can
268
- # safely be set
269
- # per-request on the session yielded by {#session_for}.
272
+ # safely be set per-request on the session.
270
273
  #
271
274
  # @option options [Float] :http_idle_timeout (5) The number of
272
275
  # seconds a connection is allowed to sit idle before it is
@@ -278,7 +281,7 @@ module Aws::Imagebuilder
278
281
  # request body. This option has no effect unless the request has
279
282
  # "Expect" header set to "100-continue". Defaults to `nil` which
280
283
  # disables this behaviour. This value can safely be set per
281
- # request on the session yielded by {#session_for}.
284
+ # request on the session.
282
285
  #
283
286
  # @option options [Boolean] :http_wire_trace (false) When `true`,
284
287
  # HTTP debug output will be sent to the `:logger`.
@@ -519,6 +522,12 @@ module Aws::Imagebuilder
519
522
  # @option params [Types::ImageTestsConfiguration] :image_tests_configuration
520
523
  # The image tests configuration of the image.
521
524
  #
525
+ # @option params [Boolean] :enhanced_image_metadata_enabled
526
+ # Collects additional information about the image being created,
527
+ # including the operating system (OS) version and package list. This
528
+ # information is used to enhance the overall experience of using EC2
529
+ # Image Builder. Enabled by default.
530
+ #
522
531
  # @option params [Hash<String,String>] :tags
523
532
  # The tags of the image.
524
533
  #
@@ -544,6 +553,7 @@ module Aws::Imagebuilder
544
553
  # image_tests_enabled: false,
545
554
  # timeout_minutes: 1,
546
555
  # },
556
+ # enhanced_image_metadata_enabled: false,
547
557
  # tags: {
548
558
  # "TagKey" => "TagValue",
549
559
  # },
@@ -590,6 +600,12 @@ module Aws::Imagebuilder
590
600
  # @option params [Types::ImageTestsConfiguration] :image_tests_configuration
591
601
  # The image test configuration of the image pipeline.
592
602
  #
603
+ # @option params [Boolean] :enhanced_image_metadata_enabled
604
+ # Collects additional information about the image being created,
605
+ # including the operating system (OS) version and package list. This
606
+ # information is used to enhance the overall experience of using EC2
607
+ # Image Builder. Enabled by default.
608
+ #
593
609
  # @option params [Types::Schedule] :schedule
594
610
  # The schedule of the image pipeline.
595
611
  #
@@ -623,6 +639,7 @@ module Aws::Imagebuilder
623
639
  # image_tests_enabled: false,
624
640
  # timeout_minutes: 1,
625
641
  # },
642
+ # enhanced_image_metadata_enabled: false,
626
643
  # schedule: {
627
644
  # schedule_expression: "NonEmptyString",
628
645
  # pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
@@ -665,7 +682,16 @@ module Aws::Imagebuilder
665
682
  # The components of the image recipe.
666
683
  #
667
684
  # @option params [required, String] :parent_image
668
- # The parent image of the image recipe.
685
+ # The parent image of the image recipe. The value of the string can be
686
+ # the ARN of the parent image or an AMI ID. The format for the ARN
687
+ # follows this example:
688
+ # `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/2019.x.x`.
689
+ # The ARN ends with `/20xx.x.x`, which communicates to EC2 Image Builder
690
+ # that you want to use the latest AMI created in 20xx (year). You can
691
+ # provide the specific version that you want to use, or you can use a
692
+ # wildcard in all of the fields. If you enter an AMI ID for the string
693
+ # value, you must have access to the AMI, and the AMI must be in the
694
+ # same Region in which you are using Image Builder.
669
695
  #
670
696
  # @option params [Array<Types::InstanceBlockDeviceMapping>] :block_device_mappings
671
697
  # The block device mappings of the image recipe.
@@ -1162,6 +1188,8 @@ module Aws::Imagebuilder
1162
1188
  # resp.image.name #=> String
1163
1189
  # resp.image.version #=> String
1164
1190
  # resp.image.platform #=> String, one of "Windows", "Linux"
1191
+ # resp.image.enhanced_image_metadata_enabled #=> Boolean
1192
+ # resp.image.os_version #=> String
1165
1193
  # resp.image.state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
1166
1194
  # resp.image.state.reason #=> String
1167
1195
  # resp.image.image_recipe.arn #=> String
@@ -1273,6 +1301,7 @@ module Aws::Imagebuilder
1273
1301
  # resp.image_pipeline.name #=> String
1274
1302
  # resp.image_pipeline.description #=> String
1275
1303
  # resp.image_pipeline.platform #=> String, one of "Windows", "Linux"
1304
+ # resp.image_pipeline.enhanced_image_metadata_enabled #=> Boolean
1276
1305
  # resp.image_pipeline.image_recipe_arn #=> String
1277
1306
  # resp.image_pipeline.infrastructure_configuration_arn #=> String
1278
1307
  # resp.image_pipeline.distribution_configuration_arn #=> String
@@ -1571,6 +1600,8 @@ module Aws::Imagebuilder
1571
1600
  # * {Types::ListComponentBuildVersionsResponse#component_summary_list #component_summary_list} => Array&lt;Types::ComponentSummary&gt;
1572
1601
  # * {Types::ListComponentBuildVersionsResponse#next_token #next_token} => String
1573
1602
  #
1603
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1604
+ #
1574
1605
  # @example Request syntax with placeholder values
1575
1606
  #
1576
1607
  # resp = client.list_component_build_versions({
@@ -1631,6 +1662,8 @@ module Aws::Imagebuilder
1631
1662
  # * {Types::ListComponentsResponse#component_version_list #component_version_list} => Array&lt;Types::ComponentVersion&gt;
1632
1663
  # * {Types::ListComponentsResponse#next_token #next_token} => String
1633
1664
  #
1665
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1666
+ #
1634
1667
  # @example Request syntax with placeholder values
1635
1668
  #
1636
1669
  # resp = client.list_components({
@@ -1686,6 +1719,8 @@ module Aws::Imagebuilder
1686
1719
  # * {Types::ListDistributionConfigurationsResponse#distribution_configuration_summary_list #distribution_configuration_summary_list} => Array&lt;Types::DistributionConfigurationSummary&gt;
1687
1720
  # * {Types::ListDistributionConfigurationsResponse#next_token #next_token} => String
1688
1721
  #
1722
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1723
+ #
1689
1724
  # @example Request syntax with placeholder values
1690
1725
  #
1691
1726
  # resp = client.list_distribution_configurations({
@@ -1743,6 +1778,8 @@ module Aws::Imagebuilder
1743
1778
  # * {Types::ListImageBuildVersionsResponse#image_summary_list #image_summary_list} => Array&lt;Types::ImageSummary&gt;
1744
1779
  # * {Types::ListImageBuildVersionsResponse#next_token #next_token} => String
1745
1780
  #
1781
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1782
+ #
1746
1783
  # @example Request syntax with placeholder values
1747
1784
  #
1748
1785
  # resp = client.list_image_build_versions({
@@ -1765,6 +1802,7 @@ module Aws::Imagebuilder
1765
1802
  # resp.image_summary_list[0].name #=> String
1766
1803
  # resp.image_summary_list[0].version #=> String
1767
1804
  # resp.image_summary_list[0].platform #=> String, one of "Windows", "Linux"
1805
+ # resp.image_summary_list[0].os_version #=> String
1768
1806
  # resp.image_summary_list[0].state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
1769
1807
  # resp.image_summary_list[0].state.reason #=> String
1770
1808
  # resp.image_summary_list[0].owner #=> String
@@ -1811,6 +1849,8 @@ module Aws::Imagebuilder
1811
1849
  # * {Types::ListImagePipelineImagesResponse#image_summary_list #image_summary_list} => Array&lt;Types::ImageSummary&gt;
1812
1850
  # * {Types::ListImagePipelineImagesResponse#next_token #next_token} => String
1813
1851
  #
1852
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1853
+ #
1814
1854
  # @example Request syntax with placeholder values
1815
1855
  #
1816
1856
  # resp = client.list_image_pipeline_images({
@@ -1833,6 +1873,7 @@ module Aws::Imagebuilder
1833
1873
  # resp.image_summary_list[0].name #=> String
1834
1874
  # resp.image_summary_list[0].version #=> String
1835
1875
  # resp.image_summary_list[0].platform #=> String, one of "Windows", "Linux"
1876
+ # resp.image_summary_list[0].os_version #=> String
1836
1877
  # resp.image_summary_list[0].state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
1837
1878
  # resp.image_summary_list[0].state.reason #=> String
1838
1879
  # resp.image_summary_list[0].owner #=> String
@@ -1875,6 +1916,8 @@ module Aws::Imagebuilder
1875
1916
  # * {Types::ListImagePipelinesResponse#image_pipeline_list #image_pipeline_list} => Array&lt;Types::ImagePipeline&gt;
1876
1917
  # * {Types::ListImagePipelinesResponse#next_token #next_token} => String
1877
1918
  #
1919
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1920
+ #
1878
1921
  # @example Request syntax with placeholder values
1879
1922
  #
1880
1923
  # resp = client.list_image_pipelines({
@@ -1896,6 +1939,7 @@ module Aws::Imagebuilder
1896
1939
  # resp.image_pipeline_list[0].name #=> String
1897
1940
  # resp.image_pipeline_list[0].description #=> String
1898
1941
  # resp.image_pipeline_list[0].platform #=> String, one of "Windows", "Linux"
1942
+ # resp.image_pipeline_list[0].enhanced_image_metadata_enabled #=> Boolean
1899
1943
  # resp.image_pipeline_list[0].image_recipe_arn #=> String
1900
1944
  # resp.image_pipeline_list[0].infrastructure_configuration_arn #=> String
1901
1945
  # resp.image_pipeline_list[0].distribution_configuration_arn #=> String
@@ -1946,6 +1990,8 @@ module Aws::Imagebuilder
1946
1990
  # * {Types::ListImageRecipesResponse#image_recipe_summary_list #image_recipe_summary_list} => Array&lt;Types::ImageRecipeSummary&gt;
1947
1991
  # * {Types::ListImageRecipesResponse#next_token #next_token} => String
1948
1992
  #
1993
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1994
+ #
1949
1995
  # @example Request syntax with placeholder values
1950
1996
  #
1951
1997
  # resp = client.list_image_recipes({
@@ -2009,6 +2055,8 @@ module Aws::Imagebuilder
2009
2055
  # * {Types::ListImagesResponse#image_version_list #image_version_list} => Array&lt;Types::ImageVersion&gt;
2010
2056
  # * {Types::ListImagesResponse#next_token #next_token} => String
2011
2057
  #
2058
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2059
+ #
2012
2060
  # @example Request syntax with placeholder values
2013
2061
  #
2014
2062
  # resp = client.list_images({
@@ -2031,6 +2079,7 @@ module Aws::Imagebuilder
2031
2079
  # resp.image_version_list[0].name #=> String
2032
2080
  # resp.image_version_list[0].version #=> String
2033
2081
  # resp.image_version_list[0].platform #=> String, one of "Windows", "Linux"
2082
+ # resp.image_version_list[0].os_version #=> String
2034
2083
  # resp.image_version_list[0].owner #=> String
2035
2084
  # resp.image_version_list[0].date_created #=> String
2036
2085
  # resp.next_token #=> String
@@ -2062,6 +2111,8 @@ module Aws::Imagebuilder
2062
2111
  # * {Types::ListInfrastructureConfigurationsResponse#infrastructure_configuration_summary_list #infrastructure_configuration_summary_list} => Array&lt;Types::InfrastructureConfigurationSummary&gt;
2063
2112
  # * {Types::ListInfrastructureConfigurationsResponse#next_token #next_token} => String
2064
2113
  #
2114
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2115
+ #
2065
2116
  # @example Request syntax with placeholder values
2066
2117
  #
2067
2118
  # resp = client.list_infrastructure_configurations({
@@ -2127,7 +2178,16 @@ module Aws::Imagebuilder
2127
2178
  req.send_request(options)
2128
2179
  end
2129
2180
 
2130
- # Applies a policy to a component.
2181
+ # Applies a policy to a component. We recommend that you call the RAM
2182
+ # API [CreateResourceShare][1] to share resources. If you call the Image
2183
+ # Builder API `PutComponentPolicy`, you must also call the RAM API
2184
+ # [PromoteResourceShareCreatedFromPolicy][2] in order for the resource
2185
+ # to be visible to all principals with whom the resource is shared.
2186
+ #
2187
+ #
2188
+ #
2189
+ # [1]: https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html
2190
+ # [2]: https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html
2131
2191
  #
2132
2192
  # @option params [required, String] :component_arn
2133
2193
  # The Amazon Resource Name (ARN) of the component that this policy
@@ -2162,7 +2222,16 @@ module Aws::Imagebuilder
2162
2222
  req.send_request(options)
2163
2223
  end
2164
2224
 
2165
- # Applies a policy to an image.
2225
+ # Applies a policy to an image. We recommend that you call the RAM API
2226
+ # [CreateResourceShare][1] to share resources. If you call the Image
2227
+ # Builder API `PutImagePolicy`, you must also call the RAM API
2228
+ # [PromoteResourceShareCreatedFromPolicy][2] in order for the resource
2229
+ # to be visible to all principals with whom the resource is shared.
2230
+ #
2231
+ #
2232
+ #
2233
+ # [1]: https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html
2234
+ # [2]: https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html
2166
2235
  #
2167
2236
  # @option params [required, String] :image_arn
2168
2237
  # The Amazon Resource Name (ARN) of the image that this policy should be
@@ -2197,7 +2266,17 @@ module Aws::Imagebuilder
2197
2266
  req.send_request(options)
2198
2267
  end
2199
2268
 
2200
- # Applies a policy to an image recipe.
2269
+ # Applies a policy to an image recipe. We recommend that you call the
2270
+ # RAM API [CreateResourceShare][1] to share resources. If you call the
2271
+ # Image Builder API `PutImageRecipePolicy`, you must also call the RAM
2272
+ # API [PromoteResourceShareCreatedFromPolicy][2] in order for the
2273
+ # resource to be visible to all principals with whom the resource is
2274
+ # shared.
2275
+ #
2276
+ #
2277
+ #
2278
+ # [1]: https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html
2279
+ # [2]: https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html
2201
2280
  #
2202
2281
  # @option params [required, String] :image_recipe_arn
2203
2282
  # The Amazon Resource Name (ARN) of the image recipe that this policy
@@ -2417,6 +2496,12 @@ module Aws::Imagebuilder
2417
2496
  # @option params [Types::ImageTestsConfiguration] :image_tests_configuration
2418
2497
  # The image test configuration of the image pipeline.
2419
2498
  #
2499
+ # @option params [Boolean] :enhanced_image_metadata_enabled
2500
+ # Collects additional information about the image being created,
2501
+ # including the operating system (OS) version and package list. This
2502
+ # information is used to enhance the overall experience of using EC2
2503
+ # Image Builder. Enabled by default.
2504
+ #
2420
2505
  # @option params [Types::Schedule] :schedule
2421
2506
  # The schedule of the image pipeline.
2422
2507
  #
@@ -2447,6 +2532,7 @@ module Aws::Imagebuilder
2447
2532
  # image_tests_enabled: false,
2448
2533
  # timeout_minutes: 1,
2449
2534
  # },
2535
+ # enhanced_image_metadata_enabled: false,
2450
2536
  # schedule: {
2451
2537
  # schedule_expression: "NonEmptyString",
2452
2538
  # pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
@@ -2574,7 +2660,7 @@ module Aws::Imagebuilder
2574
2660
  params: params,
2575
2661
  config: config)
2576
2662
  context[:gem_name] = 'aws-sdk-imagebuilder'
2577
- context[:gem_version] = '1.3.0'
2663
+ context[:gem_version] = '1.4.0'
2578
2664
  Seahorse::Client::Request.new(handlers, context)
2579
2665
  end
2580
2666
 
@@ -159,6 +159,7 @@ module Aws::Imagebuilder
159
159
  Logging = Shapes::StructureShape.new(name: 'Logging')
160
160
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
161
161
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
162
+ OsVersion = Shapes::StringShape.new(name: 'OsVersion')
162
163
  OutputResources = Shapes::StructureShape.new(name: 'OutputResources')
163
164
  Ownership = Shapes::StringShape.new(name: 'Ownership')
164
165
  PipelineExecutionStartCondition = Shapes::StringShape.new(name: 'PipelineExecutionStartCondition')
@@ -318,6 +319,7 @@ module Aws::Imagebuilder
318
319
  CreateImagePipelineRequest.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: InfrastructureConfigurationArn, required: true, location_name: "infrastructureConfigurationArn"))
319
320
  CreateImagePipelineRequest.add_member(:distribution_configuration_arn, Shapes::ShapeRef.new(shape: DistributionConfigurationArn, location_name: "distributionConfigurationArn"))
320
321
  CreateImagePipelineRequest.add_member(:image_tests_configuration, Shapes::ShapeRef.new(shape: ImageTestsConfiguration, location_name: "imageTestsConfiguration"))
322
+ CreateImagePipelineRequest.add_member(:enhanced_image_metadata_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enhancedImageMetadataEnabled"))
321
323
  CreateImagePipelineRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
322
324
  CreateImagePipelineRequest.add_member(:status, Shapes::ShapeRef.new(shape: PipelineStatus, location_name: "status"))
323
325
  CreateImagePipelineRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
@@ -348,6 +350,7 @@ module Aws::Imagebuilder
348
350
  CreateImageRequest.add_member(:distribution_configuration_arn, Shapes::ShapeRef.new(shape: DistributionConfigurationArn, location_name: "distributionConfigurationArn"))
349
351
  CreateImageRequest.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: InfrastructureConfigurationArn, required: true, location_name: "infrastructureConfigurationArn"))
350
352
  CreateImageRequest.add_member(:image_tests_configuration, Shapes::ShapeRef.new(shape: ImageTestsConfiguration, location_name: "imageTestsConfiguration"))
353
+ CreateImageRequest.add_member(:enhanced_image_metadata_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enhancedImageMetadataEnabled"))
351
354
  CreateImageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
352
355
  CreateImageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
353
356
  CreateImageRequest.struct_class = Types::CreateImageRequest
@@ -535,6 +538,8 @@ module Aws::Imagebuilder
535
538
  Image.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
536
539
  Image.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
537
540
  Image.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
541
+ Image.add_member(:enhanced_image_metadata_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enhancedImageMetadataEnabled"))
542
+ Image.add_member(:os_version, Shapes::ShapeRef.new(shape: OsVersion, location_name: "osVersion"))
538
543
  Image.add_member(:state, Shapes::ShapeRef.new(shape: ImageState, location_name: "state"))
539
544
  Image.add_member(:image_recipe, Shapes::ShapeRef.new(shape: ImageRecipe, location_name: "imageRecipe"))
540
545
  Image.add_member(:source_pipeline_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "sourcePipelineName"))
@@ -551,6 +556,7 @@ module Aws::Imagebuilder
551
556
  ImagePipeline.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
552
557
  ImagePipeline.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
553
558
  ImagePipeline.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
559
+ ImagePipeline.add_member(:enhanced_image_metadata_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enhancedImageMetadataEnabled"))
554
560
  ImagePipeline.add_member(:image_recipe_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "imageRecipeArn"))
555
561
  ImagePipeline.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "infrastructureConfigurationArn"))
556
562
  ImagePipeline.add_member(:distribution_configuration_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "distributionConfigurationArn"))
@@ -598,6 +604,7 @@ module Aws::Imagebuilder
598
604
  ImageSummary.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
599
605
  ImageSummary.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
600
606
  ImageSummary.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
607
+ ImageSummary.add_member(:os_version, Shapes::ShapeRef.new(shape: OsVersion, location_name: "osVersion"))
601
608
  ImageSummary.add_member(:state, Shapes::ShapeRef.new(shape: ImageState, location_name: "state"))
602
609
  ImageSummary.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
603
610
  ImageSummary.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
@@ -615,6 +622,7 @@ module Aws::Imagebuilder
615
622
  ImageVersion.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
616
623
  ImageVersion.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
617
624
  ImageVersion.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
625
+ ImageVersion.add_member(:os_version, Shapes::ShapeRef.new(shape: OsVersion, location_name: "osVersion"))
618
626
  ImageVersion.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
619
627
  ImageVersion.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
620
628
  ImageVersion.struct_class = Types::ImageVersion
@@ -902,6 +910,7 @@ module Aws::Imagebuilder
902
910
  UpdateImagePipelineRequest.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: InfrastructureConfigurationArn, required: true, location_name: "infrastructureConfigurationArn"))
903
911
  UpdateImagePipelineRequest.add_member(:distribution_configuration_arn, Shapes::ShapeRef.new(shape: DistributionConfigurationArn, location_name: "distributionConfigurationArn"))
904
912
  UpdateImagePipelineRequest.add_member(:image_tests_configuration, Shapes::ShapeRef.new(shape: ImageTestsConfiguration, location_name: "imageTestsConfiguration"))
913
+ UpdateImagePipelineRequest.add_member(:enhanced_image_metadata_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enhancedImageMetadataEnabled"))
905
914
  UpdateImagePipelineRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
906
915
  UpdateImagePipelineRequest.add_member(:status, Shapes::ShapeRef.new(shape: PipelineStatus, location_name: "status"))
907
916
  UpdateImagePipelineRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::Imagebuilder
9
- # This class provides a resource oriented interface for Imagebuilder.
10
- # To create a resource object:
11
- # resource = Aws::Imagebuilder::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::Imagebuilder::Client.new(region: 'us-west-2')
15
- # resource = Aws::Imagebuilder::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -572,6 +572,7 @@ module Aws::Imagebuilder
572
572
  # image_tests_enabled: false,
573
573
  # timeout_minutes: 1,
574
574
  # },
575
+ # enhanced_image_metadata_enabled: false,
575
576
  # schedule: {
576
577
  # schedule_expression: "NonEmptyString",
577
578
  # pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
@@ -611,6 +612,13 @@ module Aws::Imagebuilder
611
612
  # The image test configuration of the image pipeline.
612
613
  # @return [Types::ImageTestsConfiguration]
613
614
  #
615
+ # @!attribute [rw] enhanced_image_metadata_enabled
616
+ # Collects additional information about the image being created,
617
+ # including the operating system (OS) version and package list. This
618
+ # information is used to enhance the overall experience of using EC2
619
+ # Image Builder. Enabled by default.
620
+ # @return [Boolean]
621
+ #
614
622
  # @!attribute [rw] schedule
615
623
  # The schedule of the image pipeline.
616
624
  # @return [Types::Schedule]
@@ -639,6 +647,7 @@ module Aws::Imagebuilder
639
647
  :infrastructure_configuration_arn,
640
648
  :distribution_configuration_arn,
641
649
  :image_tests_configuration,
650
+ :enhanced_image_metadata_enabled,
642
651
  :schedule,
643
652
  :status,
644
653
  :tags,
@@ -720,7 +729,16 @@ module Aws::Imagebuilder
720
729
  # @return [Array<Types::ComponentConfiguration>]
721
730
  #
722
731
  # @!attribute [rw] parent_image
723
- # The parent image of the image recipe.
732
+ # The parent image of the image recipe. The value of the string can be
733
+ # the ARN of the parent image or an AMI ID. The format for the ARN
734
+ # follows this example:
735
+ # `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/2019.x.x`.
736
+ # The ARN ends with `/20xx.x.x`, which communicates to EC2 Image
737
+ # Builder that you want to use the latest AMI created in 20xx (year).
738
+ # You can provide the specific version that you want to use, or you
739
+ # can use a wildcard in all of the fields. If you enter an AMI ID for
740
+ # the string value, you must have access to the AMI, and the AMI must
741
+ # be in the same Region in which you are using Image Builder.
724
742
  # @return [String]
725
743
  #
726
744
  # @!attribute [rw] block_device_mappings
@@ -785,6 +803,7 @@ module Aws::Imagebuilder
785
803
  # image_tests_enabled: false,
786
804
  # timeout_minutes: 1,
787
805
  # },
806
+ # enhanced_image_metadata_enabled: false,
788
807
  # tags: {
789
808
  # "TagKey" => "TagValue",
790
809
  # },
@@ -811,6 +830,13 @@ module Aws::Imagebuilder
811
830
  # The image tests configuration of the image.
812
831
  # @return [Types::ImageTestsConfiguration]
813
832
  #
833
+ # @!attribute [rw] enhanced_image_metadata_enabled
834
+ # Collects additional information about the image being created,
835
+ # including the operating system (OS) version and package list. This
836
+ # information is used to enhance the overall experience of using EC2
837
+ # Image Builder. Enabled by default.
838
+ # @return [Boolean]
839
+ #
814
840
  # @!attribute [rw] tags
815
841
  # The tags of the image.
816
842
  # @return [Hash<String,String>]
@@ -829,6 +855,7 @@ module Aws::Imagebuilder
829
855
  :distribution_configuration_arn,
830
856
  :infrastructure_configuration_arn,
831
857
  :image_tests_configuration,
858
+ :enhanced_image_metadata_enabled,
832
859
  :tags,
833
860
  :client_token)
834
861
  include Aws::Structure
@@ -1770,6 +1797,18 @@ module Aws::Imagebuilder
1770
1797
  # The platform of the image.
1771
1798
  # @return [String]
1772
1799
  #
1800
+ # @!attribute [rw] enhanced_image_metadata_enabled
1801
+ # Collects additional information about the image being created,
1802
+ # including the operating system (OS) version and package list. This
1803
+ # information is used to enhance the overall experience of using EC2
1804
+ # Image Builder. Enabled by default.
1805
+ # @return [Boolean]
1806
+ #
1807
+ # @!attribute [rw] os_version
1808
+ # The operating system version of the instance. For example, Amazon
1809
+ # Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
1810
+ # @return [String]
1811
+ #
1773
1812
  # @!attribute [rw] state
1774
1813
  # The state of the image.
1775
1814
  # @return [Types::ImageState]
@@ -1818,6 +1857,8 @@ module Aws::Imagebuilder
1818
1857
  :name,
1819
1858
  :version,
1820
1859
  :platform,
1860
+ :enhanced_image_metadata_enabled,
1861
+ :os_version,
1821
1862
  :state,
1822
1863
  :image_recipe,
1823
1864
  :source_pipeline_name,
@@ -1849,6 +1890,13 @@ module Aws::Imagebuilder
1849
1890
  # The platform of the image pipeline.
1850
1891
  # @return [String]
1851
1892
  #
1893
+ # @!attribute [rw] enhanced_image_metadata_enabled
1894
+ # Collects additional information about the image being created,
1895
+ # including the operating system (OS) version and package list. This
1896
+ # information is used to enhance the overall experience of using EC2
1897
+ # Image Builder. Enabled by default.
1898
+ # @return [Boolean]
1899
+ #
1852
1900
  # @!attribute [rw] image_recipe_arn
1853
1901
  # The Amazon Resource Name (ARN) of the image recipe associated with
1854
1902
  # this image pipeline.
@@ -1903,6 +1951,7 @@ module Aws::Imagebuilder
1903
1951
  :name,
1904
1952
  :description,
1905
1953
  :platform,
1954
+ :enhanced_image_metadata_enabled,
1906
1955
  :image_recipe_arn,
1907
1956
  :infrastructure_configuration_arn,
1908
1957
  :distribution_configuration_arn,
@@ -2060,6 +2109,11 @@ module Aws::Imagebuilder
2060
2109
  # The platform of the image.
2061
2110
  # @return [String]
2062
2111
  #
2112
+ # @!attribute [rw] os_version
2113
+ # The operating system version of the instance. For example, Amazon
2114
+ # Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
2115
+ # @return [String]
2116
+ #
2063
2117
  # @!attribute [rw] state
2064
2118
  # The state of the image.
2065
2119
  # @return [Types::ImageState]
@@ -2087,6 +2141,7 @@ module Aws::Imagebuilder
2087
2141
  :name,
2088
2142
  :version,
2089
2143
  :platform,
2144
+ :os_version,
2090
2145
  :state,
2091
2146
  :owner,
2092
2147
  :date_created,
@@ -2139,6 +2194,11 @@ module Aws::Imagebuilder
2139
2194
  # The platform of the image semantic version.
2140
2195
  # @return [String]
2141
2196
  #
2197
+ # @!attribute [rw] os_version
2198
+ # The operating system version of the instance. For example, Amazon
2199
+ # Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
2200
+ # @return [String]
2201
+ #
2142
2202
  # @!attribute [rw] owner
2143
2203
  # The owner of the image semantic version.
2144
2204
  # @return [String]
@@ -2154,6 +2214,7 @@ module Aws::Imagebuilder
2154
2214
  :name,
2155
2215
  :version,
2156
2216
  :platform,
2217
+ :os_version,
2157
2218
  :owner,
2158
2219
  :date_created)
2159
2220
  include Aws::Structure
@@ -3661,6 +3722,7 @@ module Aws::Imagebuilder
3661
3722
  # image_tests_enabled: false,
3662
3723
  # timeout_minutes: 1,
3663
3724
  # },
3725
+ # enhanced_image_metadata_enabled: false,
3664
3726
  # schedule: {
3665
3727
  # schedule_expression: "NonEmptyString",
3666
3728
  # pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
@@ -3698,6 +3760,13 @@ module Aws::Imagebuilder
3698
3760
  # The image test configuration of the image pipeline.
3699
3761
  # @return [Types::ImageTestsConfiguration]
3700
3762
  #
3763
+ # @!attribute [rw] enhanced_image_metadata_enabled
3764
+ # Collects additional information about the image being created,
3765
+ # including the operating system (OS) version and package list. This
3766
+ # information is used to enhance the overall experience of using EC2
3767
+ # Image Builder. Enabled by default.
3768
+ # @return [Boolean]
3769
+ #
3701
3770
  # @!attribute [rw] schedule
3702
3771
  # The schedule of the image pipeline.
3703
3772
  # @return [Types::Schedule]
@@ -3722,6 +3791,7 @@ module Aws::Imagebuilder
3722
3791
  :infrastructure_configuration_arn,
3723
3792
  :distribution_configuration_arn,
3724
3793
  :image_tests_configuration,
3794
+ :enhanced_image_metadata_enabled,
3725
3795
  :schedule,
3726
3796
  :status,
3727
3797
  :client_token)
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.3.0
4
+ version: 1.4.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: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - imagebuilder