aws-sdk-imagebuilder 1.73.0 → 1.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-imagebuilder/client.rb +154 -12
- data/lib/aws-sdk-imagebuilder/client_api.rb +70 -0
- data/lib/aws-sdk-imagebuilder/types.rb +213 -21
- data/lib/aws-sdk-imagebuilder.rb +1 -1
- data/sig/client.rbs +38 -5
- data/sig/types.rbs +52 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eedb41e0fd024941b970d683984483cfe9a391fc2114180823165a8c092df9fd
|
4
|
+
data.tar.gz: 1ba2e7340f22c1e811e8ec4eac90f7ff496960823c3707115cb0f9d27f197d5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed72f64e05d5cf7b5bae5bfc9e6615fa1f4c7438840ba79ec2d0815fa6346d0cd0d1a30e614f2dfcd39e3027006ec0dadbf3cc62c1a5aa5f63fd82f19f0cf788
|
7
|
+
data.tar.gz: 80f63a41782e67dfb4e987751b087212746cadd8edf3b3ad2f933c3837ff564a8af8185f927950e63169eca7be3de97c6a43c7aa2b660aae5d75809cb30b9e0d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.75.0 (2025-01-07)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for importing images from ISO disk files. Added new ImportDiskImage API operation.
|
8
|
+
|
9
|
+
1.74.0 (2024-12-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added support for EC2 Image Builder's integration with AWS Marketplace for Marketplace components.
|
13
|
+
|
4
14
|
1.73.0 (2024-10-22)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.75.0
|
@@ -1998,7 +1998,7 @@ module Aws::Imagebuilder
|
|
1998
1998
|
# resp.component.platform #=> String, one of "Windows", "Linux", "macOS"
|
1999
1999
|
# resp.component.supported_os_versions #=> Array
|
2000
2000
|
# resp.component.supported_os_versions[0] #=> String
|
2001
|
-
# resp.component.state.status #=> String, one of "DEPRECATED"
|
2001
|
+
# resp.component.state.status #=> String, one of "DEPRECATED", "DISABLED", "ACTIVE"
|
2002
2002
|
# resp.component.state.reason #=> String
|
2003
2003
|
# resp.component.parameters #=> Array
|
2004
2004
|
# resp.component.parameters[0].name #=> String
|
@@ -2015,6 +2015,9 @@ module Aws::Imagebuilder
|
|
2015
2015
|
# resp.component.tags["TagKey"] #=> String
|
2016
2016
|
# resp.component.publisher #=> String
|
2017
2017
|
# resp.component.obfuscate #=> Boolean
|
2018
|
+
# resp.component.product_codes #=> Array
|
2019
|
+
# resp.component.product_codes[0].product_code_id #=> String
|
2020
|
+
# resp.component.product_codes[0].product_code_type #=> String, one of "marketplace"
|
2018
2021
|
#
|
2019
2022
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetComponent AWS API Documentation
|
2020
2023
|
#
|
@@ -2419,7 +2422,7 @@ module Aws::Imagebuilder
|
|
2419
2422
|
# resp.image.output_resources.containers[0].image_uris[0] #=> String
|
2420
2423
|
# resp.image.tags #=> Hash
|
2421
2424
|
# resp.image.tags["TagKey"] #=> String
|
2422
|
-
# resp.image.build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
|
2425
|
+
# resp.image.build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT", "IMPORT_ISO"
|
2423
2426
|
# resp.image.image_source #=> String, one of "AMAZON_MANAGED", "AWS_MARKETPLACE", "IMPORTED", "CUSTOM"
|
2424
2427
|
# resp.image.scan_state.status #=> String, one of "PENDING", "SCANNING", "COLLECTING", "COMPLETED", "ABANDONED", "FAILED", "TIMED_OUT"
|
2425
2428
|
# resp.image.scan_state.reason #=> String
|
@@ -2792,6 +2795,52 @@ module Aws::Imagebuilder
|
|
2792
2795
|
req.send_request(options)
|
2793
2796
|
end
|
2794
2797
|
|
2798
|
+
# Verify the subscription and perform resource dependency checks on the
|
2799
|
+
# requested Amazon Web Services Marketplace resource. For Amazon Web
|
2800
|
+
# Services Marketplace components, the response contains fields to
|
2801
|
+
# download the components and their artifacts.
|
2802
|
+
#
|
2803
|
+
# @option params [required, String] :resource_type
|
2804
|
+
# Specifies which type of Amazon Web Services Marketplace resource Image
|
2805
|
+
# Builder retrieves.
|
2806
|
+
#
|
2807
|
+
# @option params [required, String] :resource_arn
|
2808
|
+
# The Amazon Resource Name (ARN) that uniquely identifies an Amazon Web
|
2809
|
+
# Services Marketplace resource.
|
2810
|
+
#
|
2811
|
+
# @option params [String] :resource_location
|
2812
|
+
# The bucket path that you can specify to download the resource from
|
2813
|
+
# Amazon S3.
|
2814
|
+
#
|
2815
|
+
# @return [Types::GetMarketplaceResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2816
|
+
#
|
2817
|
+
# * {Types::GetMarketplaceResourceResponse#resource_arn #resource_arn} => String
|
2818
|
+
# * {Types::GetMarketplaceResourceResponse#url #url} => String
|
2819
|
+
# * {Types::GetMarketplaceResourceResponse#data #data} => String
|
2820
|
+
#
|
2821
|
+
# @example Request syntax with placeholder values
|
2822
|
+
#
|
2823
|
+
# resp = client.get_marketplace_resource({
|
2824
|
+
# resource_type: "COMPONENT_DATA", # required, accepts COMPONENT_DATA, COMPONENT_ARTIFACT
|
2825
|
+
# resource_arn: "ImageBuilderArn", # required
|
2826
|
+
# resource_location: "MarketplaceResourceLocation",
|
2827
|
+
# })
|
2828
|
+
#
|
2829
|
+
# @example Response structure
|
2830
|
+
#
|
2831
|
+
# resp.resource_arn #=> String
|
2832
|
+
# resp.url #=> String
|
2833
|
+
# resp.data #=> String
|
2834
|
+
#
|
2835
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetMarketplaceResource AWS API Documentation
|
2836
|
+
#
|
2837
|
+
# @overload get_marketplace_resource(params = {})
|
2838
|
+
# @param [Hash] params ({})
|
2839
|
+
def get_marketplace_resource(params = {}, options = {})
|
2840
|
+
req = build_request(:get_marketplace_resource, params)
|
2841
|
+
req.send_request(options)
|
2842
|
+
end
|
2843
|
+
|
2795
2844
|
# Get a workflow resource object.
|
2796
2845
|
#
|
2797
2846
|
# @option params [required, String] :workflow_build_version_arn
|
@@ -3066,6 +3115,95 @@ module Aws::Imagebuilder
|
|
3066
3115
|
req.send_request(options)
|
3067
3116
|
end
|
3068
3117
|
|
3118
|
+
# Import a Windows operating system image from a verified Microsoft ISO
|
3119
|
+
# disk file. The following disk images are supported:
|
3120
|
+
#
|
3121
|
+
# * Windows 11 Enterprise
|
3122
|
+
#
|
3123
|
+
# ^
|
3124
|
+
#
|
3125
|
+
# @option params [required, String] :name
|
3126
|
+
# The name of the image resource that's created from the import.
|
3127
|
+
#
|
3128
|
+
# @option params [required, String] :semantic_version
|
3129
|
+
# The semantic version to attach to the image that's created during the
|
3130
|
+
# import process. This version follows the semantic version syntax.
|
3131
|
+
#
|
3132
|
+
# @option params [String] :description
|
3133
|
+
# The description for your disk image import.
|
3134
|
+
#
|
3135
|
+
# @option params [required, String] :platform
|
3136
|
+
# The operating system platform for the imported image. Allowed values
|
3137
|
+
# include the following: `Windows`.
|
3138
|
+
#
|
3139
|
+
# @option params [required, String] :os_version
|
3140
|
+
# The operating system version for the imported image. Allowed values
|
3141
|
+
# include the following: `Microsoft Windows 11`.
|
3142
|
+
#
|
3143
|
+
# @option params [String] :execution_role
|
3144
|
+
# The name or Amazon Resource Name (ARN) for the IAM role you create
|
3145
|
+
# that grants Image Builder access to perform workflow actions to import
|
3146
|
+
# an image from a Microsoft ISO file.
|
3147
|
+
#
|
3148
|
+
# @option params [required, String] :infrastructure_configuration_arn
|
3149
|
+
# The Amazon Resource Name (ARN) of the infrastructure configuration
|
3150
|
+
# resource that's used for launching the EC2 instance on which the ISO
|
3151
|
+
# image is built.
|
3152
|
+
#
|
3153
|
+
# @option params [required, String] :uri
|
3154
|
+
# The `uri` of the ISO disk file that's stored in Amazon S3.
|
3155
|
+
#
|
3156
|
+
# @option params [Hash<String,String>] :tags
|
3157
|
+
# Tags that are attached to image resources created from the import.
|
3158
|
+
#
|
3159
|
+
# @option params [required, String] :client_token
|
3160
|
+
# Unique, case-sensitive identifier you provide to ensure idempotency of
|
3161
|
+
# the request. For more information, see [Ensuring idempotency][1] in
|
3162
|
+
# the *Amazon EC2 API Reference*.
|
3163
|
+
#
|
3164
|
+
# **A suitable default value is auto-generated.** You should normally
|
3165
|
+
# not need to pass this option.**
|
3166
|
+
#
|
3167
|
+
#
|
3168
|
+
#
|
3169
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
3170
|
+
#
|
3171
|
+
# @return [Types::ImportDiskImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3172
|
+
#
|
3173
|
+
# * {Types::ImportDiskImageResponse#client_token #client_token} => String
|
3174
|
+
# * {Types::ImportDiskImageResponse#image_build_version_arn #image_build_version_arn} => String
|
3175
|
+
#
|
3176
|
+
# @example Request syntax with placeholder values
|
3177
|
+
#
|
3178
|
+
# resp = client.import_disk_image({
|
3179
|
+
# name: "NonEmptyString", # required
|
3180
|
+
# semantic_version: "VersionNumber", # required
|
3181
|
+
# description: "NonEmptyString",
|
3182
|
+
# platform: "NonEmptyString", # required
|
3183
|
+
# os_version: "OsVersion", # required
|
3184
|
+
# execution_role: "RoleNameOrArn",
|
3185
|
+
# infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
|
3186
|
+
# uri: "Uri", # required
|
3187
|
+
# tags: {
|
3188
|
+
# "TagKey" => "TagValue",
|
3189
|
+
# },
|
3190
|
+
# client_token: "ClientToken", # required
|
3191
|
+
# })
|
3192
|
+
#
|
3193
|
+
# @example Response structure
|
3194
|
+
#
|
3195
|
+
# resp.client_token #=> String
|
3196
|
+
# resp.image_build_version_arn #=> String
|
3197
|
+
#
|
3198
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportDiskImage AWS API Documentation
|
3199
|
+
#
|
3200
|
+
# @overload import_disk_image(params = {})
|
3201
|
+
# @param [Hash] params ({})
|
3202
|
+
def import_disk_image(params = {}, options = {})
|
3203
|
+
req = build_request(:import_disk_image, params)
|
3204
|
+
req.send_request(options)
|
3205
|
+
end
|
3206
|
+
|
3069
3207
|
# When you export your virtual machine (VM) from its virtualization
|
3070
3208
|
# environment, that process creates a set of one or more disk container
|
3071
3209
|
# files that act as snapshots of your VM’s environment, settings, and
|
@@ -3213,7 +3351,7 @@ module Aws::Imagebuilder
|
|
3213
3351
|
# resp.component_summary_list[0].platform #=> String, one of "Windows", "Linux", "macOS"
|
3214
3352
|
# resp.component_summary_list[0].supported_os_versions #=> Array
|
3215
3353
|
# resp.component_summary_list[0].supported_os_versions[0] #=> String
|
3216
|
-
# resp.component_summary_list[0].state.status #=> String, one of "DEPRECATED"
|
3354
|
+
# resp.component_summary_list[0].state.status #=> String, one of "DEPRECATED", "DISABLED", "ACTIVE"
|
3217
3355
|
# resp.component_summary_list[0].state.reason #=> String
|
3218
3356
|
# resp.component_summary_list[0].type #=> String, one of "BUILD", "TEST"
|
3219
3357
|
# resp.component_summary_list[0].owner #=> String
|
@@ -3295,7 +3433,7 @@ module Aws::Imagebuilder
|
|
3295
3433
|
# @example Request syntax with placeholder values
|
3296
3434
|
#
|
3297
3435
|
# resp = client.list_components({
|
3298
|
-
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty
|
3436
|
+
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty, AWSMarketplace
|
3299
3437
|
# filters: [
|
3300
3438
|
# {
|
3301
3439
|
# name: "FilterName",
|
@@ -3321,6 +3459,10 @@ module Aws::Imagebuilder
|
|
3321
3459
|
# resp.component_version_list[0].type #=> String, one of "BUILD", "TEST"
|
3322
3460
|
# resp.component_version_list[0].owner #=> String
|
3323
3461
|
# resp.component_version_list[0].date_created #=> String
|
3462
|
+
# resp.component_version_list[0].status #=> String, one of "DEPRECATED", "DISABLED", "ACTIVE"
|
3463
|
+
# resp.component_version_list[0].product_codes #=> Array
|
3464
|
+
# resp.component_version_list[0].product_codes[0].product_code_id #=> String
|
3465
|
+
# resp.component_version_list[0].product_codes[0].product_code_type #=> String, one of "marketplace"
|
3324
3466
|
# resp.next_token #=> String
|
3325
3467
|
#
|
3326
3468
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponents AWS API Documentation
|
@@ -3368,7 +3510,7 @@ module Aws::Imagebuilder
|
|
3368
3510
|
# @example Request syntax with placeholder values
|
3369
3511
|
#
|
3370
3512
|
# resp = client.list_container_recipes({
|
3371
|
-
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty
|
3513
|
+
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty, AWSMarketplace
|
3372
3514
|
# filters: [
|
3373
3515
|
# {
|
3374
3516
|
# name: "FilterName",
|
@@ -3536,7 +3678,7 @@ module Aws::Imagebuilder
|
|
3536
3678
|
# resp.image_summary_list[0].output_resources.containers[0].image_uris[0] #=> String
|
3537
3679
|
# resp.image_summary_list[0].tags #=> Hash
|
3538
3680
|
# resp.image_summary_list[0].tags["TagKey"] #=> String
|
3539
|
-
# resp.image_summary_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
|
3681
|
+
# resp.image_summary_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT", "IMPORT_ISO"
|
3540
3682
|
# resp.image_summary_list[0].image_source #=> String, one of "AMAZON_MANAGED", "AWS_MARKETPLACE", "IMPORTED", "CUSTOM"
|
3541
3683
|
# resp.image_summary_list[0].deprecation_time #=> Time
|
3542
3684
|
# resp.image_summary_list[0].lifecycle_execution_id #=> String
|
@@ -3669,7 +3811,7 @@ module Aws::Imagebuilder
|
|
3669
3811
|
# resp.image_summary_list[0].output_resources.containers[0].image_uris[0] #=> String
|
3670
3812
|
# resp.image_summary_list[0].tags #=> Hash
|
3671
3813
|
# resp.image_summary_list[0].tags["TagKey"] #=> String
|
3672
|
-
# resp.image_summary_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
|
3814
|
+
# resp.image_summary_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT", "IMPORT_ISO"
|
3673
3815
|
# resp.image_summary_list[0].image_source #=> String, one of "AMAZON_MANAGED", "AWS_MARKETPLACE", "IMPORTED", "CUSTOM"
|
3674
3816
|
# resp.image_summary_list[0].deprecation_time #=> Time
|
3675
3817
|
# resp.image_summary_list[0].lifecycle_execution_id #=> String
|
@@ -3814,7 +3956,7 @@ module Aws::Imagebuilder
|
|
3814
3956
|
# @example Request syntax with placeholder values
|
3815
3957
|
#
|
3816
3958
|
# resp = client.list_image_recipes({
|
3817
|
-
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty
|
3959
|
+
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty, AWSMarketplace
|
3818
3960
|
# filters: [
|
3819
3961
|
# {
|
3820
3962
|
# name: "FilterName",
|
@@ -4086,7 +4228,7 @@ module Aws::Imagebuilder
|
|
4086
4228
|
# @example Request syntax with placeholder values
|
4087
4229
|
#
|
4088
4230
|
# resp = client.list_images({
|
4089
|
-
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty
|
4231
|
+
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty, AWSMarketplace
|
4090
4232
|
# filters: [
|
4091
4233
|
# {
|
4092
4234
|
# name: "FilterName",
|
@@ -4111,7 +4253,7 @@ module Aws::Imagebuilder
|
|
4111
4253
|
# resp.image_version_list[0].os_version #=> String
|
4112
4254
|
# resp.image_version_list[0].owner #=> String
|
4113
4255
|
# resp.image_version_list[0].date_created #=> String
|
4114
|
-
# resp.image_version_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
|
4256
|
+
# resp.image_version_list[0].build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT", "IMPORT_ISO"
|
4115
4257
|
# resp.image_version_list[0].image_source #=> String, one of "AMAZON_MANAGED", "AWS_MARKETPLACE", "IMPORTED", "CUSTOM"
|
4116
4258
|
# resp.next_token #=> String
|
4117
4259
|
#
|
@@ -4652,7 +4794,7 @@ module Aws::Imagebuilder
|
|
4652
4794
|
# @example Request syntax with placeholder values
|
4653
4795
|
#
|
4654
4796
|
# resp = client.list_workflows({
|
4655
|
-
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty
|
4797
|
+
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty, AWSMarketplace
|
4656
4798
|
# filters: [
|
4657
4799
|
# {
|
4658
4800
|
# name: "FilterName",
|
@@ -5627,7 +5769,7 @@ module Aws::Imagebuilder
|
|
5627
5769
|
tracer: tracer
|
5628
5770
|
)
|
5629
5771
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
5630
|
-
context[:gem_version] = '1.
|
5772
|
+
context[:gem_version] = '1.75.0'
|
5631
5773
|
Seahorse::Client::Request.new(handlers, context)
|
5632
5774
|
end
|
5633
5775
|
|
@@ -161,6 +161,8 @@ module Aws::Imagebuilder
|
|
161
161
|
GetLifecycleExecutionResponse = Shapes::StructureShape.new(name: 'GetLifecycleExecutionResponse')
|
162
162
|
GetLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'GetLifecyclePolicyRequest')
|
163
163
|
GetLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'GetLifecyclePolicyResponse')
|
164
|
+
GetMarketplaceResourceRequest = Shapes::StructureShape.new(name: 'GetMarketplaceResourceRequest')
|
165
|
+
GetMarketplaceResourceResponse = Shapes::StructureShape.new(name: 'GetMarketplaceResourceResponse')
|
164
166
|
GetWorkflowExecutionRequest = Shapes::StructureShape.new(name: 'GetWorkflowExecutionRequest')
|
165
167
|
GetWorkflowExecutionResponse = Shapes::StructureShape.new(name: 'GetWorkflowExecutionResponse')
|
166
168
|
GetWorkflowRequest = Shapes::StructureShape.new(name: 'GetWorkflowRequest')
|
@@ -209,6 +211,8 @@ module Aws::Imagebuilder
|
|
209
211
|
ImageVersionList = Shapes::ListShape.new(name: 'ImageVersionList')
|
210
212
|
ImportComponentRequest = Shapes::StructureShape.new(name: 'ImportComponentRequest')
|
211
213
|
ImportComponentResponse = Shapes::StructureShape.new(name: 'ImportComponentResponse')
|
214
|
+
ImportDiskImageRequest = Shapes::StructureShape.new(name: 'ImportDiskImageRequest')
|
215
|
+
ImportDiskImageResponse = Shapes::StructureShape.new(name: 'ImportDiskImageResponse')
|
212
216
|
ImportVmImageRequest = Shapes::StructureShape.new(name: 'ImportVmImageRequest')
|
213
217
|
ImportVmImageResponse = Shapes::StructureShape.new(name: 'ImportVmImageResponse')
|
214
218
|
InfrastructureConfiguration = Shapes::StructureShape.new(name: 'InfrastructureConfiguration')
|
@@ -320,6 +324,8 @@ module Aws::Imagebuilder
|
|
320
324
|
ListWorkflowsRequest = Shapes::StructureShape.new(name: 'ListWorkflowsRequest')
|
321
325
|
ListWorkflowsResponse = Shapes::StructureShape.new(name: 'ListWorkflowsResponse')
|
322
326
|
Logging = Shapes::StructureShape.new(name: 'Logging')
|
327
|
+
MarketplaceResourceLocation = Shapes::StringShape.new(name: 'MarketplaceResourceLocation')
|
328
|
+
MarketplaceResourceType = Shapes::StringShape.new(name: 'MarketplaceResourceType')
|
323
329
|
MaxParallelLaunches = Shapes::IntegerShape.new(name: 'MaxParallelLaunches')
|
324
330
|
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
325
331
|
NonEmptyStringList = Shapes::ListShape.new(name: 'NonEmptyStringList')
|
@@ -343,6 +349,10 @@ module Aws::Imagebuilder
|
|
343
349
|
PipelineStatus = Shapes::StringShape.new(name: 'PipelineStatus')
|
344
350
|
Placement = Shapes::StructureShape.new(name: 'Placement')
|
345
351
|
Platform = Shapes::StringShape.new(name: 'Platform')
|
352
|
+
ProductCodeId = Shapes::StringShape.new(name: 'ProductCodeId')
|
353
|
+
ProductCodeList = Shapes::ListShape.new(name: 'ProductCodeList')
|
354
|
+
ProductCodeListItem = Shapes::StructureShape.new(name: 'ProductCodeListItem')
|
355
|
+
ProductCodeType = Shapes::StringShape.new(name: 'ProductCodeType')
|
346
356
|
PutComponentPolicyRequest = Shapes::StructureShape.new(name: 'PutComponentPolicyRequest')
|
347
357
|
PutComponentPolicyResponse = Shapes::StructureShape.new(name: 'PutComponentPolicyResponse')
|
348
358
|
PutContainerRecipePolicyRequest = Shapes::StructureShape.new(name: 'PutContainerRecipePolicyRequest')
|
@@ -529,6 +539,7 @@ module Aws::Imagebuilder
|
|
529
539
|
Component.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
530
540
|
Component.add_member(:publisher, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "publisher"))
|
531
541
|
Component.add_member(:obfuscate, Shapes::ShapeRef.new(shape: Boolean, location_name: "obfuscate"))
|
542
|
+
Component.add_member(:product_codes, Shapes::ShapeRef.new(shape: ProductCodeList, location_name: "productCodes"))
|
532
543
|
Component.struct_class = Types::Component
|
533
544
|
|
534
545
|
ComponentConfiguration.add_member(:component_arn, Shapes::ShapeRef.new(shape: ComponentVersionArnOrBuildVersionArn, required: true, location_name: "componentArn"))
|
@@ -584,6 +595,8 @@ module Aws::Imagebuilder
|
|
584
595
|
ComponentVersion.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
|
585
596
|
ComponentVersion.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
586
597
|
ComponentVersion.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
598
|
+
ComponentVersion.add_member(:status, Shapes::ShapeRef.new(shape: ComponentStatus, location_name: "status"))
|
599
|
+
ComponentVersion.add_member(:product_codes, Shapes::ShapeRef.new(shape: ProductCodeList, location_name: "productCodes"))
|
587
600
|
ComponentVersion.struct_class = Types::ComponentVersion
|
588
601
|
|
589
602
|
ComponentVersionList.member = Shapes::ShapeRef.new(shape: ComponentVersion)
|
@@ -1039,6 +1052,16 @@ module Aws::Imagebuilder
|
|
1039
1052
|
GetLifecyclePolicyResponse.add_member(:lifecycle_policy, Shapes::ShapeRef.new(shape: LifecyclePolicy, location_name: "lifecyclePolicy"))
|
1040
1053
|
GetLifecyclePolicyResponse.struct_class = Types::GetLifecyclePolicyResponse
|
1041
1054
|
|
1055
|
+
GetMarketplaceResourceRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: MarketplaceResourceType, required: true, location_name: "resourceType"))
|
1056
|
+
GetMarketplaceResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, required: true, location_name: "resourceArn"))
|
1057
|
+
GetMarketplaceResourceRequest.add_member(:resource_location, Shapes::ShapeRef.new(shape: MarketplaceResourceLocation, location_name: "resourceLocation"))
|
1058
|
+
GetMarketplaceResourceRequest.struct_class = Types::GetMarketplaceResourceRequest
|
1059
|
+
|
1060
|
+
GetMarketplaceResourceResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "resourceArn"))
|
1061
|
+
GetMarketplaceResourceResponse.add_member(:url, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "url"))
|
1062
|
+
GetMarketplaceResourceResponse.add_member(:data, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "data"))
|
1063
|
+
GetMarketplaceResourceResponse.struct_class = Types::GetMarketplaceResourceResponse
|
1064
|
+
|
1042
1065
|
GetWorkflowExecutionRequest.add_member(:workflow_execution_id, Shapes::ShapeRef.new(shape: WorkflowExecutionId, required: true, location: "querystring", location_name: "workflowExecutionId"))
|
1043
1066
|
GetWorkflowExecutionRequest.struct_class = Types::GetWorkflowExecutionRequest
|
1044
1067
|
|
@@ -1284,6 +1307,22 @@ module Aws::Imagebuilder
|
|
1284
1307
|
ImportComponentResponse.add_member(:component_build_version_arn, Shapes::ShapeRef.new(shape: ComponentBuildVersionArn, location_name: "componentBuildVersionArn"))
|
1285
1308
|
ImportComponentResponse.struct_class = Types::ImportComponentResponse
|
1286
1309
|
|
1310
|
+
ImportDiskImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
|
1311
|
+
ImportDiskImageRequest.add_member(:semantic_version, Shapes::ShapeRef.new(shape: VersionNumber, required: true, location_name: "semanticVersion"))
|
1312
|
+
ImportDiskImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
1313
|
+
ImportDiskImageRequest.add_member(:platform, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "platform"))
|
1314
|
+
ImportDiskImageRequest.add_member(:os_version, Shapes::ShapeRef.new(shape: OsVersion, required: true, location_name: "osVersion"))
|
1315
|
+
ImportDiskImageRequest.add_member(:execution_role, Shapes::ShapeRef.new(shape: RoleNameOrArn, location_name: "executionRole"))
|
1316
|
+
ImportDiskImageRequest.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: InfrastructureConfigurationArn, required: true, location_name: "infrastructureConfigurationArn"))
|
1317
|
+
ImportDiskImageRequest.add_member(:uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "uri"))
|
1318
|
+
ImportDiskImageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
1319
|
+
ImportDiskImageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1320
|
+
ImportDiskImageRequest.struct_class = Types::ImportDiskImageRequest
|
1321
|
+
|
1322
|
+
ImportDiskImageResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
1323
|
+
ImportDiskImageResponse.add_member(:image_build_version_arn, Shapes::ShapeRef.new(shape: ImageBuildVersionArn, location_name: "imageBuildVersionArn"))
|
1324
|
+
ImportDiskImageResponse.struct_class = Types::ImportDiskImageResponse
|
1325
|
+
|
1287
1326
|
ImportVmImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
|
1288
1327
|
ImportVmImageRequest.add_member(:semantic_version, Shapes::ShapeRef.new(shape: VersionNumber, required: true, location_name: "semanticVersion"))
|
1289
1328
|
ImportVmImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
@@ -1767,6 +1806,12 @@ module Aws::Imagebuilder
|
|
1767
1806
|
Placement.add_member(:host_resource_group_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "hostResourceGroupArn"))
|
1768
1807
|
Placement.struct_class = Types::Placement
|
1769
1808
|
|
1809
|
+
ProductCodeList.member = Shapes::ShapeRef.new(shape: ProductCodeListItem)
|
1810
|
+
|
1811
|
+
ProductCodeListItem.add_member(:product_code_id, Shapes::ShapeRef.new(shape: ProductCodeId, required: true, location_name: "productCodeId"))
|
1812
|
+
ProductCodeListItem.add_member(:product_code_type, Shapes::ShapeRef.new(shape: ProductCodeType, required: true, location_name: "productCodeType"))
|
1813
|
+
ProductCodeListItem.struct_class = Types::ProductCodeListItem
|
1814
|
+
|
1770
1815
|
PutComponentPolicyRequest.add_member(:component_arn, Shapes::ShapeRef.new(shape: ComponentBuildVersionArn, required: true, location_name: "componentArn"))
|
1771
1816
|
PutComponentPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicyDocument, required: true, location_name: "policy"))
|
1772
1817
|
PutComponentPolicyRequest.struct_class = Types::PutComponentPolicyRequest
|
@@ -2658,6 +2703,20 @@ module Aws::Imagebuilder
|
|
2658
2703
|
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
2659
2704
|
end)
|
2660
2705
|
|
2706
|
+
api.add_operation(:get_marketplace_resource, Seahorse::Model::Operation.new.tap do |o|
|
2707
|
+
o.name = "GetMarketplaceResource"
|
2708
|
+
o.http_method = "POST"
|
2709
|
+
o.http_request_uri = "/GetMarketplaceResource"
|
2710
|
+
o.input = Shapes::ShapeRef.new(shape: GetMarketplaceResourceRequest)
|
2711
|
+
o.output = Shapes::ShapeRef.new(shape: GetMarketplaceResourceResponse)
|
2712
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2713
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
2714
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2715
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2716
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2717
|
+
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
2718
|
+
end)
|
2719
|
+
|
2661
2720
|
api.add_operation(:get_workflow, Seahorse::Model::Operation.new.tap do |o|
|
2662
2721
|
o.name = "GetWorkflow"
|
2663
2722
|
o.http_method = "GET"
|
@@ -2718,6 +2777,17 @@ module Aws::Imagebuilder
|
|
2718
2777
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
2719
2778
|
end)
|
2720
2779
|
|
2780
|
+
api.add_operation(:import_disk_image, Seahorse::Model::Operation.new.tap do |o|
|
2781
|
+
o.name = "ImportDiskImage"
|
2782
|
+
o.http_method = "PUT"
|
2783
|
+
o.http_request_uri = "/ImportDiskImage"
|
2784
|
+
o.input = Shapes::ShapeRef.new(shape: ImportDiskImageRequest)
|
2785
|
+
o.output = Shapes::ShapeRef.new(shape: ImportDiskImageResponse)
|
2786
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2787
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
2788
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2789
|
+
end)
|
2790
|
+
|
2721
2791
|
api.add_operation(:import_vm_image, Seahorse::Model::Operation.new.tap do |o|
|
2722
2792
|
o.name = "ImportVmImage"
|
2723
2793
|
o.http_method = "PUT"
|
@@ -324,8 +324,7 @@ module Aws::Imagebuilder
|
|
324
324
|
# @return [Array<String>]
|
325
325
|
#
|
326
326
|
# @!attribute [rw] state
|
327
|
-
# Describes the current status of the component.
|
328
|
-
# components that are no longer active.
|
327
|
+
# Describes the current status of the component.
|
329
328
|
# @return [Types::ComponentState]
|
330
329
|
#
|
331
330
|
# @!attribute [rw] parameters
|
@@ -368,6 +367,11 @@ module Aws::Imagebuilder
|
|
368
367
|
# operations.
|
369
368
|
# @return [Boolean]
|
370
369
|
#
|
370
|
+
# @!attribute [rw] product_codes
|
371
|
+
# Contains product codes that are used for billing purposes for Amazon
|
372
|
+
# Web Services Marketplace components.
|
373
|
+
# @return [Array<Types::ProductCodeListItem>]
|
374
|
+
#
|
371
375
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Component AWS API Documentation
|
372
376
|
#
|
373
377
|
class Component < Struct.new(
|
@@ -388,7 +392,8 @@ module Aws::Imagebuilder
|
|
388
392
|
:date_created,
|
389
393
|
:tags,
|
390
394
|
:publisher,
|
391
|
-
:obfuscate
|
395
|
+
:obfuscate,
|
396
|
+
:product_codes)
|
392
397
|
SENSITIVE = []
|
393
398
|
include Aws::Structure
|
394
399
|
end
|
@@ -647,6 +652,15 @@ module Aws::Imagebuilder
|
|
647
652
|
# The date that the component was created.
|
648
653
|
# @return [String]
|
649
654
|
#
|
655
|
+
# @!attribute [rw] status
|
656
|
+
# Describes the current status of the component version.
|
657
|
+
# @return [String]
|
658
|
+
#
|
659
|
+
# @!attribute [rw] product_codes
|
660
|
+
# Contains product codes that are used for billing purposes for Amazon
|
661
|
+
# Web Services Marketplace components.
|
662
|
+
# @return [Array<Types::ProductCodeListItem>]
|
663
|
+
#
|
650
664
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ComponentVersion AWS API Documentation
|
651
665
|
#
|
652
666
|
class ComponentVersion < Struct.new(
|
@@ -658,7 +672,9 @@ module Aws::Imagebuilder
|
|
658
672
|
:supported_os_versions,
|
659
673
|
:type,
|
660
674
|
:owner,
|
661
|
-
:date_created
|
675
|
+
:date_created,
|
676
|
+
:status,
|
677
|
+
:product_codes)
|
662
678
|
SENSITIVE = []
|
663
679
|
include Aws::Structure
|
664
680
|
end
|
@@ -2991,6 +3007,55 @@ module Aws::Imagebuilder
|
|
2991
3007
|
include Aws::Structure
|
2992
3008
|
end
|
2993
3009
|
|
3010
|
+
# @!attribute [rw] resource_type
|
3011
|
+
# Specifies which type of Amazon Web Services Marketplace resource
|
3012
|
+
# Image Builder retrieves.
|
3013
|
+
# @return [String]
|
3014
|
+
#
|
3015
|
+
# @!attribute [rw] resource_arn
|
3016
|
+
# The Amazon Resource Name (ARN) that uniquely identifies an Amazon
|
3017
|
+
# Web Services Marketplace resource.
|
3018
|
+
# @return [String]
|
3019
|
+
#
|
3020
|
+
# @!attribute [rw] resource_location
|
3021
|
+
# The bucket path that you can specify to download the resource from
|
3022
|
+
# Amazon S3.
|
3023
|
+
# @return [String]
|
3024
|
+
#
|
3025
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetMarketplaceResourceRequest AWS API Documentation
|
3026
|
+
#
|
3027
|
+
class GetMarketplaceResourceRequest < Struct.new(
|
3028
|
+
:resource_type,
|
3029
|
+
:resource_arn,
|
3030
|
+
:resource_location)
|
3031
|
+
SENSITIVE = []
|
3032
|
+
include Aws::Structure
|
3033
|
+
end
|
3034
|
+
|
3035
|
+
# @!attribute [rw] resource_arn
|
3036
|
+
# The Amazon Resource Name (ARN) for the Amazon Web Services
|
3037
|
+
# Marketplace resource that was requested.
|
3038
|
+
# @return [String]
|
3039
|
+
#
|
3040
|
+
# @!attribute [rw] url
|
3041
|
+
# The obfuscated S3 URL to download the component artifact from.
|
3042
|
+
# @return [String]
|
3043
|
+
#
|
3044
|
+
# @!attribute [rw] data
|
3045
|
+
# Returns obfuscated data that contains the YAML content of the
|
3046
|
+
# component.
|
3047
|
+
# @return [String]
|
3048
|
+
#
|
3049
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetMarketplaceResourceResponse AWS API Documentation
|
3050
|
+
#
|
3051
|
+
class GetMarketplaceResourceResponse < Struct.new(
|
3052
|
+
:resource_arn,
|
3053
|
+
:url,
|
3054
|
+
:data)
|
3055
|
+
SENSITIVE = []
|
3056
|
+
include Aws::Structure
|
3057
|
+
end
|
3058
|
+
|
2994
3059
|
# @!attribute [rw] workflow_execution_id
|
2995
3060
|
# Use the unique identifier for a runtime instance of the workflow to
|
2996
3061
|
# get runtime details.
|
@@ -3388,6 +3453,8 @@ module Aws::Imagebuilder
|
|
3388
3453
|
#
|
3389
3454
|
# * **IMPORT** – A VM import created the image to use as the base
|
3390
3455
|
# image for the recipe.
|
3456
|
+
#
|
3457
|
+
# * **IMPORT\_ISO** – An ISO disk import created the image.
|
3391
3458
|
# @return [String]
|
3392
3459
|
#
|
3393
3460
|
# @!attribute [rw] image_source
|
@@ -3479,15 +3546,16 @@ module Aws::Imagebuilder
|
|
3479
3546
|
include Aws::Structure
|
3480
3547
|
end
|
3481
3548
|
|
3482
|
-
#
|
3549
|
+
# A software package that's installed on top of the base image to
|
3550
|
+
# create a customized image.
|
3483
3551
|
#
|
3484
3552
|
# @!attribute [rw] package_name
|
3485
|
-
# The name of the package
|
3486
|
-
# manager.
|
3553
|
+
# The name of the package that's reported to the operating system
|
3554
|
+
# package manager.
|
3487
3555
|
# @return [String]
|
3488
3556
|
#
|
3489
3557
|
# @!attribute [rw] package_version
|
3490
|
-
# The version of the package
|
3558
|
+
# The version of the package that's reported to the operating system
|
3491
3559
|
# package manager.
|
3492
3560
|
# @return [String]
|
3493
3561
|
#
|
@@ -4033,6 +4101,8 @@ module Aws::Imagebuilder
|
|
4033
4101
|
#
|
4034
4102
|
# * **IMPORT** – A VM import created the image to use as the base
|
4035
4103
|
# image for the recipe.
|
4104
|
+
#
|
4105
|
+
# * **IMPORT\_ISO** – An ISO disk import created the image.
|
4036
4106
|
# @return [String]
|
4037
4107
|
#
|
4038
4108
|
# @!attribute [rw] image_source
|
@@ -4085,8 +4155,7 @@ module Aws::Imagebuilder
|
|
4085
4155
|
# @!attribute [rw] timeout_minutes
|
4086
4156
|
# The maximum time in minutes that tests are permitted to run.
|
4087
4157
|
#
|
4088
|
-
# <note markdown="1"> The
|
4089
|
-
# ignored.
|
4158
|
+
# <note markdown="1"> The timeout property is not currently active. This value is ignored.
|
4090
4159
|
#
|
4091
4160
|
# </note>
|
4092
4161
|
# @return [Integer]
|
@@ -4189,6 +4258,8 @@ module Aws::Imagebuilder
|
|
4189
4258
|
#
|
4190
4259
|
# * **IMPORT** – A VM import created the image to use as the base
|
4191
4260
|
# image for the recipe.
|
4261
|
+
#
|
4262
|
+
# * **IMPORT\_ISO** – An ISO disk import created the image.
|
4192
4263
|
# @return [String]
|
4193
4264
|
#
|
4194
4265
|
# @!attribute [rw] image_source
|
@@ -4334,6 +4405,98 @@ module Aws::Imagebuilder
|
|
4334
4405
|
include Aws::Structure
|
4335
4406
|
end
|
4336
4407
|
|
4408
|
+
# @!attribute [rw] name
|
4409
|
+
# The name of the image resource that's created from the import.
|
4410
|
+
# @return [String]
|
4411
|
+
#
|
4412
|
+
# @!attribute [rw] semantic_version
|
4413
|
+
# The semantic version to attach to the image that's created during
|
4414
|
+
# the import process. This version follows the semantic version
|
4415
|
+
# syntax.
|
4416
|
+
# @return [String]
|
4417
|
+
#
|
4418
|
+
# @!attribute [rw] description
|
4419
|
+
# The description for your disk image import.
|
4420
|
+
# @return [String]
|
4421
|
+
#
|
4422
|
+
# @!attribute [rw] platform
|
4423
|
+
# The operating system platform for the imported image. Allowed values
|
4424
|
+
# include the following: `Windows`.
|
4425
|
+
# @return [String]
|
4426
|
+
#
|
4427
|
+
# @!attribute [rw] os_version
|
4428
|
+
# The operating system version for the imported image. Allowed values
|
4429
|
+
# include the following: `Microsoft Windows 11`.
|
4430
|
+
# @return [String]
|
4431
|
+
#
|
4432
|
+
# @!attribute [rw] execution_role
|
4433
|
+
# The name or Amazon Resource Name (ARN) for the IAM role you create
|
4434
|
+
# that grants Image Builder access to perform workflow actions to
|
4435
|
+
# import an image from a Microsoft ISO file.
|
4436
|
+
# @return [String]
|
4437
|
+
#
|
4438
|
+
# @!attribute [rw] infrastructure_configuration_arn
|
4439
|
+
# The Amazon Resource Name (ARN) of the infrastructure configuration
|
4440
|
+
# resource that's used for launching the EC2 instance on which the
|
4441
|
+
# ISO image is built.
|
4442
|
+
# @return [String]
|
4443
|
+
#
|
4444
|
+
# @!attribute [rw] uri
|
4445
|
+
# The `uri` of the ISO disk file that's stored in Amazon S3.
|
4446
|
+
# @return [String]
|
4447
|
+
#
|
4448
|
+
# @!attribute [rw] tags
|
4449
|
+
# Tags that are attached to image resources created from the import.
|
4450
|
+
# @return [Hash<String,String>]
|
4451
|
+
#
|
4452
|
+
# @!attribute [rw] client_token
|
4453
|
+
# Unique, case-sensitive identifier you provide to ensure idempotency
|
4454
|
+
# of the request. For more information, see [Ensuring idempotency][1]
|
4455
|
+
# in the *Amazon EC2 API Reference*.
|
4456
|
+
#
|
4457
|
+
# **A suitable default value is auto-generated.** You should normally
|
4458
|
+
# not need to pass this option.
|
4459
|
+
#
|
4460
|
+
#
|
4461
|
+
#
|
4462
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
4463
|
+
# @return [String]
|
4464
|
+
#
|
4465
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportDiskImageRequest AWS API Documentation
|
4466
|
+
#
|
4467
|
+
class ImportDiskImageRequest < Struct.new(
|
4468
|
+
:name,
|
4469
|
+
:semantic_version,
|
4470
|
+
:description,
|
4471
|
+
:platform,
|
4472
|
+
:os_version,
|
4473
|
+
:execution_role,
|
4474
|
+
:infrastructure_configuration_arn,
|
4475
|
+
:uri,
|
4476
|
+
:tags,
|
4477
|
+
:client_token)
|
4478
|
+
SENSITIVE = []
|
4479
|
+
include Aws::Structure
|
4480
|
+
end
|
4481
|
+
|
4482
|
+
# @!attribute [rw] client_token
|
4483
|
+
# The client token that uniquely identifies the request.
|
4484
|
+
# @return [String]
|
4485
|
+
#
|
4486
|
+
# @!attribute [rw] image_build_version_arn
|
4487
|
+
# The Amazon Resource Name (ARN) of the output AMI that was created
|
4488
|
+
# from the ISO disk file.
|
4489
|
+
# @return [String]
|
4490
|
+
#
|
4491
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportDiskImageResponse AWS API Documentation
|
4492
|
+
#
|
4493
|
+
class ImportDiskImageResponse < Struct.new(
|
4494
|
+
:client_token,
|
4495
|
+
:image_build_version_arn)
|
4496
|
+
SENSITIVE = []
|
4497
|
+
include Aws::Structure
|
4498
|
+
end
|
4499
|
+
|
4337
4500
|
# @!attribute [rw] name
|
4338
4501
|
# The name of the base image that is created by the import process.
|
4339
4502
|
# @return [String]
|
@@ -6863,6 +7026,29 @@ module Aws::Imagebuilder
|
|
6863
7026
|
include Aws::Structure
|
6864
7027
|
end
|
6865
7028
|
|
7029
|
+
# Information about a single product code.
|
7030
|
+
#
|
7031
|
+
# @!attribute [rw] product_code_id
|
7032
|
+
# For Amazon Web Services Marketplace components, this contains the
|
7033
|
+
# product code ID that can be stamped onto an EC2 AMI to ensure that
|
7034
|
+
# components are billed correctly. If this property is empty, it might
|
7035
|
+
# mean that the component is not published.
|
7036
|
+
# @return [String]
|
7037
|
+
#
|
7038
|
+
# @!attribute [rw] product_code_type
|
7039
|
+
# The owner of the product code that's billed. If this property is
|
7040
|
+
# empty, it might mean that the component is not published.
|
7041
|
+
# @return [String]
|
7042
|
+
#
|
7043
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ProductCodeListItem AWS API Documentation
|
7044
|
+
#
|
7045
|
+
class ProductCodeListItem < Struct.new(
|
7046
|
+
:product_code_id,
|
7047
|
+
:product_code_type)
|
7048
|
+
SENSITIVE = []
|
7049
|
+
include Aws::Structure
|
7050
|
+
end
|
7051
|
+
|
6866
7052
|
# @!attribute [rw] component_arn
|
6867
7053
|
# The Amazon Resource Name (ARN) of the component that this policy
|
6868
7054
|
# should be applied to.
|
@@ -7242,17 +7428,22 @@ module Aws::Imagebuilder
|
|
7242
7428
|
# @return [String]
|
7243
7429
|
#
|
7244
7430
|
# @!attribute [rw] pipeline_execution_start_condition
|
7245
|
-
# The condition configures when the pipeline should trigger a
|
7246
|
-
# image build.
|
7247
|
-
# `EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
|
7248
|
-
#
|
7249
|
-
#
|
7250
|
-
#
|
7251
|
-
#
|
7252
|
-
#
|
7253
|
-
#
|
7254
|
-
#
|
7255
|
-
#
|
7431
|
+
# The start condition configures when the pipeline should trigger a
|
7432
|
+
# new image build, as follows. If no value is set Image Builder
|
7433
|
+
# defaults to `EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE`.
|
7434
|
+
#
|
7435
|
+
# * `EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE` (default) –
|
7436
|
+
# When you use semantic version filters on the base image or
|
7437
|
+
# components in your image recipe, EC2 Image Builder builds a new
|
7438
|
+
# image only when there are new versions of the base image or
|
7439
|
+
# components in your recipe that match the filter.
|
7440
|
+
#
|
7441
|
+
# <note markdown="1"> For semantic version syntax, see [CreateComponent][1].
|
7442
|
+
#
|
7443
|
+
# </note>
|
7444
|
+
#
|
7445
|
+
# * `EXPRESSION_MATCH_ONLY` – This condition builds a new image every
|
7446
|
+
# time the CRON expression matches the current time.
|
7256
7447
|
#
|
7257
7448
|
#
|
7258
7449
|
#
|
@@ -7586,6 +7777,7 @@ module Aws::Imagebuilder
|
|
7586
7777
|
# @!attribute [rw] repository_name
|
7587
7778
|
# The name of the container repository where the output container
|
7588
7779
|
# image is stored. This name is prefixed by the repository location.
|
7780
|
+
# For example, `<repository location url>/repository_name`.
|
7589
7781
|
# @return [String]
|
7590
7782
|
#
|
7591
7783
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/TargetContainerRepository AWS API Documentation
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -750,6 +750,19 @@ module Aws
|
|
750
750
|
) -> _GetLifecyclePolicyResponseSuccess
|
751
751
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLifecyclePolicyResponseSuccess
|
752
752
|
|
753
|
+
interface _GetMarketplaceResourceResponseSuccess
|
754
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMarketplaceResourceResponse]
|
755
|
+
def resource_arn: () -> ::String
|
756
|
+
def url: () -> ::String
|
757
|
+
end
|
758
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#get_marketplace_resource-instance_method
|
759
|
+
def get_marketplace_resource: (
|
760
|
+
resource_type: ("COMPONENT_DATA" | "COMPONENT_ARTIFACT"),
|
761
|
+
resource_arn: ::String,
|
762
|
+
?resource_location: ::String
|
763
|
+
) -> _GetMarketplaceResourceResponseSuccess
|
764
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMarketplaceResourceResponseSuccess
|
765
|
+
|
753
766
|
interface _GetWorkflowResponseSuccess
|
754
767
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkflowResponse]
|
755
768
|
def workflow: () -> Types::Workflow
|
@@ -832,6 +845,26 @@ module Aws
|
|
832
845
|
) -> _ImportComponentResponseSuccess
|
833
846
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportComponentResponseSuccess
|
834
847
|
|
848
|
+
interface _ImportDiskImageResponseSuccess
|
849
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ImportDiskImageResponse]
|
850
|
+
def client_token: () -> ::String
|
851
|
+
def image_build_version_arn: () -> ::String
|
852
|
+
end
|
853
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#import_disk_image-instance_method
|
854
|
+
def import_disk_image: (
|
855
|
+
name: ::String,
|
856
|
+
semantic_version: ::String,
|
857
|
+
?description: ::String,
|
858
|
+
platform: ::String,
|
859
|
+
os_version: ::String,
|
860
|
+
?execution_role: ::String,
|
861
|
+
infrastructure_configuration_arn: ::String,
|
862
|
+
uri: ::String,
|
863
|
+
?tags: Hash[::String, ::String],
|
864
|
+
client_token: ::String
|
865
|
+
) -> _ImportDiskImageResponseSuccess
|
866
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportDiskImageResponseSuccess
|
867
|
+
|
835
868
|
interface _ImportVmImageResponseSuccess
|
836
869
|
include ::Seahorse::Client::_ResponseSuccess[Types::ImportVmImageResponse]
|
837
870
|
def request_id: () -> ::String
|
@@ -873,7 +906,7 @@ module Aws
|
|
873
906
|
end
|
874
907
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#list_components-instance_method
|
875
908
|
def list_components: (
|
876
|
-
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty"),
|
909
|
+
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace"),
|
877
910
|
?filters: Array[
|
878
911
|
{
|
879
912
|
name: ::String?,
|
@@ -894,7 +927,7 @@ module Aws
|
|
894
927
|
end
|
895
928
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#list_container_recipes-instance_method
|
896
929
|
def list_container_recipes: (
|
897
|
-
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty"),
|
930
|
+
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace"),
|
898
931
|
?filters: Array[
|
899
932
|
{
|
900
933
|
name: ::String?,
|
@@ -1006,7 +1039,7 @@ module Aws
|
|
1006
1039
|
end
|
1007
1040
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#list_image_recipes-instance_method
|
1008
1041
|
def list_image_recipes: (
|
1009
|
-
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty"),
|
1042
|
+
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace"),
|
1010
1043
|
?filters: Array[
|
1011
1044
|
{
|
1012
1045
|
name: ::String?,
|
@@ -1062,7 +1095,7 @@ module Aws
|
|
1062
1095
|
end
|
1063
1096
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#list_images-instance_method
|
1064
1097
|
def list_images: (
|
1065
|
-
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty"),
|
1098
|
+
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace"),
|
1066
1099
|
?filters: Array[
|
1067
1100
|
{
|
1068
1101
|
name: ::String?,
|
@@ -1218,7 +1251,7 @@ module Aws
|
|
1218
1251
|
end
|
1219
1252
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#list_workflows-instance_method
|
1220
1253
|
def list_workflows: (
|
1221
|
-
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty"),
|
1254
|
+
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace"),
|
1222
1255
|
?filters: Array[
|
1223
1256
|
{
|
1224
1257
|
name: ::String?,
|
data/sig/types.rbs
CHANGED
@@ -93,6 +93,7 @@ module Aws::Imagebuilder
|
|
93
93
|
attr_accessor tags: ::Hash[::String, ::String]
|
94
94
|
attr_accessor publisher: ::String
|
95
95
|
attr_accessor obfuscate: bool
|
96
|
+
attr_accessor product_codes: ::Array[Types::ProductCodeListItem]
|
96
97
|
SENSITIVE: []
|
97
98
|
end
|
98
99
|
|
@@ -117,7 +118,7 @@ module Aws::Imagebuilder
|
|
117
118
|
end
|
118
119
|
|
119
120
|
class ComponentState
|
120
|
-
attr_accessor status: ("DEPRECATED")
|
121
|
+
attr_accessor status: ("DEPRECATED" | "DISABLED" | "ACTIVE")
|
121
122
|
attr_accessor reason: ::String
|
122
123
|
SENSITIVE: []
|
123
124
|
end
|
@@ -150,6 +151,8 @@ module Aws::Imagebuilder
|
|
150
151
|
attr_accessor type: ("BUILD" | "TEST")
|
151
152
|
attr_accessor owner: ::String
|
152
153
|
attr_accessor date_created: ::String
|
154
|
+
attr_accessor status: ("DEPRECATED" | "DISABLED" | "ACTIVE")
|
155
|
+
attr_accessor product_codes: ::Array[Types::ProductCodeListItem]
|
153
156
|
SENSITIVE: []
|
154
157
|
end
|
155
158
|
|
@@ -744,6 +747,20 @@ module Aws::Imagebuilder
|
|
744
747
|
SENSITIVE: []
|
745
748
|
end
|
746
749
|
|
750
|
+
class GetMarketplaceResourceRequest
|
751
|
+
attr_accessor resource_type: ("COMPONENT_DATA" | "COMPONENT_ARTIFACT")
|
752
|
+
attr_accessor resource_arn: ::String
|
753
|
+
attr_accessor resource_location: ::String
|
754
|
+
SENSITIVE: []
|
755
|
+
end
|
756
|
+
|
757
|
+
class GetMarketplaceResourceResponse
|
758
|
+
attr_accessor resource_arn: ::String
|
759
|
+
attr_accessor url: ::String
|
760
|
+
attr_accessor data: ::String
|
761
|
+
SENSITIVE: []
|
762
|
+
end
|
763
|
+
|
747
764
|
class GetWorkflowExecutionRequest
|
748
765
|
attr_accessor workflow_execution_id: ::String
|
749
766
|
SENSITIVE: []
|
@@ -827,7 +844,7 @@ module Aws::Imagebuilder
|
|
827
844
|
attr_accessor date_created: ::String
|
828
845
|
attr_accessor output_resources: Types::OutputResources
|
829
846
|
attr_accessor tags: ::Hash[::String, ::String]
|
830
|
-
attr_accessor build_type: ("USER_INITIATED" | "SCHEDULED" | "IMPORT")
|
847
|
+
attr_accessor build_type: ("USER_INITIATED" | "SCHEDULED" | "IMPORT" | "IMPORT_ISO")
|
831
848
|
attr_accessor image_source: ("AMAZON_MANAGED" | "AWS_MARKETPLACE" | "IMPORTED" | "CUSTOM")
|
832
849
|
attr_accessor scan_state: Types::ImageScanState
|
833
850
|
attr_accessor image_scanning_configuration: Types::ImageScanningConfiguration
|
@@ -971,7 +988,7 @@ module Aws::Imagebuilder
|
|
971
988
|
attr_accessor date_created: ::String
|
972
989
|
attr_accessor output_resources: Types::OutputResources
|
973
990
|
attr_accessor tags: ::Hash[::String, ::String]
|
974
|
-
attr_accessor build_type: ("USER_INITIATED" | "SCHEDULED" | "IMPORT")
|
991
|
+
attr_accessor build_type: ("USER_INITIATED" | "SCHEDULED" | "IMPORT" | "IMPORT_ISO")
|
975
992
|
attr_accessor image_source: ("AMAZON_MANAGED" | "AWS_MARKETPLACE" | "IMPORTED" | "CUSTOM")
|
976
993
|
attr_accessor deprecation_time: ::Time
|
977
994
|
attr_accessor lifecycle_execution_id: ::String
|
@@ -993,7 +1010,7 @@ module Aws::Imagebuilder
|
|
993
1010
|
attr_accessor os_version: ::String
|
994
1011
|
attr_accessor owner: ::String
|
995
1012
|
attr_accessor date_created: ::String
|
996
|
-
attr_accessor build_type: ("USER_INITIATED" | "SCHEDULED" | "IMPORT")
|
1013
|
+
attr_accessor build_type: ("USER_INITIATED" | "SCHEDULED" | "IMPORT" | "IMPORT_ISO")
|
997
1014
|
attr_accessor image_source: ("AMAZON_MANAGED" | "AWS_MARKETPLACE" | "IMPORTED" | "CUSTOM")
|
998
1015
|
SENSITIVE: []
|
999
1016
|
end
|
@@ -1021,6 +1038,26 @@ module Aws::Imagebuilder
|
|
1021
1038
|
SENSITIVE: []
|
1022
1039
|
end
|
1023
1040
|
|
1041
|
+
class ImportDiskImageRequest
|
1042
|
+
attr_accessor name: ::String
|
1043
|
+
attr_accessor semantic_version: ::String
|
1044
|
+
attr_accessor description: ::String
|
1045
|
+
attr_accessor platform: ::String
|
1046
|
+
attr_accessor os_version: ::String
|
1047
|
+
attr_accessor execution_role: ::String
|
1048
|
+
attr_accessor infrastructure_configuration_arn: ::String
|
1049
|
+
attr_accessor uri: ::String
|
1050
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
1051
|
+
attr_accessor client_token: ::String
|
1052
|
+
SENSITIVE: []
|
1053
|
+
end
|
1054
|
+
|
1055
|
+
class ImportDiskImageResponse
|
1056
|
+
attr_accessor client_token: ::String
|
1057
|
+
attr_accessor image_build_version_arn: ::String
|
1058
|
+
SENSITIVE: []
|
1059
|
+
end
|
1060
|
+
|
1024
1061
|
class ImportVmImageRequest
|
1025
1062
|
attr_accessor name: ::String
|
1026
1063
|
attr_accessor semantic_version: ::String
|
@@ -1303,7 +1340,7 @@ module Aws::Imagebuilder
|
|
1303
1340
|
end
|
1304
1341
|
|
1305
1342
|
class ListComponentsRequest
|
1306
|
-
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty")
|
1343
|
+
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace")
|
1307
1344
|
attr_accessor filters: ::Array[Types::Filter]
|
1308
1345
|
attr_accessor by_name: bool
|
1309
1346
|
attr_accessor max_results: ::Integer
|
@@ -1319,7 +1356,7 @@ module Aws::Imagebuilder
|
|
1319
1356
|
end
|
1320
1357
|
|
1321
1358
|
class ListContainerRecipesRequest
|
1322
|
-
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty")
|
1359
|
+
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace")
|
1323
1360
|
attr_accessor filters: ::Array[Types::Filter]
|
1324
1361
|
attr_accessor max_results: ::Integer
|
1325
1362
|
attr_accessor next_token: ::String
|
@@ -1406,7 +1443,7 @@ module Aws::Imagebuilder
|
|
1406
1443
|
end
|
1407
1444
|
|
1408
1445
|
class ListImageRecipesRequest
|
1409
|
-
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty")
|
1446
|
+
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace")
|
1410
1447
|
attr_accessor filters: ::Array[Types::Filter]
|
1411
1448
|
attr_accessor max_results: ::Integer
|
1412
1449
|
attr_accessor next_token: ::String
|
@@ -1449,7 +1486,7 @@ module Aws::Imagebuilder
|
|
1449
1486
|
end
|
1450
1487
|
|
1451
1488
|
class ListImagesRequest
|
1452
|
-
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty")
|
1489
|
+
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace")
|
1453
1490
|
attr_accessor filters: ::Array[Types::Filter]
|
1454
1491
|
attr_accessor by_name: bool
|
1455
1492
|
attr_accessor max_results: ::Integer
|
@@ -1591,7 +1628,7 @@ module Aws::Imagebuilder
|
|
1591
1628
|
end
|
1592
1629
|
|
1593
1630
|
class ListWorkflowsRequest
|
1594
|
-
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty")
|
1631
|
+
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace")
|
1595
1632
|
attr_accessor filters: ::Array[Types::Filter]
|
1596
1633
|
attr_accessor by_name: bool
|
1597
1634
|
attr_accessor max_results: ::Integer
|
@@ -1638,6 +1675,12 @@ module Aws::Imagebuilder
|
|
1638
1675
|
SENSITIVE: []
|
1639
1676
|
end
|
1640
1677
|
|
1678
|
+
class ProductCodeListItem
|
1679
|
+
attr_accessor product_code_id: ::String
|
1680
|
+
attr_accessor product_code_type: ("marketplace")
|
1681
|
+
SENSITIVE: []
|
1682
|
+
end
|
1683
|
+
|
1641
1684
|
class PutComponentPolicyRequest
|
1642
1685
|
attr_accessor component_arn: ::String
|
1643
1686
|
attr_accessor policy: ::String
|
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.75.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:
|
11
|
+
date: 2025-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|