aws-sdk-imagebuilder 1.92.0 → 1.93.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 10b2fdd19784fe689571d63fb38ad7333852f6505e34dc0acc27ffef2a2693cf
4
- data.tar.gz: abd563242887d2f47f5293a6d92e65c49011b99b98c746acd64b24829501f92a
3
+ metadata.gz: a56ba335d33603ea9abfbb3bb1473ae8e0de568189fddd210e59af60eb9d1bb9
4
+ data.tar.gz: 71919bd59cb22008b934de40be1eb4b5cbcaffc9b82c6f9dff56a61f618cc28b
5
5
  SHA512:
6
- metadata.gz: dc0d33075f2175af383324738429fb6ae1ef107dc5f64b9cd0fa1dd8f2ca7fc5e9dcd2a1d156f5d7e494c13ec6176528b00602980de63db1da10134b87d8477a
7
- data.tar.gz: 2c82476c6a8e5af1dd079ef8a46e4b791892181671bc3016f15a4feed74c37eae50a8174d1ccea8772498bc38d6963047c68dad8f687586e9f212a3ea1e7b3aa
6
+ metadata.gz: 39786864aaf63a099c319c9f4adb4901e83347a198434872287860ad7a13365ad10b07f75da6b56030a44c602f99cb123add602f699093b9582f7745ab526172
7
+ data.tar.gz: 551bd371d8c2afbeedc2ec6754c6a9259e03866769c12d0fd3e1b172624148f6f2d0049a58400d9973f988d7390dcb787e74abfe6910172be3e25335915d3fb2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.93.0 (2025-11-20)
5
+ ------------------
6
+
7
+ * Feature - EC2 Image Builder now enables the distribution of existing AMIs, retry distribution, and define distribution workflows. It also supports automatic versioning for recipes and components, allowing automatic version increments and dynamic referencing in pipelines.
8
+
4
9
  1.92.0 (2025-11-14)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.92.0
1
+ 1.93.0
@@ -652,11 +652,18 @@ module Aws::Imagebuilder
652
652
  #
653
653
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
654
654
  #
655
+ # @option params [Boolean] :dry_run
656
+ # Validates the required permissions for the operation and the request
657
+ # parameters, without actually making the request, and provides an error
658
+ # response. Upon a successful request, the error response is
659
+ # `DryRunOperationException`.
660
+ #
655
661
  # @return [Types::CreateComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
656
662
  #
657
663
  # * {Types::CreateComponentResponse#request_id #request_id} => String
658
664
  # * {Types::CreateComponentResponse#client_token #client_token} => String
659
665
  # * {Types::CreateComponentResponse#component_build_version_arn #component_build_version_arn} => String
666
+ # * {Types::CreateComponentResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
660
667
  #
661
668
  # @example Request syntax with placeholder values
662
669
  #
@@ -674,6 +681,7 @@ module Aws::Imagebuilder
674
681
  # "TagKey" => "TagValue",
675
682
  # },
676
683
  # client_token: "ClientToken", # required
684
+ # dry_run: false,
677
685
  # })
678
686
  #
679
687
  # @example Response structure
@@ -681,6 +689,10 @@ module Aws::Imagebuilder
681
689
  # resp.request_id #=> String
682
690
  # resp.client_token #=> String
683
691
  # resp.component_build_version_arn #=> String
692
+ # resp.latest_version_references.latest_version_arn #=> String
693
+ # resp.latest_version_references.latest_major_version_arn #=> String
694
+ # resp.latest_version_references.latest_minor_version_arn #=> String
695
+ # resp.latest_version_references.latest_patch_version_arn #=> String
684
696
  #
685
697
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateComponent AWS API Documentation
686
698
  #
@@ -784,6 +796,7 @@ module Aws::Imagebuilder
784
796
  # * {Types::CreateContainerRecipeResponse#request_id #request_id} => String
785
797
  # * {Types::CreateContainerRecipeResponse#client_token #client_token} => String
786
798
  # * {Types::CreateContainerRecipeResponse#container_recipe_arn #container_recipe_arn} => String
799
+ # * {Types::CreateContainerRecipeResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
787
800
  #
788
801
  # @example Request syntax with placeholder values
789
802
  #
@@ -791,7 +804,7 @@ module Aws::Imagebuilder
791
804
  # container_type: "DOCKER", # required, accepts DOCKER
792
805
  # name: "ResourceName", # required
793
806
  # description: "NonEmptyString",
