aws-sdk-imagebuilder 1.2.0 → 1.7.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: 41a1fc2aa46971238ead5b558fa459518af4ecf7
4
- data.tar.gz: 26d8458826fa3d99cf32f797dc85d331f8b16c6e
2
+ SHA256:
3
+ metadata.gz: 736e23281eda58fdabdf85a7bf620bd4982ac3518f7fc0f6f863834c90f2e774
4
+ data.tar.gz: 4cee4f7a4fe047b2a016d5034f7ba0301f859fbb326cf9e25eef2e20de30befc
5
5
  SHA512:
6
- metadata.gz: 66c27296434ccee7697ea3d8576969151ae311edc7327a1bac85b43ef1b47ee61b6761741908db4ba2ede29d8fd4eb8ef94b4b531c096a61d5d84eaa73d42a2a
7
- data.tar.gz: eb7cbdc62efe244c24fa4f316b05d002374736de427847dffe9ac4b619027b17dcecf7188b27a8b62cfb629250e4772bda3c7485dd476ae0114dfe5c19d64048
6
+ metadata.gz: f4f6bbedad86121af3f2b804467ecf87f781f4f7447674bfacb48d236ac84d91be56783dccdee5327d51d61936c0ade6498506d8bcb7427ad61060a0ea25ae45
7
+ data.tar.gz: 043eff8f881c829b161931a53c181103d88f336ccf260c2e247cc3a7df11db29f3b98a177dbee586f801228b9a9c92e7ac1d78ff08dfcbd5eeb6775479662a82
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-imagebuilder/customizations'
24
24
  # methods each accept a hash of request parameters and return a response
25
25
  # structure.
26
26
  #
27
+ # imagebuilder = Aws::Imagebuilder::Client.new
28
+ # resp = imagebuilder.cancel_image_creation(params)
29
+ #
27
30
  # See {Client} for more information.
28
31
  #
29
32
  # # Errors
30
33
  #
31
- # Errors returned from EC2 Image Builder all
32
- # extend {Errors::ServiceError}.
34
+ # Errors returned from EC2 Image Builder are defined in the
35
+ # {Errors} module and all extend {Errors::ServiceError}.
33
36
  #
34
37
  # begin
35
38
  # # do stuff
36
39
  # rescue Aws::Imagebuilder::Errors::ServiceError
37
- # # rescues all service API errors
40
+ # # rescues all EC2 Image Builder API errors
38
41
  # end
39
42
  #
40
43
  # See {Errors} for more information.
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-imagebuilder/customizations'
42
45
  # @service
43
46
  module Aws::Imagebuilder
44
47
 
45
- GEM_VERSION = '1.2.0'
48
+ GEM_VERSION = '1.7.0'
46
49
 
47
50
  end
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
30
30
  Aws::Plugins::GlobalConfiguration.add_identifier(:imagebuilder)
31
31
 
32
32
  module Aws::Imagebuilder
33
+ # An API client for Imagebuilder. To construct a client, you need to configure a `:region` and `:credentials`.
34
+ #
35
+ # client = Aws::Imagebuilder::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
+ #
41
+ # For details on configuring region and credentials see
42
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
43
+ #
44
+ # See {#initialize} for a full list of supported configuration options.
33
45
  class Client < Seahorse::Client::Base
34
46
 
35
47
  include Aws::ClientStubs
@@ -93,7 +105,7 @@ module Aws::Imagebuilder
93
105
  # @option options [required, String] :region
94
106
  # The AWS region to connect to. The configured `:region` is
95
107
  # used to determine the service `:endpoint`. When not passed,
96
- # a default `:region` is search for in the following locations:
108
+ # a default `:region` is searched for in the following locations:
97
109
  #
98
110
  # * `Aws.config[:region]`
99
111
  # * `ENV['AWS_REGION']`
@@ -108,6 +120,12 @@ module Aws::Imagebuilder
108
120
  # When set to `true`, a thread polling for endpoints will be running in
109
121
  # the background every 60 secs (default). Defaults to `false`.
110
122
  #
123
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
124
+ # Used only in `adaptive` retry mode. When true, the request will sleep
125
+ # until there is sufficent client side capacity to retry the request.
126
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
127
+ # not retry instead of sleeping.
128
+ #
111
129
  # @option options [Boolean] :client_side_monitoring (false)
112
130
  # When `true`, client-side metrics will be collected for all API requests from
113
131
  # this client.
@@ -132,6 +150,10 @@ module Aws::Imagebuilder
132
150
  # When `true`, an attempt is made to coerce request parameters into
133
151
  # the required types.
134
152
  #
153
+ # @option options [Boolean] :correct_clock_skew (true)
154
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
155
+ # a clock skew correction and retry requests with skewed client clocks.
156
+ #
135
157
  # @option options [Boolean] :disable_host_prefix_injection (false)
136
158
  # Set to true to disable SDK automatically adding host prefix
137
159
  # to default service endpoint when available.
@@ -139,7 +161,7 @@ module Aws::Imagebuilder
139
161
  # @option options [String] :endpoint
140
162
  # The client endpoint is normally constructed from the `:region`
141
163
  # option. You should only configure an `:endpoint` when connecting
142
- # to test endpoints. This should be avalid HTTP(S) URI.
164
+ # to test endpoints. This should be a valid HTTP(S) URI.
143
165
  #
144
166
  # @option options [Integer] :endpoint_cache_max_entries (1000)
145
167
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -154,7 +176,7 @@ module Aws::Imagebuilder
154
176
  # requests fetching endpoints information. Defaults to 60 sec.
155
177
  #
156
178
  # @option options [Boolean] :endpoint_discovery (false)
157
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
179
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
158
180
  #
159
181
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
182
  # The log formatter.
@@ -166,15 +188,29 @@ module Aws::Imagebuilder
166
188
  # The Logger instance to send log messages to. If this option
167
189
  # is not set, logging will be disabled.
168
190
  #
191
+ # @option options [Integer] :max_attempts (3)
192
+ # An integer representing the maximum number attempts that will be made for
193
+ # a single request, including the initial attempt. For example,
194
+ # setting this value to 5 will result in a request being retried up to
195
+ # 4 times. Used in `standard` and `adaptive` retry modes.
196
+ #
169
197
  # @option options [String] :profile ("default")
170
198
  # Used when loading credentials from the shared credentials file
171
199
  # at HOME/.aws/credentials. When not specified, 'default' is used.
172
200
  #
201
+ # @option options [Proc] :retry_backoff
202
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
203
+ # This option is only used in the `legacy` retry mode.
204
+ #
173
205
  # @option options [Float] :retry_base_delay (0.3)
