aws-sdk-imagebuilder 1.3.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 +5 -5
- data/lib/aws-sdk-imagebuilder.rb +1 -1
- data/lib/aws-sdk-imagebuilder/client.rb +153 -30
- data/lib/aws-sdk-imagebuilder/client_api.rb +39 -2
- data/lib/aws-sdk-imagebuilder/errors.rb +16 -0
- data/lib/aws-sdk-imagebuilder/resource.rb +1 -7
- data/lib/aws-sdk-imagebuilder/types.rb +159 -5
- metadata +5 -5
@@ -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')
|
@@ -159,6 +160,8 @@ module Aws::Imagebuilder
|
|
159
160
|
Logging = Shapes::StructureShape.new(name: 'Logging')
|
160
161
|
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
161
162
|
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
163
|
+
OsVersion = Shapes::StringShape.new(name: 'OsVersion')
|
164
|
+
OsVersionList = Shapes::ListShape.new(name: 'OsVersionList')
|
162
165
|
OutputResources = Shapes::StructureShape.new(name: 'OutputResources')
|
163
166
|
Ownership = Shapes::StringShape.new(name: 'Ownership')
|
164
167
|
PipelineExecutionStartCondition = Shapes::StringShape.new(name: 'PipelineExecutionStartCondition')
|
@@ -176,11 +179,13 @@ module Aws::Imagebuilder
|
|
176
179
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
177
180
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
178
181
|
ResourcePolicyDocument = Shapes::StringShape.new(name: 'ResourcePolicyDocument')
|
182
|
+
ResourceTagMap = Shapes::MapShape.new(name: 'ResourceTagMap')
|
179
183
|
RestrictedInteger = Shapes::IntegerShape.new(name: 'RestrictedInteger')
|
180
184
|
S3Logs = Shapes::StructureShape.new(name: 'S3Logs')
|
181
185
|
Schedule = Shapes::StructureShape.new(name: 'Schedule')
|
182
186
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
183
187
|
ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
|
188
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
184
189
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
185
190
|
SnsTopicArn = Shapes::StringShape.new(name: 'SnsTopicArn')
|
186
191
|
StartImagePipelineExecutionRequest = Shapes::StructureShape.new(name: 'StartImagePipelineExecutionRequest')
|
@@ -244,6 +249,7 @@ module Aws::Imagebuilder
|
|
244
249
|
Component.add_member(:change_description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "changeDescription"))
|
245
250
|
Component.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
|
246
251
|
Component.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
252
|
+
Component.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
|
247
253
|
Component.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
248
254
|
Component.add_member(:data, Shapes::ShapeRef.new(shape: ComponentData, location_name: "data"))
|
249
255
|
Component.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
|
@@ -261,6 +267,7 @@ module Aws::Imagebuilder
|
|
261
267
|
ComponentSummary.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
262
268
|
ComponentSummary.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
|
263
269
|
ComponentSummary.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
270
|
+
ComponentSummary.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
|
264
271
|
ComponentSummary.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
|
265
272
|
ComponentSummary.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
266
273
|
ComponentSummary.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
@@ -276,6 +283,7 @@ module Aws::Imagebuilder
|
|
276
283
|
ComponentVersion.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
|
277
284
|
ComponentVersion.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
278
285
|
ComponentVersion.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
286
|
+
ComponentVersion.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
|
279
287
|
ComponentVersion.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
|
280
288
|
ComponentVersion.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
281
289
|
ComponentVersion.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
@@ -288,6 +296,7 @@ module Aws::Imagebuilder
|
|
288
296
|
CreateComponentRequest.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
289
297
|
CreateComponentRequest.add_member(:change_description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "changeDescription"))
|
290
298
|
CreateComponentRequest.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, required: true, location_name: "platform"))
|
299
|
+
CreateComponentRequest.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
|
291
300
|
CreateComponentRequest.add_member(:data, Shapes::ShapeRef.new(shape: InlineComponentData, location_name: "data"))
|
292
301
|
CreateComponentRequest.add_member(:uri, Shapes::ShapeRef.new(shape: Uri, location_name: "uri"))
|
293
302
|
CreateComponentRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
|
@@ -318,6 +327,7 @@ module Aws::Imagebuilder
|
|
318
327
|
CreateImagePipelineRequest.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: InfrastructureConfigurationArn, required: true, location_name: "infrastructureConfigurationArn"))
|
319
328
|
CreateImagePipelineRequest.add_member(:distribution_configuration_arn, Shapes::ShapeRef.new(shape: DistributionConfigurationArn, location_name: "distributionConfigurationArn"))
|
320
329
|
CreateImagePipelineRequest.add_member(:image_tests_configuration, Shapes::ShapeRef.new(shape: ImageTestsConfiguration, location_name: "imageTestsConfiguration"))
|
330
|
+
CreateImagePipelineRequest.add_member(:enhanced_image_metadata_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enhancedImageMetadataEnabled"))
|
321
331
|
CreateImagePipelineRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
|
322
332
|
CreateImagePipelineRequest.add_member(:status, Shapes::ShapeRef.new(shape: PipelineStatus, location_name: "status"))
|
323
333
|
CreateImagePipelineRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
@@ -336,6 +346,7 @@ module Aws::Imagebuilder
|
|
336
346
|
CreateImageRecipeRequest.add_member(:parent_image, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "parentImage"))
|
337
347
|
CreateImageRecipeRequest.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: InstanceBlockDeviceMappings, location_name: "blockDeviceMappings"))
|
338
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"))
|
339
350
|
CreateImageRecipeRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
340
351
|
CreateImageRecipeRequest.struct_class = Types::CreateImageRecipeRequest
|
341
352
|
|
@@ -348,6 +359,7 @@ module Aws::Imagebuilder
|
|
348
359
|
CreateImageRequest.add_member(:distribution_configuration_arn, Shapes::ShapeRef.new(shape: DistributionConfigurationArn, location_name: "distributionConfigurationArn"))
|
349
360
|
CreateImageRequest.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: InfrastructureConfigurationArn, required: true, location_name: "infrastructureConfigurationArn"))
|
350
361
|
CreateImageRequest.add_member(:image_tests_configuration, Shapes::ShapeRef.new(shape: ImageTestsConfiguration, location_name: "imageTestsConfiguration"))
|
362
|
+
CreateImageRequest.add_member(:enhanced_image_metadata_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enhancedImageMetadataEnabled"))
|
351
363
|
CreateImageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
352
364
|
CreateImageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
353
365
|
CreateImageRequest.struct_class = Types::CreateImageRequest
|
@@ -367,6 +379,7 @@ module Aws::Imagebuilder
|
|
367
379
|
CreateInfrastructureConfigurationRequest.add_member(:key_pair, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "keyPair"))
|
368
380
|
CreateInfrastructureConfigurationRequest.add_member(:terminate_instance_on_failure, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminateInstanceOnFailure"))
|
369
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"))
|
370
383
|
CreateInfrastructureConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
371
384
|
CreateInfrastructureConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
372
385
|
CreateInfrastructureConfigurationRequest.struct_class = Types::CreateInfrastructureConfigurationRequest
|
@@ -472,7 +485,7 @@ module Aws::Imagebuilder
|
|
472
485
|
GetComponentPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicyDocument, location_name: "policy"))
|
473
486
|
GetComponentPolicyResponse.struct_class = Types::GetComponentPolicyResponse
|
474
487
|
|
475
|
-
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"))
|
476
489
|
GetComponentRequest.struct_class = Types::GetComponentRequest
|
477
490
|
|
478
491
|
GetComponentResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
@@ -514,7 +527,7 @@ module Aws::Imagebuilder
|
|
514
527
|
GetImageRecipeResponse.add_member(:image_recipe, Shapes::ShapeRef.new(shape: ImageRecipe, location_name: "imageRecipe"))
|
515
528
|
GetImageRecipeResponse.struct_class = Types::GetImageRecipeResponse
|
516
529
|
|
517
|
-
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"))
|
518
531
|
GetImageRequest.struct_class = Types::GetImageRequest
|
519
532
|
|
520
533
|
GetImageResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
@@ -535,6 +548,8 @@ module Aws::Imagebuilder
|
|
535
548
|
Image.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
536
549
|
Image.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
|
537
550
|
Image.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
551
|
+
Image.add_member(:enhanced_image_metadata_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enhancedImageMetadataEnabled"))
|
552
|
+
Image.add_member(:os_version, Shapes::ShapeRef.new(shape: OsVersion, location_name: "osVersion"))
|
538
553
|
Image.add_member(:state, Shapes::ShapeRef.new(shape: ImageState, location_name: "state"))
|
539
554
|
Image.add_member(:image_recipe, Shapes::ShapeRef.new(shape: ImageRecipe, location_name: "imageRecipe"))
|
540
555
|
Image.add_member(:source_pipeline_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "sourcePipelineName"))
|
@@ -551,6 +566,7 @@ module Aws::Imagebuilder
|
|
551
566
|
ImagePipeline.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
552
567
|
ImagePipeline.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
553
568
|
ImagePipeline.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
569
|
+
ImagePipeline.add_member(:enhanced_image_metadata_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enhancedImageMetadataEnabled"))
|
554
570
|
ImagePipeline.add_member(:image_recipe_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "imageRecipeArn"))
|
555
571
|
ImagePipeline.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "infrastructureConfigurationArn"))
|
556
572
|
ImagePipeline.add_member(:distribution_configuration_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "distributionConfigurationArn"))
|
@@ -577,6 +593,7 @@ module Aws::Imagebuilder
|
|
577
593
|
ImageRecipe.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: InstanceBlockDeviceMappings, location_name: "blockDeviceMappings"))
|
578
594
|
ImageRecipe.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
579
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"))
|
580
597
|
ImageRecipe.struct_class = Types::ImageRecipe
|
581
598
|
|
582
599
|
ImageRecipeSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "arn"))
|
@@ -598,6 +615,7 @@ module Aws::Imagebuilder
|
|
598
615
|
ImageSummary.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
599
616
|
ImageSummary.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
|
600
617
|
ImageSummary.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
618
|
+
ImageSummary.add_member(:os_version, Shapes::ShapeRef.new(shape: OsVersion, location_name: "osVersion"))
|
601
619
|
ImageSummary.add_member(:state, Shapes::ShapeRef.new(shape: ImageState, location_name: "state"))
|
602
620
|
ImageSummary.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
603
621
|
ImageSummary.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
@@ -615,6 +633,7 @@ module Aws::Imagebuilder
|
|
615
633
|
ImageVersion.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
616
634
|
ImageVersion.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
|
617
635
|
ImageVersion.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
636
|
+
ImageVersion.add_member(:os_version, Shapes::ShapeRef.new(shape: OsVersion, location_name: "osVersion"))
|
618
637
|
ImageVersion.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
619
638
|
ImageVersion.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
620
639
|
ImageVersion.struct_class = Types::ImageVersion
|
@@ -653,6 +672,7 @@ module Aws::Imagebuilder
|
|
653
672
|
InfrastructureConfiguration.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "snsTopicArn"))
|
654
673
|
InfrastructureConfiguration.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
655
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"))
|
656
676
|
InfrastructureConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
657
677
|
InfrastructureConfiguration.struct_class = Types::InfrastructureConfiguration
|
658
678
|
|
@@ -661,6 +681,7 @@ module Aws::Imagebuilder
|
|
661
681
|
InfrastructureConfigurationSummary.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
662
682
|
InfrastructureConfigurationSummary.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
663
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"))
|
664
685
|
InfrastructureConfigurationSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
665
686
|
InfrastructureConfigurationSummary.struct_class = Types::InfrastructureConfigurationSummary
|
666
687
|
|
@@ -802,6 +823,8 @@ module Aws::Imagebuilder
|
|
802
823
|
Logging.add_member(:s3_logs, Shapes::ShapeRef.new(shape: S3Logs, location_name: "s3Logs"))
|
803
824
|
Logging.struct_class = Types::Logging
|
804
825
|
|
826
|
+
OsVersionList.member = Shapes::ShapeRef.new(shape: OsVersion)
|
827
|
+
|
805
828
|
OutputResources.add_member(:amis, Shapes::ShapeRef.new(shape: AmiList, location_name: "amis"))
|
806
829
|
OutputResources.struct_class = Types::OutputResources
|
807
830
|
|
@@ -841,6 +864,9 @@ module Aws::Imagebuilder
|
|
841
864
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
842
865
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
843
866
|
|
867
|
+
ResourceTagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
868
|
+
ResourceTagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
869
|
+
|
844
870
|
S3Logs.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "s3BucketName"))
|
845
871
|
S3Logs.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "s3KeyPrefix"))
|
846
872
|
S3Logs.struct_class = Types::S3Logs
|
@@ -854,6 +880,9 @@ module Aws::Imagebuilder
|
|
854
880
|
ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
855
881
|
ServiceException.struct_class = Types::ServiceException
|
856
882
|
|
883
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
884
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
885
|
+
|
857
886
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
858
887
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
859
888
|
|
@@ -902,6 +931,7 @@ module Aws::Imagebuilder
|
|
902
931
|
UpdateImagePipelineRequest.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: InfrastructureConfigurationArn, required: true, location_name: "infrastructureConfigurationArn"))
|
903
932
|
UpdateImagePipelineRequest.add_member(:distribution_configuration_arn, Shapes::ShapeRef.new(shape: DistributionConfigurationArn, location_name: "distributionConfigurationArn"))
|
904
933
|
UpdateImagePipelineRequest.add_member(:image_tests_configuration, Shapes::ShapeRef.new(shape: ImageTestsConfiguration, location_name: "imageTestsConfiguration"))
|
934
|
+
UpdateImagePipelineRequest.add_member(:enhanced_image_metadata_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enhancedImageMetadataEnabled"))
|
905
935
|
UpdateImagePipelineRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
|
906
936
|
UpdateImagePipelineRequest.add_member(:status, Shapes::ShapeRef.new(shape: PipelineStatus, location_name: "status"))
|
907
937
|
UpdateImagePipelineRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
@@ -923,6 +953,7 @@ module Aws::Imagebuilder
|
|
923
953
|
UpdateInfrastructureConfigurationRequest.add_member(:terminate_instance_on_failure, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminateInstanceOnFailure"))
|
924
954
|
UpdateInfrastructureConfigurationRequest.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: SnsTopicArn, location_name: "snsTopicArn"))
|
925
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"))
|
926
957
|
UpdateInfrastructureConfigurationRequest.struct_class = Types::UpdateInfrastructureConfigurationRequest
|
927
958
|
|
928
959
|
UpdateInfrastructureConfigurationResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
@@ -981,6 +1012,7 @@ module Aws::Imagebuilder
|
|
981
1012
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVersionNumberException)
|
982
1013
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
983
1014
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1015
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
984
1016
|
end)
|
985
1017
|
|
986
1018
|
api.add_operation(:create_distribution_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -999,6 +1031,7 @@ module Aws::Imagebuilder
|
|
999
1031
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1000
1032
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1001
1033
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1034
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1002
1035
|
end)
|
1003
1036
|
|
1004
1037
|
api.add_operation(:create_image, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1015,6 +1048,7 @@ module Aws::Imagebuilder
|
|
1015
1048
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1016
1049
|
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
1017
1050
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1051
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1018
1052
|
end)
|
1019
1053
|
|
1020
1054
|
api.add_operation(:create_image_pipeline, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1032,6 +1066,7 @@ module Aws::Imagebuilder
|
|
1032
1066
|
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
1033
1067
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1034
1068
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1069
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1035
1070
|
end)
|
1036
1071
|
|
1037
1072
|
api.add_operation(:create_image_recipe, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1050,6 +1085,7 @@ module Aws::Imagebuilder
|
|
1050
1085
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVersionNumberException)
|
1051
1086
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1052
1087
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1088
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1053
1089
|
end)
|
1054
1090
|
|
1055
1091
|
api.add_operation(:create_infrastructure_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1067,6 +1103,7 @@ module Aws::Imagebuilder
|
|
1067
1103
|
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
1068
1104
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1069
1105
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1106
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1070
1107
|
end)
|
1071
1108
|
|
1072
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
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::Imagebuilder
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::Imagebuilder::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::Imagebuilder::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::Imagebuilder::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -194,6 +194,12 @@ module Aws::Imagebuilder
|
|
194
194
|
# The platform of the component.
|
195
195
|
# @return [String]
|
196
196
|
#
|
197
|
+
# @!attribute [rw] supported_os_versions
|
198
|
+
# The operating system (OS) version supported by the component. If the
|
199
|
+
# OS information is available, a prefix match is performed against the
|
200
|
+
# parent image OS version during image recipe creation.
|
201
|
+
# @return [Array<String>]
|
202
|
+
#
|
197
203
|
# @!attribute [rw] owner
|
198
204
|
# The owner of the component.
|
199
205
|
# @return [String]
|
@@ -228,6 +234,7 @@ module Aws::Imagebuilder
|
|
228
234
|
:change_description,
|
229
235
|
:type,
|
230
236
|
:platform,
|
237
|
+
:supported_os_versions,
|
231
238
|
:owner,
|
232
239
|
:data,
|
233
240
|
:kms_key_id,
|
@@ -275,6 +282,12 @@ module Aws::Imagebuilder
|
|
275
282
|
# The platform of the component.
|
276
283
|
# @return [String]
|
277
284
|
#
|
285
|
+
# @!attribute [rw] supported_os_versions
|
286
|
+
# The operating system (OS) version supported by the component. If the
|
287
|
+
# OS information is available, a prefix match is performed against the
|
288
|
+
# parent image OS version during image recipe creation.
|
289
|
+
# @return [Array<String>]
|
290
|
+
#
|
278
291
|
# @!attribute [rw] type
|
279
292
|
# The type of the component denotes whether the component is used to
|
280
293
|
# build the image or only to test it.
|
@@ -307,6 +320,7 @@ module Aws::Imagebuilder
|
|
307
320
|
:name,
|
308
321
|
:version,
|
309
322
|
:platform,
|
323
|
+
:supported_os_versions,
|
310
324
|
:type,
|
311
325
|
:owner,
|
312
326
|
:description,
|
@@ -338,6 +352,12 @@ module Aws::Imagebuilder
|
|
338
352
|
# The platform of the component.
|
339
353
|
# @return [String]
|
340
354
|
#
|
355
|
+
# @!attribute [rw] supported_os_versions
|
356
|
+
# The operating system (OS) version supported by the component. If the
|
357
|
+
# OS information is available, a prefix match is performed against the
|
358
|
+
# parent image OS version during image recipe creation.
|
359
|
+
# @return [Array<String>]
|
360
|
+
#
|
341
361
|
# @!attribute [rw] type
|
342
362
|
# The type of the component denotes whether the component is used to
|
343
363
|
# build the image or only to test it.
|
@@ -359,6 +379,7 @@ module Aws::Imagebuilder
|
|
359
379
|
:version,
|
360
380
|
:description,
|
361
381
|
:platform,
|
382
|
+
:supported_os_versions,
|
362
383
|
:type,
|
363
384
|
:owner,
|
364
385
|
:date_created)
|
@@ -374,6 +395,7 @@ module Aws::Imagebuilder
|
|
374
395
|
# description: "NonEmptyString",
|
375
396
|
# change_description: "NonEmptyString",
|
376
397
|
# platform: "Windows", # required, accepts Windows, Linux
|
398
|
+
# supported_os_versions: ["OsVersion"],
|
377
399
|
# data: "InlineComponentData",
|
378
400
|
# uri: "Uri",
|
379
401
|
# kms_key_id: "NonEmptyString",
|
@@ -408,6 +430,12 @@ module Aws::Imagebuilder
|
|
408
430
|
# The platform of the component.
|
409
431
|
# @return [String]
|
410
432
|
#
|
433
|
+
# @!attribute [rw] supported_os_versions
|
434
|
+
# The operating system (OS) version supported by the component. If the
|
435
|
+
# OS information is available, a prefix match is performed against the
|
436
|
+
# parent image OS version during image recipe creation.
|
437
|
+
# @return [Array<String>]
|
438
|
+
#
|
411
439
|
# @!attribute [rw] data
|
412
440
|
# The data of the component. Used to specify the data inline. Either
|
413
441
|
# `data` or `uri` can be used to specify the data within the
|
@@ -444,6 +472,7 @@ module Aws::Imagebuilder
|
|
444
472
|
:description,
|
445
473
|
:change_description,
|
446
474
|
:platform,
|
475
|
+
:supported_os_versions,
|
447
476
|
:data,
|
448
477
|
:uri,
|
449
478
|
:kms_key_id,
|
@@ -572,6 +601,7 @@ module Aws::Imagebuilder
|
|
572
601
|
# image_tests_enabled: false,
|
573
602
|
# timeout_minutes: 1,
|
574
603
|
# },
|
604
|
+
# enhanced_image_metadata_enabled: false,
|
575
605
|
# schedule: {
|
576
606
|
# schedule_expression: "NonEmptyString",
|
577
607
|
# pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
|
@@ -611,6 +641,13 @@ module Aws::Imagebuilder
|
|
611
641
|
# The image test configuration of the image pipeline.
|
612
642
|
# @return [Types::ImageTestsConfiguration]
|
613
643
|
#
|
644
|
+
# @!attribute [rw] enhanced_image_metadata_enabled
|
645
|
+
# Collects additional information about the image being created,
|
646
|
+
# including the operating system (OS) version and package list. This
|
647
|
+
# information is used to enhance the overall experience of using EC2
|
648
|
+
# Image Builder. Enabled by default.
|
649
|
+
# @return [Boolean]
|
650
|
+
#
|
614
651
|
# @!attribute [rw] schedule
|
615
652
|
# The schedule of the image pipeline.
|
616
653
|
# @return [Types::Schedule]
|
@@ -639,6 +676,7 @@ module Aws::Imagebuilder
|
|
639
676
|
:infrastructure_configuration_arn,
|
640
677
|
:distribution_configuration_arn,
|
641
678
|
:image_tests_configuration,
|
679
|
+
:enhanced_image_metadata_enabled,
|
642
680
|
:schedule,
|
643
681
|
:status,
|
644
682
|
:tags,
|
@@ -700,6 +738,7 @@ module Aws::Imagebuilder
|
|
700
738
|
# tags: {
|
701
739
|
# "TagKey" => "TagValue",
|
702
740
|
# },
|
741
|
+
# working_directory: "NonEmptyString",
|
703
742
|
# client_token: "ClientToken", # required
|
704
743
|
# }
|
705
744
|
#
|
@@ -720,7 +759,16 @@ module Aws::Imagebuilder
|
|
720
759
|
# @return [Array<Types::ComponentConfiguration>]
|
721
760
|
#
|
722
761
|
# @!attribute [rw] parent_image
|
723
|
-
# The parent image of the image recipe.
|
762
|
+
# The parent image of the image recipe. The value of the string can be
|
763
|
+
# the ARN of the parent image or an AMI ID. The format for the ARN
|
764
|
+
# follows this example:
|
765
|
+
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/2019.x.x`.
|
766
|
+
# The ARN ends with `/20xx.x.x`, which communicates to EC2 Image
|
767
|
+
# Builder that you want to use the latest AMI created in 20xx (year).
|
768
|
+
# You can provide the specific version that you want to use, or you
|
769
|
+
# can use a wildcard in all of the fields. If you enter an AMI ID for
|
770
|
+
# the string value, you must have access to the AMI, and the AMI must
|
771
|
+
# be in the same Region in which you are using Image Builder.
|
724
772
|
# @return [String]
|
725
773
|
#
|
726
774
|
# @!attribute [rw] block_device_mappings
|
@@ -731,6 +779,10 @@ module Aws::Imagebuilder
|
|
731
779
|
# The tags of the image recipe.
|
732
780
|
# @return [Hash<String,String>]
|
733
781
|
#
|
782
|
+
# @!attribute [rw] working_directory
|
783
|
+
# The working directory to be used during build and test workflows.
|
784
|
+
# @return [String]
|
785
|
+
#
|
734
786
|
# @!attribute [rw] client_token
|
735
787
|
# The idempotency token used to make this request idempotent.
|
736
788
|
#
|
@@ -748,6 +800,7 @@ module Aws::Imagebuilder
|
|
748
800
|
:parent_image,
|
749
801
|
:block_device_mappings,
|
750
802
|
:tags,
|
803
|
+
:working_directory,
|
751
804
|
:client_token)
|
752
805
|
include Aws::Structure
|
753
806
|
end
|
@@ -785,6 +838,7 @@ module Aws::Imagebuilder
|
|
785
838
|
# image_tests_enabled: false,
|
786
839
|
# timeout_minutes: 1,
|
787
840
|
# },
|
841
|
+
# enhanced_image_metadata_enabled: false,
|
788
842
|
# tags: {
|
789
843
|
# "TagKey" => "TagValue",
|
790
844
|
# },
|
@@ -811,6 +865,13 @@ module Aws::Imagebuilder
|
|
811
865
|
# The image tests configuration of the image.
|
812
866
|
# @return [Types::ImageTestsConfiguration]
|
813
867
|
#
|
868
|
+
# @!attribute [rw] enhanced_image_metadata_enabled
|
869
|
+
# Collects additional information about the image being created,
|
870
|
+
# including the operating system (OS) version and package list. This
|
871
|
+
# information is used to enhance the overall experience of using EC2
|
872
|
+
# Image Builder. Enabled by default.
|
873
|
+
# @return [Boolean]
|
874
|
+
#
|
814
875
|
# @!attribute [rw] tags
|
815
876
|
# The tags of the image.
|
816
877
|
# @return [Hash<String,String>]
|
@@ -829,6 +890,7 @@ module Aws::Imagebuilder
|
|
829
890
|
:distribution_configuration_arn,
|
830
891
|
:infrastructure_configuration_arn,
|
831
892
|
:image_tests_configuration,
|
893
|
+
:enhanced_image_metadata_enabled,
|
832
894
|
:tags,
|
833
895
|
:client_token)
|
834
896
|
include Aws::Structure
|
@@ -875,6 +937,9 @@ module Aws::Imagebuilder
|
|
875
937
|
# key_pair: "NonEmptyString",
|
876
938
|
# terminate_instance_on_failure: false,
|
877
939
|
# sns_topic_arn: "SnsTopicArn",
|
940
|
+
# resource_tags: {
|
941
|
+
# "TagKey" => "TagValue",
|
942
|
+
# },
|
878
943
|
# tags: {
|
879
944
|
# "TagKey" => "TagValue",
|
880
945
|
# },
|
@@ -930,6 +995,10 @@ module Aws::Imagebuilder
|
|
930
995
|
# The SNS topic on which to send image build events.
|
931
996
|
# @return [String]
|
932
997
|
#
|
998
|
+
# @!attribute [rw] resource_tags
|
999
|
+
# The tags attached to the resource created by Image Builder.
|
1000
|
+
# @return [Hash<String,String>]
|
1001
|
+
#
|
933
1002
|
# @!attribute [rw] tags
|
934
1003
|
# The tags of the infrastructure configuration.
|
935
1004
|
# @return [Hash<String,String>]
|
@@ -954,6 +1023,7 @@ module Aws::Imagebuilder
|
|
954
1023
|
:key_pair,
|
955
1024
|
:terminate_instance_on_failure,
|
956
1025
|
:sns_topic_arn,
|
1026
|
+
:resource_tags,
|
957
1027
|
:tags,
|
958
1028
|
:client_token)
|
959
1029
|
include Aws::Structure
|
@@ -1458,7 +1528,7 @@ module Aws::Imagebuilder
|
|
1458
1528
|
# data as a hash:
|
1459
1529
|
#
|
1460
1530
|
# {
|
1461
|
-
# component_build_version_arn: "
|
1531
|
+
# component_build_version_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
1462
1532
|
# }
|
1463
1533
|
#
|
1464
1534
|
# @!attribute [rw] component_build_version_arn
|
@@ -1668,7 +1738,7 @@ module Aws::Imagebuilder
|
|
1668
1738
|
# data as a hash:
|
1669
1739
|
#
|
1670
1740
|
# {
|
1671
|
-
# image_build_version_arn: "
|
1741
|
+
# image_build_version_arn: "ImageVersionArnOrBuildVersionArn", # required
|
1672
1742
|
# }
|
1673
1743
|
#
|
1674
1744
|
# @!attribute [rw] image_build_version_arn
|
@@ -1770,6 +1840,18 @@ module Aws::Imagebuilder
|
|
1770
1840
|
# The platform of the image.
|
1771
1841
|
# @return [String]
|
1772
1842
|
#
|
1843
|
+
# @!attribute [rw] enhanced_image_metadata_enabled
|
1844
|
+
# Collects additional information about the image being created,
|
1845
|
+
# including the operating system (OS) version and package list. This
|
1846
|
+
# information is used to enhance the overall experience of using EC2
|
1847
|
+
# Image Builder. Enabled by default.
|
1848
|
+
# @return [Boolean]
|
1849
|
+
#
|
1850
|
+
# @!attribute [rw] os_version
|
1851
|
+
# The operating system version of the instance. For example, Amazon
|
1852
|
+
# Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
|
1853
|
+
# @return [String]
|
1854
|
+
#
|
1773
1855
|
# @!attribute [rw] state
|
1774
1856
|
# The state of the image.
|
1775
1857
|
# @return [Types::ImageState]
|
@@ -1818,6 +1900,8 @@ module Aws::Imagebuilder
|
|
1818
1900
|
:name,
|
1819
1901
|
:version,
|
1820
1902
|
:platform,
|
1903
|
+
:enhanced_image_metadata_enabled,
|
1904
|
+
:os_version,
|
1821
1905
|
:state,
|
1822
1906
|
:image_recipe,
|
1823
1907
|
:source_pipeline_name,
|
@@ -1849,6 +1933,13 @@ module Aws::Imagebuilder
|
|
1849
1933
|
# The platform of the image pipeline.
|
1850
1934
|
# @return [String]
|
1851
1935
|
#
|
1936
|
+
# @!attribute [rw] enhanced_image_metadata_enabled
|
1937
|
+
# Collects additional information about the image being created,
|
1938
|
+
# including the operating system (OS) version and package list. This
|
1939
|
+
# information is used to enhance the overall experience of using EC2
|
1940
|
+
# Image Builder. Enabled by default.
|
1941
|
+
# @return [Boolean]
|
1942
|
+
#
|
1852
1943
|
# @!attribute [rw] image_recipe_arn
|
1853
1944
|
# The Amazon Resource Name (ARN) of the image recipe associated with
|
1854
1945
|
# this image pipeline.
|
@@ -1903,6 +1994,7 @@ module Aws::Imagebuilder
|
|
1903
1994
|
:name,
|
1904
1995
|
:description,
|
1905
1996
|
:platform,
|
1997
|
+
:enhanced_image_metadata_enabled,
|
1906
1998
|
:image_recipe_arn,
|
1907
1999
|
:infrastructure_configuration_arn,
|
1908
2000
|
:distribution_configuration_arn,
|
@@ -1964,6 +2056,10 @@ module Aws::Imagebuilder
|
|
1964
2056
|
# The tags of the image recipe.
|
1965
2057
|
# @return [Hash<String,String>]
|
1966
2058
|
#
|
2059
|
+
# @!attribute [rw] working_directory
|
2060
|
+
# The working directory to be used during build and test workflows.
|
2061
|
+
# @return [String]
|
2062
|
+
#
|
1967
2063
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImageRecipe AWS API Documentation
|
1968
2064
|
#
|
1969
2065
|
class ImageRecipe < Struct.new(
|
@@ -1977,7 +2073,8 @@ module Aws::Imagebuilder
|
|
1977
2073
|
:parent_image,
|
1978
2074
|
:block_device_mappings,
|
1979
2075
|
:date_created,
|
1980
|
-
:tags
|
2076
|
+
:tags,
|
2077
|
+
:working_directory)
|
1981
2078
|
include Aws::Structure
|
1982
2079
|
end
|
1983
2080
|
|
@@ -2060,6 +2157,11 @@ module Aws::Imagebuilder
|
|
2060
2157
|
# The platform of the image.
|
2061
2158
|
# @return [String]
|
2062
2159
|
#
|
2160
|
+
# @!attribute [rw] os_version
|
2161
|
+
# The operating system version of the instance. For example, Amazon
|
2162
|
+
# Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
|
2163
|
+
# @return [String]
|
2164
|
+
#
|
2063
2165
|
# @!attribute [rw] state
|
2064
2166
|
# The state of the image.
|
2065
2167
|
# @return [Types::ImageState]
|
@@ -2087,6 +2189,7 @@ module Aws::Imagebuilder
|
|
2087
2189
|
:name,
|
2088
2190
|
:version,
|
2089
2191
|
:platform,
|
2192
|
+
:os_version,
|
2090
2193
|
:state,
|
2091
2194
|
:owner,
|
2092
2195
|
:date_created,
|
@@ -2139,6 +2242,11 @@ module Aws::Imagebuilder
|
|
2139
2242
|
# The platform of the image semantic version.
|
2140
2243
|
# @return [String]
|
2141
2244
|
#
|
2245
|
+
# @!attribute [rw] os_version
|
2246
|
+
# The operating system version of the instance. For example, Amazon
|
2247
|
+
# Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
|
2248
|
+
# @return [String]
|
2249
|
+
#
|
2142
2250
|
# @!attribute [rw] owner
|
2143
2251
|
# The owner of the image semantic version.
|
2144
2252
|
# @return [String]
|
@@ -2154,6 +2262,7 @@ module Aws::Imagebuilder
|
|
2154
2262
|
:name,
|
2155
2263
|
:version,
|
2156
2264
|
:platform,
|
2265
|
+
:os_version,
|
2157
2266
|
:owner,
|
2158
2267
|
:date_created)
|
2159
2268
|
include Aws::Structure
|
@@ -2336,6 +2445,10 @@ module Aws::Imagebuilder
|
|
2336
2445
|
# The date on which the infrastructure configuration was last updated.
|
2337
2446
|
# @return [String]
|
2338
2447
|
#
|
2448
|
+
# @!attribute [rw] resource_tags
|
2449
|
+
# The tags attached to the resource created by Image Builder.
|
2450
|
+
# @return [Hash<String,String>]
|
2451
|
+
#
|
2339
2452
|
# @!attribute [rw] tags
|
2340
2453
|
# The tags of the infrastructure configuration.
|
2341
2454
|
# @return [Hash<String,String>]
|
@@ -2356,6 +2469,7 @@ module Aws::Imagebuilder
|
|
2356
2469
|
:sns_topic_arn,
|
2357
2470
|
:date_created,
|
2358
2471
|
:date_updated,
|
2472
|
+
:resource_tags,
|
2359
2473
|
:tags)
|
2360
2474
|
include Aws::Structure
|
2361
2475
|
end
|
@@ -2382,6 +2496,10 @@ module Aws::Imagebuilder
|
|
2382
2496
|
# The date on which the infrastructure configuration was last updated.
|
2383
2497
|
# @return [String]
|
2384
2498
|
#
|
2499
|
+
# @!attribute [rw] resource_tags
|
2500
|
+
# The tags attached to the image created by Image Builder.
|
2501
|
+
# @return [Hash<String,String>]
|
2502
|
+
#
|
2385
2503
|
# @!attribute [rw] tags
|
2386
2504
|
# The tags of the infrastructure configuration.
|
2387
2505
|
# @return [Hash<String,String>]
|
@@ -2394,6 +2512,7 @@ module Aws::Imagebuilder
|
|
2394
2512
|
:description,
|
2395
2513
|
:date_created,
|
2396
2514
|
:date_updated,
|
2515
|
+
:resource_tags,
|
2397
2516
|
:tags)
|
2398
2517
|
include Aws::Structure
|
2399
2518
|
end
|
@@ -3449,6 +3568,24 @@ module Aws::Imagebuilder
|
|
3449
3568
|
include Aws::Structure
|
3450
3569
|
end
|
3451
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
|
+
|
3452
3589
|
# The service is unable to process your request at this time.
|
3453
3590
|
#
|
3454
3591
|
# @!attribute [rw] message
|
@@ -3661,6 +3798,7 @@ module Aws::Imagebuilder
|
|
3661
3798
|
# image_tests_enabled: false,
|
3662
3799
|
# timeout_minutes: 1,
|
3663
3800
|
# },
|
3801
|
+
# enhanced_image_metadata_enabled: false,
|
3664
3802
|
# schedule: {
|
3665
3803
|
# schedule_expression: "NonEmptyString",
|
3666
3804
|
# pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
|
@@ -3698,6 +3836,13 @@ module Aws::Imagebuilder
|
|
3698
3836
|
# The image test configuration of the image pipeline.
|
3699
3837
|
# @return [Types::ImageTestsConfiguration]
|
3700
3838
|
#
|
3839
|
+
# @!attribute [rw] enhanced_image_metadata_enabled
|
3840
|
+
# Collects additional information about the image being created,
|
3841
|
+
# including the operating system (OS) version and package list. This
|
3842
|
+
# information is used to enhance the overall experience of using EC2
|
3843
|
+
# Image Builder. Enabled by default.
|
3844
|
+
# @return [Boolean]
|
3845
|
+
#
|
3701
3846
|
# @!attribute [rw] schedule
|
3702
3847
|
# The schedule of the image pipeline.
|
3703
3848
|
# @return [Types::Schedule]
|
@@ -3722,6 +3867,7 @@ module Aws::Imagebuilder
|
|
3722
3867
|
:infrastructure_configuration_arn,
|
3723
3868
|
:distribution_configuration_arn,
|
3724
3869
|
:image_tests_configuration,
|
3870
|
+
:enhanced_image_metadata_enabled,
|
3725
3871
|
:schedule,
|
3726
3872
|
:status,
|
3727
3873
|
:client_token)
|
@@ -3770,6 +3916,9 @@ module Aws::Imagebuilder
|
|
3770
3916
|
# terminate_instance_on_failure: false,
|
3771
3917
|
# sns_topic_arn: "SnsTopicArn",
|
3772
3918
|
# client_token: "ClientToken", # required
|
3919
|
+
# resource_tags: {
|
3920
|
+
# "TagKey" => "TagValue",
|
3921
|
+
# },
|
3773
3922
|
# }
|
3774
3923
|
#
|
3775
3924
|
# @!attribute [rw] infrastructure_configuration_arn
|
@@ -3829,6 +3978,10 @@ module Aws::Imagebuilder
|
|
3829
3978
|
# not need to pass this option.
|
3830
3979
|
# @return [String]
|
3831
3980
|
#
|
3981
|
+
# @!attribute [rw] resource_tags
|
3982
|
+
# The tags attached to the resource created by Image Builder.
|
3983
|
+
# @return [Hash<String,String>]
|
3984
|
+
#
|
3832
3985
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateInfrastructureConfigurationRequest AWS API Documentation
|
3833
3986
|
#
|
3834
3987
|
class UpdateInfrastructureConfigurationRequest < Struct.new(
|
@@ -3842,7 +3995,8 @@ module Aws::Imagebuilder
|
|
3842
3995
|
:key_pair,
|
3843
3996
|
:terminate_instance_on_failure,
|
3844
3997
|
:sns_topic_arn,
|
3845
|
-
:client_token
|
3998
|
+
:client_token,
|
3999
|
+
:resource_tags)
|
3846
4000
|
include Aws::Structure
|
3847
4001
|
end
|
3848
4002
|
|