aws-sdk-imagebuilder 1.34.0 → 1.38.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
2
  SHA256:
3
- metadata.gz: fddd64311508f248d270e408e700763b4e0d4f3edc9fc572c355a2d32cc2c46c
4
- data.tar.gz: 7b7eefaf9a5ad025f736681d3d18aca74ca1dd53e45b54189f79aec43bf26372
3
+ metadata.gz: 5476da09fb303d6608c35ace326b2cc6790fa4d4ed94028798b739430136ad69
4
+ data.tar.gz: 465f59fc628e5089fad50cada1f66bc3a4a124fa45b5d94571fda2f69e690d7f
5
5
  SHA512:
6
- metadata.gz: 88ad49c5c8d06c12577e6c55425ac500d6483f44e8199822e92fccbcfbb84d723659ac12436447b43a5a17503871d756717028cf7e5437bb312ad2225301dcad
7
- data.tar.gz: ddd34e2f245fcc6add07322553d6ef46fba4f8de1e19dd69a2f9f5181b6c3d4a84671c34edc169ed04494437522e1b0d1479dcfd1f694cc94d3b13c432a8fc7b
6
+ metadata.gz: 466d6718d3af8aaa4adb034b97eb612e19115b6df8fd8c763e8654367cc007b355c4d103509e3176f64c8d015ef387b16bca074b864f1fa6312f90c172efe160
7
+ data.tar.gz: 6a5a67324dc48c7357574d254cafdd5ec557552522557cce8491c2b5b6160813cf5bfe604b37083a65fba596769358d3f70082f6ac55908f6790a1e4547a64fc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.38.0 (2022-02-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.37.0 (2021-12-21)
10
+ ------------------
11
+
12
+ * Feature - Added a note to infrastructure configuration actions and data types concerning delivery of Image Builder event messages to encrypted SNS topics. The key that's used to encrypt the SNS topic must reside in the account that Image Builder runs under.
13
+
14
+ 1.36.0 (2021-12-20)
15
+ ------------------
16
+
17
+ * Feature - This release adds support for importing and exporting VM Images as part of the Image Creation workflow via EC2 VM Import/Export.
18
+
19
+ 1.35.0 (2021-11-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.34.0 (2021-11-24)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.34.0
1
+ 1.38.0
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
31
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
30
32
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
33
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
34
 
@@ -73,6 +75,8 @@ module Aws::Imagebuilder
73
75
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
76
  add_plugin(Aws::Plugins::TransferEncoding)
75
77
  add_plugin(Aws::Plugins::HttpChecksum)
78
+ add_plugin(Aws::Plugins::DefaultsMode)
79
+ add_plugin(Aws::Plugins::RecursionDetection)
76
80
  add_plugin(Aws::Plugins::SignatureV4)
77
81
  add_plugin(Aws::Plugins::Protocols::RestJson)
78
82
 
@@ -119,7 +123,9 @@ module Aws::Imagebuilder
119
123
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
124
  # are very aggressive. Construct and pass an instance of
121
125
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
126
+ # enable retries and extended timeouts. Instance profile credential
127
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
128
+ # to true.
123
129
  #
124
130
  # @option options [required, String] :region
125
131
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +179,10 @@ module Aws::Imagebuilder
173
179
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
180
  # a clock skew correction and retry requests with skewed client clocks.
175
181
  #
182
+ # @option options [String] :defaults_mode ("legacy")
183
+ # See {Aws::DefaultsModeConfiguration} for a list of the
184
+ # accepted modes and the configuration defaults that are included.
185
+ #
176
186
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
187
  # Set to true to disable SDK automatically adding host prefix
178
188
  # to default service endpoint when available.
@@ -295,7 +305,7 @@ module Aws::Imagebuilder
295
305
  # seconds to wait when opening a HTTP session before raising a
296
306
  # `Timeout::Error`.
297
307
  #
298
- # @option options [Integer] :http_read_timeout (60) The default
308
+ # @option options [Float] :http_read_timeout (60) The default
299
309
  # number of seconds to wait for response data. This value can
300
310
  # safely be set per-request on the session.
301
311
  #
@@ -311,6 +321,9 @@ module Aws::Imagebuilder
311
321
  # disables this behaviour. This value can safely be set per
312
322
  # request on the session.
313
323
  #
324
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
325
+ # in seconds.
326
+ #
314
327
  # @option options [Boolean] :http_wire_trace (false) When `true`,
315
328
  # HTTP debug output will be sent to the `:logger`.
316
329
  #
@@ -344,11 +357,17 @@ module Aws::Imagebuilder
344
357
  # cancel.
345
358
  #
346
359
  # @option params [required, String] :client_token
347
- # The idempotency token used to make this request idempotent.
360
+ # Unique, case-sensitive identifier you provide to ensure idempotency of
361
+ # the request. For more information, see [Ensuring idempotency][1] in
362
+ # the *Amazon EC2 API Reference*.
348
363
  #
349
364
  # **A suitable default value is auto-generated.** You should normally
350
365
  # not need to pass this option.**
351
366
  #
367
+ #
368
+ #
369
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
370
+ #
352
371
  # @return [Types::CancelImageCreationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
353
372
  #
354
373
  # * {Types::CancelImageCreationResponse#request_id #request_id} => String
@@ -699,6 +718,12 @@ module Aws::Imagebuilder
699
718
  # set_default_version: false,
700
719
  # },
701
720
  # ],
721
+ # s3_export_configuration: {
722
+ # role_name: "NonEmptyString", # required
723
+ # disk_image_format: "VMDK", # required, accepts VMDK, RAW, VHD
724
+ # s3_bucket: "NonEmptyString", # required
725
+ # s3_prefix: "NonEmptyString",
726
+ # },
702
727
  # },
703
728
  # ],
704
729
  # tags: {
@@ -1069,7 +1094,15 @@ module Aws::Imagebuilder
1069
1094
  # workflow fails.
1070
1095
  #
1071
1096
  # @option params [String] :sns_topic_arn
1072
- # The SNS topic on which to send image build events.
1097
+ # The Amazon Resource Name (ARN) for the SNS topic to which we send
1098
+ # image build event notifications.
1099
+ #
1100
+ # <note markdown="1"> EC2 Image Builder is unable to send notifications to SNS topics that
1101
+ # are encrypted using keys from other accounts. The key that is used to
1102
+ # encrypt the SNS topic must reside in the account that the Image
1103
+ # Builder service runs under.
1104
+ #
1105
+ # </note>
1073
1106
  #
1074
1107
  # @option params [Hash<String,String>] :resource_tags
1075
1108
  # The tags attached to the resource created by Image Builder.
@@ -1603,6 +1636,10 @@ module Aws::Imagebuilder
1603
1636
  # resp.distribution_configuration.distributions[0].launch_template_configurations[0].launch_template_id #=> String
1604
1637
  # resp.distribution_configuration.distributions[0].launch_template_configurations[0].account_id #=> String
1605
1638
  # resp.distribution_configuration.distributions[0].launch_template_configurations[0].set_default_version #=> Boolean
1639
+ # resp.distribution_configuration.distributions[0].s3_export_configuration.role_name #=> String
1640
+ # resp.distribution_configuration.distributions[0].s3_export_configuration.disk_image_format #=> String, one of "VMDK", "RAW", "VHD"
1641
+ # resp.distribution_configuration.distributions[0].s3_export_configuration.s3_bucket #=> String
1642
+ # resp.distribution_configuration.distributions[0].s3_export_configuration.s3_prefix #=> String
1606
1643
  # resp.distribution_configuration.timeout_minutes #=> Integer
1607
1644
  # resp.distribution_configuration.date_created #=> String
1608
1645
  # resp.distribution_configuration.date_updated #=> String
@@ -1769,6 +1806,10 @@ module Aws::Imagebuilder
1769
1806
  # resp.image.distribution_configuration.distributions[0].launch_template_configurations[0].launch_template_id #=> String
1770
1807
  # resp.image.distribution_configuration.distributions[0].launch_template_configurations[0].account_id #=> String
1771
1808
  # resp.image.distribution_configuration.distributions[0].launch_template_configurations[0].set_default_version #=> Boolean
1809
+ # resp.image.distribution_configuration.distributions[0].s3_export_configuration.role_name #=> String
1810
+ # resp.image.distribution_configuration.distributions[0].s3_export_configuration.disk_image_format #=> String, one of "VMDK", "RAW", "VHD"
1811
+ # resp.image.distribution_configuration.distributions[0].s3_export_configuration.s3_bucket #=> String
1812
+ # resp.image.distribution_configuration.distributions[0].s3_export_configuration.s3_prefix #=> String
1772
1813
  # resp.image.distribution_configuration.timeout_minutes #=> Integer
1773
1814
  # resp.image.distribution_configuration.date_created #=> String
1774
1815
  # resp.image.distribution_configuration.date_updated #=> String
@@ -1791,6 +1832,7 @@ module Aws::Imagebuilder
1791
1832
  # resp.image.output_resources.containers[0].image_uris[0] #=> String
1792
1833
  # resp.image.tags #=> Hash
1793
1834
  # resp.image.tags["TagKey"] #=> String
1835
+ # resp.image.build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
1794
1836
  #
1795
1837
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImage AWS API Documentation
1796
1838
  #
@@ -2130,6 +2172,113 @@ module Aws::Imagebuilder
2130
2172
  req.send_request(options)
2131
2173
  end
2132
2174
 
2175
+ # When you export your virtual machine (VM) from its virtualization
2176
+ # environment, that process creates a set of one or more disk container
2177
+ # files that act as snapshots of your VM’s environment, settings, and
2178
+ # data. The Amazon EC2 API [ImportImage][1] action uses those files to
2179
+ # import your VM and create an AMI. To import using the CLI command, see
2180
+ # [import-image][2]
2181
+ #
2182
+ # You can reference the task ID from the VM import to pull in the AMI
2183
+ # that the import created as the base image for your Image Builder
2184
+ # recipe.
2185
+ #
2186
+ #
2187
+ #
2188
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportImage.html
2189
+ # [2]: https://docs.aws.amazon.com/cli/latest/reference/ec2/import-image.html
2190
+ #
2191
+ # @option params [required, String] :name
2192
+ # The name of the base image that is created by the import process.
2193
+ #
2194
+ # @option params [required, String] :semantic_version
2195
+ # The semantic version to attach to the base image that was created
2196
+ # during the import process. This version follows the semantic version
2197
+ # syntax.
2198
+ #
2199
+ # <note markdown="1"> The semantic version has four nodes:
2200
+ # &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can
2201
+ # assign values for the first three, and can filter on all of them.
2202
+ #
2203
+ # **Assignment:** For the first three nodes you can assign any positive
2204
+ # integer value, including zero, with an upper limit of 2^30-1, or
2205
+ # 1073741823 for each node. Image Builder automatically assigns the
2206
+ # build number to the fourth node.
2207
+ #
2208
+ # **Patterns:** You can use any numeric pattern that adheres to the
2209
+ # assignment requirements for the nodes that you can assign. For
2210
+ # example, you might choose a software version pattern, such as 1.0.0,
2211
+ # or a date, such as 2021.01.01.
2212
+ #
2213
+ # </note>
2214
+ #
2215
+ # @option params [String] :description
2216
+ # The description for the base image that is created by the import
2217
+ # process.
2218
+ #
2219
+ # @option params [required, String] :platform
2220
+ # The operating system platform for the imported VM.
2221
+ #
2222
+ # @option params [String] :os_version
2223
+ # The operating system version for the imported VM.
2224
+ #
2225
+ # @option params [required, String] :vm_import_task_id
2226
+ # The `importTaskId` (API) or `ImportTaskId` (CLI) from the Amazon EC2
2227
+ # VM import process. Image Builder retrieves information from the import
2228
+ # process to pull in the AMI that is created from the VM source as the
2229
+ # base image for your recipe.
2230
+ #
2231
+ # @option params [Hash<String,String>] :tags
2232
+ # Tags that are attached to the import resources.
2233
+ #
2234
+ # @option params [required, String] :client_token
2235
+ # Unique, case-sensitive identifier you provide to ensure idempotency of
2236
+ # the request. For more information, see [Ensuring idempotency][1] in
2237
+ # the *Amazon EC2 API Reference*.
2238
+ #
2239
+ # **A suitable default value is auto-generated.** You should normally
2240
+ # not need to pass this option.**
2241
+ #
2242
+ #
2243
+ #
2244
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
2245
+ #
2246
+ # @return [Types::ImportVmImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2247
+ #
2248
+ # * {Types::ImportVmImageResponse#request_id #request_id} => String
2249
+ # * {Types::ImportVmImageResponse#image_arn #image_arn} => String
2250
+ # * {Types::ImportVmImageResponse#client_token #client_token} => String
2251
+ #
2252
+ # @example Request syntax with placeholder values
2253
+ #
2254
+ # resp = client.import_vm_image({
2255
+ # name: "NonEmptyString", # required
2256
+ # semantic_version: "VersionNumber", # required
2257
+ # description: "NonEmptyString",
2258
+ # platform: "Windows", # required, accepts Windows, Linux
2259
+ # os_version: "OsVersion",
2260
+ # vm_import_task_id: "NonEmptyString", # required
2261
+ # tags: {
2262
+ # "TagKey" => "TagValue",
2263
+ # },
2264
+ # client_token: "ClientToken", # required
2265
+ # })
2266
+ #
2267
+ # @example Response structure
2268
+ #
2269
+ # resp.request_id #=> String
2270
+ # resp.image_arn #=> String
2271
+ # resp.client_token #=> String
2272
+ #
2273
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportVmImage AWS API Documentation
2274
+ #
2275
+ # @overload import_vm_image(params = {})
2276
+ # @param [Hash] params ({})
2277
+ def import_vm_image(params = {}, options = {})
2278
+ req = build_request(:import_vm_image, params)
2279
+ req.send_request(options)
2280
+ end
2281
+
2133
2282
  # Returns the list of component build versions for the specified
2134
2283
  # semantic version.
2135
2284
  #
@@ -2502,6 +2651,7 @@ module Aws::Imagebuilder
2502
2651
  # resp.image_summary_list[0].output_resources.containers[0].image_uris[0] #=> String
2503
2652
  # resp.image_summary_list[0].tags #=> Hash
2504
2653
  # resp.image_summary_list[0].tags["TagKey"] #=> String
2654
+ # resp.image_summary_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
2505
2655
  # resp.next_token #=> String
2506
2656
  #
2507
2657
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageBuildVersions AWS API Documentation
@@ -2632,6 +2782,7 @@ module Aws::Imagebuilder
2632
2782
  # resp.image_summary_list[0].output_resources.containers[0].image_uris[0] #=> String
2633
2783
  # resp.image_summary_list[0].tags #=> Hash
2634
2784
  # resp.image_summary_list[0].tags["TagKey"] #=> String
2785
+ # resp.image_summary_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
2635
2786
  # resp.next_token #=> String
2636
2787
  #
2637
2788
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePipelineImages AWS API Documentation
@@ -2865,6 +3016,7 @@ module Aws::Imagebuilder
2865
3016
  # resp.image_version_list[0].os_version #=> String
2866
3017
  # resp.image_version_list[0].owner #=> String
2867
3018
  # resp.image_version_list[0].date_created #=> String
3019
+ # resp.image_version_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
2868
3020
  # resp.next_token #=> String
2869
3021
  #
2870
3022
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImages AWS API Documentation
@@ -3300,6 +3452,12 @@ module Aws::Imagebuilder
3300
3452
  # set_default_version: false,
3301
3453
  # },
3302
3454
  # ],
3455
+ # s3_export_configuration: {
3456
+ # role_name: "NonEmptyString", # required
3457
+ # disk_image_format: "VMDK", # required, accepts VMDK, RAW, VHD
3458
+ # s3_bucket: "NonEmptyString", # required
3459
+ # s3_prefix: "NonEmptyString",
3460
+ # },
3303
3461
  # },
3304
3462
  # ],
3305
3463
  # client_token: "ClientToken", # required
@@ -3459,7 +3617,15 @@ module Aws::Imagebuilder
3459
3617
  # workflow fails.
3460
3618
  #
3461
3619
  # @option params [String] :sns_topic_arn
3462
- # The SNS topic on which to send image build events.
3620
+ # The Amazon Resource Name (ARN) for the SNS topic to which we send
3621
+ # image build event notifications.
3622
+ #
3623
+ # <note markdown="1"> EC2 Image Builder is unable to send notifications to SNS topics that
3624
+ # are encrypted using keys from other accounts. The key that is used to
3625
+ # encrypt the SNS topic must reside in the account that the Image
3626
+ # Builder service runs under.
3627
+ #
3628
+ # </note>
3463
3629
  #
3464
3630
  # @option params [required, String] :client_token
3465
3631
  # The idempotency token used to make this request idempotent.
@@ -3549,7 +3715,7 @@ module Aws::Imagebuilder
3549
3715
  params: params,
3550
3716
  config: config)
3551
3717
  context[:gem_name] = 'aws-sdk-imagebuilder'
3552
- context[:gem_version] = '1.34.0'
3718
+ context[:gem_version] = '1.38.0'
3553
3719
  Seahorse::Client::Request.new(handlers, context)
3554
3720
  end
3555
3721
 
@@ -22,6 +22,7 @@ module Aws::Imagebuilder
22
22
  AmiNameString = Shapes::StringShape.new(name: 'AmiNameString')
23
23
  Arn = Shapes::StringShape.new(name: 'Arn')
24
24
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
25
+ BuildType = Shapes::StringShape.new(name: 'BuildType')
25
26
  CallRateLimitExceededException = Shapes::StructureShape.new(name: 'CallRateLimitExceededException')
26
27
  CancelImageCreationRequest = Shapes::StructureShape.new(name: 'CancelImageCreationRequest')
27
28
  CancelImageCreationResponse = Shapes::StructureShape.new(name: 'CancelImageCreationResponse')
@@ -89,6 +90,7 @@ module Aws::Imagebuilder
89
90
  DeleteImageResponse = Shapes::StructureShape.new(name: 'DeleteImageResponse')
90
91
  DeleteInfrastructureConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteInfrastructureConfigurationRequest')
91
92
  DeleteInfrastructureConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteInfrastructureConfigurationResponse')
93
+ DiskImageFormat = Shapes::StringShape.new(name: 'DiskImageFormat')
92
94
  Distribution = Shapes::StructureShape.new(name: 'Distribution')
93
95
  DistributionConfiguration = Shapes::StructureShape.new(name: 'DistributionConfiguration')
94
96
  DistributionConfigurationArn = Shapes::StringShape.new(name: 'DistributionConfigurationArn')
@@ -160,6 +162,8 @@ module Aws::Imagebuilder
160
162
  ImageVersionList = Shapes::ListShape.new(name: 'ImageVersionList')
161
163
  ImportComponentRequest = Shapes::StructureShape.new(name: 'ImportComponentRequest')
162
164
  ImportComponentResponse = Shapes::StructureShape.new(name: 'ImportComponentResponse')
165
+ ImportVmImageRequest = Shapes::StructureShape.new(name: 'ImportVmImageRequest')
166
+ ImportVmImageResponse = Shapes::StructureShape.new(name: 'ImportVmImageResponse')
163
167
  InfrastructureConfiguration = Shapes::StructureShape.new(name: 'InfrastructureConfiguration')
164
168
  InfrastructureConfigurationArn = Shapes::StringShape.new(name: 'InfrastructureConfigurationArn')
165
169
  InfrastructureConfigurationSummary = Shapes::StructureShape.new(name: 'InfrastructureConfigurationSummary')
@@ -241,6 +245,7 @@ module Aws::Imagebuilder
241
245
  ResourcePolicyDocument = Shapes::StringShape.new(name: 'ResourcePolicyDocument')
242
246
  ResourceTagMap = Shapes::MapShape.new(name: 'ResourceTagMap')
243
247
  RestrictedInteger = Shapes::IntegerShape.new(name: 'RestrictedInteger')
248
+ S3ExportConfiguration = Shapes::StructureShape.new(name: 'S3ExportConfiguration')
244
249
  S3Logs = Shapes::StructureShape.new(name: 'S3Logs')
245
250
  Schedule = Shapes::StructureShape.new(name: 'Schedule')
246
251
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
@@ -605,6 +610,7 @@ module Aws::Imagebuilder
605
610
  Distribution.add_member(:container_distribution_configuration, Shapes::ShapeRef.new(shape: ContainerDistributionConfiguration, location_name: "containerDistributionConfiguration"))
606
611
  Distribution.add_member(:license_configuration_arns, Shapes::ShapeRef.new(shape: LicenseConfigurationArnList, location_name: "licenseConfigurationArns"))
607
612
  Distribution.add_member(:launch_template_configurations, Shapes::ShapeRef.new(shape: LaunchTemplateConfigurationList, location_name: "launchTemplateConfigurations"))
613
+ Distribution.add_member(:s3_export_configuration, Shapes::ShapeRef.new(shape: S3ExportConfiguration, location_name: "s3ExportConfiguration"))
608
614
  Distribution.struct_class = Types::Distribution
609
615
 
610
616
  DistributionConfiguration.add_member(:arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "arn"))