174
- # The base delay in seconds used by the default backoff function.
206
+ # The base delay in seconds used by the default backoff function. This option
207
+ # is only used in the `legacy` retry mode.
175
208
  #
176
209
  # @option options [Symbol] :retry_jitter (:none)
177
- # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
210
+ # A delay randomiser function used by the default backoff function.
211
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
212
+ # otherwise a Proc that takes and returns a number. This option is only used
213
+ # in the `legacy` retry mode.
178
214
  #
179
215
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
216
  #
@@ -182,11 +218,30 @@ module Aws::Imagebuilder
182
218
  # The maximum number of times to retry failed requests. Only
183
219
  # ~ 500 level server errors and certain ~ 400 level client errors
184
220
  # are retried. Generally, these are throttling errors, data
185
- # checksum errors, networking errors, timeout errors and auth
186
- # errors from expired credentials.
221
+ # checksum errors, networking errors, timeout errors, auth errors,
222
+ # endpoint discovery, and errors from expired credentials.
223
+ # This option is only used in the `legacy` retry mode.
187
224
  #
188
225
  # @option options [Integer] :retry_max_delay (0)
189
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
226
+ # The maximum number of seconds to delay between retries (0 for no limit)
227
+ # used by the default backoff function. This option is only used in the
228
+ # `legacy` retry mode.
229
+ #
230
+ # @option options [String] :retry_mode ("legacy")
231
+ # Specifies which retry algorithm to use. Values are:
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
+ #
190
245
  #
191
246
  # @option options [String] :secret_access_key
192
247
  #
@@ -209,16 +264,15 @@ module Aws::Imagebuilder
209
264
  # requests through. Formatted like 'http://proxy.com:123'.
210
265
  #
211
266
  # @option options [Float] :http_open_timeout (15) The number of
212
- # seconds to wait when opening a HTTP session before rasing a
267
+ # seconds to wait when opening a HTTP session before raising a
213
268
  # `Timeout::Error`.
214
269
  #
215
270
  # @option options [Integer] :http_read_timeout (60) The default
216
271
  # number of seconds to wait for response data. This value can
217
- # safely be set
218
- # per-request on the session yeidled by {#session_for}.
272
+ # safely be set per-request on the session.
219
273
  #
220
274
  # @option options [Float] :http_idle_timeout (5) The number of
221
- # seconds a connection is allowed to sit idble before it is
275
+ # seconds a connection is allowed to sit idle before it is
222
276
  # considered stale. Stale connections are closed and removed
223
277
  # from the pool before making a request.
224
278
  #
@@ -227,7 +281,7 @@ module Aws::Imagebuilder
227
281
  # request body. This option has no effect unless the request has
228
282
  # "Expect" header set to "100-continue". Defaults to `nil` which
229
283
  # disables this behaviour. This value can safely be set per
230
- # request on the session yeidled by {#session_for}.
284
+ # request on the session.
231
285
  #
232
286
  # @option options [Boolean] :http_wire_trace (false) When `true`,
233
287
  # HTTP debug output will be sent to the `:logger`.
@@ -318,6 +372,11 @@ module Aws::Imagebuilder
318
372
  # @option params [required, String] :platform
319
373
  # The platform of the component.
320
374
  #
375
+ # @option params [Array<String>] :supported_os_versions
376
+ # The operating system (OS) version supported by the component. If the
377
+ # OS information is available, a prefix match is performed against the
378
+ # parent image OS version during image recipe creation.
379
+ #
321
380
  # @option params [String] :data
322
381
  # The data of the component. Used to specify the data inline. Either
323
382
  # `data` or `uri` can be used to specify the data within the component.
@@ -354,6 +413,7 @@ module Aws::Imagebuilder
354
413
  # description: "NonEmptyString",
355
414
  # change_description: "NonEmptyString",
356
415
  # platform: "Windows", # required, accepts Windows, Linux
416
+ # supported_os_versions: ["OsVersion"],
357
417
  # data: "InlineComponentData",
358
418
  # uri: "Uri",
359
419
  # kms_key_id: "NonEmptyString",
@@ -468,6 +528,12 @@ module Aws::Imagebuilder
468
528
  # @option params [Types::ImageTestsConfiguration] :image_tests_configuration
469
529
  # The image tests configuration of the image.
470
530
  #
531
+ # @option params [Boolean] :enhanced_image_metadata_enabled
532
+ # Collects additional information about the image being created,
533
+ # including the operating system (OS) version and package list. This
534
+ # information is used to enhance the overall experience of using EC2
535
+ # Image Builder. Enabled by default.
536
+ #
471
537
  # @option params [Hash<String,String>] :tags
472
538
  # The tags of the image.
473
539
  #
@@ -493,6 +559,7 @@ module Aws::Imagebuilder
493
559
  # image_tests_enabled: false,
494
560
  # timeout_minutes: 1,
495
561
  # },
562
+ # enhanced_image_metadata_enabled: false,
496
563
  # tags: {
497
564
  # "TagKey" => "TagValue",
498
565
  # },
@@ -539,6 +606,12 @@ module Aws::Imagebuilder
539
606
  # @option params [Types::ImageTestsConfiguration] :image_tests_configuration
540
607
  # The image test configuration of the image pipeline.
541
608
  #
609
+ # @option params [Boolean] :enhanced_image_metadata_enabled
610
+ # Collects additional information about the image being created,
611
+ # including the operating system (OS) version and package list. This
612
+ # information is used to enhance the overall experience of using EC2
613
+ # Image Builder. Enabled by default.
614
+ #
542
615
  # @option params [Types::Schedule] :schedule
543
616
  # The schedule of the image pipeline.
544
617
  #
@@ -572,6 +645,7 @@ module Aws::Imagebuilder
572
645
  # image_tests_enabled: false,
573
646
  # timeout_minutes: 1,
574
647
  # },
648
+ # enhanced_image_metadata_enabled: false,
575
649
  # schedule: {
576
650
  # schedule_expression: "NonEmptyString",
577
651
  # pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
@@ -614,7 +688,16 @@ module Aws::Imagebuilder
614
688
  # The components of the image recipe.
615
689
  #
616
690
  # @option params [required, String] :parent_image
617
- # The parent image of the image recipe.
691
+ # The parent image of the image recipe. The value of the string can be
692
+ # the ARN of the parent image or an AMI ID. The format for the ARN
693
+ # follows this example:
694
+ # `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/2019.x.x`.
695
+ # The ARN ends with `/20xx.x.x`, which communicates to EC2 Image Builder
696
+ # that you want to use the latest AMI created in 20xx (year). You can
697
+ # provide the specific version that you want to use, or you can use a
698
+ # wildcard in all of the fields. If you enter an AMI ID for the string
699
+ # value, you must have access to the AMI, and the AMI must be in the
700
+ # same Region in which you are using Image Builder.
618
701
  #
