aws-sdk-imagebuilder 1.3.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: aef17e5892bf44af25681fc3bd623b0db3f159b367f585bfa54783bc97a9d686
|
4
|
+
data.tar.gz: 93a4a67bbcf632792e39b015347d03c0ede54c87b927ba8b656be368342baeed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8320a1a7815d41313aa3ae8dda0418d0470fd97411c569c19c8263b7f7c10bf51335016ffea66093832c4efd5d17e00b0f6d68b3d8ca1d17e220ddcd14354afc
|
7
|
+
data.tar.gz: afa1304bbf667fb15de5ad3a714e11c8f8d81ec9877f7445423b930460be662bf2624627c5648941a7c80be6a53318050437d022c389411a00168d95e6c7ad55
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
30
|
|
@@ -32,11 +33,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:imagebuilder)
|
|
32
33
|
module Aws::Imagebuilder
|
33
34
|
# An API client for Imagebuilder. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
35
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
36
|
+
# client = Aws::Imagebuilder::Client.new(
|
37
|
+
# region: region_name,
|
38
|
+
# credentials: credentials,
|
39
|
+
# # ...
|
40
|
+
# )
|
40
41
|
#
|
41
42
|
# For details on configuring region and credentials see
|
42
43
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -69,6 +70,7 @@ module Aws::Imagebuilder
|
|
69
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
75
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
76
|
|
@@ -105,7 +107,7 @@ module Aws::Imagebuilder
|
|
105
107
|
# @option options [required, String] :region
|
106
108
|
# The AWS region to connect to. The configured `:region` is
|
107
109
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
110
|
+
# a default `:region` is searched for in the following locations:
|
109
111
|
#
|
110
112
|
# * `Aws.config[:region]`
|
111
113
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +163,7 @@ module Aws::Imagebuilder
|
|
161
163
|
# @option options [String] :endpoint
|
162
164
|
# The client endpoint is normally constructed from the `:region`
|
163
165
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
167
|
#
|
166
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +178,7 @@ module Aws::Imagebuilder
|
|
176
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
179
|
#
|
178
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
182
|
#
|
181
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
184
|
# The log formatter.
|
@@ -229,15 +231,19 @@ module Aws::Imagebuilder
|
|
229
231
|
#
|
230
232
|
# @option options [String] :retry_mode ("legacy")
|
231
233
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
234
|
+
#
|
235
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
236
|
+
# no retry mode is provided.
|
237
|
+
#
|
238
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
239
|
+
# This includes support for retry quotas, which limit the number of
|
240
|
+
# unsuccessful retries a client can make.
|
241
|
+
#
|
242
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
243
|
+
# functionality of `standard` mode along with automatic client side
|
244
|
+
# throttling. This is a provisional mode that may change behavior
|
245
|
+
# in the future.
|
246
|
+
#
|
241
247
|
#
|
242
248
|
# @option options [String] :secret_access_key
|
243
249
|
#
|
@@ -265,8 +271,7 @@ module Aws::Imagebuilder
|
|
265
271
|
#
|
266
272
|
# @option options [Integer] :http_read_timeout (60) The default
|
267
273
|
# number of seconds to wait for response data. This value can
|
268
|
-
# safely be set
|
269
|
-
# per-request on the session yielded by {#session_for}.
|
274
|
+
# safely be set per-request on the session.
|
270
275
|
#
|
271
276
|
# @option options [Float] :http_idle_timeout (5) The number of
|
272
277
|
# seconds a connection is allowed to sit idle before it is
|
@@ -278,7 +283,7 @@ module Aws::Imagebuilder
|
|
278
283
|
# request body. This option has no effect unless the request has
|
279
284
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
280
285
|
# disables this behaviour. This value can safely be set per
|
281
|
-
# request on the session
|
286
|
+
# request on the session.
|
282
287
|
#
|
283
288
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
284
289
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -369,6 +374,11 @@ module Aws::Imagebuilder
|
|
369
374
|
# @option params [required, String] :platform
|
370
375
|
# The platform of the component.
|
371
376
|
#
|
377
|
+
# @option params [Array<String>] :supported_os_versions
|
378
|
+
# The operating system (OS) version supported by the component. If the
|
379
|
+
# OS information is available, a prefix match is performed against the
|
380
|
+
# parent image OS version during image recipe creation.
|
381
|
+
#
|
372
382
|
# @option params [String] :data
|
373
383
|
# The data of the component. Used to specify the data inline. Either
|
374
384
|
# `data` or `uri` can be used to specify the data within the component.
|
@@ -405,6 +415,7 @@ module Aws::Imagebuilder
|
|
405
415
|
# description: "NonEmptyString",
|
406
416
|
# change_description: "NonEmptyString",
|
407
417
|
# platform: "Windows", # required, accepts Windows, Linux
|
418
|
+
# supported_os_versions: ["OsVersion"],
|
408
419
|
# data: "InlineComponentData",
|
409
420
|
# uri: "Uri",
|
410
421
|
# kms_key_id: "NonEmptyString",
|
@@ -519,6 +530,12 @@ module Aws::Imagebuilder
|
|
519
530
|
# @option params [Types::ImageTestsConfiguration] :image_tests_configuration
|
520
531
|
# The image tests configuration of the image.
|
521
532
|
#
|
533
|
+
# @option params [Boolean] :enhanced_image_metadata_enabled
|
534
|
+
# Collects additional information about the image being created,
|
535
|
+
# including the operating system (OS) version and package list. This
|
536
|
+
# information is used to enhance the overall experience of using EC2
|
537
|
+
# Image Builder. Enabled by default.
|
538
|
+
#
|
522
539
|
# @option params [Hash<String,String>] :tags
|
523
540
|
# The tags of the image.
|
524
541
|
#
|
@@ -544,6 +561,7 @@ module Aws::Imagebuilder
|
|
544
561
|
# image_tests_enabled: false,
|
545
562
|
# timeout_minutes: 1,
|
546
563
|
# },
|
564
|
+
# enhanced_image_metadata_enabled: false,
|
547
565
|
# tags: {
|
548
566
|
# "TagKey" => "TagValue",
|
549
567
|
# },
|
@@ -590,6 +608,12 @@ module Aws::Imagebuilder
|
|
590
608
|
# @option params [Types::ImageTestsConfiguration] :image_tests_configuration
|
591
609
|
# The image test configuration of the image pipeline.
|
592
610
|
#
|
611
|
+
# @option params [Boolean] :enhanced_image_metadata_enabled
|
612
|
+
# Collects additional information about the image being created,
|
613
|
+
# including the operating system (OS) version and package list. This
|
614
|
+
# information is used to enhance the overall experience of using EC2
|
615
|
+
# Image Builder. Enabled by default.
|
616
|
+
#
|
593
617
|
# @option params [Types::Schedule] :schedule
|
594
618
|
# The schedule of the image pipeline.
|
595
619
|
#
|
@@ -623,6 +647,7 @@ module Aws::Imagebuilder
|
|
623
647
|
# image_tests_enabled: false,
|
624
648
|
# timeout_minutes: 1,
|
625
649
|
# },
|
650
|
+
# enhanced_image_metadata_enabled: false,
|
626
651
|
# schedule: {
|
627
652
|
# schedule_expression: "NonEmptyString",
|
628
653
|
# pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
|
@@ -665,7 +690,16 @@ module Aws::Imagebuilder
|
|
665
690
|
# The components of the image recipe.
|
666
691
|
#
|
667
692
|
# @option params [required, String] :parent_image
|
668
|
-
# The parent image of the image recipe.
|
693
|
+
# The parent image of the image recipe. The value of the string can be
|
694
|
+
# the ARN of the parent image or an AMI ID. The format for the ARN
|
695
|
+
# follows this example:
|
696
|
+
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/2019.x.x`.
|
697
|
+
# The ARN ends with `/20xx.x.x`, which communicates to EC2 Image Builder
|
698
|
+
# that you want to use the latest AMI created in 20xx (year). You can
|
699
|
+
# provide the specific version that you want to use, or you can use a
|
700
|
+
# wildcard in all of the fields. If you enter an AMI ID for the string
|
701
|
+
# value, you must have access to the AMI, and the AMI must be in the
|
702
|
+
# same Region in which you are using Image Builder.
|
669
703
|
#
|
670
704
|
# @option params [Array<Types::InstanceBlockDeviceMapping>] :block_device_mappings
|
671
705
|
# The block device mappings of the image recipe.
|
@@ -673,6 +707,9 @@ module Aws::Imagebuilder
|
|
673
707
|
# @option params [Hash<String,String>] :tags
|
674
708
|
# The tags of the image recipe.
|
675
709
|
#
|
710
|
+
# @option params [String] :working_directory
|
711
|
+
# The working directory to be used during build and test workflows.
|
712
|
+
#
|
676
713
|
# @option params [required, String] :client_token
|
677
714
|
# The idempotency token used to make this request idempotent.
|
678
715
|
#
|
@@ -716,6 +753,7 @@ module Aws::Imagebuilder
|
|
716
753
|
# tags: {
|
717
754
|
# "TagKey" => "TagValue",
|
718
755
|
# },
|
756
|
+
# working_directory: "NonEmptyString",
|
719
757
|
# client_token: "ClientToken", # required
|
720
758
|
# })
|
721
759
|
#
|
@@ -777,6 +815,9 @@ module Aws::Imagebuilder
|
|
777
815
|
# @option params [String] :sns_topic_arn
|
778
816
|
# The SNS topic on which to send image build events.
|
779
817
|
#
|
818
|
+
# @option params [Hash<String,String>] :resource_tags
|
819
|
+
# The tags attached to the resource created by Image Builder.
|
820
|
+
#
|
780
821
|
# @option params [Hash<String,String>] :tags
|
781
822
|
# The tags of the infrastructure configuration.
|
782
823
|
#
|
@@ -810,6 +851,9 @@ module Aws::Imagebuilder
|
|
810
851
|
# key_pair: "NonEmptyString",
|
811
852
|
# terminate_instance_on_failure: false,
|
812
853
|
# sns_topic_arn: "SnsTopicArn",
|
854
|
+
# resource_tags: {
|
855
|
+
# "TagKey" => "TagValue",
|
856
|
+
# },
|
813
857
|
# tags: {
|
814
858
|
# "TagKey" => "TagValue",
|
815
859
|
# },
|
@@ -1028,7 +1072,7 @@ module Aws::Imagebuilder
|
|
1028
1072
|
# @example Request syntax with placeholder values
|
1029
1073
|
#
|
1030
1074
|
# resp = client.get_component({
|
1031
|
-
# component_build_version_arn: "
|
1075
|
+
# component_build_version_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
1032
1076
|
# })
|
1033
1077
|
#
|
1034
1078
|
# @example Response structure
|
@@ -1041,6 +1085,8 @@ module Aws::Imagebuilder
|
|
1041
1085
|
# resp.component.change_description #=> String
|
1042
1086
|
# resp.component.type #=> String, one of "BUILD", "TEST"
|
1043
1087
|
# resp.component.platform #=> String, one of "Windows", "Linux"
|
1088
|
+
# resp.component.supported_os_versions #=> Array
|
1089
|
+
# resp.component.supported_os_versions[0] #=> String
|
1044
1090
|
# resp.component.owner #=> String
|
1045
1091
|
# resp.component.data #=> String
|
1046
1092
|
# resp.component.kms_key_id #=> String
|
@@ -1152,7 +1198,7 @@ module Aws::Imagebuilder
|
|
1152
1198
|
# @example Request syntax with placeholder values
|
1153
1199
|
#
|
1154
1200
|
# resp = client.get_image({
|
1155
|
-
# image_build_version_arn: "
|
1201
|
+
# image_build_version_arn: "ImageVersionArnOrBuildVersionArn", # required
|
1156
1202
|
# })
|
1157
1203
|
#
|
1158
1204
|
# @example Response structure
|
@@ -1162,6 +1208,8 @@ module Aws::Imagebuilder
|
|
1162
1208
|
# resp.image.name #=> String
|
1163
1209
|
# resp.image.version #=> String
|
1164
1210
|
# resp.image.platform #=> String, one of "Windows", "Linux"
|
1211
|
+
# resp.image.enhanced_image_metadata_enabled #=> Boolean
|
1212
|
+
# resp.image.os_version #=> String
|
1165
1213
|
# resp.image.state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
|
1166
1214
|
# resp.image.state.reason #=> String
|
1167
1215
|
# resp.image.image_recipe.arn #=> String
|
@@ -1187,6 +1235,7 @@ module Aws::Imagebuilder
|
|
1187
1235
|
# resp.image.image_recipe.date_created #=> String
|
1188
1236
|
# resp.image.image_recipe.tags #=> Hash
|
1189
1237
|
# resp.image.image_recipe.tags["TagKey"] #=> String
|
1238
|
+
# resp.image.image_recipe.working_directory #=> String
|
1190
1239
|
# resp.image.source_pipeline_name #=> String
|
1191
1240
|
# resp.image.source_pipeline_arn #=> String
|
1192
1241
|
# resp.image.infrastructure_configuration.arn #=> String
|
@@ -1205,6 +1254,8 @@ module Aws::Imagebuilder
|
|
1205
1254
|
# resp.image.infrastructure_configuration.sns_topic_arn #=> String
|
1206
1255
|
# resp.image.infrastructure_configuration.date_created #=> String
|
1207
1256
|
# resp.image.infrastructure_configuration.date_updated #=> String
|
1257
|
+
# resp.image.infrastructure_configuration.resource_tags #=> Hash
|
1258
|
+
# resp.image.infrastructure_configuration.resource_tags["TagKey"] #=> String
|
1208
1259
|
# resp.image.infrastructure_configuration.tags #=> Hash
|
1209
1260
|
# resp.image.infrastructure_configuration.tags["TagKey"] #=> String
|
1210
1261
|
# resp.image.distribution_configuration.arn #=> String
|
@@ -1273,6 +1324,7 @@ module Aws::Imagebuilder
|
|
1273
1324
|
# resp.image_pipeline.name #=> String
|
1274
1325
|
# resp.image_pipeline.description #=> String
|
1275
1326
|
# resp.image_pipeline.platform #=> String, one of "Windows", "Linux"
|
1327
|
+
# resp.image_pipeline.enhanced_image_metadata_enabled #=> Boolean
|
1276
1328
|
# resp.image_pipeline.image_recipe_arn #=> String
|
1277
1329
|
# resp.image_pipeline.infrastructure_configuration_arn #=> String
|
1278
1330
|
# resp.image_pipeline.distribution_configuration_arn #=> String
|
@@ -1371,6 +1423,7 @@ module Aws::Imagebuilder
|
|
1371
1423
|
# resp.image_recipe.date_created #=> String
|
1372
1424
|
# resp.image_recipe.tags #=> Hash
|
1373
1425
|
# resp.image_recipe.tags["TagKey"] #=> String
|
1426
|
+
# resp.image_recipe.working_directory #=> String
|
1374
1427
|
#
|
1375
1428
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipe AWS API Documentation
|
1376
1429
|
#
|
@@ -1448,6 +1501,8 @@ module Aws::Imagebuilder
|
|
1448
1501
|
# resp.infrastructure_configuration.sns_topic_arn #=> String
|
1449
1502
|
# resp.infrastructure_configuration.date_created #=> String
|
1450
1503
|
# resp.infrastructure_configuration.date_updated #=> String
|
1504
|
+
# resp.infrastructure_configuration.resource_tags #=> Hash
|
1505
|
+
# resp.infrastructure_configuration.resource_tags["TagKey"] #=> String
|
1451
1506
|
# resp.infrastructure_configuration.tags #=> Hash
|
1452
1507
|
# resp.infrastructure_configuration.tags["TagKey"] #=> String
|
1453
1508
|
#
|
@@ -1571,6 +1626,8 @@ module Aws::Imagebuilder
|
|
1571
1626
|
# * {Types::ListComponentBuildVersionsResponse#component_summary_list #component_summary_list} => Array<Types::ComponentSummary>
|
1572
1627
|
# * {Types::ListComponentBuildVersionsResponse#next_token #next_token} => String
|
1573
1628
|
#
|
1629
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1630
|
+
#
|
1574
1631
|
# @example Request syntax with placeholder values
|
1575
1632
|
#
|
1576
1633
|
# resp = client.list_component_build_versions({
|
@@ -1587,6 +1644,8 @@ module Aws::Imagebuilder
|
|
1587
1644
|
# resp.component_summary_list[0].name #=> String
|
1588
1645
|
# resp.component_summary_list[0].version #=> String
|
1589
1646
|
# resp.component_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
1647
|
+
# resp.component_summary_list[0].supported_os_versions #=> Array
|
1648
|
+
# resp.component_summary_list[0].supported_os_versions[0] #=> String
|
1590
1649
|
# resp.component_summary_list[0].type #=> String, one of "BUILD", "TEST"
|
1591
1650
|
# resp.component_summary_list[0].owner #=> String
|
1592
1651
|
# resp.component_summary_list[0].description #=> String
|
@@ -1631,6 +1690,8 @@ module Aws::Imagebuilder
|
|
1631
1690
|
# * {Types::ListComponentsResponse#component_version_list #component_version_list} => Array<Types::ComponentVersion>
|
1632
1691
|
# * {Types::ListComponentsResponse#next_token #next_token} => String
|
1633
1692
|
#
|
1693
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1694
|
+
#
|
1634
1695
|
# @example Request syntax with placeholder values
|
1635
1696
|
#
|
1636
1697
|
# resp = client.list_components({
|
@@ -1654,6 +1715,8 @@ module Aws::Imagebuilder
|
|
1654
1715
|
# resp.component_version_list[0].version #=> String
|
1655
1716
|
# resp.component_version_list[0].description #=> String
|
1656
1717
|
# resp.component_version_list[0].platform #=> String, one of "Windows", "Linux"
|
1718
|
+
# resp.component_version_list[0].supported_os_versions #=> Array
|
1719
|
+
# resp.component_version_list[0].supported_os_versions[0] #=> String
|
1657
1720
|
# resp.component_version_list[0].type #=> String, one of "BUILD", "TEST"
|
1658
1721
|
# resp.component_version_list[0].owner #=> String
|
1659
1722
|
# resp.component_version_list[0].date_created #=> String
|
@@ -1686,6 +1749,8 @@ module Aws::Imagebuilder
|
|
1686
1749
|
# * {Types::ListDistributionConfigurationsResponse#distribution_configuration_summary_list #distribution_configuration_summary_list} => Array<Types::DistributionConfigurationSummary>
|
1687
1750
|
# * {Types::ListDistributionConfigurationsResponse#next_token #next_token} => String
|
1688
1751
|
#
|
1752
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1753
|
+
#
|
1689
1754
|
# @example Request syntax with placeholder values
|
1690
1755
|
#
|
1691
1756
|
# resp = client.list_distribution_configurations({
|
@@ -1721,7 +1786,7 @@ module Aws::Imagebuilder
|
|
1721
1786
|
req.send_request(options)
|
1722
1787
|
end
|
1723
1788
|
|
1724
|
-
# Returns a list of
|
1789
|
+
# Returns a list of image build versions.
|
1725
1790
|
#
|
1726
1791
|
# @option params [required, String] :image_version_arn
|
1727
1792
|
# The Amazon Resource Name (ARN) of the image whose build versions you
|
@@ -1743,6 +1808,8 @@ module Aws::Imagebuilder
|
|
1743
1808
|
# * {Types::ListImageBuildVersionsResponse#image_summary_list #image_summary_list} => Array<Types::ImageSummary>
|
1744
1809
|
# * {Types::ListImageBuildVersionsResponse#next_token #next_token} => String
|
1745
1810
|
#
|
1811
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1812
|
+
#
|
1746
1813
|
# @example Request syntax with placeholder values
|
1747
1814
|
#
|
1748
1815
|
# resp = client.list_image_build_versions({
|
@@ -1765,6 +1832,7 @@ module Aws::Imagebuilder
|
|
1765
1832
|
# resp.image_summary_list[0].name #=> String
|
1766
1833
|
# resp.image_summary_list[0].version #=> String
|
1767
1834
|
# resp.image_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
1835
|
+
# resp.image_summary_list[0].os_version #=> String
|
1768
1836
|
# resp.image_summary_list[0].state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
|
1769
1837
|
# resp.image_summary_list[0].state.reason #=> String
|
1770
1838
|
# resp.image_summary_list[0].owner #=> String
|
@@ -1811,6 +1879,8 @@ module Aws::Imagebuilder
|
|
1811
1879
|
# * {Types::ListImagePipelineImagesResponse#image_summary_list #image_summary_list} => Array<Types::ImageSummary>
|
1812
1880
|
# * {Types::ListImagePipelineImagesResponse#next_token #next_token} => String
|
1813
1881
|
#
|
1882
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1883
|
+
#
|
1814
1884
|
# @example Request syntax with placeholder values
|
1815
1885
|
#
|
1816
1886
|
# resp = client.list_image_pipeline_images({
|
@@ -1833,6 +1903,7 @@ module Aws::Imagebuilder
|
|
1833
1903
|
# resp.image_summary_list[0].name #=> String
|
1834
1904
|
# resp.image_summary_list[0].version #=> String
|
1835
1905
|
# resp.image_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
1906
|
+
# resp.image_summary_list[0].os_version #=> String
|
1836
1907
|
# resp.image_summary_list[0].state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
|
1837
1908
|
# resp.image_summary_list[0].state.reason #=> String
|
1838
1909
|
# resp.image_summary_list[0].owner #=> String
|
@@ -1875,6 +1946,8 @@ module Aws::Imagebuilder
|
|
1875
1946
|
# * {Types::ListImagePipelinesResponse#image_pipeline_list #image_pipeline_list} => Array<Types::ImagePipeline>
|
1876
1947
|
# * {Types::ListImagePipelinesResponse#next_token #next_token} => String
|
1877
1948
|
#
|
1949
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1950
|
+
#
|
1878
1951
|
# @example Request syntax with placeholder values
|
1879
1952
|
#
|
1880
1953
|
# resp = client.list_image_pipelines({
|
@@ -1896,6 +1969,7 @@ module Aws::Imagebuilder
|
|
1896
1969
|
# resp.image_pipeline_list[0].name #=> String
|
1897
1970
|
# resp.image_pipeline_list[0].description #=> String
|
1898
1971
|
# resp.image_pipeline_list[0].platform #=> String, one of "Windows", "Linux"
|
1972
|
+
# resp.image_pipeline_list[0].enhanced_image_metadata_enabled #=> Boolean
|
1899
1973
|
# resp.image_pipeline_list[0].image_recipe_arn #=> String
|
1900
1974
|
# resp.image_pipeline_list[0].infrastructure_configuration_arn #=> String
|
1901
1975
|
# resp.image_pipeline_list[0].distribution_configuration_arn #=> String
|
@@ -1946,6 +2020,8 @@ module Aws::Imagebuilder
|
|
1946
2020
|
# * {Types::ListImageRecipesResponse#image_recipe_summary_list #image_recipe_summary_list} => Array<Types::ImageRecipeSummary>
|
1947
2021
|
# * {Types::ListImageRecipesResponse#next_token #next_token} => String
|
1948
2022
|
#
|
2023
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2024
|
+
#
|
1949
2025
|
# @example Request syntax with placeholder values
|
1950
2026
|
#
|
1951
2027
|
# resp = client.list_image_recipes({
|
@@ -1983,8 +2059,7 @@ module Aws::Imagebuilder
|
|
1983
2059
|
req.send_request(options)
|
1984
2060
|
end
|
1985
2061
|
|
1986
|
-
# Returns the list of
|
1987
|
-
# version.
|
2062
|
+
# Returns the list of images that you have access to.
|
1988
2063
|
#
|
1989
2064
|
# @option params [String] :owner
|
1990
2065
|
# The owner defines which images you want to list. By default, this
|
@@ -2009,6 +2084,8 @@ module Aws::Imagebuilder
|
|
2009
2084
|
# * {Types::ListImagesResponse#image_version_list #image_version_list} => Array<Types::ImageVersion>
|
2010
2085
|
# * {Types::ListImagesResponse#next_token #next_token} => String
|
2011
2086
|
#
|
2087
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2088
|
+
#
|
2012
2089
|
# @example Request syntax with placeholder values
|
2013
2090
|
#
|
2014
2091
|
# resp = client.list_images({
|
@@ -2031,6 +2108,7 @@ module Aws::Imagebuilder
|
|
2031
2108
|
# resp.image_version_list[0].name #=> String
|
2032
2109
|
# resp.image_version_list[0].version #=> String
|
2033
2110
|
# resp.image_version_list[0].platform #=> String, one of "Windows", "Linux"
|
2111
|
+
# resp.image_version_list[0].os_version #=> String
|
2034
2112
|
# resp.image_version_list[0].owner #=> String
|
2035
2113
|
# resp.image_version_list[0].date_created #=> String
|
2036
2114
|
# resp.next_token #=> String
|
@@ -2062,6 +2140,8 @@ module Aws::Imagebuilder
|
|
2062
2140
|
# * {Types::ListInfrastructureConfigurationsResponse#infrastructure_configuration_summary_list #infrastructure_configuration_summary_list} => Array<Types::InfrastructureConfigurationSummary>
|
2063
2141
|
# * {Types::ListInfrastructureConfigurationsResponse#next_token #next_token} => String
|
2064
2142
|
#
|
2143
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2144
|
+
#
|
2065
2145
|
# @example Request syntax with placeholder values
|
2066
2146
|
#
|
2067
2147
|
# resp = client.list_infrastructure_configurations({
|
@@ -2084,6 +2164,8 @@ module Aws::Imagebuilder
|
|
2084
2164
|
# resp.infrastructure_configuration_summary_list[0].description #=> String
|
2085
2165
|
# resp.infrastructure_configuration_summary_list[0].date_created #=> String
|
2086
2166
|
# resp.infrastructure_configuration_summary_list[0].date_updated #=> String
|
2167
|
+
# resp.infrastructure_configuration_summary_list[0].resource_tags #=> Hash
|
2168
|
+
# resp.infrastructure_configuration_summary_list[0].resource_tags["TagKey"] #=> String
|
2087
2169
|
# resp.infrastructure_configuration_summary_list[0].tags #=> Hash
|
2088
2170
|
# resp.infrastructure_configuration_summary_list[0].tags["TagKey"] #=> String
|
2089
2171
|
# resp.next_token #=> String
|
@@ -2127,7 +2209,16 @@ module Aws::Imagebuilder
|
|
2127
2209
|
req.send_request(options)
|
2128
2210
|
end
|
2129
2211
|
|
2130
|
-
# Applies a policy to a component.
|
2212
|
+
# Applies a policy to a component. We recommend that you call the RAM
|
2213
|
+
# API [CreateResourceShare][1] to share resources. If you call the Image
|
2214
|
+
# Builder API `PutComponentPolicy`, you must also call the RAM API
|
2215
|
+
# [PromoteResourceShareCreatedFromPolicy][2] in order for the resource
|
2216
|
+
# to be visible to all principals with whom the resource is shared.
|
2217
|
+
#
|
2218
|
+
#
|
2219
|
+
#
|
2220
|
+
# [1]: https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html
|
2221
|
+
# [2]: https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html
|
2131
2222
|
#
|
2132
2223
|
# @option params [required, String] :component_arn
|
2133
2224
|
# The Amazon Resource Name (ARN) of the component that this policy
|
@@ -2162,7 +2253,16 @@ module Aws::Imagebuilder
|
|
2162
2253
|
req.send_request(options)
|
2163
2254
|
end
|
2164
2255
|
|
2165
|
-
# Applies a policy to an image.
|
2256
|
+
# Applies a policy to an image. We recommend that you call the RAM API
|
2257
|
+
# [CreateResourceShare][1] to share resources. If you call the Image
|
2258
|
+
# Builder API `PutImagePolicy`, you must also call the RAM API
|
2259
|
+
# [PromoteResourceShareCreatedFromPolicy][2] in order for the resource
|
2260
|
+
# to be visible to all principals with whom the resource is shared.
|
2261
|
+
#
|
2262
|
+
#
|
2263
|
+
#
|
2264
|
+
# [1]: https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html
|
2265
|
+
# [2]: https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html
|
2166
2266
|
#
|
2167
2267
|
# @option params [required, String] :image_arn
|
2168
2268
|
# The Amazon Resource Name (ARN) of the image that this policy should be
|
@@ -2197,7 +2297,17 @@ module Aws::Imagebuilder
|
|
2197
2297
|
req.send_request(options)
|
2198
2298
|
end
|
2199
2299
|
|
2200
|
-
# Applies a policy to an image recipe.
|
2300
|
+
# Applies a policy to an image recipe. We recommend that you call the
|
2301
|
+
# RAM API [CreateResourceShare][1] to share resources. If you call the
|
2302
|
+
# Image Builder API `PutImageRecipePolicy`, you must also call the RAM
|
2303
|
+
# API [PromoteResourceShareCreatedFromPolicy][2] in order for the
|
2304
|
+
# resource to be visible to all principals with whom the resource is
|
2305
|
+
# shared.
|
2306
|
+
#
|
2307
|
+
#
|
2308
|
+
#
|
2309
|
+
# [1]: https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html
|
2310
|
+
# [2]: https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html
|
2201
2311
|
#
|
2202
2312
|
# @option params [required, String] :image_recipe_arn
|
2203
2313
|
# The Amazon Resource Name (ARN) of the image recipe that this policy
|
@@ -2417,6 +2527,12 @@ module Aws::Imagebuilder
|
|
2417
2527
|
# @option params [Types::ImageTestsConfiguration] :image_tests_configuration
|
2418
2528
|
# The image test configuration of the image pipeline.
|
2419
2529
|
#
|
2530
|
+
# @option params [Boolean] :enhanced_image_metadata_enabled
|
2531
|
+
# Collects additional information about the image being created,
|
2532
|
+
# including the operating system (OS) version and package list. This
|
2533
|
+
# information is used to enhance the overall experience of using EC2
|
2534
|
+
# Image Builder. Enabled by default.
|
2535
|
+
#
|
2420
2536
|
# @option params [Types::Schedule] :schedule
|
2421
2537
|
# The schedule of the image pipeline.
|
2422
2538
|
#
|
@@ -2447,6 +2563,7 @@ module Aws::Imagebuilder
|
|
2447
2563
|
# image_tests_enabled: false,
|
2448
2564
|
# timeout_minutes: 1,
|
2449
2565
|
# },
|
2566
|
+
# enhanced_image_metadata_enabled: false,
|
2450
2567
|
# schedule: {
|
2451
2568
|
# schedule_expression: "NonEmptyString",
|
2452
2569
|
# pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
|
@@ -2519,6 +2636,9 @@ module Aws::Imagebuilder
|
|
2519
2636
|
# **A suitable default value is auto-generated.** You should normally
|
2520
2637
|
# not need to pass this option.**
|
2521
2638
|
#
|
2639
|
+
# @option params [Hash<String,String>] :resource_tags
|
2640
|
+
# The tags attached to the resource created by Image Builder.
|
2641
|
+
#
|
2522
2642
|
# @return [Types::UpdateInfrastructureConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2523
2643
|
#
|
2524
2644
|
# * {Types::UpdateInfrastructureConfigurationResponse#request_id #request_id} => String
|
@@ -2544,6 +2664,9 @@ module Aws::Imagebuilder
|
|
2544
2664
|
# terminate_instance_on_failure: false,
|
2545
2665
|
# sns_topic_arn: "SnsTopicArn",
|
2546
2666
|
# client_token: "ClientToken", # required
|
2667
|
+
# resource_tags: {
|
2668
|
+
# "TagKey" => "TagValue",
|
2669
|
+
# },
|
2547
2670
|
# })
|
2548
2671
|
#
|
2549
2672
|
# @example Response structure
|
@@ -2574,7 +2697,7 @@ module Aws::Imagebuilder
|
|
2574
2697
|
params: params,
|
2575
2698
|
config: config)
|
2576
2699
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
2577
|
-
context[:gem_version] = '1.
|
2700
|
+
context[:gem_version] = '1.9.0'
|
2578
2701
|
Seahorse::Client::Request.new(handlers, context)
|
2579
2702
|
end
|
2580
2703
|
|