@@ -749,6 +755,7 @@ module Aws::Imagebuilder
749
755
  Image.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
750
756
  Image.add_member(:output_resources, Shapes::ShapeRef.new(shape: OutputResources, location_name: "outputResources"))
751
757
  Image.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
758
+ Image.add_member(:build_type, Shapes::ShapeRef.new(shape: BuildType, location_name: "buildType"))
752
759
  Image.struct_class = Types::Image
753
760
 
754
761
  ImagePackage.add_member(:package_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "packageName"))
@@ -820,6 +827,7 @@ module Aws::Imagebuilder
820
827
  ImageSummary.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
821
828
  ImageSummary.add_member(:output_resources, Shapes::ShapeRef.new(shape: OutputResources, location_name: "outputResources"))
822
829
  ImageSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
830
+ ImageSummary.add_member(:build_type, Shapes::ShapeRef.new(shape: BuildType, location_name: "buildType"))
823
831
  ImageSummary.struct_class = Types::ImageSummary
824
832
 
825
833
  ImageSummaryList.member = Shapes::ShapeRef.new(shape: ImageSummary)
@@ -836,6 +844,7 @@ module Aws::Imagebuilder
836
844
  ImageVersion.add_member(:os_version, Shapes::ShapeRef.new(shape: OsVersion, location_name: "osVersion"))