619
702
  # @option params [Array<Types::InstanceBlockDeviceMapping>] :block_device_mappings
620
703
  # The block device mappings of the image recipe.
@@ -990,6 +1073,8 @@ module Aws::Imagebuilder
990
1073
  # resp.component.change_description #=> String
991
1074
  # resp.component.type #=> String, one of "BUILD", "TEST"
992
1075
  # resp.component.platform #=> String, one of "Windows", "Linux"
1076
+ # resp.component.supported_os_versions #=> Array
1077
+ # resp.component.supported_os_versions[0] #=> String
993
1078
  # resp.component.owner #=> String
994
1079
  # resp.component.data #=> String
995
1080
  # resp.component.kms_key_id #=> String
@@ -1111,6 +1196,8 @@ module Aws::Imagebuilder
1111
1196
  # resp.image.name #=> String
1112
1197
  # resp.image.version #=> String
1113
1198
  # resp.image.platform #=> String, one of "Windows", "Linux"
1199
+ # resp.image.enhanced_image_metadata_enabled #=> Boolean
1200
+ # resp.image.os_version #=> String
1114
1201
  # resp.image.state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
1115
1202
  # resp.image.state.reason #=> String
1116
1203
  # resp.image.image_recipe.arn #=> String
@@ -1222,6 +1309,7 @@ module Aws::Imagebuilder
1222
1309
  # resp.image_pipeline.name #=> String
1223
1310
  # resp.image_pipeline.description #=> String
1224
1311
  # resp.image_pipeline.platform #=> String, one of "Windows", "Linux"
1312
+ # resp.image_pipeline.enhanced_image_metadata_enabled #=> Boolean
1225
1313
  # resp.image_pipeline.image_recipe_arn #=> String
1226
1314
  # resp.image_pipeline.infrastructure_configuration_arn #=> String
1227
1315
  # resp.image_pipeline.distribution_configuration_arn #=> String
@@ -1520,6 +1608,8 @@ module Aws::Imagebuilder
1520
1608
  # * {Types::ListComponentBuildVersionsResponse#component_summary_list #component_summary_list} => Array&lt;Types::ComponentSummary&gt;
1521
1609
  # * {Types::ListComponentBuildVersionsResponse#next_token #next_token} => String
1522
1610
  #
1611
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1612
+ #
1523
1613
  # @example Request syntax with placeholder values
1524
1614
  #
1525
1615
  # resp = client.list_component_build_versions({
@@ -1536,6 +1626,8 @@ module Aws::Imagebuilder
1536
1626
  # resp.component_summary_list[0].name #=> String
1537
1627
  # resp.component_summary_list[0].version #=> String
1538
1628
  # resp.component_summary_list[0].platform #=> String, one of "Windows", "Linux"
1629
+ # resp.component_summary_list[0].supported_os_versions #=> Array
1630
+ # resp.component_summary_list[0].supported_os_versions[0] #=> String
1539
1631
  # resp.component_summary_list[0].type #=> String, one of "BUILD", "TEST"
1540
1632
  # resp.component_summary_list[0].owner #=> String
1541
1633
  # resp.component_summary_list[0].description #=> String
@@ -1580,6 +1672,8 @@ module Aws::Imagebuilder
1580
1672
  # * {Types::ListComponentsResponse#component_version_list #component_version_list} => Array&lt;Types::ComponentVersion&gt;
1581
1673
  # * {Types::ListComponentsResponse#next_token #next_token} => String
1582
1674
  #
1675
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1676
+ #
1583
1677
  # @example Request syntax with placeholder values
1584
1678
  #
1585
1679
  # resp = client.list_components({
@@ -1603,6 +1697,8 @@ module Aws::Imagebuilder
1603
1697
  # resp.component_version_list[0].version #=> String
1604
1698
  # resp.component_version_list[0].description #=> String
1605
1699
  # resp.component_version_list[0].platform #=> String, one of "Windows", "Linux"
1700
+ # resp.component_version_list[0].supported_os_versions #=> Array
1701
+ # resp.component_version_list[0].supported_os_versions[0] #=> String
1606
1702
  # resp.component_version_list[0].type #=> String, one of "BUILD", "TEST"
1607
1703
  # resp.component_version_list[0].owner #=> String
1608
1704
  # resp.component_version_list[0].date_created #=> String
@@ -1635,6 +1731,8 @@ module Aws::Imagebuilder
1635
1731
  # * {Types::ListDistributionConfigurationsResponse#distribution_configuration_summary_list #distribution_configuration_summary_list} => Array&lt;Types::DistributionConfigurationSummary&gt;
1636
1732
  # * {Types::ListDistributionConfigurationsResponse#next_token #next_token} => String
1637
1733
  #
1734
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1735
+ #
1638
1736
  # @example Request syntax with placeholder values
1639
1737
  #
1640
1738
  # resp = client.list_distribution_configurations({
@@ -1692,6 +1790,8 @@ module Aws::Imagebuilder
1692
1790
  # * {Types::ListImageBuildVersionsResponse#image_summary_list #image_summary_list} => Array&lt;Types::ImageSummary&gt;
1693
1791
  # * {Types::ListImageBuildVersionsResponse#next_token #next_token} => String
1694
1792
  #
1793
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1794
+ #
1695
1795
  # @example Request syntax with placeholder values
1696
1796
  #
1697
1797
  # resp = client.list_image_build_versions({
@@ -1714,6 +1814,7 @@ module Aws::Imagebuilder
1714
1814
  # resp.image_summary_list[0].name #=> String
1715
1815
  # resp.image_summary_list[0].version #=> String
1716
1816
  # resp.image_summary_list[0].platform #=> String, one of "Windows", "Linux"
1817
+ # resp.image_summary_list[0].os_version #=> String
1717
1818
  # resp.image_summary_list[0].state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
1718
1819
  # resp.image_summary_list[0].state.reason #=> String
1719
1820
  # resp.image_summary_list[0].owner #=> String
@@ -1760,6 +1861,8 @@ module Aws::Imagebuilder
1760
1861
  # * {Types::ListImagePipelineImagesResponse#image_summary_list #image_summary_list} => Array&lt;Types::ImageSummary&gt;
1761
1862
  # * {Types::ListImagePipelineImagesResponse#next_token #next_token} => String
1762
1863
  #
1864
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1865
+ #
1763
1866
  # @example Request syntax with placeholder values
1764
1867
  #
1765
1868
  # resp = client.list_image_pipeline_images({
@@ -1782,6 +1885,7 @@ module Aws::Imagebuilder
1782
1885
  # resp.image_summary_list[0].name #=> String
1783
1886
  # resp.image_summary_list[0].version #=> String
