aws-sdk-imagebuilder 1.4.0 → 1.10.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 +48 -9
- data/lib/aws-sdk-imagebuilder/client_api.rb +32 -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 +216 -4
- 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: 81edc622d07e03306701c4297e555d443fe874dffb9eb8b8399473be31f1b94e
|
4
|
+
data.tar.gz: c30b001033984e6fcca35ecb5167e59beed21bbc84ca22f535e559abdc4687a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dea26593f8f479fd25dd557ce258922dbe921ad8ce1badd995c9e9e5b76cdf6b06fe6d4ad7acc889c074e80aef45f1bab70db207bd17588ec834347953e41827
|
7
|
+
data.tar.gz: c517aa906c1547dbc7f53e29bf494d062c85750eb33c2d04633c91d6380c76206272cac4facd96c52b92f6855fb40b7398f4f150fd4847adbc67549fd0e5021a
|
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.10.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
|
|
@@ -105,7 +109,7 @@ module Aws::Imagebuilder
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -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
|
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",
|
@@ -699,6 +709,9 @@ module Aws::Imagebuilder
|
|
699
709
|
# @option params [Hash<String,String>] :tags
|
700
710
|
# The tags of the image recipe.
|
701
711
|
#
|
712
|
+
# @option params [String] :working_directory
|
713
|
+
# The working directory to be used during build and test workflows.
|
714
|
+
#
|
702
715
|
# @option params [required, String] :client_token
|
703
716
|
# The idempotency token used to make this request idempotent.
|
704
717
|
#
|
@@ -742,6 +755,7 @@ module Aws::Imagebuilder
|
|
742
755
|
# tags: {
|
743
756
|
# "TagKey" => "TagValue",
|
744
757
|
# },
|
758
|
+
# working_directory: "NonEmptyString",
|
745
759
|
# client_token: "ClientToken", # required
|
746
760
|
# })
|
747
761
|
#
|
@@ -803,6 +817,9 @@ module Aws::Imagebuilder
|
|
803
817
|
# @option params [String] :sns_topic_arn
|
804
818
|
# The SNS topic on which to send image build events.
|
805
819
|
#
|
820
|
+
# @option params [Hash<String,String>] :resource_tags
|
821
|
+
# The tags attached to the resource created by Image Builder.
|
822
|
+
#
|
806
823
|
# @option params [Hash<String,String>] :tags
|
807
824
|
# The tags of the infrastructure configuration.
|
808
825
|
#
|
@@ -836,6 +853,9 @@ module Aws::Imagebuilder
|
|
836
853
|
# key_pair: "NonEmptyString",
|
837
854
|
# terminate_instance_on_failure: false,
|
838
855
|
# sns_topic_arn: "SnsTopicArn",
|
856
|
+
# resource_tags: {
|
857
|
+
# "TagKey" => "TagValue",
|
858
|
+
# },
|
839
859
|
# tags: {
|
840
860
|
# "TagKey" => "TagValue",
|
841
861
|
# },
|
@@ -1054,7 +1074,7 @@ module Aws::Imagebuilder
|
|
1054
1074
|
# @example Request syntax with placeholder values
|
1055
1075
|
#
|
1056
1076
|
# resp = client.get_component({
|
1057
|
-
# component_build_version_arn: "
|
1077
|
+
# component_build_version_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
1058
1078
|
# })
|
1059
1079
|
#
|
1060
1080
|
# @example Response structure
|
@@ -1067,6 +1087,8 @@ module Aws::Imagebuilder
|
|
1067
1087
|
# resp.component.change_description #=> String
|
1068
1088
|
# resp.component.type #=> String, one of "BUILD", "TEST"
|
1069
1089
|
# resp.component.platform #=> String, one of "Windows", "Linux"
|
1090
|
+
# resp.component.supported_os_versions #=> Array
|
1091
|
+
# resp.component.supported_os_versions[0] #=> String
|
1070
1092
|
# resp.component.owner #=> String
|
1071
1093
|
# resp.component.data #=> String
|
1072
1094
|
# resp.component.kms_key_id #=> String
|
@@ -1178,7 +1200,7 @@ module Aws::Imagebuilder
|
|
1178
1200
|
# @example Request syntax with placeholder values
|
1179
1201
|
#
|
1180
1202
|
# resp = client.get_image({
|
1181
|
-
# image_build_version_arn: "
|
1203
|
+
# image_build_version_arn: "ImageVersionArnOrBuildVersionArn", # required
|
1182
1204
|
# })
|
1183
1205
|
#
|
1184
1206
|
# @example Response structure
|
@@ -1215,6 +1237,7 @@ module Aws::Imagebuilder
|
|
1215
1237
|
# resp.image.image_recipe.date_created #=> String
|
1216
1238
|
# resp.image.image_recipe.tags #=> Hash
|
1217
1239
|
# resp.image.image_recipe.tags["TagKey"] #=> String
|
1240
|
+
# resp.image.image_recipe.working_directory #=> String
|
1218
1241
|
# resp.image.source_pipeline_name #=> String
|
1219
1242
|
# resp.image.source_pipeline_arn #=> String
|
1220
1243
|
# resp.image.infrastructure_configuration.arn #=> String
|
@@ -1233,6 +1256,8 @@ module Aws::Imagebuilder
|
|
1233
1256
|
# resp.image.infrastructure_configuration.sns_topic_arn #=> String
|
1234
1257
|
# resp.image.infrastructure_configuration.date_created #=> String
|
1235
1258
|
# resp.image.infrastructure_configuration.date_updated #=> String
|
1259
|
+
# resp.image.infrastructure_configuration.resource_tags #=> Hash
|
1260
|
+
# resp.image.infrastructure_configuration.resource_tags["TagKey"] #=> String
|
1236
1261
|
# resp.image.infrastructure_configuration.tags #=> Hash
|
1237
1262
|
# resp.image.infrastructure_configuration.tags["TagKey"] #=> String
|
1238
1263
|
# resp.image.distribution_configuration.arn #=> String
|
@@ -1400,6 +1425,7 @@ module Aws::Imagebuilder
|
|
1400
1425
|
# resp.image_recipe.date_created #=> String
|
1401
1426
|
# resp.image_recipe.tags #=> Hash
|
1402
1427
|
# resp.image_recipe.tags["TagKey"] #=> String
|
1428
|
+
# resp.image_recipe.working_directory #=> String
|
1403
1429
|
#
|
1404
1430
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipe AWS API Documentation
|
1405
1431
|
#
|
@@ -1477,6 +1503,8 @@ module Aws::Imagebuilder
|
|
1477
1503
|
# resp.infrastructure_configuration.sns_topic_arn #=> String
|
1478
1504
|
# resp.infrastructure_configuration.date_created #=> String
|
1479
1505
|
# resp.infrastructure_configuration.date_updated #=> String
|
1506
|
+
# resp.infrastructure_configuration.resource_tags #=> Hash
|
1507
|
+
# resp.infrastructure_configuration.resource_tags["TagKey"] #=> String
|
1480
1508
|
# resp.infrastructure_configuration.tags #=> Hash
|
1481
1509
|
# resp.infrastructure_configuration.tags["TagKey"] #=> String
|
1482
1510
|
#
|
@@ -1618,6 +1646,8 @@ module Aws::Imagebuilder
|
|
1618
1646
|
# resp.component_summary_list[0].name #=> String
|
1619
1647
|
# resp.component_summary_list[0].version #=> String
|
1620
1648
|
# resp.component_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
1649
|
+
# resp.component_summary_list[0].supported_os_versions #=> Array
|
1650
|
+
# resp.component_summary_list[0].supported_os_versions[0] #=> String
|
1621
1651
|
# resp.component_summary_list[0].type #=> String, one of "BUILD", "TEST"
|
1622
1652
|
# resp.component_summary_list[0].owner #=> String
|
1623
1653
|
# resp.component_summary_list[0].description #=> String
|
@@ -1687,6 +1717,8 @@ module Aws::Imagebuilder
|
|
1687
1717
|
# resp.component_version_list[0].version #=> String
|
1688
1718
|
# resp.component_version_list[0].description #=> String
|
1689
1719
|
# resp.component_version_list[0].platform #=> String, one of "Windows", "Linux"
|
1720
|
+
# resp.component_version_list[0].supported_os_versions #=> Array
|
1721
|
+
# resp.component_version_list[0].supported_os_versions[0] #=> String
|
1690
1722
|
# resp.component_version_list[0].type #=> String, one of "BUILD", "TEST"
|
1691
1723
|
# resp.component_version_list[0].owner #=> String
|
1692
1724
|
# resp.component_version_list[0].date_created #=> String
|
@@ -1756,7 +1788,7 @@ module Aws::Imagebuilder
|
|
1756
1788
|
req.send_request(options)
|
1757
1789
|
end
|
1758
1790
|
|
1759
|
-
# Returns a list of
|
1791
|
+
# Returns a list of image build versions.
|
1760
1792
|
#
|
1761
1793
|
# @option params [required, String] :image_version_arn
|
1762
1794
|
# The Amazon Resource Name (ARN) of the image whose build versions you
|
@@ -2029,8 +2061,7 @@ module Aws::Imagebuilder
|
|
2029
2061
|
req.send_request(options)
|
2030
2062
|
end
|
2031
2063
|
|
2032
|
-
# Returns the list of
|
2033
|
-
# version.
|
2064
|
+
# Returns the list of images that you have access to.
|
2034
2065
|
#
|
2035
2066
|
# @option params [String] :owner
|
2036
2067
|
# The owner defines which images you want to list. By default, this
|
@@ -2135,6 +2166,8 @@ module Aws::Imagebuilder
|
|
2135
2166
|
# resp.infrastructure_configuration_summary_list[0].description #=> String
|
2136
2167
|
# resp.infrastructure_configuration_summary_list[0].date_created #=> String
|
2137
2168
|
# resp.infrastructure_configuration_summary_list[0].date_updated #=> String
|
2169
|
+
# resp.infrastructure_configuration_summary_list[0].resource_tags #=> Hash
|
2170
|
+
# resp.infrastructure_configuration_summary_list[0].resource_tags["TagKey"] #=> String
|
2138
2171
|
# resp.infrastructure_configuration_summary_list[0].tags #=> Hash
|
2139
2172
|
# resp.infrastructure_configuration_summary_list[0].tags["TagKey"] #=> String
|
2140
2173
|
# resp.next_token #=> String
|
@@ -2605,6 +2638,9 @@ module Aws::Imagebuilder
|
|
2605
2638
|
# **A suitable default value is auto-generated.** You should normally
|
2606
2639
|
# not need to pass this option.**
|
2607
2640
|
#
|
2641
|
+
# @option params [Hash<String,String>] :resource_tags
|
2642
|
+
# The tags attached to the resource created by Image Builder.
|
2643
|
+
#
|
2608
2644
|
# @return [Types::UpdateInfrastructureConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2609
2645
|
#
|
2610
2646
|
# * {Types::UpdateInfrastructureConfigurationResponse#request_id #request_id} => String
|
@@ -2630,6 +2666,9 @@ module Aws::Imagebuilder
|
|
2630
2666
|
# terminate_instance_on_failure: false,
|
2631
2667
|
# sns_topic_arn: "SnsTopicArn",
|
2632
2668
|
# client_token: "ClientToken", # required
|
2669
|
+
# resource_tags: {
|
2670
|
+
# "TagKey" => "TagValue",
|
2671
|
+
# },
|
2633
2672
|
# })
|
2634
2673
|
#
|
2635
2674
|
# @example Response structure
|
@@ -2660,7 +2699,7 @@ module Aws::Imagebuilder
|
|
2660
2699
|
params: params,
|
2661
2700
|
config: config)
|
2662
2701
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
2663
|
-
context[:gem_version] = '1.
|
2702
|
+
context[:gem_version] = '1.10.0'
|
2664
2703
|
Seahorse::Client::Request.new(handlers, context)
|
2665
2704
|
end
|
2666
2705
|
|
@@ -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')
|
@@ -245,6 +251,7 @@ module Aws::Imagebuilder
|
|
245
251
|
Component.add_member(:change_description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "changeDescription"))
|
246
252
|
Component.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
|
247
253
|
Component.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
254
|
+
Component.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
|
248
255
|
Component.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
249
256
|
Component.add_member(:data, Shapes::ShapeRef.new(shape: ComponentData, location_name: "data"))
|
250
257
|
Component.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
|
@@ -262,6 +269,7 @@ module Aws::Imagebuilder
|
|
262
269
|
ComponentSummary.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
263
270
|
ComponentSummary.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
|
264
271
|
ComponentSummary.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
272
|
+
ComponentSummary.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
|
265
273
|
ComponentSummary.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
|
266
274
|
ComponentSummary.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
267
275
|
ComponentSummary.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
@@ -277,6 +285,7 @@ module Aws::Imagebuilder
|
|
277
285
|
ComponentVersion.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
|
278
286
|
ComponentVersion.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
279
287
|
ComponentVersion.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
288
|
+
ComponentVersion.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
|
280
289
|
ComponentVersion.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
|
281
290
|
ComponentVersion.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
282
291
|
ComponentVersion.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
@@ -289,6 +298,7 @@ module Aws::Imagebuilder
|
|
289
298
|
CreateComponentRequest.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
290
299
|
CreateComponentRequest.add_member(:change_description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "changeDescription"))
|
291
300
|
CreateComponentRequest.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, required: true, location_name: "platform"))
|
301
|
+
CreateComponentRequest.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
|
292
302
|
CreateComponentRequest.add_member(:data, Shapes::ShapeRef.new(shape: InlineComponentData, location_name: "data"))
|
293
303
|
CreateComponentRequest.add_member(:uri, Shapes::ShapeRef.new(shape: Uri, location_name: "uri"))
|
294
304
|
CreateComponentRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
|
@@ -338,6 +348,7 @@ module Aws::Imagebuilder
|
|
338
348
|
CreateImageRecipeRequest.add_member(:parent_image, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "parentImage"))
|
339
349
|
CreateImageRecipeRequest.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: InstanceBlockDeviceMappings, location_name: "blockDeviceMappings"))
|
340
350
|
CreateImageRecipeRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
351
|
+
CreateImageRecipeRequest.add_member(:working_directory, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "workingDirectory"))
|
341
352
|
CreateImageRecipeRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
342
353
|
CreateImageRecipeRequest.struct_class = Types::CreateImageRecipeRequest
|
343
354
|
|
@@ -370,6 +381,7 @@ module Aws::Imagebuilder
|
|
370
381
|
CreateInfrastructureConfigurationRequest.add_member(:key_pair, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "keyPair"))
|
371
382
|
CreateInfrastructureConfigurationRequest.add_member(:terminate_instance_on_failure, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminateInstanceOnFailure"))
|
372
383
|
CreateInfrastructureConfigurationRequest.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: SnsTopicArn, location_name: "snsTopicArn"))
|
384
|
+
CreateInfrastructureConfigurationRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
373
385
|
CreateInfrastructureConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
374
386
|
CreateInfrastructureConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
375
387
|
CreateInfrastructureConfigurationRequest.struct_class = Types::CreateInfrastructureConfigurationRequest
|
@@ -475,7 +487,7 @@ module Aws::Imagebuilder
|
|
475
487
|
GetComponentPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicyDocument, location_name: "policy"))
|
476
488
|
GetComponentPolicyResponse.struct_class = Types::GetComponentPolicyResponse
|
477
489
|
|
478
|
-
GetComponentRequest.add_member(:component_build_version_arn, Shapes::ShapeRef.new(shape:
|
490
|
+
GetComponentRequest.add_member(:component_build_version_arn, Shapes::ShapeRef.new(shape: ComponentVersionArnOrBuildVersionArn, required: true, location: "querystring", location_name: "componentBuildVersionArn"))
|
479
491
|
GetComponentRequest.struct_class = Types::GetComponentRequest
|
480
492
|
|
481
493
|
GetComponentResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
@@ -517,7 +529,7 @@ module Aws::Imagebuilder
|
|
517
529
|
GetImageRecipeResponse.add_member(:image_recipe, Shapes::ShapeRef.new(shape: ImageRecipe, location_name: "imageRecipe"))
|
518
530
|
GetImageRecipeResponse.struct_class = Types::GetImageRecipeResponse
|
519
531
|
|
520
|
-
GetImageRequest.add_member(:image_build_version_arn, Shapes::ShapeRef.new(shape:
|
532
|
+
GetImageRequest.add_member(:image_build_version_arn, Shapes::ShapeRef.new(shape: ImageVersionArnOrBuildVersionArn, required: true, location: "querystring", location_name: "imageBuildVersionArn"))
|
521
533
|
GetImageRequest.struct_class = Types::GetImageRequest
|
522
534
|
|
523
535
|
GetImageResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
@@ -583,6 +595,7 @@ module Aws::Imagebuilder
|
|
583
595
|
ImageRecipe.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: InstanceBlockDeviceMappings, location_name: "blockDeviceMappings"))
|
584
596
|
ImageRecipe.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
585
597
|
ImageRecipe.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
598
|
+
ImageRecipe.add_member(:working_directory, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "workingDirectory"))
|
586
599
|
ImageRecipe.struct_class = Types::ImageRecipe
|
587
600
|
|
588
601
|
ImageRecipeSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "arn"))
|
@@ -661,6 +674,7 @@ module Aws::Imagebuilder
|
|
661
674
|
InfrastructureConfiguration.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "snsTopicArn"))
|
662
675
|
InfrastructureConfiguration.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
663
676
|
InfrastructureConfiguration.add_member(:date_updated, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateUpdated"))
|
677
|
+
InfrastructureConfiguration.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
664
678
|
InfrastructureConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
665
679
|
InfrastructureConfiguration.struct_class = Types::InfrastructureConfiguration
|
666
680
|
|
@@ -669,6 +683,7 @@ module Aws::Imagebuilder
|
|
669
683
|
InfrastructureConfigurationSummary.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
670
684
|
InfrastructureConfigurationSummary.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
671
685
|
InfrastructureConfigurationSummary.add_member(:date_updated, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateUpdated"))
|
686
|
+
InfrastructureConfigurationSummary.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
672
687
|
InfrastructureConfigurationSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
673
688
|
InfrastructureConfigurationSummary.struct_class = Types::InfrastructureConfigurationSummary
|
674
689
|
|
@@ -810,6 +825,8 @@ module Aws::Imagebuilder
|
|
810
825
|
Logging.add_member(:s3_logs, Shapes::ShapeRef.new(shape: S3Logs, location_name: "s3Logs"))
|
811
826
|
Logging.struct_class = Types::Logging
|
812
827
|
|
828
|
+
OsVersionList.member = Shapes::ShapeRef.new(shape: OsVersion)
|
829
|
+
|
813
830
|
OutputResources.add_member(:amis, Shapes::ShapeRef.new(shape: AmiList, location_name: "amis"))
|
814
831
|
OutputResources.struct_class = Types::OutputResources
|
815
832
|
|
@@ -849,6 +866,9 @@ module Aws::Imagebuilder
|
|
849
866
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
850
867
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
851
868
|
|
869
|
+
ResourceTagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
870
|
+
ResourceTagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
871
|
+
|
852
872
|
S3Logs.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "s3BucketName"))
|
853
873
|
S3Logs.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "s3KeyPrefix"))
|
854
874
|
S3Logs.struct_class = Types::S3Logs
|
@@ -862,6 +882,9 @@ module Aws::Imagebuilder
|
|
862
882
|
ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
863
883
|
ServiceException.struct_class = Types::ServiceException
|
864
884
|
|
885
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
886
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
887
|
+
|
865
888
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
866
889
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
867
890
|
|
@@ -932,6 +955,7 @@ module Aws::Imagebuilder
|
|
932
955
|
UpdateInfrastructureConfigurationRequest.add_member(:terminate_instance_on_failure, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminateInstanceOnFailure"))
|
933
956
|
UpdateInfrastructureConfigurationRequest.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: SnsTopicArn, location_name: "snsTopicArn"))
|
934
957
|
UpdateInfrastructureConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
958
|
+
UpdateInfrastructureConfigurationRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
935
959
|
UpdateInfrastructureConfigurationRequest.struct_class = Types::UpdateInfrastructureConfigurationRequest
|
936
960
|
|
937
961
|
UpdateInfrastructureConfigurationResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
@@ -990,6 +1014,7 @@ module Aws::Imagebuilder
|
|
990
1014
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVersionNumberException)
|
991
1015
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
992
1016
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1017
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
993
1018
|
end)
|
994
1019
|
|
995
1020
|
api.add_operation(:create_distribution_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1008,6 +1033,7 @@ module Aws::Imagebuilder
|
|
1008
1033
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1009
1034
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1010
1035
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1036
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1011
1037
|
end)
|
1012
1038
|
|
1013
1039
|
api.add_operation(:create_image, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1024,6 +1050,7 @@ module Aws::Imagebuilder
|
|
1024
1050
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1025
1051
|
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
1026
1052
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1053
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1027
1054
|
end)
|
1028
1055
|
|
1029
1056
|
api.add_operation(:create_image_pipeline, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1041,6 +1068,7 @@ module Aws::Imagebuilder
|
|
1041
1068
|
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
1042
1069
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1043
1070
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1071
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1044
1072
|
end)
|
1045
1073
|
|
1046
1074
|
api.add_operation(:create_image_recipe, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1059,6 +1087,7 @@ module Aws::Imagebuilder
|
|
1059
1087
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVersionNumberException)
|
1060
1088
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1061
1089
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1090
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1062
1091
|
end)
|
1063
1092
|
|
1064
1093
|
api.add_operation(:create_infrastructure_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1076,6 +1105,7 @@ module Aws::Imagebuilder
|
|
1076
1105
|
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
1077
1106
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1078
1107
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1108
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1079
1109
|
end)
|
1080
1110
|
|
1081
1111
|
api.add_operation(:delete_component, Seahorse::Model::Operation.new.tap do |o|
|