837
845
  ImageVersion.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
838
846
  ImageVersion.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
847
+ ImageVersion.add_member(:build_type, Shapes::ShapeRef.new(shape: BuildType, location_name: "buildType"))
839
848
  ImageVersion.struct_class = Types::ImageVersion
840
849
 
841
850
  ImageVersionList.member = Shapes::ShapeRef.new(shape: ImageVersion)
@@ -859,6 +868,21 @@ module Aws::Imagebuilder
859
868
  ImportComponentResponse.add_member(:component_build_version_arn, Shapes::ShapeRef.new(shape: ComponentBuildVersionArn, location_name: "componentBuildVersionArn"))
860
869
  ImportComponentResponse.struct_class = Types::ImportComponentResponse
861
870
 
871
+ ImportVmImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
872
+ ImportVmImageRequest.add_member(:semantic_version, Shapes::ShapeRef.new(shape: VersionNumber, required: true, location_name: "semanticVersion"))
873
+ ImportVmImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
874
+ ImportVmImageRequest.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, required: true, location_name: "platform"))
875
+ ImportVmImageRequest.add_member(:os_version, Shapes::ShapeRef.new(shape: OsVersion, location_name: "osVersion"))
876
+ ImportVmImageRequest.add_member(:vm_import_task_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "vmImportTaskId"))
877
+ ImportVmImageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
878
+ ImportVmImageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
879
+ ImportVmImageRequest.struct_class = Types::ImportVmImageRequest
880
+
881
+ ImportVmImageResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
882
+ ImportVmImageResponse.add_member(:image_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "imageArn"))
883
+ ImportVmImageResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
884
+ ImportVmImageResponse.struct_class = Types::ImportVmImageResponse
885
+
862
886
  InfrastructureConfiguration.add_member(:arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "arn"))
