aws-sdk-imagebuilder 1.5.0 → 1.11.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/lib/aws-sdk-imagebuilder.rb +3 -1
- data/lib/aws-sdk-imagebuilder/client.rb +51 -8
- data/lib/aws-sdk-imagebuilder/client_api.rb +33 -2
- data/lib/aws-sdk-imagebuilder/errors.rb +18 -0
- data/lib/aws-sdk-imagebuilder/resource.rb +2 -0
- data/lib/aws-sdk-imagebuilder/types.rb +228 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc7748b42071c50117bbec58861e622d51182914c8cb390335a266450f5a042d
|
4
|
+
data.tar.gz: 57bd3dfdca3c69d268a94ebbedbd7550dc72d08d742a8451366002265ae9673b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 026fbd3c85338cc67590745b7aff86abcf04b1dbc40268f3548458d71e5213520b457e894dc359ef69c96d78ddba784c18c3b2dc0d2621b92a08f24ebdc74c5a
|
7
|
+
data.tar.gz: dfc9d9b39e4427ee5d4ad4d612b92f9e5b410d0705494c45ad093707908c3c7753bb2ce0ea163d6befa80906c2274b788e80e1e9d48ba54b068d6123151e946b
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-imagebuilder/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::Imagebuilder
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.11.0'
|
49
51
|
|
50
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::Imagebuilder
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -161,7 +165,7 @@ module Aws::Imagebuilder
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::Imagebuilder
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -372,6 +376,11 @@ module Aws::Imagebuilder
|
|
372
376
|
# @option params [required, String] :platform
|
373
377
|
# The platform of the component.
|
374
378
|
#
|
379
|
+
# @option params [Array<String>] :supported_os_versions
|
380
|
+
# The operating system (OS) version supported by the component. If the
|
381
|
+
# OS information is available, a prefix match is performed against the
|
382
|
+
# parent image OS version during image recipe creation.
|
383
|
+
#
|
375
384
|
# @option params [String] :data
|
376
385
|
# The data of the component. Used to specify the data inline. Either
|
377
386
|
# `data` or `uri` can be used to specify the data within the component.
|
@@ -408,6 +417,7 @@ module Aws::Imagebuilder
|
|
408
417
|
# description: "NonEmptyString",
|
409
418
|
# change_description: "NonEmptyString",
|
410
419
|
# platform: "Windows", # required, accepts Windows, Linux
|
420
|
+
# supported_os_versions: ["OsVersion"],
|
411
421
|
# data: "InlineComponentData",
|
412
422
|
# uri: "Uri",
|
413
423
|
# kms_key_id: "NonEmptyString",
|
@@ -473,6 +483,7 @@ module Aws::Imagebuilder
|
|
473
483
|
# ami_tags: {
|
474
484
|
# "TagKey" => "TagValue",
|
475
485
|
# },
|
486
|
+
# kms_key_id: "NonEmptyString",
|
476
487
|
# launch_permission: {
|
477
488
|
# user_ids: ["NonEmptyString"],
|
478
489
|
# user_groups: ["NonEmptyString"],
|
@@ -699,6 +710,9 @@ module Aws::Imagebuilder
|
|
699
710
|
# @option params [Hash<String,String>] :tags
|
700
711
|
# The tags of the image recipe.
|
701
712
|
#
|
713
|
+
# @option params [String] :working_directory
|
714
|
+
# The working directory to be used during build and test workflows.
|
715
|
+
#
|
702
716
|
# @option params [required, String] :client_token
|
703
717
|
# The idempotency token used to make this request idempotent.
|
704
718
|
#
|
@@ -742,6 +756,7 @@ module Aws::Imagebuilder
|
|
742
756
|
# tags: {
|
743
757
|
# "TagKey" => "TagValue",
|
744
758
|
# },
|
759
|
+
# working_directory: "NonEmptyString",
|
745
760
|
# client_token: "ClientToken", # required
|
746
761
|
# })
|
747
762
|
#
|
@@ -803,6 +818,9 @@ module Aws::Imagebuilder
|
|
803
818
|
# @option params [String] :sns_topic_arn
|
804
819
|
# The SNS topic on which to send image build events.
|
805
820
|
#
|
821
|
+
# @option params [Hash<String,String>] :resource_tags
|
822
|
+
# The tags attached to the resource created by Image Builder.
|
823
|
+
#
|
806
824
|
# @option params [Hash<String,String>] :tags
|
807
825
|
# The tags of the infrastructure configuration.
|
808
826
|
#
|
@@ -836,6 +854,9 @@ module Aws::Imagebuilder
|
|
836
854
|
# key_pair: "NonEmptyString",
|
837
855
|
# terminate_instance_on_failure: false,
|
838
856
|
# sns_topic_arn: "SnsTopicArn",
|
857
|
+
# resource_tags: {
|
858
|
+
# "TagKey" => "TagValue",
|
859
|
+
# },
|
839
860
|
# tags: {
|
840
861
|
# "TagKey" => "TagValue",
|
841
862
|
# },
|
@@ -1054,7 +1075,7 @@ module Aws::Imagebuilder
|
|
1054
1075
|
# @example Request syntax with placeholder values
|
1055
1076
|
#
|
1056
1077
|
# resp = client.get_component({
|
1057
|
-
# component_build_version_arn: "
|
1078
|
+
# component_build_version_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
1058
1079
|
# })
|
1059
1080
|
#
|
1060
1081
|
# @example Response structure
|
@@ -1067,6 +1088,8 @@ module Aws::Imagebuilder
|
|
1067
1088
|
# resp.component.change_description #=> String
|
1068
1089
|
# resp.component.type #=> String, one of "BUILD", "TEST"
|
1069
1090
|
# resp.component.platform #=> String, one of "Windows", "Linux"
|
1091
|
+
# resp.component.supported_os_versions #=> Array
|
1092
|
+
# resp.component.supported_os_versions[0] #=> String
|
1070
1093
|
# resp.component.owner #=> String
|
1071
1094
|
# resp.component.data #=> String
|
1072
1095
|
# resp.component.kms_key_id #=> String
|
@@ -1144,6 +1167,7 @@ module Aws::Imagebuilder
|
|
1144
1167
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.description #=> String
|
1145
1168
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.ami_tags #=> Hash
|
1146
1169
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.ami_tags["TagKey"] #=> String
|
1170
|
+
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.kms_key_id #=> String
|
1147
1171
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids #=> Array
|
1148
1172
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids[0] #=> String
|
1149
1173
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups #=> Array
|
@@ -1178,7 +1202,7 @@ module Aws::Imagebuilder
|
|
1178
1202
|
# @example Request syntax with placeholder values
|
1179
1203
|
#
|
1180
1204
|
# resp = client.get_image({
|
1181
|
-
# image_build_version_arn: "
|
1205
|
+
# image_build_version_arn: "ImageVersionArnOrBuildVersionArn", # required
|
1182
1206
|
# })
|
1183
1207
|
#
|
1184
1208
|
# @example Response structure
|
@@ -1215,6 +1239,7 @@ module Aws::Imagebuilder
|
|
1215
1239
|
# resp.image.image_recipe.date_created #=> String
|
1216
1240
|
# resp.image.image_recipe.tags #=> Hash
|
1217
1241
|
# resp.image.image_recipe.tags["TagKey"] #=> String
|
1242
|
+
# resp.image.image_recipe.working_directory #=> String
|
1218
1243
|
# resp.image.source_pipeline_name #=> String
|
1219
1244
|
# resp.image.source_pipeline_arn #=> String
|
1220
1245
|
# resp.image.infrastructure_configuration.arn #=> String
|
@@ -1233,6 +1258,8 @@ module Aws::Imagebuilder
|
|
1233
1258
|
# resp.image.infrastructure_configuration.sns_topic_arn #=> String
|
1234
1259
|
# resp.image.infrastructure_configuration.date_created #=> String
|
1235
1260
|
# resp.image.infrastructure_configuration.date_updated #=> String
|
1261
|
+
# resp.image.infrastructure_configuration.resource_tags #=> Hash
|
1262
|
+
# resp.image.infrastructure_configuration.resource_tags["TagKey"] #=> String
|
1236
1263
|
# resp.image.infrastructure_configuration.tags #=> Hash
|
1237
1264
|
# resp.image.infrastructure_configuration.tags["TagKey"] #=> String
|
1238
1265
|
# resp.image.distribution_configuration.arn #=> String
|
@@ -1244,6 +1271,7 @@ module Aws::Imagebuilder
|
|
1244
1271
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.description #=> String
|
1245
1272
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.ami_tags #=> Hash
|
1246
1273
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.ami_tags["TagKey"] #=> String
|
1274
|
+
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.kms_key_id #=> String
|
1247
1275
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids #=> Array
|
1248
1276
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids[0] #=> String
|
1249
1277
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups #=> Array
|
@@ -1400,6 +1428,7 @@ module Aws::Imagebuilder
|
|
1400
1428
|
# resp.image_recipe.date_created #=> String
|
1401
1429
|
# resp.image_recipe.tags #=> Hash
|
1402
1430
|
# resp.image_recipe.tags["TagKey"] #=> String
|
1431
|
+
# resp.image_recipe.working_directory #=> String
|
1403
1432
|
#
|
1404
1433
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipe AWS API Documentation
|
1405
1434
|
#
|
@@ -1477,6 +1506,8 @@ module Aws::Imagebuilder
|
|
1477
1506
|
# resp.infrastructure_configuration.sns_topic_arn #=> String
|
1478
1507
|
# resp.infrastructure_configuration.date_created #=> String
|
1479
1508
|
# resp.infrastructure_configuration.date_updated #=> String
|
1509
|
+
# resp.infrastructure_configuration.resource_tags #=> Hash
|
1510
|
+
# resp.infrastructure_configuration.resource_tags["TagKey"] #=> String
|
1480
1511
|
# resp.infrastructure_configuration.tags #=> Hash
|
1481
1512
|
# resp.infrastructure_configuration.tags["TagKey"] #=> String
|
1482
1513
|
#
|
@@ -1618,6 +1649,8 @@ module Aws::Imagebuilder
|
|
1618
1649
|
# resp.component_summary_list[0].name #=> String
|
1619
1650
|
# resp.component_summary_list[0].version #=> String
|
1620
1651
|
# resp.component_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
1652
|
+
# resp.component_summary_list[0].supported_os_versions #=> Array
|
1653
|
+
# resp.component_summary_list[0].supported_os_versions[0] #=> String
|
1621
1654
|
# resp.component_summary_list[0].type #=> String, one of "BUILD", "TEST"
|
1622
1655
|
# resp.component_summary_list[0].owner #=> String
|
1623
1656
|
# resp.component_summary_list[0].description #=> String
|
@@ -1687,6 +1720,8 @@ module Aws::Imagebuilder
|
|
1687
1720
|
# resp.component_version_list[0].version #=> String
|
1688
1721
|
# resp.component_version_list[0].description #=> String
|
1689
1722
|
# resp.component_version_list[0].platform #=> String, one of "Windows", "Linux"
|
1723
|
+
# resp.component_version_list[0].supported_os_versions #=> Array
|
1724
|
+
# resp.component_version_list[0].supported_os_versions[0] #=> String
|
1690
1725
|
# resp.component_version_list[0].type #=> String, one of "BUILD", "TEST"
|
1691
1726
|
# resp.component_version_list[0].owner #=> String
|
1692
1727
|
# resp.component_version_list[0].date_created #=> String
|
@@ -1756,7 +1791,7 @@ module Aws::Imagebuilder
|
|
1756
1791
|
req.send_request(options)
|
1757
1792
|
end
|
1758
1793
|
|
1759
|
-
# Returns a list of
|
1794
|
+
# Returns a list of image build versions.
|
1760
1795
|
#
|
1761
1796
|
# @option params [required, String] :image_version_arn
|
1762
1797
|
# The Amazon Resource Name (ARN) of the image whose build versions you
|
@@ -2029,8 +2064,7 @@ module Aws::Imagebuilder
|
|
2029
2064
|
req.send_request(options)
|
2030
2065
|
end
|
2031
2066
|
|
2032
|
-
# Returns the list of
|
2033
|
-
# version.
|
2067
|
+
# Returns the list of images that you have access to.
|
2034
2068
|
#
|
2035
2069
|
# @option params [String] :owner
|
2036
2070
|
# The owner defines which images you want to list. By default, this
|
@@ -2135,6 +2169,8 @@ module Aws::Imagebuilder
|
|
2135
2169
|
# resp.infrastructure_configuration_summary_list[0].description #=> String
|
2136
2170
|
# resp.infrastructure_configuration_summary_list[0].date_created #=> String
|
2137
2171
|
# resp.infrastructure_configuration_summary_list[0].date_updated #=> String
|
2172
|
+
# resp.infrastructure_configuration_summary_list[0].resource_tags #=> Hash
|
2173
|
+
# resp.infrastructure_configuration_summary_list[0].resource_tags["TagKey"] #=> String
|
2138
2174
|
# resp.infrastructure_configuration_summary_list[0].tags #=> Hash
|
2139
2175
|
# resp.infrastructure_configuration_summary_list[0].tags["TagKey"] #=> String
|
2140
2176
|
# resp.next_token #=> String
|
@@ -2444,6 +2480,7 @@ module Aws::Imagebuilder
|
|
2444
2480
|
# ami_tags: {
|
2445
2481
|
# "TagKey" => "TagValue",
|
2446
2482
|
# },
|
2483
|
+
# kms_key_id: "NonEmptyString",
|
2447
2484
|
# launch_permission: {
|
2448
2485
|
# user_ids: ["NonEmptyString"],
|
2449
2486
|
# user_groups: ["NonEmptyString"],
|
@@ -2605,6 +2642,9 @@ module Aws::Imagebuilder
|
|
2605
2642
|
# **A suitable default value is auto-generated.** You should normally
|
2606
2643
|
# not need to pass this option.**
|
2607
2644
|
#
|
2645
|
+
# @option params [Hash<String,String>] :resource_tags
|
2646
|
+
# The tags attached to the resource created by Image Builder.
|
2647
|
+
#
|
2608
2648
|
# @return [Types::UpdateInfrastructureConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2609
2649
|
#
|
2610
2650
|
# * {Types::UpdateInfrastructureConfigurationResponse#request_id #request_id} => String
|
@@ -2630,6 +2670,9 @@ module Aws::Imagebuilder
|
|
2630
2670
|
# terminate_instance_on_failure: false,
|
2631
2671
|
# sns_topic_arn: "SnsTopicArn",
|
2632
2672
|
# client_token: "ClientToken", # required
|
2673
|
+
# resource_tags: {
|
2674
|
+
# "TagKey" => "TagValue",
|
2675
|
+
# },
|
2633
2676
|
# })
|
2634
2677
|
#
|
2635
2678
|
# @example Response structure
|
@@ -2660,7 +2703,7 @@ module Aws::Imagebuilder
|
|
2660
2703
|
params: params,
|
2661
2704
|
config: config)
|
2662
2705
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
2663
|
-
context[:gem_version] = '1.
|
2706
|
+
context[:gem_version] = '1.11.0'
|
2664
2707
|
Seahorse::Client::Request.new(handlers, context)
|
2665
2708
|
end
|
2666
2709
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -117,6 +119,7 @@ module Aws::Imagebuilder
|
|
117
119
|
ImageTestsTimeoutMinutes = Shapes::IntegerShape.new(name: 'ImageTestsTimeoutMinutes')
|
118
120
|
ImageVersion = Shapes::StructureShape.new(name: 'ImageVersion')
|
119
121
|
ImageVersionArn = Shapes::StringShape.new(name: 'ImageVersionArn')
|
122
|
+
ImageVersionArnOrBuildVersionArn = Shapes::StringShape.new(name: 'ImageVersionArnOrBuildVersionArn')
|
120
123
|
ImageVersionList = Shapes::ListShape.new(name: 'ImageVersionList')
|
121
124
|
ImportComponentRequest = Shapes::StructureShape.new(name: 'ImportComponentRequest')
|
122
125
|
ImportComponentResponse = Shapes::StructureShape.new(name: 'ImportComponentResponse')
|
@@ -160,6 +163,7 @@ module Aws::Imagebuilder
|
|
160
163
|
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
161
164
|
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
162
165
|
OsVersion = Shapes::StringShape.new(name: 'OsVersion')
|
166
|
+
OsVersionList = Shapes::ListShape.new(name: 'OsVersionList')
|
163
167
|
OutputResources = Shapes::StructureShape.new(name: 'OutputResources')
|
164
168
|
Ownership = Shapes::StringShape.new(name: 'Ownership')
|
165
169
|
PipelineExecutionStartCondition = Shapes::StringShape.new(name: 'PipelineExecutionStartCondition')
|
@@ -177,11 +181,13 @@ module Aws::Imagebuilder
|
|
177
181
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
178
182
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
179
183
|
ResourcePolicyDocument = Shapes::StringShape.new(name: 'ResourcePolicyDocument')
|
184
|
+
ResourceTagMap = Shapes::MapShape.new(name: 'ResourceTagMap')
|
180
185
|
RestrictedInteger = Shapes::IntegerShape.new(name: 'RestrictedInteger')
|
181
186
|
S3Logs = Shapes::StructureShape.new(name: 'S3Logs')
|
182
187
|
Schedule = Shapes::StructureShape.new(name: 'Schedule')
|
183
188
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
184
189
|
ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
|
190
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
185
191
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
186
192
|
SnsTopicArn = Shapes::StringShape.new(name: 'SnsTopicArn')
|
187
193
|
StartImagePipelineExecutionRequest = Shapes::StructureShape.new(name: 'StartImagePipelineExecutionRequest')
|
@@ -216,6 +222,7 @@ module Aws::Imagebuilder
|
|
216
222
|
AmiDistributionConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: AmiNameString, location_name: "name"))
|
217
223
|
AmiDistributionConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
218
224
|
AmiDistributionConfiguration.add_member(:ami_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "amiTags"))
|
225
|
+
AmiDistributionConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
|
219
226
|
AmiDistributionConfiguration.add_member(:launch_permission, Shapes::ShapeRef.new(shape: LaunchPermissionConfiguration, location_name: "launchPermission"))
|
220
227
|
AmiDistributionConfiguration.struct_class = Types::AmiDistributionConfiguration
|
221
228
|
|
@@ -245,6 +252,7 @@ module Aws::Imagebuilder
|
|
245
252
|
Component.add_member(:change_description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "changeDescription"))
|
246
253
|
Component.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
|
247
254
|
Component.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
255
|
+
Component.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
|
248
256
|
Component.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
249
257
|
Component.add_member(:data, Shapes::ShapeRef.new(shape: ComponentData, location_name: "data"))
|
250
258
|
Component.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
|
@@ -262,6 +270,7 @@ module Aws::Imagebuilder
|
|
262
270
|
ComponentSummary.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
263
271
|
ComponentSummary.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
|
264
272
|
ComponentSummary.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
273
|
+
ComponentSummary.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
|
265
274
|
ComponentSummary.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
|
266
275
|
ComponentSummary.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
267
276
|
ComponentSummary.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
@@ -277,6 +286,7 @@ module Aws::Imagebuilder
|
|
277
286
|
ComponentVersion.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
|
278
287
|
ComponentVersion.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
279
288
|
ComponentVersion.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
289
|
+
ComponentVersion.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
|
280
290
|
ComponentVersion.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
|
281
291
|
ComponentVersion.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
282
292
|
ComponentVersion.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
@@ -289,6 +299,7 @@ module Aws::Imagebuilder
|
|
289
299
|
CreateComponentRequest.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
290
300
|
CreateComponentRequest.add_member(:change_description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "changeDescription"))
|
291
301
|
CreateComponentRequest.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, required: true, location_name: "platform"))
|
302
|
+
CreateComponentRequest.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
|
292
303
|
CreateComponentRequest.add_member(:data, Shapes::ShapeRef.new(shape: InlineComponentData, location_name: "data"))
|
293
304
|
CreateComponentRequest.add_member(:uri, Shapes::ShapeRef.new(shape: Uri, location_name: "uri"))
|
294
305
|
CreateComponentRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
|
@@ -338,6 +349,7 @@ module Aws::Imagebuilder
|
|
338
349
|
CreateImageRecipeRequest.add_member(:parent_image, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "parentImage"))
|
339
350
|
CreateImageRecipeRequest.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: InstanceBlockDeviceMappings, location_name: "blockDeviceMappings"))
|
340
351
|
CreateImageRecipeRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
352
|
+
CreateImageRecipeRequest.add_member(:working_directory, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "workingDirectory"))
|
341
353
|
CreateImageRecipeRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
342
354
|
CreateImageRecipeRequest.struct_class = Types::CreateImageRecipeRequest
|
343
355
|
|
@@ -370,6 +382,7 @@ module Aws::Imagebuilder
|
|
370
382
|
CreateInfrastructureConfigurationRequest.add_member(:key_pair, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "keyPair"))
|
371
383
|
CreateInfrastructureConfigurationRequest.add_member(:terminate_instance_on_failure, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminateInstanceOnFailure"))
|
372
384
|
CreateInfrastructureConfigurationRequest.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: SnsTopicArn, location_name: "snsTopicArn"))
|
385
|
+
CreateInfrastructureConfigurationRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
373
386
|
CreateInfrastructureConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
374
387
|
CreateInfrastructureConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
375
388
|
CreateInfrastructureConfigurationRequest.struct_class = Types::CreateInfrastructureConfigurationRequest
|
@@ -475,7 +488,7 @@ module Aws::Imagebuilder
|
|
475
488
|
GetComponentPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicyDocument, location_name: "policy"))
|
476
489
|
GetComponentPolicyResponse.struct_class = Types::GetComponentPolicyResponse
|
477
490
|
|
478
|
-
GetComponentRequest.add_member(:component_build_version_arn, Shapes::ShapeRef.new(shape:
|
491
|
+
GetComponentRequest.add_member(:component_build_version_arn, Shapes::ShapeRef.new(shape: ComponentVersionArnOrBuildVersionArn, required: true, location: "querystring", location_name: "componentBuildVersionArn"))
|
479
492
|
GetComponentRequest.struct_class = Types::GetComponentRequest
|
480
493
|
|
481
494
|
GetComponentResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
@@ -517,7 +530,7 @@ module Aws::Imagebuilder
|
|
517
530
|
GetImageRecipeResponse.add_member(:image_recipe, Shapes::ShapeRef.new(shape: ImageRecipe, location_name: "imageRecipe"))
|
518
531
|
GetImageRecipeResponse.struct_class = Types::GetImageRecipeResponse
|
519
532
|
|
520
|
-
GetImageRequest.add_member(:image_build_version_arn, Shapes::ShapeRef.new(shape:
|
533
|
+
GetImageRequest.add_member(:image_build_version_arn, Shapes::ShapeRef.new(shape: ImageVersionArnOrBuildVersionArn, required: true, location: "querystring", location_name: "imageBuildVersionArn"))
|
521
534
|
GetImageRequest.struct_class = Types::GetImageRequest
|
522
535
|
|
523
536
|
GetImageResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
@@ -583,6 +596,7 @@ module Aws::Imagebuilder
|
|
583
596
|
ImageRecipe.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: InstanceBlockDeviceMappings, location_name: "blockDeviceMappings"))
|
584
597
|
ImageRecipe.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
585
598
|
ImageRecipe.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
599
|
+
ImageRecipe.add_member(:working_directory, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "workingDirectory"))
|
586
600
|
ImageRecipe.struct_class = Types::ImageRecipe
|
587
601
|
|
588
602
|
ImageRecipeSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "arn"))
|
@@ -661,6 +675,7 @@ module Aws::Imagebuilder
|
|
661
675
|
InfrastructureConfiguration.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "snsTopicArn"))
|
662
676
|
InfrastructureConfiguration.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
663
677
|
InfrastructureConfiguration.add_member(:date_updated, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateUpdated"))
|
678
|
+
InfrastructureConfiguration.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
664
679
|
InfrastructureConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
665
680
|
InfrastructureConfiguration.struct_class = Types::InfrastructureConfiguration
|
666
681
|
|
@@ -669,6 +684,7 @@ module Aws::Imagebuilder
|
|
669
684
|
InfrastructureConfigurationSummary.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
670
685
|
InfrastructureConfigurationSummary.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
671
686
|
InfrastructureConfigurationSummary.add_member(:date_updated, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateUpdated"))
|
687
|
+
InfrastructureConfigurationSummary.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
672
688
|
InfrastructureConfigurationSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
673
689
|
InfrastructureConfigurationSummary.struct_class = Types::InfrastructureConfigurationSummary
|
674
690
|
|
@@ -810,6 +826,8 @@ module Aws::Imagebuilder
|
|
810
826
|
Logging.add_member(:s3_logs, Shapes::ShapeRef.new(shape: S3Logs, location_name: "s3Logs"))
|
811
827
|
Logging.struct_class = Types::Logging
|
812
828
|
|
829
|
+
OsVersionList.member = Shapes::ShapeRef.new(shape: OsVersion)
|
830
|
+
|
813
831
|
OutputResources.add_member(:amis, Shapes::ShapeRef.new(shape: AmiList, location_name: "amis"))
|
814
832
|
OutputResources.struct_class = Types::OutputResources
|
815
833
|
|
@@ -849,6 +867,9 @@ module Aws::Imagebuilder
|
|
849
867
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
850
868
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
851
869
|
|
870
|
+
ResourceTagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
871
|
+
ResourceTagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
872
|
+
|
852
873
|
S3Logs.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "s3BucketName"))
|
853
874
|
S3Logs.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "s3KeyPrefix"))
|
854
875
|
S3Logs.struct_class = Types::S3Logs
|
@@ -862,6 +883,9 @@ module Aws::Imagebuilder
|
|
862
883
|
ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
863
884
|
ServiceException.struct_class = Types::ServiceException
|
864
885
|
|
886
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
887
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
888
|
+
|
865
889
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
866
890
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
867
891
|
|
@@ -932,6 +956,7 @@ module Aws::Imagebuilder
|
|
932
956
|
UpdateInfrastructureConfigurationRequest.add_member(:terminate_instance_on_failure, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminateInstanceOnFailure"))
|
933
957
|
UpdateInfrastructureConfigurationRequest.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: SnsTopicArn, location_name: "snsTopicArn"))
|
934
958
|
UpdateInfrastructureConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
959
|
+
UpdateInfrastructureConfigurationRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
935
960
|
UpdateInfrastructureConfigurationRequest.struct_class = Types::UpdateInfrastructureConfigurationRequest
|
936
961
|
|
937
962
|
UpdateInfrastructureConfigurationResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
@@ -990,6 +1015,7 @@ module Aws::Imagebuilder
|
|
990
1015
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVersionNumberException)
|
991
1016
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
992
1017
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1018
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
993
1019
|
end)
|
994
1020
|
|
995
1021
|
api.add_operation(:create_distribution_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1008,6 +1034,7 @@ module Aws::Imagebuilder
|
|
1008
1034
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1009
1035
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1010
1036
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1037
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1011
1038
|
end)
|
1012
1039
|
|
1013
1040
|
api.add_operation(:create_image, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1024,6 +1051,7 @@ module Aws::Imagebuilder
|
|
1024
1051
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1025
1052
|
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
1026
1053
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1054
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1027
1055
|
end)
|
1028
1056
|
|
1029
1057
|
api.add_operation(:create_image_pipeline, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1041,6 +1069,7 @@ module Aws::Imagebuilder
|
|
1041
1069
|
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
1042
1070
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1043
1071
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1072
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1044
1073
|
end)
|
1045
1074
|
|
1046
1075
|
api.add_operation(:create_image_recipe, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1059,6 +1088,7 @@ module Aws::Imagebuilder
|
|
1059
1088
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVersionNumberException)
|
1060
1089
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1061
1090
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1091
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1062
1092
|
end)
|
1063
1093
|
|
1064
1094
|
api.add_operation(:create_infrastructure_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1076,6 +1106,7 @@ module Aws::Imagebuilder
|
|
1076
1106
|
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
1077
1107
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1078
1108
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1109
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1079
1110
|
end)
|
1080
1111
|
|
1081
1112
|
api.add_operation(:delete_component, Seahorse::Model::Operation.new.tap do |o|
|