1784
1887
  # resp.image_summary_list[0].platform #=> String, one of "Windows", "Linux"
1888
+ # resp.image_summary_list[0].os_version #=> String
1785
1889
  # resp.image_summary_list[0].state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
1786
1890
  # resp.image_summary_list[0].state.reason #=> String
1787
1891
  # resp.image_summary_list[0].owner #=> String
@@ -1824,6 +1928,8 @@ module Aws::Imagebuilder
1824
1928
  # * {Types::ListImagePipelinesResponse#image_pipeline_list #image_pipeline_list} => Array&lt;Types::ImagePipeline&gt;
1825
1929
  # * {Types::ListImagePipelinesResponse#next_token #next_token} => String
1826
1930
  #
1931
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1932
+ #
1827
1933
  # @example Request syntax with placeholder values
1828
1934
  #
1829
1935
  # resp = client.list_image_pipelines({
@@ -1845,6 +1951,7 @@ module Aws::Imagebuilder
1845
1951
  # resp.image_pipeline_list[0].name #=> String
1846
1952
  # resp.image_pipeline_list[0].description #=> String
1847
1953
  # resp.image_pipeline_list[0].platform #=> String, one of "Windows", "Linux"
1954
+ # resp.image_pipeline_list[0].enhanced_image_metadata_enabled #=> Boolean
1848
1955
  # resp.image_pipeline_list[0].image_recipe_arn #=> String
1849
1956
  # resp.image_pipeline_list[0].infrastructure_configuration_arn #=> String
1850
1957
  # resp.image_pipeline_list[0].distribution_configuration_arn #=> String
@@ -1895,6 +2002,8 @@ module Aws::Imagebuilder
1895
2002
  # * {Types::ListImageRecipesResponse#image_recipe_summary_list #image_recipe_summary_list} => Array&lt;Types::ImageRecipeSummary&gt;
1896
2003
  # * {Types::ListImageRecipesResponse#next_token #next_token} => String
1897
2004
  #
2005
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2006
+ #
1898
2007
  # @example Request syntax with placeholder values
1899
2008
  #
1900
2009
  # resp = client.list_image_recipes({
@@ -1958,6 +2067,8 @@ module Aws::Imagebuilder
1958
2067
  # * {Types::ListImagesResponse#image_version_list #image_version_list} => Array&lt;Types::ImageVersion&gt;
1959
2068
  # * {Types::ListImagesResponse#next_token #next_token} => String
1960
2069
  #
2070
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2071
+ #
1961
2072
  # @example Request syntax with placeholder values
1962
2073
  #
1963
2074
  # resp = client.list_images({
@@ -1980,6 +2091,7 @@ module Aws::Imagebuilder
1980
2091
  # resp.image_version_list[0].name #=> String
1981
2092
  # resp.image_version_list[0].version #=> String
1982
2093
  # resp.image_version_list[0].platform #=> String, one of "Windows", "Linux"
2094
+ # resp.image_version_list[0].os_version #=> String
1983
2095
  # resp.image_version_list[0].owner #=> String
1984
2096
  # resp.image_version_list[0].date_created #=> String
1985
2097
  # resp.next_token #=> String
@@ -2011,6 +2123,8 @@ module Aws::Imagebuilder
2011
2123
  # * {Types::ListInfrastructureConfigurationsResponse#infrastructure_configuration_summary_list #infrastructure_configuration_summary_list} => Array&lt;Types::InfrastructureConfigurationSummary&gt;
2012
2124
  # * {Types::ListInfrastructureConfigurationsResponse#next_token #next_token} => String
2013
2125
  #
2126
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2127
+ #
2014
2128
  # @example Request syntax with placeholder values
2015
2129
  #
2016
2130
  # resp = client.list_infrastructure_configurations({
@@ -2076,7 +2190,16 @@ module Aws::Imagebuilder
2076
2190
  req.send_request(options)
2077
2191
  end
2078
2192
 
2079
- # Applies a policy to a component.
2193
+ # Applies a policy to a component. We recommend that you call the RAM
2194
+ # API [CreateResourceShare][1] to share resources. If you call the Image
2195
+ # Builder API `PutComponentPolicy`, you must also call the RAM API
2196
+ # [PromoteResourceShareCreatedFromPolicy][2] in order for the resource
2197
+ # to be visible to all principals with whom the resource is shared.
2198
+ #
2199
+ #
2200
+ #
2201
+ # [1]: https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html
2202
+ # [2]: https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html
2080
2203
  #
2081
2204
  # @option params [required, String] :component_arn
2082
2205
  # The Amazon Resource Name (ARN) of the component that this policy
@@ -2111,7 +2234,16 @@ module Aws::Imagebuilder
2111
2234
  req.send_request(options)
2112
2235
  end
2113
2236
 
2114
- # Applies a policy to an image.
2237
+ # Applies a policy to an image. We recommend that you call the RAM API
2238
+ # [CreateResourceShare][1] to share resources. If you call the Image
2239
+ # Builder API `PutImagePolicy`, you must also call the RAM API
2240
+ # [PromoteResourceShareCreatedFromPolicy][2] in order for the resource
2241
+ # to be visible to all principals with whom the resource is shared.
2242
+ #
2243
+ #
2244
+ #
2245
+ # [1]: https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html
2246
+ # [2]: https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html
2115
2247
  #
2116
2248
  # @option params [required, String] :image_arn
2117
2249
  # The Amazon Resource Name (ARN) of the image that this policy should be
@@ -2146,7 +2278,17 @@ module Aws::Imagebuilder
2146
2278
  req.send_request(options)
2147
2279
  end
2148
2280
 
2149
- # Applies a policy to an image recipe.
2281
+ # Applies a policy to an image recipe. We recommend that you call the
2282
+ # RAM API [CreateResourceShare][1] to share resources. If you call the
2283
+ # Image Builder API `PutImageRecipePolicy`, you must also call the RAM
2284
+ # API [PromoteResourceShareCreatedFromPolicy][2] in order for the
2285
+ # resource to be visible to all principals with whom the resource is
2286
+ # shared.
2287
+ #
2288
+ #
2289
+ #
2290
+ # [1]: https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html
2291
+ # [2]: https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html
2150
2292
  #
2151
2293
  # @option params [required, String] :image_recipe_arn
2152
2294
  # The Amazon Resource Name (ARN) of the image recipe that this policy
@@ -2366,6 +2508,12 @@ module Aws::Imagebuilder
2366
2508
  # @option params [Types::ImageTestsConfiguration] :image_tests_configuration
2367
2509
  # The image test configuration of the image pipeline.
2368
2510
  #