863
887
  InfrastructureConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
864
888
  InfrastructureConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
@@ -1128,6 +1152,12 @@ module Aws::Imagebuilder
1128
1152
  ResourceTagMap.key = Shapes::ShapeRef.new(shape: TagKey)
1129
1153
  ResourceTagMap.value = Shapes::ShapeRef.new(shape: TagValue)
1130
1154
 
1155
+ S3ExportConfiguration.add_member(:role_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "roleName"))
1156
+ S3ExportConfiguration.add_member(:disk_image_format, Shapes::ShapeRef.new(shape: DiskImageFormat, required: true, location_name: "diskImageFormat"))
1157
+ S3ExportConfiguration.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "s3Bucket"))
1158
+ S3ExportConfiguration.add_member(:s3_prefix, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "s3Prefix"))
1159
+ S3ExportConfiguration.struct_class = Types::S3ExportConfiguration
1160
+
1131
1161
  S3Logs.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "s3BucketName"))
1132
1162
  S3Logs.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "s3KeyPrefix"))
1133
1163
  S3Logs.struct_class = Types::S3Logs
@@ -1673,6 +1703,17 @@ module Aws::Imagebuilder
1673
1703
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
1674
1704
  end)
1675
1705
 
1706
+ api.add_operation(:import_vm_image, Seahorse::Model::Operation.new.tap do |o|
1707
+ o.name = "ImportVmImage"
1708
+ o.http_method = "PUT"
1709
+ o.http_request_uri = "/ImportVmImage"
1710
+ o.input = Shapes::ShapeRef.new(shape: ImportVmImageRequest)
1711
+ o.output = Shapes::ShapeRef.new(shape: ImportVmImageResponse)
1712
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1713
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1714
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1715
+ end)
1716
+
1676
1717
  api.add_operation(:list_component_build_versions, Seahorse::Model::Operation.new.tap do |o|
1677
1718
  o.name = "ListComponentBuildVersions"
1678
1719
  o.http_method = "POST"
@@ -182,10 +182,16 @@ module Aws::Imagebuilder
182
182
  # @return [String]
183
183
  #
184
184
  # @!attribute [rw] client_token
185
- # The idempotency token used to make this request idempotent.
185
+ # Unique, case-sensitive identifier you provide to ensure idempotency
186
+ # of the request. For more information, see [Ensuring idempotency][1]
187
+ # in the *Amazon EC2 API Reference*.
186
188
  #
187
189
  # **A suitable default value is auto-generated.** You should normally
188
190
  # not need to pass this option.
191
+ #
192
+ #
193
+ #
194
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
189
195
  # @return [String]
190
196
  #
191
197
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CancelImageCreationRequest AWS API Documentation
@@ -202,7 +208,7 @@ module Aws::Imagebuilder
202
208
  # @return [String]
203
209
  #
204
210
  # @!attribute [rw] client_token
205
- # The idempotency token used to make this request idempotent.
211
+ # The idempotency token that was used for this request.
206
212
  # @return [String]
207
213
  #
208
214
  # @!attribute [rw] image_build_version_arn
@@ -1219,6 +1225,12 @@ module Aws::Imagebuilder
1219
1225
  # set_default_version: false,
1220
1226
  # },
1221
1227
  # ],
1228
+ # s3_export_configuration: {
1229
+ # role_name: "NonEmptyString", # required
1230
+ # disk_image_format: "VMDK", # required, accepts VMDK, RAW, VHD
1231
+ # s3_bucket: "NonEmptyString", # required
1232
+ # s3_prefix: "NonEmptyString",
1233
+ # },
1222
1234
  # },
1223
1235
  # ],
1224
1236
  # tags: {
@@ -1748,7 +1760,15 @@ module Aws::Imagebuilder
1748
1760
  # @return [Boolean]
1749
1761
  #
1750
1762
  # @!attribute [rw] sns_topic_arn
1751
- # The SNS topic on which to send image build events.
1763
+ # The Amazon Resource Name (ARN) for the SNS topic to which we send
1764
+ # image build event notifications.
1765
+ #
1766
+ # <note markdown="1"> EC2 Image Builder is unable to send notifications to SNS topics that
1767
+ # are encrypted using keys from other accounts. The key that is used
1768
+ # to encrypt the SNS topic must reside in the account that the Image
1769
+ # Builder service runs under.
1770
+ #
1771
+ # </note>
1752
1772
  # @return [String]
1753
1773
  #
1754
1774
  # @!attribute [rw] resource_tags
@@ -2115,6 +2135,12 @@ module Aws::Imagebuilder
2115
2135
  # set_default_version: false,
2116
2136
  # },
2117
2137
  # ],
2138
+ # s3_export_configuration: {
2139
+ # role_name: "NonEmptyString", # required
2140
+ # disk_image_format: "VMDK", # required, accepts VMDK, RAW, VHD
2141
+ # s3_bucket: "NonEmptyString", # required
2142
+ # s3_prefix: "NonEmptyString",
2143
+ # },
2118
2144
  # }
2119
2145
  #
2120
2146
  # @!attribute [rw] region
@@ -2141,6 +2167,12 @@ module Aws::Imagebuilder
2141
2167
  # distribution for specified accounts.
2142
2168
  # @return [Array<Types::LaunchTemplateConfiguration>]
2143
2169
  #
2170
+ # @!attribute [rw] s3_export_configuration
2171
+ # Configure export settings to deliver disk images created from your
2172
+ # image build, using a file format that is compatible with your VMs in
2173
+ # that Region.
2174
+ # @return [Types::S3ExportConfiguration]
2175
+ #
2144
2176
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Distribution AWS API Documentation
2145
2177
  #
2146
2178
  class Distribution < Struct.new(
@@ -2148,7 +2180,8 @@ module Aws::Imagebuilder
2148
2180
  :ami_distribution_configuration,
2149
2181
  :container_distribution_configuration,
2150
2182
  :license_configuration_arns,
2151
- :launch_template_configurations)
2183
+ :launch_template_configurations,
2184
+ :s3_export_configuration)
2152
2185
  SENSITIVE = []
