aws-sdk-imagebuilder 1.7.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aef17e5892bf44af25681fc3bd623b0db3f159b367f585bfa54783bc97a9d686
|
4
|
+
data.tar.gz: 93a4a67bbcf632792e39b015347d03c0ede54c87b927ba8b656be368342baeed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8320a1a7815d41313aa3ae8dda0418d0470fd97411c569c19c8263b7f7c10bf51335016ffea66093832c4efd5d17e00b0f6d68b3d8ca1d17e220ddcd14354afc
|
7
|
+
data.tar.gz: afa1304bbf667fb15de5ad3a714e11c8f8d81ec9877f7445423b930460be662bf2624627c5648941a7c80be6a53318050437d022c389411a00168d95e6c7ad55
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
30
|
|
@@ -69,6 +70,7 @@ module Aws::Imagebuilder
|
|
69
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
75
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
76
|
|
@@ -161,7 +163,7 @@ module Aws::Imagebuilder
|
|
161
163
|
# @option options [String] :endpoint
|
162
164
|
# The client endpoint is normally constructed from the `:region`
|
163
165
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
167
|
#
|
166
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -705,6 +707,9 @@ module Aws::Imagebuilder
|
|
705
707
|
# @option params [Hash<String,String>] :tags
|
706
708
|
# The tags of the image recipe.
|
707
709
|
#
|
710
|
+
# @option params [String] :working_directory
|
711
|
+
# The working directory to be used during build and test workflows.
|
712
|
+
#
|
708
713
|
# @option params [required, String] :client_token
|
709
714
|
# The idempotency token used to make this request idempotent.
|
710
715
|
#
|
@@ -748,6 +753,7 @@ module Aws::Imagebuilder
|
|
748
753
|
# tags: {
|
749
754
|
# "TagKey" => "TagValue",
|
750
755
|
# },
|
756
|
+
# working_directory: "NonEmptyString",
|
751
757
|
# client_token: "ClientToken", # required
|
752
758
|
# })
|
753
759
|
#
|
@@ -809,6 +815,9 @@ module Aws::Imagebuilder
|
|
809
815
|
# @option params [String] :sns_topic_arn
|
810
816
|
# The SNS topic on which to send image build events.
|
811
817
|
#
|
818
|
+
# @option params [Hash<String,String>] :resource_tags
|
819
|
+
# The tags attached to the resource created by Image Builder.
|
820
|
+
#
|
812
821
|
# @option params [Hash<String,String>] :tags
|
813
822
|
# The tags of the infrastructure configuration.
|
814
823
|
#
|
@@ -842,6 +851,9 @@ module Aws::Imagebuilder
|
|
842
851
|
# key_pair: "NonEmptyString",
|
843
852
|
# terminate_instance_on_failure: false,
|
844
853
|
# sns_topic_arn: "SnsTopicArn",
|
854
|
+
# resource_tags: {
|
855
|
+
# "TagKey" => "TagValue",
|
856
|
+
# },
|
845
857
|
# tags: {
|
846
858
|
# "TagKey" => "TagValue",
|
847
859
|
# },
|
@@ -1060,7 +1072,7 @@ module Aws::Imagebuilder
|
|
1060
1072
|
# @example Request syntax with placeholder values
|
1061
1073
|
#
|
1062
1074
|
# resp = client.get_component({
|
1063
|
-
# component_build_version_arn: "
|
1075
|
+
# component_build_version_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
1064
1076
|
# })
|
1065
1077
|
#
|
1066
1078
|
# @example Response structure
|
@@ -1186,7 +1198,7 @@ module Aws::Imagebuilder
|
|
1186
1198
|
# @example Request syntax with placeholder values
|
1187
1199
|
#
|
1188
1200
|
# resp = client.get_image({
|
1189
|
-
# image_build_version_arn: "
|
1201
|
+
# image_build_version_arn: "ImageVersionArnOrBuildVersionArn", # required
|
1190
1202
|
# })
|
1191
1203
|
#
|
1192
1204
|
# @example Response structure
|
@@ -1223,6 +1235,7 @@ module Aws::Imagebuilder
|
|
1223
1235
|
# resp.image.image_recipe.date_created #=> String
|
1224
1236
|
# resp.image.image_recipe.tags #=> Hash
|
1225
1237
|
# resp.image.image_recipe.tags["TagKey"] #=> String
|
1238
|
+
# resp.image.image_recipe.working_directory #=> String
|
1226
1239
|
# resp.image.source_pipeline_name #=> String
|
1227
1240
|
# resp.image.source_pipeline_arn #=> String
|
1228
1241
|
# resp.image.infrastructure_configuration.arn #=> String
|
@@ -1241,6 +1254,8 @@ module Aws::Imagebuilder
|
|
1241
1254
|
# resp.image.infrastructure_configuration.sns_topic_arn #=> String
|
1242
1255
|
# resp.image.infrastructure_configuration.date_created #=> String
|
1243
1256
|
# resp.image.infrastructure_configuration.date_updated #=> String
|
1257
|
+
# resp.image.infrastructure_configuration.resource_tags #=> Hash
|
1258
|
+
# resp.image.infrastructure_configuration.resource_tags["TagKey"] #=> String
|
1244
1259
|
# resp.image.infrastructure_configuration.tags #=> Hash
|
1245
1260
|
# resp.image.infrastructure_configuration.tags["TagKey"] #=> String
|
1246
1261
|
# resp.image.distribution_configuration.arn #=> String
|
@@ -1408,6 +1423,7 @@ module Aws::Imagebuilder
|
|
1408
1423
|
# resp.image_recipe.date_created #=> String
|
1409
1424
|
# resp.image_recipe.tags #=> Hash
|
1410
1425
|
# resp.image_recipe.tags["TagKey"] #=> String
|
1426
|
+
# resp.image_recipe.working_directory #=> String
|
1411
1427
|
#
|
1412
1428
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipe AWS API Documentation
|
1413
1429
|
#
|
@@ -1485,6 +1501,8 @@ module Aws::Imagebuilder
|
|
1485
1501
|
# resp.infrastructure_configuration.sns_topic_arn #=> String
|
1486
1502
|
# resp.infrastructure_configuration.date_created #=> String
|
1487
1503
|
# resp.infrastructure_configuration.date_updated #=> String
|
1504
|
+
# resp.infrastructure_configuration.resource_tags #=> Hash
|
1505
|
+
# resp.infrastructure_configuration.resource_tags["TagKey"] #=> String
|
1488
1506
|
# resp.infrastructure_configuration.tags #=> Hash
|
1489
1507
|
# resp.infrastructure_configuration.tags["TagKey"] #=> String
|
1490
1508
|
#
|
@@ -1768,7 +1786,7 @@ module Aws::Imagebuilder
|
|
1768
1786
|
req.send_request(options)
|
1769
1787
|
end
|
1770
1788
|
|
1771
|
-
# Returns a list of
|
1789
|
+
# Returns a list of image build versions.
|
1772
1790
|
#
|
1773
1791
|
# @option params [required, String] :image_version_arn
|
1774
1792
|
# The Amazon Resource Name (ARN) of the image whose build versions you
|
@@ -2041,8 +2059,7 @@ module Aws::Imagebuilder
|
|
2041
2059
|
req.send_request(options)
|
2042
2060
|
end
|
2043
2061
|
|
2044
|
-
# Returns the list of
|
2045
|
-
# version.
|
2062
|
+
# Returns the list of images that you have access to.
|
2046
2063
|
#
|
2047
2064
|
# @option params [String] :owner
|
2048
2065
|
# The owner defines which images you want to list. By default, this
|
@@ -2147,6 +2164,8 @@ module Aws::Imagebuilder
|
|
2147
2164
|
# resp.infrastructure_configuration_summary_list[0].description #=> String
|
2148
2165
|
# resp.infrastructure_configuration_summary_list[0].date_created #=> String
|
2149
2166
|
# resp.infrastructure_configuration_summary_list[0].date_updated #=> String
|
2167
|
+
# resp.infrastructure_configuration_summary_list[0].resource_tags #=> Hash
|
2168
|
+
# resp.infrastructure_configuration_summary_list[0].resource_tags["TagKey"] #=> String
|
2150
2169
|
# resp.infrastructure_configuration_summary_list[0].tags #=> Hash
|
2151
2170
|
# resp.infrastructure_configuration_summary_list[0].tags["TagKey"] #=> String
|
2152
2171
|
# resp.next_token #=> String
|
@@ -2617,6 +2636,9 @@ module Aws::Imagebuilder
|
|
2617
2636
|
# **A suitable default value is auto-generated.** You should normally
|
2618
2637
|
# not need to pass this option.**
|
2619
2638
|
#
|
2639
|
+
# @option params [Hash<String,String>] :resource_tags
|
2640
|
+
# The tags attached to the resource created by Image Builder.
|
2641
|
+
#
|
2620
2642
|
# @return [Types::UpdateInfrastructureConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2621
2643
|
#
|
2622
2644
|
# * {Types::UpdateInfrastructureConfigurationResponse#request_id #request_id} => String
|
@@ -2642,6 +2664,9 @@ module Aws::Imagebuilder
|
|
2642
2664
|
# terminate_instance_on_failure: false,
|
2643
2665
|
# sns_topic_arn: "SnsTopicArn",
|
2644
2666
|
# client_token: "ClientToken", # required
|
2667
|
+
# resource_tags: {
|
2668
|
+
# "TagKey" => "TagValue",
|
2669
|
+
# },
|
2645
2670
|
# })
|
2646
2671
|
#
|
2647
2672
|
# @example Response structure
|
@@ -2672,7 +2697,7 @@ module Aws::Imagebuilder
|
|
2672
2697
|
params: params,
|
2673
2698
|
config: config)
|
2674
2699
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
2675
|
-
context[:gem_version] = '1.
|
2700
|
+
context[:gem_version] = '1.9.0'
|
2676
2701
|
Seahorse::Client::Request.new(handlers, context)
|
2677
2702
|
end
|
2678
2703
|
|
@@ -117,6 +117,7 @@ module Aws::Imagebuilder
|
|
117
117
|
ImageTestsTimeoutMinutes = Shapes::IntegerShape.new(name: 'ImageTestsTimeoutMinutes')
|
118
118
|
ImageVersion = Shapes::StructureShape.new(name: 'ImageVersion')
|
119
119
|
ImageVersionArn = Shapes::StringShape.new(name: 'ImageVersionArn')
|
120
|
+
ImageVersionArnOrBuildVersionArn = Shapes::StringShape.new(name: 'ImageVersionArnOrBuildVersionArn')
|
120
121
|
ImageVersionList = Shapes::ListShape.new(name: 'ImageVersionList')
|
121
122
|
ImportComponentRequest = Shapes::StructureShape.new(name: 'ImportComponentRequest')
|
122
123
|
ImportComponentResponse = Shapes::StructureShape.new(name: 'ImportComponentResponse')
|
@@ -178,11 +179,13 @@ module Aws::Imagebuilder
|
|
178
179
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
179
180
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
180
181
|
ResourcePolicyDocument = Shapes::StringShape.new(name: 'ResourcePolicyDocument')
|
182
|
+
ResourceTagMap = Shapes::MapShape.new(name: 'ResourceTagMap')
|
181
183
|
RestrictedInteger = Shapes::IntegerShape.new(name: 'RestrictedInteger')
|
182
184
|
S3Logs = Shapes::StructureShape.new(name: 'S3Logs')
|
183
185
|
Schedule = Shapes::StructureShape.new(name: 'Schedule')
|
184
186
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
185
187
|
ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
|
188
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
186
189
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
187
190
|
SnsTopicArn = Shapes::StringShape.new(name: 'SnsTopicArn')
|
188
191
|
StartImagePipelineExecutionRequest = Shapes::StructureShape.new(name: 'StartImagePipelineExecutionRequest')
|
@@ -343,6 +346,7 @@ module Aws::Imagebuilder
|
|
343
346
|
CreateImageRecipeRequest.add_member(:parent_image, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "parentImage"))
|
344
347
|
CreateImageRecipeRequest.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: InstanceBlockDeviceMappings, location_name: "blockDeviceMappings"))
|
345
348
|
CreateImageRecipeRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
349
|
+
CreateImageRecipeRequest.add_member(:working_directory, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "workingDirectory"))
|
346
350
|
CreateImageRecipeRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
347
351
|
CreateImageRecipeRequest.struct_class = Types::CreateImageRecipeRequest
|
348
352
|
|
@@ -375,6 +379,7 @@ module Aws::Imagebuilder
|
|
375
379
|
CreateInfrastructureConfigurationRequest.add_member(:key_pair, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "keyPair"))
|
376
380
|
CreateInfrastructureConfigurationRequest.add_member(:terminate_instance_on_failure, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminateInstanceOnFailure"))
|
377
381
|
CreateInfrastructureConfigurationRequest.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: SnsTopicArn, location_name: "snsTopicArn"))
|
382
|
+
CreateInfrastructureConfigurationRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
378
383
|
CreateInfrastructureConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
379
384
|
CreateInfrastructureConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
380
385
|
CreateInfrastructureConfigurationRequest.struct_class = Types::CreateInfrastructureConfigurationRequest
|
@@ -480,7 +485,7 @@ module Aws::Imagebuilder
|
|
480
485
|
GetComponentPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicyDocument, location_name: "policy"))
|
481
486
|
GetComponentPolicyResponse.struct_class = Types::GetComponentPolicyResponse
|
482
487
|
|
483
|
-
GetComponentRequest.add_member(:component_build_version_arn, Shapes::ShapeRef.new(shape:
|
488
|
+
GetComponentRequest.add_member(:component_build_version_arn, Shapes::ShapeRef.new(shape: ComponentVersionArnOrBuildVersionArn, required: true, location: "querystring", location_name: "componentBuildVersionArn"))
|
484
489
|
GetComponentRequest.struct_class = Types::GetComponentRequest
|
485
490
|
|
486
491
|
GetComponentResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
@@ -522,7 +527,7 @@ module Aws::Imagebuilder
|
|
522
527
|
GetImageRecipeResponse.add_member(:image_recipe, Shapes::ShapeRef.new(shape: ImageRecipe, location_name: "imageRecipe"))
|
523
528
|
GetImageRecipeResponse.struct_class = Types::GetImageRecipeResponse
|
524
529
|
|
525
|
-
GetImageRequest.add_member(:image_build_version_arn, Shapes::ShapeRef.new(shape:
|
530
|
+
GetImageRequest.add_member(:image_build_version_arn, Shapes::ShapeRef.new(shape: ImageVersionArnOrBuildVersionArn, required: true, location: "querystring", location_name: "imageBuildVersionArn"))
|
526
531
|
GetImageRequest.struct_class = Types::GetImageRequest
|
527
532
|
|
528
533
|
GetImageResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
@@ -588,6 +593,7 @@ module Aws::Imagebuilder
|
|
588
593
|
ImageRecipe.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: InstanceBlockDeviceMappings, location_name: "blockDeviceMappings"))
|
589
594
|
ImageRecipe.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
590
595
|
ImageRecipe.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
596
|
+
ImageRecipe.add_member(:working_directory, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "workingDirectory"))
|
591
597
|
ImageRecipe.struct_class = Types::ImageRecipe
|
592
598
|
|
593
599
|
ImageRecipeSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "arn"))
|
@@ -666,6 +672,7 @@ module Aws::Imagebuilder
|
|
666
672
|
InfrastructureConfiguration.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "snsTopicArn"))
|
667
673
|
InfrastructureConfiguration.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
668
674
|
InfrastructureConfiguration.add_member(:date_updated, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateUpdated"))
|
675
|
+
InfrastructureConfiguration.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
669
676
|
InfrastructureConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
670
677
|
InfrastructureConfiguration.struct_class = Types::InfrastructureConfiguration
|
671
678
|
|
@@ -674,6 +681,7 @@ module Aws::Imagebuilder
|
|
674
681
|
InfrastructureConfigurationSummary.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
675
682
|
InfrastructureConfigurationSummary.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
676
683
|
InfrastructureConfigurationSummary.add_member(:date_updated, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateUpdated"))
|
684
|
+
InfrastructureConfigurationSummary.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
677
685
|
InfrastructureConfigurationSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
678
686
|
InfrastructureConfigurationSummary.struct_class = Types::InfrastructureConfigurationSummary
|
679
687
|
|
@@ -856,6 +864,9 @@ module Aws::Imagebuilder
|
|
856
864
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
857
865
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
858
866
|
|
867
|
+
ResourceTagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
868
|
+
ResourceTagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
869
|
+
|
859
870
|
S3Logs.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "s3BucketName"))
|
860
871
|
S3Logs.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "s3KeyPrefix"))
|
861
872
|
S3Logs.struct_class = Types::S3Logs
|
@@ -869,6 +880,9 @@ module Aws::Imagebuilder
|
|
869
880
|
ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
870
881
|
ServiceException.struct_class = Types::ServiceException
|
871
882
|
|
883
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
884
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
885
|
+
|
872
886
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
873
887
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
874
888
|
|
@@ -939,6 +953,7 @@ module Aws::Imagebuilder
|
|
939
953
|
UpdateInfrastructureConfigurationRequest.add_member(:terminate_instance_on_failure, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminateInstanceOnFailure"))
|
940
954
|
UpdateInfrastructureConfigurationRequest.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: SnsTopicArn, location_name: "snsTopicArn"))
|
941
955
|
UpdateInfrastructureConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
956
|
+
UpdateInfrastructureConfigurationRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
942
957
|
UpdateInfrastructureConfigurationRequest.struct_class = Types::UpdateInfrastructureConfigurationRequest
|
943
958
|
|
944
959
|
UpdateInfrastructureConfigurationResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
@@ -997,6 +1012,7 @@ module Aws::Imagebuilder
|
|
997
1012
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVersionNumberException)
|
998
1013
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
999
1014
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1015
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1000
1016
|
end)
|
1001
1017
|
|
1002
1018
|
api.add_operation(:create_distribution_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1015,6 +1031,7 @@ module Aws::Imagebuilder
|
|
1015
1031
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1016
1032
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1017
1033
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1034
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1018
1035
|
end)
|
1019
1036
|
|
1020
1037
|
api.add_operation(:create_image, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1031,6 +1048,7 @@ module Aws::Imagebuilder
|
|
1031
1048
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1032
1049
|
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
1033
1050
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1051
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1034
1052
|
end)
|
1035
1053
|
|
1036
1054
|
api.add_operation(:create_image_pipeline, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1048,6 +1066,7 @@ module Aws::Imagebuilder
|
|
1048
1066
|
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
1049
1067
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1050
1068
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1069
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1051
1070
|
end)
|
1052
1071
|
|
1053
1072
|
api.add_operation(:create_image_recipe, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1066,6 +1085,7 @@ module Aws::Imagebuilder
|
|
1066
1085
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVersionNumberException)
|
1067
1086
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1068
1087
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1088
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1069
1089
|
end)
|
1070
1090
|
|
1071
1091
|
api.add_operation(:create_infrastructure_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1083,6 +1103,7 @@ module Aws::Imagebuilder
|
|
1083
1103
|
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
1084
1104
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1085
1105
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1106
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1086
1107
|
end)
|
1087
1108
|
|
1088
1109
|
api.add_operation(:delete_component, Seahorse::Model::Operation.new.tap do |o|
|
@@ -40,6 +40,7 @@ module Aws::Imagebuilder
|
|
40
40
|
# * {ResourceInUseException}
|
41
41
|
# * {ResourceNotFoundException}
|
42
42
|
# * {ServiceException}
|
43
|
+
# * {ServiceQuotaExceededException}
|
43
44
|
# * {ServiceUnavailableException}
|
44
45
|
#
|
45
46
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
@@ -273,6 +274,21 @@ module Aws::Imagebuilder
|
|
273
274
|
end
|
274
275
|
end
|
275
276
|
|
277
|
+
class ServiceQuotaExceededException < ServiceError
|
278
|
+
|
279
|
+
# @param [Seahorse::Client::RequestContext] context
|
280
|
+
# @param [String] message
|
281
|
+
# @param [Aws::Imagebuilder::Types::ServiceQuotaExceededException] data
|
282
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
283
|
+
super(context, message, data)
|
284
|
+
end
|
285
|
+
|
286
|
+
# @return [String]
|
287
|
+
def message
|
288
|
+
@message || @data[:message]
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
276
292
|
class ServiceUnavailableException < ServiceError
|
277
293
|
|
278
294
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -738,6 +738,7 @@ module Aws::Imagebuilder
|
|
738
738
|
# tags: {
|
739
739
|
# "TagKey" => "TagValue",
|
740
740
|
# },
|
741
|
+
# working_directory: "NonEmptyString",
|
741
742
|
# client_token: "ClientToken", # required
|
742
743
|
# }
|
743
744
|
#
|
@@ -778,6 +779,10 @@ module Aws::Imagebuilder
|
|
778
779
|
# The tags of the image recipe.
|
779
780
|
# @return [Hash<String,String>]
|
780
781
|
#
|
782
|
+
# @!attribute [rw] working_directory
|
783
|
+
# The working directory to be used during build and test workflows.
|
784
|
+
# @return [String]
|
785
|
+
#
|
781
786
|
# @!attribute [rw] client_token
|
782
787
|
# The idempotency token used to make this request idempotent.
|
783
788
|
#
|
@@ -795,6 +800,7 @@ module Aws::Imagebuilder
|
|
795
800
|
:parent_image,
|
796
801
|
:block_device_mappings,
|
797
802
|
:tags,
|
803
|
+
:working_directory,
|
798
804
|
:client_token)
|
799
805
|
include Aws::Structure
|
800
806
|
end
|
@@ -931,6 +937,9 @@ module Aws::Imagebuilder
|
|
931
937
|
# key_pair: "NonEmptyString",
|
932
938
|
# terminate_instance_on_failure: false,
|
933
939
|
# sns_topic_arn: "SnsTopicArn",
|
940
|
+
# resource_tags: {
|
941
|
+
# "TagKey" => "TagValue",
|
942
|
+
# },
|
934
943
|
# tags: {
|
935
944
|
# "TagKey" => "TagValue",
|
936
945
|
# },
|
@@ -986,6 +995,10 @@ module Aws::Imagebuilder
|
|
986
995
|
# The SNS topic on which to send image build events.
|
987
996
|
# @return [String]
|
988
997
|
#
|
998
|
+
# @!attribute [rw] resource_tags
|
999
|
+
# The tags attached to the resource created by Image Builder.
|
1000
|
+
# @return [Hash<String,String>]
|
1001
|
+
#
|
989
1002
|
# @!attribute [rw] tags
|
990
1003
|
# The tags of the infrastructure configuration.
|
991
1004
|
# @return [Hash<String,String>]
|
@@ -1010,6 +1023,7 @@ module Aws::Imagebuilder
|
|
1010
1023
|
:key_pair,
|
1011
1024
|
:terminate_instance_on_failure,
|
1012
1025
|
:sns_topic_arn,
|
1026
|
+
:resource_tags,
|
1013
1027
|
:tags,
|
1014
1028
|
:client_token)
|
1015
1029
|
include Aws::Structure
|
@@ -1514,7 +1528,7 @@ module Aws::Imagebuilder
|
|
1514
1528
|
# data as a hash:
|
1515
1529
|
#
|
1516
1530
|
# {
|
1517
|
-
# component_build_version_arn: "
|
1531
|
+
# component_build_version_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
1518
1532
|
# }
|
1519
1533
|
#
|
1520
1534
|
# @!attribute [rw] component_build_version_arn
|
@@ -1724,7 +1738,7 @@ module Aws::Imagebuilder
|
|
1724
1738
|
# data as a hash:
|
1725
1739
|
#
|
1726
1740
|
# {
|
1727
|
-
# image_build_version_arn: "
|
1741
|
+
# image_build_version_arn: "ImageVersionArnOrBuildVersionArn", # required
|
1728
1742
|
# }
|
1729
1743
|
#
|
1730
1744
|
# @!attribute [rw] image_build_version_arn
|
@@ -2042,6 +2056,10 @@ module Aws::Imagebuilder
|
|
2042
2056
|
# The tags of the image recipe.
|
2043
2057
|
# @return [Hash<String,String>]
|
2044
2058
|
#
|
2059
|
+
# @!attribute [rw] working_directory
|
2060
|
+
# The working directory to be used during build and test workflows.
|
2061
|
+
# @return [String]
|
2062
|
+
#
|
2045
2063
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImageRecipe AWS API Documentation
|
2046
2064
|
#
|
2047
2065
|
class ImageRecipe < Struct.new(
|
@@ -2055,7 +2073,8 @@ module Aws::Imagebuilder
|
|
2055
2073
|
:parent_image,
|
2056
2074
|
:block_device_mappings,
|
2057
2075
|
:date_created,
|
2058
|
-
:tags
|
2076
|
+
:tags,
|
2077
|
+
:working_directory)
|
2059
2078
|
include Aws::Structure
|
2060
2079
|
end
|
2061
2080
|
|
@@ -2426,6 +2445,10 @@ module Aws::Imagebuilder
|
|
2426
2445
|
# The date on which the infrastructure configuration was last updated.
|
2427
2446
|
# @return [String]
|
2428
2447
|
#
|
2448
|
+
# @!attribute [rw] resource_tags
|
2449
|
+
# The tags attached to the resource created by Image Builder.
|
2450
|
+
# @return [Hash<String,String>]
|
2451
|
+
#
|
2429
2452
|
# @!attribute [rw] tags
|
2430
2453
|
# The tags of the infrastructure configuration.
|
2431
2454
|
# @return [Hash<String,String>]
|
@@ -2446,6 +2469,7 @@ module Aws::Imagebuilder
|
|
2446
2469
|
:sns_topic_arn,
|
2447
2470
|
:date_created,
|
2448
2471
|
:date_updated,
|
2472
|
+
:resource_tags,
|
2449
2473
|
:tags)
|
2450
2474
|
include Aws::Structure
|
2451
2475
|
end
|
@@ -2472,6 +2496,10 @@ module Aws::Imagebuilder
|
|
2472
2496
|
# The date on which the infrastructure configuration was last updated.
|
2473
2497
|
# @return [String]
|
2474
2498
|
#
|
2499
|
+
# @!attribute [rw] resource_tags
|
2500
|
+
# The tags attached to the image created by Image Builder.
|
2501
|
+
# @return [Hash<String,String>]
|
2502
|
+
#
|
2475
2503
|
# @!attribute [rw] tags
|
2476
2504
|
# The tags of the infrastructure configuration.
|
2477
2505
|
# @return [Hash<String,String>]
|
@@ -2484,6 +2512,7 @@ module Aws::Imagebuilder
|
|
2484
2512
|
:description,
|
2485
2513
|
:date_created,
|
2486
2514
|
:date_updated,
|
2515
|
+
:resource_tags,
|
2487
2516
|
:tags)
|
2488
2517
|
include Aws::Structure
|
2489
2518
|
end
|
@@ -3539,6 +3568,24 @@ module Aws::Imagebuilder
|
|
3539
3568
|
include Aws::Structure
|
3540
3569
|
end
|
3541
3570
|
|
3571
|
+
# You have exceeded the number of permitted resources or operations for
|
3572
|
+
# this service. For service quotas, see [EC2 Image Builder endpoints and
|
3573
|
+
# quotas][1].
|
3574
|
+
#
|
3575
|
+
#
|
3576
|
+
#
|
3577
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder
|
3578
|
+
#
|
3579
|
+
# @!attribute [rw] message
|
3580
|
+
# @return [String]
|
3581
|
+
#
|
3582
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ServiceQuotaExceededException AWS API Documentation
|
3583
|
+
#
|
3584
|
+
class ServiceQuotaExceededException < Struct.new(
|
3585
|
+
:message)
|
3586
|
+
include Aws::Structure
|
3587
|
+
end
|
3588
|
+
|
3542
3589
|
# The service is unable to process your request at this time.
|
3543
3590
|
#
|
3544
3591
|
# @!attribute [rw] message
|
@@ -3869,6 +3916,9 @@ module Aws::Imagebuilder
|
|
3869
3916
|
# terminate_instance_on_failure: false,
|
3870
3917
|
# sns_topic_arn: "SnsTopicArn",
|
3871
3918
|
# client_token: "ClientToken", # required
|
3919
|
+
# resource_tags: {
|
3920
|
+
# "TagKey" => "TagValue",
|
3921
|
+
# },
|
3872
3922
|
# }
|
3873
3923
|
#
|
3874
3924
|
# @!attribute [rw] infrastructure_configuration_arn
|
@@ -3928,6 +3978,10 @@ module Aws::Imagebuilder
|
|
3928
3978
|
# not need to pass this option.
|
3929
3979
|
# @return [String]
|
3930
3980
|
#
|
3981
|
+
# @!attribute [rw] resource_tags
|
3982
|
+
# The tags attached to the resource created by Image Builder.
|
3983
|
+
# @return [Hash<String,String>]
|
3984
|
+
#
|
3931
3985
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateInfrastructureConfigurationRequest AWS API Documentation
|
3932
3986
|
#
|
3933
3987
|
class UpdateInfrastructureConfigurationRequest < Struct.new(
|
@@ -3941,7 +3995,8 @@ module Aws::Imagebuilder
|
|
3941
3995
|
:key_pair,
|
3942
3996
|
:terminate_instance_on_failure,
|
3943
3997
|
:sns_topic_arn,
|
3944
|
-
:client_token
|
3998
|
+
:client_token,
|
3999
|
+
:resource_tags)
|
3945
4000
|
include Aws::Structure
|
3946
4001
|
end
|
3947
4002
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-imagebuilder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.99.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|