2511
+ # @option params [Boolean] :enhanced_image_metadata_enabled
2512
+ # Collects additional information about the image being created,
2513
+ # including the operating system (OS) version and package list. This
2514
+ # information is used to enhance the overall experience of using EC2
2515
+ # Image Builder. Enabled by default.
2516
+ #
2369
2517
  # @option params [Types::Schedule] :schedule
2370
2518
  # The schedule of the image pipeline.
2371
2519
  #
@@ -2396,6 +2544,7 @@ module Aws::Imagebuilder
2396
2544
  # image_tests_enabled: false,
2397
2545
  # timeout_minutes: 1,
2398
2546
  # },
2547
+ # enhanced_image_metadata_enabled: false,
2399
2548
  # schedule: {
2400
2549
  # schedule_expression: "NonEmptyString",
2401
2550
  # pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
@@ -2523,7 +2672,7 @@ module Aws::Imagebuilder
2523
2672
  params: params,
2524
2673
  config: config)
2525
2674
  context[:gem_name] = 'aws-sdk-imagebuilder'
2526
- context[:gem_version] = '1.2.0'
2675
+ context[:gem_version] = '1.7.0'
2527
2676
  Seahorse::Client::Request.new(handlers, context)
2528
2677
  end
2529
2678
 
@@ -159,6 +159,8 @@ 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')
163
+ OsVersionList = Shapes::ListShape.new(name: 'OsVersionList')
162
164
  OutputResources = Shapes::StructureShape.new(name: 'OutputResources')
163
165
  Ownership = Shapes::StringShape.new(name: 'Ownership')
164
166
  PipelineExecutionStartCondition = Shapes::StringShape.new(name: 'PipelineExecutionStartCondition')
@@ -244,6 +246,7 @@ module Aws::Imagebuilder
244
246
  Component.add_member(:change_description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "changeDescription"))
245
247
  Component.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
246
248
  Component.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
249
+ Component.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
247
250
  Component.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
248
251
  Component.add_member(:data, Shapes::ShapeRef.new(shape: ComponentData, location_name: "data"))
249
252
  Component.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
@@ -261,6 +264,7 @@ module Aws::Imagebuilder
261
264
  ComponentSummary.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
262
265
  ComponentSummary.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
263
266
  ComponentSummary.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
267
+ ComponentSummary.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
264
268
  ComponentSummary.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
265
269
  ComponentSummary.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
266
270
  ComponentSummary.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
@@ -276,6 +280,7 @@ module Aws::Imagebuilder
276
280
  ComponentVersion.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
277
281
  ComponentVersion.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
278
282
  ComponentVersion.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
283
+ ComponentVersion.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
279
284
  ComponentVersion.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
280
285
  ComponentVersion.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
281
286
  ComponentVersion.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
@@ -288,6 +293,7 @@ module Aws::Imagebuilder
288
293
  CreateComponentRequest.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
289
294
  CreateComponentRequest.add_member(:change_description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "changeDescription"))
290
295
  CreateComponentRequest.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, required: true, location_name: "platform"))
296
+ CreateComponentRequest.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
291
297
  CreateComponentRequest.add_member(:data, Shapes::ShapeRef.new(shape: InlineComponentData, location_name: "data"))
292
298
  CreateComponentRequest.add_member(:uri, Shapes::ShapeRef.new(shape: Uri, location_name: "uri"))
293
299
  CreateComponentRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
@@ -318,6 +324,7 @@ module Aws::Imagebuilder
318
324
  CreateImagePipelineRequest.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: InfrastructureConfigurationArn, required: true, location_name: "infrastructureConfigurationArn"))
319
325
  CreateImagePipelineRequest.add_member(:distribution_configuration_arn, Shapes::ShapeRef.new(shape: DistributionConfigurationArn, location_name: "distributionConfigurationArn"))
320
326
  CreateImagePipelineRequest.add_member(:image_tests_configuration, Shapes::ShapeRef.new(shape: ImageTestsConfiguration, location_name: "imageTestsConfiguration"))
327
+ CreateImagePipelineRequest.add_member(:enhanced_image_metadata_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enhancedImageMetadataEnabled"))
321
328
  CreateImagePipelineRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
322
329
  CreateImagePipelineRequest.add_member(:status, Shapes::ShapeRef.new(shape: PipelineStatus, location_name: "status"))
323
330
  CreateImagePipelineRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
@@ -348,6 +355,7 @@ module Aws::Imagebuilder
348
355
  CreateImageRequest.add_member(:distribution_configuration_arn, Shapes::ShapeRef.new(shape: DistributionConfigurationArn, location_name: "distributionConfigurationArn"))
349
356
  CreateImageRequest.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: InfrastructureConfigurationArn, required: true, location_name: "infrastructureConfigurationArn"))
350
357
  CreateImageRequest.add_member(:image_tests_configuration, Shapes::ShapeRef.new(shape: ImageTestsConfiguration, location_name: "imageTestsConfiguration"))
358
+ CreateImageRequest.add_member(:enhanced_image_metadata_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enhancedImageMetadataEnabled"))
351
359
  CreateImageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
352
360
  CreateImageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
353
361
  CreateImageRequest.struct_class = Types::CreateImageRequest
@@ -535,6 +543,8 @@ module Aws::Imagebuilder
535
543
  Image.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
536
544
  Image.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
537
545
  Image.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
546
+ Image.add_member(:enhanced_image_metadata_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enhancedImageMetadataEnabled"))
547
+ Image.add_member(:os_version, Shapes::ShapeRef.new(shape: OsVersion, location_name: "osVersion"))
538
548
  Image.add_member(:state, Shapes::ShapeRef.new(shape: ImageState, location_name: "state"))
539
549
  Image.add_member(:image_recipe, Shapes::ShapeRef.new(shape: ImageRecipe, location_name: "imageRecipe"))
540
550
  Image.add_member(:source_pipeline_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "sourcePipelineName"))
@@ -551,6 +561,7 @@ module Aws::Imagebuilder
551
561
  ImagePipeline.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
552
562
  ImagePipeline.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
553
563
  ImagePipeline.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
564
+ ImagePipeline.add_member(:enhanced_image_metadata_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enhancedImageMetadataEnabled"))
554
565
  ImagePipeline.add_member(:image_recipe_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "imageRecipeArn"))
555
566
  ImagePipeline.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "infrastructureConfigurationArn"))
556
567
  ImagePipeline.add_member(:distribution_configuration_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "distributionConfigurationArn"))
@@ -598,6 +609,7 @@ module Aws::Imagebuilder
598
609
  ImageSummary.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
599
610
  ImageSummary.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
600
611
  ImageSummary.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
612
+ ImageSummary.add_member(:os_version, Shapes::ShapeRef.new(shape: OsVersion, location_name: "osVersion"))
601
613
  ImageSummary.add_member(:state, Shapes::ShapeRef.new(shape: ImageState, location_name: "state"))