2153
2186
  include Aws::Structure
2154
2187
  end
@@ -2898,6 +2931,19 @@ module Aws::Imagebuilder
2898
2931
  # The tags of the image.
2899
2932
  # @return [Hash<String,String>]
2900
2933
  #
2934
+ # @!attribute [rw] build_type
2935
+ # Indicates the type of build that created this image. The build can
2936
+ # be initiated in the following ways:
2937
+ #
2938
+ # * **USER\_INITIATED** – A manual pipeline build request.
2939
+ #
2940
+ # * **SCHEDULED** – A pipeline build initiated by a cron expression in
2941
+ # the Image Builder pipeline, or from EventBridge.
2942
+ #
2943
+ # * **IMPORT** – A VM import created the image to use as the base
2944
+ # image for the recipe.
2945
+ # @return [String]
2946
+ #
2901
2947
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Image AWS API Documentation
2902
2948
  #
2903
2949
  class Image < Struct.new(
@@ -2918,7 +2964,8 @@ module Aws::Imagebuilder
2918
2964
  :image_tests_configuration,
2919
2965
  :date_created,
2920
2966
  :output_resources,
2921
- :tags)
2967
+ :tags,
2968
+ :build_type)
2922
2969
  SENSITIVE = []
2923
2970
  include Aws::Structure