794
- # semantic_version: "VersionNumber", # required
807
+ # semantic_version: "WildcardVersionNumber", # required
795
808
  # components: [
796
809
  # {
797
810
  # component_arn: "ComponentVersionArnOrBuildVersionArn", # required
@@ -845,6 +858,10 @@ module Aws::Imagebuilder
845
858
  # resp.request_id #=> String
846
859
  # resp.client_token #=> String
847
860
  # resp.container_recipe_arn #=> String
861
+ # resp.latest_version_references.latest_version_arn #=> String
862
+ # resp.latest_version_references.latest_major_version_arn #=> String
863
+ # resp.latest_version_references.latest_minor_version_arn #=> String
864
+ # resp.latest_version_references.latest_patch_version_arn #=> String
848
865
  #
849
866
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateContainerRecipe AWS API Documentation
850
867
  #
@@ -1042,6 +1059,7 @@ module Aws::Imagebuilder
1042
1059
  # * {Types::CreateImageResponse#request_id #request_id} => String
1043
1060
  # * {Types::CreateImageResponse#client_token #client_token} => String
1044
1061
  # * {Types::CreateImageResponse#image_build_version_arn #image_build_version_arn} => String
1062
+ # * {Types::CreateImageResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
1045
1063
  #
1046
1064
  # @example Request syntax with placeholder values
1047
1065
  #
@@ -1090,6 +1108,10 @@ module Aws::Imagebuilder
1090
1108
  # resp.request_id #=> String
1091
1109
  # resp.client_token #=> String
1092
1110
  # resp.image_build_version_arn #=> String
1111
+ # resp.latest_version_references.latest_version_arn #=> String
1112
+ # resp.latest_version_references.latest_major_version_arn #=> String
1113
+ # resp.latest_version_references.latest_minor_version_arn #=> String
1114
+ # resp.latest_version_references.latest_patch_version_arn #=> String
1093
1115
  #
1094
1116
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImage AWS API Documentation
1095
1117
  #
@@ -1327,13 +1349,14 @@ module Aws::Imagebuilder
1327
1349
  # * {Types::CreateImageRecipeResponse#request_id #request_id} => String
1328
1350
  # * {Types::CreateImageRecipeResponse#client_token #client_token} => String
1329
1351
  # * {Types::CreateImageRecipeResponse#image_recipe_arn #image_recipe_arn} => String
1352
+ # * {Types::CreateImageRecipeResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
1330
1353
  #
1331
1354
  # @example Request syntax with placeholder values
1332
1355
  #
1333
1356
  # resp = client.create_image_recipe({
1334
1357
  # name: "ResourceName", # required
1335
1358
  # description: "NonEmptyString",
1336
- # semantic_version: "VersionNumber", # required
1359
+ # semantic_version: "WildcardVersionNumber", # required
1337
1360
  # components: [
1338
1361
  # {
1339
1362
  # component_arn: "ComponentVersionArnOrBuildVersionArn", # required
@@ -1384,6 +1407,10 @@ module Aws::Imagebuilder
1384
1407
  # resp.request_id #=> String
1385
1408
  # resp.client_token #=> String
1386
1409
  # resp.image_recipe_arn #=> String
1410
+ # resp.latest_version_references.latest_version_arn #=> String
1411
+ # resp.latest_version_references.latest_major_version_arn #=> String
1412
+ # resp.latest_version_references.latest_minor_version_arn #=> String
1413
+ # resp.latest_version_references.latest_patch_version_arn #=> String
1387
1414
  #
1388
1415
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImageRecipe AWS API Documentation
1389
1416
  #
@@ -1729,10 +1756,17 @@ module Aws::Imagebuilder
1729
1756
  # The phase in the image build process for which the workflow resource
1730
1757
  # is responsible.
1731
1758
  #
1759
+ # @option params [Boolean] :dry_run
1760
+ # Validates the required permissions for the operation and the request
1761
+ # parameters, without actually making the request, and provides an error
1762
+ # response. Upon a successful request, the error response is
1763
+ # `DryRunOperationException`.
1764
+ #
1732
1765
  # @return [Types::CreateWorkflowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1733
1766
  #
1734
1767
  # * {Types::CreateWorkflowResponse#client_token #client_token} => String
1735
1768
  # * {Types::CreateWorkflowResponse#workflow_build_version_arn #workflow_build_version_arn} => String
1769
+ # * {Types::CreateWorkflowResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
1736
1770
  #
1737
1771
  # @example Request syntax with placeholder values
1738
1772
  #
@@ -1749,12 +1783,17 @@ module Aws::Imagebuilder
1749
1783
  # },
1750
1784
  # client_token: "ClientToken", # required
1751
1785
  # type: "BUILD", # required, accepts BUILD, TEST, DISTRIBUTION
1786
+ # dry_run: false,
1752
1787
  # })
1753
1788
  #
1754
1789
  # @example Response structure
1755
1790
  #
1756
1791
  # resp.client_token #=> String
1757
1792
  # resp.workflow_build_version_arn #=> String
1793
+ # resp.latest_version_references.latest_version_arn #=> String
1794
+ # resp.latest_version_references.latest_major_version_arn #=> String
1795
+ # resp.latest_version_references.latest_minor_version_arn #=> String
1796
+ # resp.latest_version_references.latest_patch_version_arn #=> String
1758
1797
  #
1759
1798
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateWorkflow AWS API Documentation
1760
1799
  #
@@ -2054,6 +2093,71 @@ module Aws::Imagebuilder
2054
2093
  req.send_request(options)
2055
2094
  end
2056
2095
 
2096
+ # DistributeImage distributes existing AMIs to additional regions and
2097
+ # accounts without rebuilding the image.
2098
+ #
2099
+ # @option params [required, String] :source_image
2100
+ # The source image Amazon Resource Name (ARN) to distribute.
2101
+ #
2102
+ # @option params [required, String] :distribution_configuration_arn
2103
+ # The Amazon Resource Name (ARN) of the distribution configuration to
2104
+ # use.
2105
+ #
2106
+ # @option params [required, String] :execution_role
2107
+ # The IAM role to use for the distribution.
2108
+ #
2109
+ # @option params [Hash<String,String>] :tags
2110
+ # The tags to apply to the distributed image.
2111
+ #
2112
+ # @option params [required, String] :client_token
2113
+ # Unique, case-sensitive identifier you provide to ensure idempotency of
2114
+ # the request. For more information, see [Ensuring idempotency][1] in
2115
+ # the *Amazon EC2 API Reference*.
2116
+ #
2117
+ # **A suitable default value is auto-generated.** You should normally
2118
+ # not need to pass this option.**
2119
+ #
2120
+ #
2121
+ #
2122
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
2123
+ #
2124
+ # @option params [Types::ImageLoggingConfiguration] :logging_configuration
2125
+ # The logging configuration for the distribution.
2126
+ #
2127
+ # @return [Types::DistributeImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2128
+ #
2129
+ # * {Types::DistributeImageResponse#client_token #client_token} => String
2130
+ # * {Types::DistributeImageResponse#image_build_version_arn #image_build_version_arn} => String
2131
+ #
2132
+ # @example Request syntax with placeholder values
2133
+ #
2134
+ # resp = client.distribute_image({
2135
+ # source_image: "NonEmptyString", # required
2136
+ # distribution_configuration_arn: "DistributionConfigurationArn", # required
2137
+ # execution_role: "RoleNameOrArn", # required
2138
+ # tags: {
2139
+ # "TagKey" => "TagValue",
2140
+ # },
2141
+ # client_token: "ClientToken", # required
2142
+ # logging_configuration: {
2143
+ # log_group_name: "LogGroupName",
2144
+ # },
2145
+ # })
2146
+ #
2147
+ # @example Response structure
2148
+ #
2149
+ # resp.client_token #=> String
2150
+ # resp.image_build_version_arn #=> String
2151
+ #
2152
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DistributeImage AWS API Documentation
2153
+ #
2154
+ # @overload distribute_image(params = {})
2155
+ # @param [Hash] params ({})
2156
+ def distribute_image(params = {}, options = {})
2157
+ req = build_request(:distribute_image, params)
2158
+ req.send_request(options)
2159
+ end
2160
+
2057
2161
  # Gets a component object.
2058
2162
  #
2059
2163
  # @option params [required, String] :component_build_version_arn
@@ -2064,6 +2168,7 @@ module Aws::Imagebuilder
2064
2168
  #
2065
2169
  # * {Types::GetComponentResponse#request_id #request_id} => String
2066
2170
  # * {Types::GetComponentResponse#component #component} => Types::Component
2171
+ # * {Types::GetComponentResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
2067
2172
  #
2068
2173
  # @example Request syntax with placeholder values
2069
2174
  #
@@ -2103,6 +2208,10 @@ module Aws::Imagebuilder
2103
2208
  # resp.component.product_codes #=> Array
2104
2209
  # resp.component.product_codes[0].product_code_id #=> String
2105
2210
  # resp.component.product_codes[0].product_code_type #=> String, one of "marketplace"
2211
+ # resp.latest_version_references.latest_version_arn #=> String
2212
+ # resp.latest_version_references.latest_major_version_arn #=> String
2213
+ # resp.latest_version_references.latest_minor_version_arn #=> String
2214
+ # resp.latest_version_references.latest_patch_version_arn #=> String
2106
2215
  #
2107
2216
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetComponent AWS API Documentation
2108
2217
  #
@@ -2153,6 +2262,7 @@ module Aws::Imagebuilder
2153
2262
  #
2154
2263
  # * {Types::GetContainerRecipeResponse#request_id #request_id} => String
2155
2264
  # * {Types::GetContainerRecipeResponse#container_recipe #container_recipe} => Types::ContainerRecipe
2265
+ # * {Types::GetContainerRecipeResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
2156
2266
  #
2157
2267
  # @example Request syntax with placeholder values
2158
2268
  #
@@ -2199,6 +2309,10 @@ module Aws::Imagebuilder
2199
2309
  # resp.container_recipe.working_directory #=> String
2200
2310
  # resp.container_recipe.target_repository.service #=> String, one of "ECR"
2201
2311
  # resp.container_recipe.target_repository.repository_name #=> String
2312
+ # resp.latest_version_references.latest_version_arn #=> String
2313
+ # resp.latest_version_references.latest_major_version_arn #=> String
2314
+ # resp.latest_version_references.latest_minor_version_arn #=> String
2315
+ # resp.latest_version_references.latest_patch_version_arn #=> String
2202
2316
  #
2203
2317
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipe AWS API Documentation
2204
2318
  #
@@ -2331,6 +2445,7 @@ module Aws::Imagebuilder
2331
2445
  #
2332
2446
  # * {Types::GetImageResponse#request_id #request_id} => String
2333
2447
  # * {Types::GetImageResponse#image #image} => Types::Image
2448
+ # * {Types::GetImageResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
2334
2449
  #
2335
2450
  # @example Request syntax with placeholder values
2336
2451
  #
@@ -2537,6 +2652,10 @@ module Aws::Imagebuilder
2537
2652
  # resp.image.workflows[0].parallel_group #=> String
2538
2653
  # resp.image.workflows[0].on_failure #=> String, one of "CONTINUE", "ABORT"
2539
2654
  # resp.image.logging_configuration.log_group_name #=> String
2655
+ # resp.latest_version_references.latest_version_arn #=> String
2656
+ # resp.latest_version_references.latest_major_version_arn #=> String
2657
+ # resp.latest_version_references.latest_minor_version_arn #=> String
2658
+ # resp.latest_version_references.latest_patch_version_arn #=> String
2540
2659
  #
2541
2660
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImage AWS API Documentation
2542
2661
  #
@@ -2657,6 +2776,7 @@ module Aws::Imagebuilder
2657
2776
  #
2658
2777
  # * {Types::GetImageRecipeResponse#request_id #request_id} => String
2659
2778
  # * {Types::GetImageRecipeResponse#image_recipe #image_recipe} => Types::ImageRecipe
2779
+ # * {Types::GetImageRecipeResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
2660
2780
  #
2661
2781
  # @example Request syntax with placeholder values
2662
2782
  #
@@ -2701,6 +2821,10 @@ module Aws::Imagebuilder
2701
2821
  # resp.image_recipe.additional_instance_configuration.user_data_override #=> String
2702
2822
  # resp.image_recipe.ami_tags #=> Hash
2703
2823
  # resp.image_recipe.ami_tags["TagKey"] #=> String
2824
+ # resp.latest_version_references.latest_version_arn #=> String
2825
+ # resp.latest_version_references.latest_major_version_arn #=> String
2826
+ # resp.latest_version_references.latest_minor_version_arn #=> String
2827
+ # resp.latest_version_references.latest_patch_version_arn #=> String
2704
2828
  #
2705
2829
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipe AWS API Documentation
2706
2830
  #
@@ -2953,6 +3077,7 @@ module Aws::Imagebuilder
2953
3077
  # @return [Types::GetWorkflowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2954
3078
  #
2955
3079
  # * {Types::GetWorkflowResponse#workflow #workflow} => Types::Workflow
3080
+ # * {Types::GetWorkflowResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
2956
3081
  #
2957
3082
  # @example Request syntax with placeholder values
2958
3083
  #
@@ -2982,6 +3107,10 @@ module Aws::Imagebuilder
2982
3107
  # resp.workflow.parameters[0].default_value #=> Array
2983
3108
  # resp.workflow.parameters[0].default_value[0] #=> String
2984
3109
  # resp.workflow.parameters[0].description #=> String
3110
+ # resp.latest_version_references.latest_version_arn #=> String
3111
+ # resp.latest_version_references.latest_major_version_arn #=> String
3112
+ # resp.latest_version_references.latest_minor_version_arn #=> String
3113
+ # resp.latest_version_references.latest_patch_version_arn #=> String
2985
3114
  #
2986
3115
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetWorkflow AWS API Documentation
2987
3116
  #
@@ -4817,6 +4946,7 @@ module Aws::Imagebuilder
4817
4946
  # resp.workflow_executions[0].start_time #=> String
4818
4947
  # resp.workflow_executions[0].end_time #=> String
4819
4948
  # resp.workflow_executions[0].parallel_group #=> String
4949
+ # resp.workflow_executions[0].retried #=> Boolean
4820
4950
  # resp.image_build_version_arn #=> String
4821
4951
  # resp.message #=> String
4822
4952
  # resp.next_token #=> String
@@ -5132,6 +5262,49 @@ module Aws::Imagebuilder
5132
5262
  req.send_request(options)
5133
5263
  end
5134
5264
 
5265
+ # RetryImage retries an image distribution without rebuilding the image.
5266
+ #
5267
+ # @option params [required, String] :image_build_version_arn
5268
+ # The source image Amazon Resource Name (ARN) to retry.
5269
+ #
5270
+ # @option params [required, String] :client_token
5271
+ # Unique, case-sensitive identifier you provide to ensure idempotency of
5272
+ # the request. For more information, see [Ensuring idempotency][1] in
5273
+ # the *Amazon EC2 API Reference*.
5274
+ #
5275
+ # **A suitable default value is auto-generated.** You should normally
5276
+ # not need to pass this option.**
5277
+ #
5278
+ #
5279
+ #
5280
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
5281
+ #
5282
+ # @return [Types::RetryImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5283
+ #
5284
+ # * {Types::RetryImageResponse#client_token #client_token} => String
5285
+ # * {Types::RetryImageResponse#image_build_version_arn #image_build_version_arn} => String
5286
+ #
5287
+ # @example Request syntax with placeholder values
5288
+ #
5289
+ # resp = client.retry_image({
5290
+ # image_build_version_arn: "ImageBuildVersionArn", # required
5291
+ # client_token: "ClientToken", # required
5292
+ # })
5293
+ #
5294
+ # @example Response structure
5295
+ #
5296
+ # resp.client_token #=> String
5297
+ # resp.image_build_version_arn #=> String
5298
+ #
5299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/RetryImage AWS API Documentation
5300
+ #
5301
+ # @overload retry_image(params = {})
5302
+ # @param [Hash] params ({})
5303
+ def retry_image(params = {}, options = {})
5304
+ req = build_request(:retry_image, params)
5305
+ req.send_request(options)
5306
+ end
5307
+
5135
5308
  # Pauses or resumes image creation when the associated workflow runs a
5136
5309
  # `WaitForAction` step.
5137
5310
  #
@@ -5249,8 +5422,8 @@ module Aws::Imagebuilder
5249
5422
  # specified image resources.
5250
5423
  #
5251
5424
  # @option params [required, String] :resource_arn
5252
- # The ARN of the Image Builder resource that is updated. The state
5253
- # update might also impact associated resources.
5425
+ # The Amazon Resource Name (ARN) of the Image Builder resource that is
5426
+ # updated. The state update might also impact associated resources.
5254
5427
  #
5255
5428
  # @option params [required, Types::ResourceState] :state
5256
5429
  # Indicates the lifecycle action to take for this request.
@@ -5923,7 +6096,7 @@ module Aws::Imagebuilder
5923
6096
  tracer: tracer
5924
6097
  )
5925
6098
  context[:gem_name] = 'aws-sdk-imagebuilder'
5926
- context[:gem_version] = '1.92.0'
6099
+ context[:gem_version] = '1.93.0'
5927
6100
  Seahorse::Client::Request.new(handlers, context)
5928
6101
  end
5929
6102