602
614
  ImageSummary.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
603
615
  ImageSummary.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
@@ -615,6 +627,7 @@ module Aws::Imagebuilder
615
627
  ImageVersion.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
616
628
  ImageVersion.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
617
629
  ImageVersion.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
630
+ ImageVersion.add_member(:os_version, Shapes::ShapeRef.new(shape: OsVersion, location_name: "osVersion"))
618
631
  ImageVersion.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
619
632
  ImageVersion.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
620
633
  ImageVersion.struct_class = Types::ImageVersion
@@ -802,6 +815,8 @@ module Aws::Imagebuilder
802
815
  Logging.add_member(:s3_logs, Shapes::ShapeRef.new(shape: S3Logs, location_name: "s3Logs"))
803
816
  Logging.struct_class = Types::Logging
804
817
 
818
+ OsVersionList.member = Shapes::ShapeRef.new(shape: OsVersion)
819
+
805
820
  OutputResources.add_member(:amis, Shapes::ShapeRef.new(shape: AmiList, location_name: "amis"))
806
821
  OutputResources.struct_class = Types::OutputResources
807
822
 
@@ -902,6 +917,7 @@ module Aws::Imagebuilder
902
917
  UpdateImagePipelineRequest.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: InfrastructureConfigurationArn, required: true, location_name: "infrastructureConfigurationArn"))
903
918
  UpdateImagePipelineRequest.add_member(:distribution_configuration_arn, Shapes::ShapeRef.new(shape: DistributionConfigurationArn, location_name: "distributionConfigurationArn"))
904
919
  UpdateImagePipelineRequest.add_member(:image_tests_configuration, Shapes::ShapeRef.new(shape: ImageTestsConfiguration, location_name: "imageTestsConfiguration"))
920
+ UpdateImagePipelineRequest.add_member(:enhanced_image_metadata_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enhancedImageMetadataEnabled"))
905
921
  UpdateImagePipelineRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
906
922
  UpdateImagePipelineRequest.add_member(:status, Shapes::ShapeRef.new(shape: PipelineStatus, location_name: "status"))
907
923
  UpdateImagePipelineRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
@@ -6,6 +6,44 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::Imagebuilder
9
+
10
+ # When Imagebuilder returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::Imagebuilder::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all Imagebuilder errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::Imagebuilder::Errors::ServiceError
18
+ # # rescues all Imagebuilder API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {CallRateLimitExceededException}
29
+ # * {ClientException}
30
+ # * {ForbiddenException}
31
+ # * {IdempotentParameterMismatchException}
32
+ # * {InvalidPaginationTokenException}
33
+ # * {InvalidParameterCombinationException}
34
+ # * {InvalidParameterException}
35
+ # * {InvalidParameterValueException}
36
+ # * {InvalidRequestException}
37
+ # * {InvalidVersionNumberException}
38
+ # * {ResourceAlreadyExistsException}
39
+ # * {ResourceDependencyException}
40
+ # * {ResourceInUseException}
41
+ # * {ResourceNotFoundException}
42
+ # * {ServiceException}
43
+ # * {ServiceUnavailableException}
44
+ #
45
+ # Additionally, error classes are dynamically generated for service errors based on the error code
46
+ # if they are not defined above.
9
47
  module Errors
10
48
 
11
49
  extend Aws::Errors::DynamicErrors
@@ -23,7 +61,6 @@ module Aws::Imagebuilder
23
61
  def message
24
62
  @message || @data[:message]
25
63
  end
26
-
27
64
  end
28
65
 
29
66
  class ClientException < ServiceError
@@ -39,7 +76,6 @@ module Aws::Imagebuilder
39
76
  def message
40
77
  @message || @data[:message]
41
78
  end
42
-
43
79
  end
44
80
 
45
81
  class ForbiddenException < ServiceError
@@ -55,7 +91,6 @@ module Aws::Imagebuilder
55
91
  def message
56
92
  @message || @data[:message]
57
93
  end
58
-
59
94
  end
60
95
 
61
96
  class IdempotentParameterMismatchException < ServiceError
@@ -71,7 +106,6 @@ module Aws::Imagebuilder
71
106
  def message
72
107
  @message || @data[:message]
73
108
  end
74
-
75
109
  end
76
110
 
77
111
  class InvalidPaginationTokenException < ServiceError
@@ -87,7 +121,6 @@ module Aws::Imagebuilder
87
121
  def message
88
122
  @message || @data[:message]
89
123
  end
90
-
91
124
  end
92
125
 
93
126
  class InvalidParameterCombinationException < ServiceError
@@ -103,7 +136,6 @@ module Aws::Imagebuilder
103
136
  def message
104
137
  @message || @data[:message]
105
138
  end
106
-
107
139
  end
108
140
 
109
141
  class InvalidParameterException < ServiceError
@@ -119,7 +151,6 @@ module Aws::Imagebuilder
119
151
  def message
120
152
  @message || @data[:message]
121
153
  end
122
-
123
154
  end
124
155
 
125
156
  class InvalidParameterValueException < ServiceError
@@ -135,7 +166,6 @@ module Aws::Imagebuilder
135
166
  def message
136
167
  @message || @data[:message]
137
168
  end
138
-
139
169
  end
140
170
 
141
171
  class InvalidRequestException < ServiceError
@@ -151,7 +181,6 @@ module Aws::Imagebuilder
151
181
  def message
152
182
  @message || @data[:message]
153
183
  end
154
-
155
184
  end
156
185
 
157
186
  class InvalidVersionNumberException < ServiceError
@@ -167,7 +196,6 @@ module Aws::Imagebuilder
167
196
  def message
168
197
  @message || @data[:message]
169
198
  end
170
-
171
199
  end
172
200
 
173
201
  class ResourceAlreadyExistsException < ServiceError
@@ -183,7 +211,6 @@ module Aws::Imagebuilder
183
211
  def message
184
212
  @message || @data[:message]
185
213
  end
186
-
187
214
  end
188
215
 
189
216
  class ResourceDependencyException < ServiceError
@@ -199,7 +226,6 @@ module Aws::Imagebuilder
199
226
  def message
200
227
  @message || @data[:message]
201
228
  end
202
-
203
229
  end
204
230
 
205
231
  class ResourceInUseException < ServiceError
@@ -215,7 +241,6 @@ module Aws::Imagebuilder
215
241
  def message
216
242
  @message || @data[:message]
217
243
  end
218
-
219
244
  end
220
245
 
221
246
  class ResourceNotFoundException < ServiceError
@@ -231,7 +256,6 @@ module Aws::Imagebuilder
231
256
  def message
232
257
  @message || @data[:message]
233
258
  end
234
-
235
259
  end
236
260
 
237
261
  class ServiceException < ServiceError
@@ -247,7 +271,6 @@ module Aws::Imagebuilder
247
271
  def message
248
272
  @message || @data[:message]
249
273
  end
250
-
251
274
  end
252
275
 
253
276
  class ServiceUnavailableException < ServiceError
@@ -263,7 +286,6 @@ module Aws::Imagebuilder
263
286
  def message
264
287
  @message || @data[:message]
265
288
  end
266
-
267
289
  end
268
290
 
269
291
  end
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::Imagebuilder
9
+
9
10
  class Resource
10
11
 
11
12
  # @param options ({})
@@ -194,6 +194,12 @@ module Aws::Imagebuilder
194
194
  # The platform of the component.
195
195
  # @return [String]
196
196
  #
197
+ # @!attribute [rw] supported_os_versions
198
+ # The operating system (OS) version supported by the component. If the
199
+ # OS information is available, a prefix match is performed against the
200
+ # parent image OS version during image recipe creation.
201
+ # @return [Array<String>]
202
+ #
197
203
  # @!attribute [rw] owner
198
204
  # The owner of the component.
199
205
  # @return [String]
@@ -228,6 +234,7 @@ module Aws::Imagebuilder
228
234
  :change_description,
229
235
  :type,
230
236
  :platform,
237
+ :supported_os_versions,
231
238
  :owner,
232
239
  :data,
233
240
  :kms_key_id,
@@ -275,6 +282,12 @@ module Aws::Imagebuilder
275
282
  # The platform of the component.
276
283
  # @return [String]
277
284
  #
285
+ # @!attribute [rw] supported_os_versions
286
+ # The operating system (OS) version supported by the component. If the
287
+ # OS information is available, a prefix match is performed against the
288
+ # parent image OS version during image recipe creation.
289
+ # @return [Array<String>]
290
+ #
278
291
  # @!attribute [rw] type
279
292
  # The type of the component denotes whether the component is used to
280
293
  # build the image or only to test it.
@@ -307,6 +320,7 @@ module Aws::Imagebuilder
307
320
  :name,
308
321
  :version,
309
322
  :platform,
323
+ :supported_os_versions,
310
324
  :type,
311
325
  :owner,
312
326
  :description,
@@ -338,6 +352,12 @@ module Aws::Imagebuilder
338
352
  # The platform of the component.
339
353
  # @return [String]
340
354
  #
355
+ # @!attribute [rw] supported_os_versions
356
+ # The operating system (OS) version supported by the component. If the
357
+ # OS information is available, a prefix match is performed against the
358
+ # parent image OS version during image recipe creation.
359
+ # @return [Array<String>]
360
+ #
341
361
  # @!attribute [rw] type
342
362
  # The type of the component denotes whether the component is used to
343
363
  # build the image or only to test it.
@@ -359,6 +379,7 @@ module Aws::Imagebuilder
359
379
  :version,
360
380
  :description,
361
381
  :platform,
382
+ :supported_os_versions,
362
383
  :type,
363
384
  :owner,
364
385
  :date_created)