2924
2971
  end
@@ -3240,6 +3287,19 @@ module Aws::Imagebuilder
3240
3287
  # The tags of the image.
3241
3288
  # @return [Hash<String,String>]
3242
3289
  #
3290
+ # @!attribute [rw] build_type
3291
+ # Indicates the type of build that created this image. The build can
3292
+ # be initiated in the following ways:
3293
+ #
3294
+ # * **USER\_INITIATED** – A manual pipeline build request.
3295
+ #
3296
+ # * **SCHEDULED** – A pipeline build initiated by a cron expression in
3297
+ # the Image Builder pipeline, or from EventBridge.
3298
+ #
3299
+ # * **IMPORT** – A VM import created the image to use as the base
3300
+ # image for the recipe.
3301
+ # @return [String]
3302
+ #
3243
3303
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImageSummary AWS API Documentation
3244
3304
  #
3245
3305
  class ImageSummary < Struct.new(
@@ -3253,12 +3313,15 @@ module Aws::Imagebuilder
3253
3313
  :owner,
3254
3314
  :date_created,
3255
3315
  :output_resources,
3256
- :tags)
3316
+ :tags,
3317
+ :build_type)
3257
3318
  SENSITIVE = []
3258
3319
  include Aws::Structure
3259
3320
  end
3260
3321
 
3261
- # Image tests configuration.
3322
+ # Configure image tests for your pipeline build. Tests run after
3323
+ # building the image, to verify that the AMI or container image is valid
3324
+ # before distributing it.
3262
3325
  #
3263
3326
  # @note When making an API call, you may pass ImageTestsConfiguration
3264
3327
  # data as a hash:
@@ -3269,7 +3332,9 @@ module Aws::Imagebuilder
3269
3332
  # }
3270
3333
  #
3271
3334
  # @!attribute [rw] image_tests_enabled
3272
- # Defines if tests should be executed when building this image.
3335
+ # Determines if tests should run after building the image. Image
3336
+ # Builder defaults to enable tests to run following the image build,
3337
+ # before image distribution.
3273
3338
  # @return [Boolean]
3274
3339
  #
3275
3340
  # @!attribute [rw] timeout_minutes
@@ -3363,6 +3428,19 @@ module Aws::Imagebuilder
3363
3428
  # was created.
3364
3429
  # @return [String]
3365
3430
  #
