aws-sdk-imagebuilder 1.91.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-imagebuilder/client.rb +183 -12
- data/lib/aws-sdk-imagebuilder/client_api.rb +99 -4
- data/lib/aws-sdk-imagebuilder/errors.rb +48 -0
- data/lib/aws-sdk-imagebuilder/types.rb +303 -35
- data/lib/aws-sdk-imagebuilder.rb +1 -1
- data/sig/client.rbs +46 -4
- data/sig/errors.rbs +9 -0
- data/sig/types.rbs +64 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a56ba335d33603ea9abfbb3bb1473ae8e0de568189fddd210e59af60eb9d1bb9
|
|
4
|
+
data.tar.gz: 71919bd59cb22008b934de40be1eb4b5cbcaffc9b82c6f9dff56a61f618cc28b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 39786864aaf63a099c319c9f4adb4901e83347a198434872287860ad7a13365ad10b07f75da6b56030a44c602f99cb123add602f699093b9582f7745ab526172
|
|
7
|
+
data.tar.gz: 551bd371d8c2afbeedc2ec6754c6a9259e03866769c12d0fd3e1b172624148f6f2d0049a58400d9973f988d7390dcb787e74abfe6910172be3e25335915d3fb2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
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
|
+
|
|
9
|
+
1.92.0 (2025-11-14)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - EC2 Image Builder now supports invoking Lambda functions and executing Step Functions state machine through image workflows.
|
|
13
|
+
|
|
4
14
|
1.91.0 (2025-10-21)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
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
|
#
|
|
@@ -723,10 +735,8 @@ module Aws::Imagebuilder
|
|
|
723
735
|
#
|
|
724
736
|
# </note>
|
|
725
737
|
#
|
|
726
|
-
# @option params [
|
|
727
|
-
#
|
|
728
|
-
# recipe. Recipes require a minimum of one build component, and can have
|
|
729
|
-
# a maximum of 20 build and test components in any combination.
|
|
738
|
+
# @option params [Array<Types::ComponentConfiguration>] :components
|
|
739
|
+
# The components included in the container recipe.
|
|
730
740
|
#
|
|
731
741
|
# @option params [Types::InstanceConfiguration] :instance_configuration
|
|
732
742
|
# A group of options that can be used to configure an instance for
|
|
@@ -786,6 +796,7 @@ module Aws::Imagebuilder
|
|
|
786
796
|
# * {Types::CreateContainerRecipeResponse#request_id #request_id} => String
|
|
787
797
|
# * {Types::CreateContainerRecipeResponse#client_token #client_token} => String
|
|
788
798
|
# * {Types::CreateContainerRecipeResponse#container_recipe_arn #container_recipe_arn} => String
|
|
799
|
+
# * {Types::CreateContainerRecipeResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
|
|
789
800
|
#
|
|
790
801
|
# @example Request syntax with placeholder values
|
|
791
802
|
#
|
|
@@ -793,8 +804,8 @@ module Aws::Imagebuilder
|
|
|
793
804
|
# container_type: "DOCKER", # required, accepts DOCKER
|
|
794
805
|
# name: "ResourceName", # required
|
|
795
806
|
# description: "NonEmptyString",
|
|
796
|
-
# semantic_version: "
|
|
797
|
-
# components: [
|
|
807
|
+
# semantic_version: "WildcardVersionNumber", # required
|
|
808
|
+
# components: [
|
|
798
809
|
# {
|
|
799
810
|
# component_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
|
800
811
|
# parameters: [
|
|
@@ -847,6 +858,10 @@ module Aws::Imagebuilder
|
|
|
847
858
|
# resp.request_id #=> String
|
|
848
859
|
# resp.client_token #=> String
|
|
849
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
|
|
850
865
|
#
|
|
851
866
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateContainerRecipe AWS API Documentation
|
|
852
867
|
#
|
|
@@ -1044,6 +1059,7 @@ module Aws::Imagebuilder
|
|
|
1044
1059
|
# * {Types::CreateImageResponse#request_id #request_id} => String
|
|
1045
1060
|
# * {Types::CreateImageResponse#client_token #client_token} => String
|
|
1046
1061
|
# * {Types::CreateImageResponse#image_build_version_arn #image_build_version_arn} => String
|
|
1062
|
+
# * {Types::CreateImageResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
|
|
1047
1063
|
#
|
|
1048
1064
|
# @example Request syntax with placeholder values
|
|
1049
1065
|
#
|
|
@@ -1092,6 +1108,10 @@ module Aws::Imagebuilder
|
|
|
1092
1108
|
# resp.request_id #=> String
|
|
1093
1109
|
# resp.client_token #=> String
|
|
1094
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
|
|
1095
1115
|
#
|
|
1096
1116
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImage AWS API Documentation
|
|
1097
1117
|
#
|
|
@@ -1275,7 +1295,7 @@ module Aws::Imagebuilder
|
|
|
1275
1295
|
#
|
|
1276
1296
|
# </note>
|
|
1277
1297
|
#
|
|
1278
|
-
# @option params [
|
|
1298
|
+
# @option params [Array<Types::ComponentConfiguration>] :components
|
|
1279
1299
|
# The components included in the image recipe.
|
|
1280
1300
|
#
|
|
1281
1301
|
# @option params [required, String] :parent_image
|
|
@@ -1329,14 +1349,15 @@ module Aws::Imagebuilder
|
|
|
1329
1349
|
# * {Types::CreateImageRecipeResponse#request_id #request_id} => String
|
|
1330
1350
|
# * {Types::CreateImageRecipeResponse#client_token #client_token} => String
|
|
1331
1351
|
# * {Types::CreateImageRecipeResponse#image_recipe_arn #image_recipe_arn} => String
|
|
1352
|
+
# * {Types::CreateImageRecipeResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
|
|
1332
1353
|
#
|
|
1333
1354
|
# @example Request syntax with placeholder values
|
|
1334
1355
|
#
|
|
1335
1356
|
# resp = client.create_image_recipe({
|
|
1336
1357
|
# name: "ResourceName", # required
|
|
1337
1358
|
# description: "NonEmptyString",
|
|
1338
|
-
# semantic_version: "
|
|
1339
|
-
# components: [
|
|
1359
|
+
# semantic_version: "WildcardVersionNumber", # required
|
|
1360
|
+
# components: [
|
|
1340
1361
|
# {
|
|
1341
1362
|
# component_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
|
1342
1363
|
# parameters: [
|
|
@@ -1386,6 +1407,10 @@ module Aws::Imagebuilder
|
|
|
1386
1407
|
# resp.request_id #=> String
|
|
1387
1408
|
# resp.client_token #=> String
|
|
1388
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
|
|
1389
1414
|
#
|
|
1390
1415
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImageRecipe AWS API Documentation
|
|
1391
1416
|
#
|
|
@@ -1731,10 +1756,17 @@ module Aws::Imagebuilder
|
|
|
1731
1756
|
# The phase in the image build process for which the workflow resource
|
|
1732
1757
|
# is responsible.
|
|
1733
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
|
+
#
|
|
1734
1765
|
# @return [Types::CreateWorkflowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1735
1766
|
#
|
|
1736
1767
|
# * {Types::CreateWorkflowResponse#client_token #client_token} => String
|
|
1737
1768
|
# * {Types::CreateWorkflowResponse#workflow_build_version_arn #workflow_build_version_arn} => String
|
|
1769
|
+
# * {Types::CreateWorkflowResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
|
|
1738
1770
|
#
|
|
1739
1771
|
# @example Request syntax with placeholder values
|
|
1740
1772
|
#
|
|
@@ -1751,12 +1783,17 @@ module Aws::Imagebuilder
|
|
|
1751
1783
|
# },
|
|
1752
1784
|
# client_token: "ClientToken", # required
|
|
1753
1785
|
# type: "BUILD", # required, accepts BUILD, TEST, DISTRIBUTION
|
|
1786
|
+
# dry_run: false,
|
|
1754
1787
|
# })
|
|
1755
1788
|
#
|
|
1756
1789
|
# @example Response structure
|
|
1757
1790
|
#
|
|
1758
1791
|
# resp.client_token #=> String
|
|
1759
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
|
|
1760
1797
|
#
|
|
1761
1798
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateWorkflow AWS API Documentation
|
|
1762
1799
|
#
|
|
@@ -2056,6 +2093,71 @@ module Aws::Imagebuilder
|
|
|
2056
2093
|
req.send_request(options)
|
|
2057
2094
|
end
|
|
2058
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
|
+
|
|
2059
2161
|
# Gets a component object.
|
|
2060
2162
|
#
|
|
2061
2163
|
# @option params [required, String] :component_build_version_arn
|
|
@@ -2066,6 +2168,7 @@ module Aws::Imagebuilder
|
|
|
2066
2168
|
#
|
|
2067
2169
|
# * {Types::GetComponentResponse#request_id #request_id} => String
|
|
2068
2170
|
# * {Types::GetComponentResponse#component #component} => Types::Component
|
|
2171
|
+
# * {Types::GetComponentResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
|
|
2069
2172
|
#
|
|
2070
2173
|
# @example Request syntax with placeholder values
|
|
2071
2174
|
#
|
|
@@ -2105,6 +2208,10 @@ module Aws::Imagebuilder
|
|
|
2105
2208
|
# resp.component.product_codes #=> Array
|
|
2106
2209
|
# resp.component.product_codes[0].product_code_id #=> String
|
|
2107
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
|
|
2108
2215
|
#
|
|
2109
2216
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetComponent AWS API Documentation
|
|
2110
2217
|
#
|
|
@@ -2155,6 +2262,7 @@ module Aws::Imagebuilder
|
|
|
2155
2262
|
#
|
|
2156
2263
|
# * {Types::GetContainerRecipeResponse#request_id #request_id} => String
|
|
2157
2264
|
# * {Types::GetContainerRecipeResponse#container_recipe #container_recipe} => Types::ContainerRecipe
|
|
2265
|
+
# * {Types::GetContainerRecipeResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
|
|
2158
2266
|
#
|
|
2159
2267
|
# @example Request syntax with placeholder values
|
|
2160
2268
|
#
|
|
@@ -2201,6 +2309,10 @@ module Aws::Imagebuilder
|
|
|
2201
2309
|
# resp.container_recipe.working_directory #=> String
|
|
2202
2310
|
# resp.container_recipe.target_repository.service #=> String, one of "ECR"
|
|
2203
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
|
|
2204
2316
|
#
|
|
2205
2317
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipe AWS API Documentation
|
|
2206
2318
|
#
|
|
@@ -2333,6 +2445,7 @@ module Aws::Imagebuilder
|
|
|
2333
2445
|
#
|
|
2334
2446
|
# * {Types::GetImageResponse#request_id #request_id} => String
|
|
2335
2447
|
# * {Types::GetImageResponse#image #image} => Types::Image
|
|
2448
|
+
# * {Types::GetImageResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
|
|
2336
2449
|
#
|
|
2337
2450
|
# @example Request syntax with placeholder values
|
|
2338
2451
|
#
|
|
@@ -2539,6 +2652,10 @@ module Aws::Imagebuilder
|
|
|
2539
2652
|
# resp.image.workflows[0].parallel_group #=> String
|
|
2540
2653
|
# resp.image.workflows[0].on_failure #=> String, one of "CONTINUE", "ABORT"
|
|
2541
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
|
|
2542
2659
|
#
|
|
2543
2660
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImage AWS API Documentation
|
|
2544
2661
|
#
|
|
@@ -2659,6 +2776,7 @@ module Aws::Imagebuilder
|
|
|
2659
2776
|
#
|
|
2660
2777
|
# * {Types::GetImageRecipeResponse#request_id #request_id} => String
|
|
2661
2778
|
# * {Types::GetImageRecipeResponse#image_recipe #image_recipe} => Types::ImageRecipe
|
|
2779
|
+
# * {Types::GetImageRecipeResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
|
|
2662
2780
|
#
|
|
2663
2781
|
# @example Request syntax with placeholder values
|
|
2664
2782
|
#
|
|
@@ -2703,6 +2821,10 @@ module Aws::Imagebuilder
|
|
|
2703
2821
|
# resp.image_recipe.additional_instance_configuration.user_data_override #=> String
|
|
2704
2822
|
# resp.image_recipe.ami_tags #=> Hash
|
|
2705
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
|
|
2706
2828
|
#
|
|
2707
2829
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipe AWS API Documentation
|
|
2708
2830
|
#
|
|
@@ -2955,6 +3077,7 @@ module Aws::Imagebuilder
|
|
|
2955
3077
|
# @return [Types::GetWorkflowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2956
3078
|
#
|
|
2957
3079
|
# * {Types::GetWorkflowResponse#workflow #workflow} => Types::Workflow
|
|
3080
|
+
# * {Types::GetWorkflowResponse#latest_version_references #latest_version_references} => Types::LatestVersionReferences
|
|
2958
3081
|
#
|
|
2959
3082
|
# @example Request syntax with placeholder values
|
|
2960
3083
|
#
|
|
@@ -2984,6 +3107,10 @@ module Aws::Imagebuilder
|
|
|
2984
3107
|
# resp.workflow.parameters[0].default_value #=> Array
|
|
2985
3108
|
# resp.workflow.parameters[0].default_value[0] #=> String
|
|
2986
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
|
|
2987
3114
|
#
|
|
2988
3115
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetWorkflow AWS API Documentation
|
|
2989
3116
|
#
|
|
@@ -4819,6 +4946,7 @@ module Aws::Imagebuilder
|
|
|
4819
4946
|
# resp.workflow_executions[0].start_time #=> String
|
|
4820
4947
|
# resp.workflow_executions[0].end_time #=> String
|
|
4821
4948
|
# resp.workflow_executions[0].parallel_group #=> String
|
|
4949
|
+
# resp.workflow_executions[0].retried #=> Boolean
|
|
4822
4950
|
# resp.image_build_version_arn #=> String
|
|
4823
4951
|
# resp.message #=> String
|
|
4824
4952
|
# resp.next_token #=> String
|
|
@@ -5134,6 +5262,49 @@ module Aws::Imagebuilder
|
|
|
5134
5262
|
req.send_request(options)
|
|
5135
5263
|
end
|
|
5136
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
|
+
|
|
5137
5308
|
# Pauses or resumes image creation when the associated workflow runs a
|
|
5138
5309
|
# `WaitForAction` step.
|
|
5139
5310
|
#
|
|
@@ -5251,8 +5422,8 @@ module Aws::Imagebuilder
|
|
|
5251
5422
|
# specified image resources.
|
|
5252
5423
|
#
|
|
5253
5424
|
# @option params [required, String] :resource_arn
|
|
5254
|
-
# The ARN of the Image Builder resource that is
|
|
5255
|
-
# 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.
|
|
5256
5427
|
#
|
|
5257
5428
|
# @option params [required, Types::ResourceState] :state
|
|
5258
5429
|
# Indicates the lifecycle action to take for this request.
|
|
@@ -5925,7 +6096,7 @@ module Aws::Imagebuilder
|
|
|
5925
6096
|
tracer: tracer
|
|
5926
6097
|
)
|
|
5927
6098
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
|
5928
|
-
context[:gem_version] = '1.
|
|
6099
|
+
context[:gem_version] = '1.93.0'
|
|
5929
6100
|
Seahorse::Client::Request.new(handlers, context)
|
|
5930
6101
|
end
|
|
5931
6102
|
|