@@ -374,6 +395,7 @@ module Aws::Imagebuilder
374
395
  # description: "NonEmptyString",
375
396
  # change_description: "NonEmptyString",
376
397
  # platform: "Windows", # required, accepts Windows, Linux
398
+ # supported_os_versions: ["OsVersion"],
377
399
  # data: "InlineComponentData",
378
400
  # uri: "Uri",
379
401
  # kms_key_id: "NonEmptyString",
@@ -408,6 +430,12 @@ module Aws::Imagebuilder
408
430
  # The platform of the component.
409
431
  # @return [String]
410
432
  #
433
+ # @!attribute [rw] supported_os_versions
434
+ # The operating system (OS) version supported by the component. If the
435
+ # OS information is available, a prefix match is performed against the
436
+ # parent image OS version during image recipe creation.
437
+ # @return [Array<String>]
438
+ #
411
439
  # @!attribute [rw] data
412
440
  # The data of the component. Used to specify the data inline. Either
413
441
  # `data` or `uri` can be used to specify the data within the
@@ -444,6 +472,7 @@ module Aws::Imagebuilder
444
472
  :description,
445
473
  :change_description,
446
474
  :platform,
475
+ :supported_os_versions,
447
476
  :data,
448
477
  :uri,
449
478
  :kms_key_id,
@@ -572,6 +601,7 @@ module Aws::Imagebuilder
572
601
  # image_tests_enabled: false,
573
602
  # timeout_minutes: 1,
574
603
  # },
604
+ # enhanced_image_metadata_enabled: false,
575
605
  # schedule: {
576
606
  # schedule_expression: "NonEmptyString",
577
607
  # pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
@@ -611,6 +641,13 @@ module Aws::Imagebuilder
611
641
  # The image test configuration of the image pipeline.
612
642
  # @return [Types::ImageTestsConfiguration]
613
643
  #
644
+ # @!attribute [rw] enhanced_image_metadata_enabled
645
+ # Collects additional information about the image being created,
646
+ # including the operating system (OS) version and package list. This
647
+ # information is used to enhance the overall experience of using EC2
648
+ # Image Builder. Enabled by default.
649
+ # @return [Boolean]
650
+ #
614
651
  # @!attribute [rw] schedule
615
652
  # The schedule of the image pipeline.
616
653
  # @return [Types::Schedule]
@@ -639,6 +676,7 @@ module Aws::Imagebuilder
639
676
  :infrastructure_configuration_arn,
640
677
  :distribution_configuration_arn,
641
678
  :image_tests_configuration,
679
+ :enhanced_image_metadata_enabled,
642
680
  :schedule,
643
681
  :status,
644
682
  :tags,
@@ -720,7 +758,16 @@ module Aws::Imagebuilder
720
758
  # @return [Array<Types::ComponentConfiguration>]
721
759
  #
722
760
  # @!attribute [rw] parent_image
723
- # The parent image of the image recipe.
761
+ # The parent image of the image recipe. The value of the string can be
762
+ # the ARN of the parent image or an AMI ID. The format for the ARN
763
+ # follows this example:
764
+ # `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/2019.x.x`.
765
+ # The ARN ends with `/20xx.x.x`, which communicates to EC2 Image
766
+ # Builder that you want to use the latest AMI created in 20xx (year).
767
+ # You can provide the specific version that you want to use, or you
768
+ # can use a wildcard in all of the fields. If you enter an AMI ID for
769
+ # the string value, you must have access to the AMI, and the AMI must
770
+ # be in the same Region in which you are using Image Builder.
724
771
  # @return [String]
725
772
  #
726
773
  # @!attribute [rw] block_device_mappings
@@ -785,6 +832,7 @@ module Aws::Imagebuilder
785
832
  # image_tests_enabled: false,
786
833
  # timeout_minutes: 1,
787
834
  # },
835
+ # enhanced_image_metadata_enabled: false,
788
836
  # tags: {
789
837
  # "TagKey" => "TagValue",
790
838
  # },
@@ -811,6 +859,13 @@ module Aws::Imagebuilder
811
859
  # The image tests configuration of the image.
812
860
  # @return [Types::ImageTestsConfiguration]
813
861
  #
862
+ # @!attribute [rw] enhanced_image_metadata_enabled
863
+ # Collects additional information about the image being created,
864
+ # including the operating system (OS) version and package list. This
865
+ # information is used to enhance the overall experience of using EC2
866
+ # Image Builder. Enabled by default.
867
+ # @return [Boolean]
868
+ #
814
869
  # @!attribute [rw] tags
815
870
  # The tags of the image.
816
871
  # @return [Hash<String,String>]
@@ -829,6 +884,7 @@ module Aws::Imagebuilder
829
884
  :distribution_configuration_arn,
830
885
  :infrastructure_configuration_arn,
831
886
  :image_tests_configuration,
887
+ :enhanced_image_metadata_enabled,
832
888
  :tags,
833
889
  :client_token)
834
890
  include Aws::Structure
@@ -1770,6 +1826,18 @@ module Aws::Imagebuilder
1770
1826
  # The platform of the image.
1771
1827
  # @return [String]
1772
1828
  #
1829
+ # @!attribute [rw] enhanced_image_metadata_enabled
1830
+ # Collects additional information about the image being created,
1831
+ # including the operating system (OS) version and package list. This
1832
+ # information is used to enhance the overall experience of using EC2
1833
+ # Image Builder. Enabled by default.
1834
+ # @return [Boolean]
1835
+ #
1836
+ # @!attribute [rw] os_version
1837
+ # The operating system version of the instance. For example, Amazon
1838
+ # Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
1839
+ # @return [String]
1840
+ #
1773
1841
  # @!attribute [rw] state
1774
1842
  # The state of the image.
1775
1843
  # @return [Types::ImageState]
@@ -1818,6 +1886,8 @@ module Aws::Imagebuilder
1818
1886
  :name,
1819
1887
  :version,
1820
1888
  :platform,
1889
+ :enhanced_image_metadata_enabled,
1890
+ :os_version,
1821
1891
  :state,
1822
1892
  :image_recipe,
1823
1893
  :source_pipeline_name,
@@ -1849,6 +1919,13 @@ module Aws::Imagebuilder
1849
1919
  # The platform of the image pipeline.
1850
1920
  # @return [String]
1851
1921
  #
1922
+ # @!attribute [rw] enhanced_image_metadata_enabled
1923
+ # Collects additional information about the image being created,
1924
+ # including the operating system (OS) version and package list. This
1925
+ # information is used to enhance the overall experience of using EC2
1926
+ # Image Builder. Enabled by default.
1927
+ # @return [Boolean]
1928
+ #
1852
1929
  # @!attribute [rw] image_recipe_arn
1853
1930
  # The Amazon Resource Name (ARN) of the image recipe associated with
1854
1931
  # this image pipeline.
@@ -1903,6 +1980,7 @@ module Aws::Imagebuilder
1903
1980
  :name,
1904
1981
  :description,
1905
1982
  :platform,
1983
+ :enhanced_image_metadata_enabled,
1906
1984
  :image_recipe_arn,
1907
1985
  :infrastructure_configuration_arn,
1908
1986
  :distribution_configuration_arn,
@@ -2060,6 +2138,11 @@ module Aws::Imagebuilder
2060
2138
  # The platform of the image.
2061
2139
  # @return [String]
2062
2140
  #
2141
+ # @!attribute [rw] os_version
2142
+ # The operating system version of the instance. For example, Amazon
2143
+ # Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
2144
+ # @return [String]
2145
+ #
2063
2146
  # @!attribute [rw] state
2064
2147
  # The state of the image.
2065
2148
  # @return [Types::ImageState]
@@ -2087,6 +2170,7 @@ module Aws::Imagebuilder
2087
2170
  :name,
2088
2171
  :version,
2089
2172
  :platform,
2173
+ :os_version,
2090
2174
  :state,
2091
2175
  :owner,
2092
2176
  :date_created,
@@ -2139,6 +2223,11 @@ module Aws::Imagebuilder
2139
2223
  # The platform of the image semantic version.
2140
2224
  # @return [String]
2141
2225
  #
2226
+ # @!attribute [rw] os_version
2227
+ # The operating system version of the instance. For example, Amazon
2228
+ # Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
2229
+ # @return [String]
2230
+ #
2142
2231
  # @!attribute [rw] owner
2143
2232
  # The owner of the image semantic version.
2144
2233
  # @return [String]
@@ -2154,6 +2243,7 @@ module Aws::Imagebuilder
2154
2243
  :name,
2155
2244
  :version,
2156
2245
  :platform,
2246
+ :os_version,
2157
2247
  :owner,
2158
2248
  :date_created)
2159
2249
  include Aws::Structure
@@ -3661,6 +3751,7 @@ module Aws::Imagebuilder
3661
3751
  # image_tests_enabled: false,
3662
3752
  # timeout_minutes: 1,
3663
3753
  # },
3754
+ # enhanced_image_metadata_enabled: false,
3664
3755
  # schedule: {
3665
3756
  # schedule_expression: "NonEmptyString",
3666
3757
  # pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
@@ -3698,6 +3789,13 @@ module Aws::Imagebuilder
3698
3789
  # The image test configuration of the image pipeline.
3699
3790
  # @return [Types::ImageTestsConfiguration]
3700
3791
  #
3792
+ # @!attribute [rw] enhanced_image_metadata_enabled
3793
+ # Collects additional information about the image being created,
3794
+ # including the operating system (OS) version and package list. This
3795
+ # information is used to enhance the overall experience of using EC2
3796
+ # Image Builder. Enabled by default.
3797
+ # @return [Boolean]
3798
+ #
3701
3799
  # @!attribute [rw] schedule
3702
3800
  # The schedule of the image pipeline.
3703
3801
  # @return [Types::Schedule]
@@ -3722,6 +3820,7 @@ module Aws::Imagebuilder
3722
3820
  :infrastructure_configuration_arn,
3723
3821
  :distribution_configuration_arn,
3724
3822
  :image_tests_configuration,
3823
+ :enhanced_image_metadata_enabled,
3725
3824
  :schedule,
3726
3825
  :status,
3727
3826
  :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.2.0
4
+ version: 1.7.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-02-21 00:00:00.000000000 Z
11
+ date: 2020-05-28 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