3431
+ # @!attribute [rw] build_type
3432
+ # Indicates the type of build that created this image. The build can
3433
+ # be initiated in the following ways:
3434
+ #
3435
+ # * **USER\_INITIATED** – A manual pipeline build request.
3436
+ #
3437
+ # * **SCHEDULED** – A pipeline build initiated by a cron expression in
3438
+ # the Image Builder pipeline, or from EventBridge.
3439
+ #
3440
+ # * **IMPORT** – A VM import created the image to use as the base
3441
+ # image for the recipe.
3442
+ # @return [String]
3443
+ #
3366
3444
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImageVersion AWS API Documentation
3367
3445
  #
3368
3446
  class ImageVersion < Struct.new(
@@ -3373,7 +3451,8 @@ module Aws::Imagebuilder
3373
3451
  :platform,
3374
3452
  :os_version,
3375
3453
  :owner,
3376
- :date_created)
3454
+ :date_created,
3455
+ :build_type)
3377
3456
  SENSITIVE = []
3378
3457
  include Aws::Structure
3379
3458
  end
@@ -3513,6 +3592,124 @@ module Aws::Imagebuilder
3513
3592
  include Aws::Structure
3514
3593
  end
3515
3594
 
3595
+ # @note When making an API call, you may pass ImportVmImageRequest
3596
+ # data as a hash:
3597
+ #
3598
+ # {
3599
+ # name: "NonEmptyString", # required
3600
+ # semantic_version: "VersionNumber", # required
3601
+ # description: "NonEmptyString",
3602
+ # platform: "Windows", # required, accepts Windows, Linux
3603
+ # os_version: "OsVersion",
3604
+ # vm_import_task_id: "NonEmptyString", # required
3605
+ # tags: {
3606
+ # "TagKey" => "TagValue",
3607
+ # },
3608
+ # client_token: "ClientToken", # required
3609
+ # }
3610
+ #
3611
+ # @!attribute [rw] name
3612
+ # The name of the base image that is created by the import process.
3613
+ # @return [String]
3614
+ #
3615
+ # @!attribute [rw] semantic_version
3616
+ # The semantic version to attach to the base image that was created
3617
+ # during the import process. This version follows the semantic version
3618
+ # syntax.
3619
+ #
3620
+ # <note markdown="1"> The semantic version has four nodes:
3621
+ # &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can
3622
+ # assign values for the first three, and can filter on all of them.
3623
+ #
3624
+ # **Assignment:** For the first three nodes you can assign any
3625
+ # positive integer value, including zero, with an upper limit of
3626
+ # 2^30-1, or 1073741823 for each node. Image Builder automatically
3627
+ # assigns the build number to the fourth node.
3628
+ #
3629
+ # **Patterns:** You can use any numeric pattern that adheres to the
3630
+ # assignment requirements for the nodes that you can assign. For
3631
+ # example, you might choose a software version pattern, such as 1.0.0,
3632
+ # or a date, such as 2021.01.01.
3633
+ #
3634
+ # </note>
3635
+ # @return [String]
3636
+ #
3637
+ # @!attribute [rw] description
3638
+ # The description for the base image that is created by the import
3639
+ # process.
3640
+ # @return [String]
3641
+ #
3642
+ # @!attribute [rw] platform
3643
+ # The operating system platform for the imported VM.
3644
+ # @return [String]
3645
+ #
3646
+ # @!attribute [rw] os_version
3647
+ # The operating system version for the imported VM.
3648
+ # @return [String]
3649
+ #
3650
+ # @!attribute [rw] vm_import_task_id
3651
+ # The `importTaskId` (API) or `ImportTaskId` (CLI) from the Amazon EC2
3652
+ # VM import process. Image Builder retrieves information from the
3653
+ # import process to pull in the AMI that is created from the VM source
3654
+ # as the base image for your recipe.
3655
+ # @return [String]
3656
+ #
3657
+ # @!attribute [rw] tags
3658
+ # Tags that are attached to the import resources.
3659
+ # @return [Hash<String,String>]
3660
+ #
3661
+ # @!attribute [rw] client_token
3662
+ # Unique, case-sensitive identifier you provide to ensure idempotency
3663
+ # of the request. For more information, see [Ensuring idempotency][1]
3664
+ # in the *Amazon EC2 API Reference*.
3665
+ #
3666
+ # **A suitable default value is auto-generated.** You should normally
3667
+ # not need to pass this option.
3668
+ #
3669
+ #
3670
+ #
3671
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
3672
+ # @return [String]
3673
+ #
3674
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportVmImageRequest AWS API Documentation
3675
+ #
3676
+ class ImportVmImageRequest < Struct.new(
3677
+ :name,
3678
+ :semantic_version,
3679
+ :description,
3680
+ :platform,
3681
+ :os_version,
3682
+ :vm_import_task_id,
3683
+ :tags,
3684
+ :client_token)
3685
+ SENSITIVE = []
3686
+ include Aws::Structure
3687
+ end
3688
+
3689
+ # @!attribute [rw] request_id
3690
+ # The request ID that uniquely identifies this request.
3691
+ # @return [String]
3692
+ #
3693
+ # @!attribute [rw] image_arn
3694
+ # The Amazon Resource Name (ARN) of the AMI that was created during
3695
+ # the VM import process. This AMI is used as the base image for the
3696
+ # recipe that imported the VM.
3697
+ # @return [String]
3698
+ #
3699
+ # @!attribute [rw] client_token
3700
+ # The idempotency token that was used for this request.
3701
+ # @return [String]
3702
+ #
3703
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportVmImageResponse AWS API Documentation
3704
+ #
3705
+ class ImportVmImageResponse < Struct.new(
3706
+ :request_id,
3707
+ :image_arn,
3708
+ :client_token)
3709
+ SENSITIVE = []
3710
+ include Aws::Structure
3711
+ end
3712
+
3516
3713
  # Details of the infrastructure configuration.
3517
3714
  #
3518
3715
  # @!attribute [rw] arn
@@ -3557,8 +3754,15 @@ module Aws::Imagebuilder
3557
3754
  # @return [Boolean]
3558
3755
  #
3559
3756
  # @!attribute [rw] sns_topic_arn
3560
- # The SNS topic Amazon Resource Name (ARN) of the infrastructure
3561
- # configuration.
3757
+ # The Amazon Resource Name (ARN) for the SNS topic to which we send
3758
+ # image build event notifications.
3759
+ #
3760
+ # <note markdown="1"> EC2 Image Builder is unable to send notifications to SNS topics that
3761
+ # are encrypted using keys from other accounts. The key that is used
3762
+ # to encrypt the SNS topic must reside in the account that the Image
3763
+ # Builder service runs under.
3764
+ #
3765
+ # </note>
3562
3766
  # @return [String]
3563
3767
  #
3564
3768
  # @!attribute [rw] date_created
@@ -5114,6 +5318,57 @@ module Aws::Imagebuilder
5114
5318
  include Aws::Structure
5115
5319
  end
5116
5320
 
5321
+ # Properties that configure export from your build instance to a
5322
+ # compatible file format for your VM.
5323
+ #
5324
+ # @note When making an API call, you may pass S3ExportConfiguration
5325
+ # data as a hash:
5326
+ #
5327
+ # {
5328
+ # role_name: "NonEmptyString", # required
5329
+ # disk_image_format: "VMDK", # required, accepts VMDK, RAW, VHD
5330
+ # s3_bucket: "NonEmptyString", # required
5331
+ # s3_prefix: "NonEmptyString",
5332
+ # }
5333
+ #
5334
+ # @!attribute [rw] role_name
5335
+ # The name of the role that grants VM Import/Export permission to
5336
+ # export images to your S3 bucket.
5337
+ # @return [String]
5338
+ #
5339
+ # @!attribute [rw] disk_image_format
5340
+ # Export the updated image to one of the following supported disk
5341
+ # image formats:
5342
+ #
5343
+ # * **Virtual Hard Disk (VHD)** – Compatible with Citrix Xen and
5344
+ # Microsoft Hyper-V virtualization products.
5345
+ #
5346
+ # * **Stream-optimized ESX Virtual Machine Disk (VMDK)** – Compatible
5347
+ # with VMware ESX and VMware vSphere versions 4, 5, and 6.
5348
+ #
5349
+ # * **Raw** – Raw format.
5350
+ # @return [String]
5351
+ #
5352
+ # @!attribute [rw] s3_bucket
5353
+ # The S3 bucket in which to store the output disk images for your VM.
5354
+ # @return [String]
5355
+ #
5356
+ # @!attribute [rw] s3_prefix
5357
+ # The Amazon S3 path for the bucket where the output disk images for
5358
+ # your VM are stored.
5359
+ # @return [String]
5360
+ #
5361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/S3ExportConfiguration AWS API Documentation
5362
+ #
5363
+ class S3ExportConfiguration < Struct.new(
5364
+ :role_name,
5365
+ :disk_image_format,
5366
+ :s3_bucket,
5367
+ :s3_prefix)
5368
+ SENSITIVE = []
5369
+ include Aws::Structure
5370
+ end
5371
+
5117
5372
  # Amazon S3 logging configuration.
5118
5373
  #
5119
5374
  # @note When making an API call, you may pass S3Logs
@@ -5125,11 +5380,11 @@ module Aws::Imagebuilder
5125
5380
  # }
5126
5381
  #
5127
5382
  # @!attribute [rw] s3_bucket_name
5128
- # The Amazon S3 bucket in which to store the logs.
5383
+ # The S3 bucket in which to store the logs.
5129
5384
  # @return [String]
5130
5385
  #
5131
5386
  # @!attribute [rw] s3_key_prefix
5132
- # The Amazon S3 path in which to store the logs.
5387
+ # The Amazon S3 path to the bucket where the logs are stored.
5133
5388
  # @return [String]
5134
5389
  #
5135
5390
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/S3Logs AWS API Documentation
@@ -5456,6 +5711,12 @@ module Aws::Imagebuilder
5456
5711
  # set_default_version: false,
5457
5712
  # },
5458
5713
  # ],
5714
+ # s3_export_configuration: {
5715
+ # role_name: "NonEmptyString", # required
5716
+ # disk_image_format: "VMDK", # required, accepts VMDK, RAW, VHD
5717
+ # s3_bucket: "NonEmptyString", # required
5718
+ # s3_prefix: "NonEmptyString",
5719
+ # },
5459
5720
  # },
5460
5721
  # ],
5461
5722
  # client_token: "ClientToken", # required
@@ -5711,7 +5972,15 @@ module Aws::Imagebuilder
5711
5972
  # @return [Boolean]
5712
5973
  #
5713
5974
  # @!attribute [rw] sns_topic_arn
5714
- # The SNS topic on which to send image build events.
5975
+ # The Amazon Resource Name (ARN) for the SNS topic to which we send
5976
+ # image build event notifications.
5977
+ #
5978
+ # <note markdown="1"> EC2 Image Builder is unable to send notifications to SNS topics that
5979
+ # are encrypted using keys from other accounts. The key that is used
5980
+ # to encrypt the SNS topic must reside in the account that the Image
5981
+ # Builder service runs under.
5982
+ #
5983
+ # </note>
5715
5984
  # @return [String]
5716
5985
  #
5717
5986
  # @!attribute [rw] client_token
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-imagebuilder/customizations'
48
48
  # @!group service
49
49
  module Aws::Imagebuilder
50
50
 
51
- GEM_VERSION = '1.34.0'
51
+ GEM_VERSION = '1.38.0'
52
52
 
53
53
  end
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.34.0
4
+ version: 1.38.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: 2021-11-24 00:00:00.000000000 Z
11
+ date: 2022-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.122.0
22
+ version: 3.126.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.122.0
32
+ version: 3.126.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement