aws-sdk-imagebuilder 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-imagebuilder.rb +1 -1
- data/lib/aws-sdk-imagebuilder/client.rb +112 -90
- data/lib/aws-sdk-imagebuilder/client_api.rb +15 -11
- data/lib/aws-sdk-imagebuilder/types.rb +209 -160
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af3b582dcb1309ce7d0901389512b23b128251fd
|
4
|
+
data.tar.gz: 64dda13731379b8487b49f1bf9c46b3a92d2d205
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e548b68f15d3755e868b53146248793d0a5d462e2d1ad32bb10ed0a3c55c389540e103d4980a547dd7d8baa219551bd55362dce1e67fe568afaab2de2ffea87e
|
7
|
+
data.tar.gz: 1ad310c0292231e434d1a8284e2d578dfec2bba52063169d54973c962d3020cfc4a87a8343062f84e758e63c265ab16010f47c354fe472b633e109aaa79e3cf3
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
@@ -254,16 +254,19 @@ module Aws::Imagebuilder
|
|
254
254
|
|
255
255
|
# @!group API Operations
|
256
256
|
|
257
|
-
# CancelImageCreation cancels the creation of Image. This operation
|
257
|
+
# CancelImageCreation cancels the creation of Image. This operation can
|
258
258
|
# only be used on images in a non-terminal state.
|
259
259
|
#
|
260
260
|
# @option params [required, String] :image_build_version_arn
|
261
|
-
# The Amazon Resource Name (ARN) of the image whose creation you
|
261
|
+
# The Amazon Resource Name (ARN) of the image whose creation you want to
|
262
262
|
# cancel.
|
263
263
|
#
|
264
264
|
# @option params [required, String] :client_token
|
265
265
|
# The idempotency token used to make this request idempotent.
|
266
266
|
#
|
267
|
+
# **A suitable default value is auto-generated.** You should normally
|
268
|
+
# not need to pass this option.**
|
269
|
+
#
|
267
270
|
# @return [Types::CancelImageCreationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
268
271
|
#
|
269
272
|
# * {Types::CancelImageCreationResponse#request_id #request_id} => String
|
@@ -292,43 +295,47 @@ module Aws::Imagebuilder
|
|
292
295
|
req.send_request(options)
|
293
296
|
end
|
294
297
|
|
295
|
-
# Creates a new component that can be used to build, validate, test and
|
298
|
+
# Creates a new component that can be used to build, validate, test, and
|
296
299
|
# assess your image.
|
297
300
|
#
|
298
301
|
# @option params [required, String] :name
|
299
302
|
# The name of the component.
|
300
303
|
#
|
301
304
|
# @option params [required, String] :semantic_version
|
302
|
-
# The semantic version of the component. This version
|
303
|
-
# semantic version syntax.
|
304
|
-
# versioned like software 2.0.1 or date
|
305
|
+
# The semantic version of the component. This version follows the
|
306
|
+
# semantic version syntax. For example, major.minor.patch. This could be
|
307
|
+
# versioned like software (2.0.1) or like a date (2019.12.01).
|
305
308
|
#
|
306
309
|
# @option params [String] :description
|
307
|
-
#
|
310
|
+
# The description of the component. Describes the contents of the
|
308
311
|
# component.
|
309
312
|
#
|
310
313
|
# @option params [String] :change_description
|
311
|
-
#
|
312
|
-
# been made in this version
|
313
|
-
#
|
314
|
+
# The change description of the component. Describes what change has
|
315
|
+
# been made in this version, or what makes this version different from
|
316
|
+
# other versions of this component.
|
314
317
|
#
|
315
318
|
# @option params [required, String] :platform
|
316
|
-
#
|
319
|
+
# The platform of the component.
|
317
320
|
#
|
318
321
|
# @option params [String] :data
|
319
|
-
#
|
322
|
+
# The data of the component. Used to specify the data inline. Either
|
323
|
+
# `data` or `uri` can be used to specify the data within the component.
|
320
324
|
#
|
321
325
|
# @option params [String] :uri
|
322
|
-
#
|
326
|
+
# The uri of the component. Must be an S3 URL and the requester must
|
327
|
+
# have permission to access the S3 bucket. If you use S3, you can
|
328
|
+
# specify component content up to your service quota. Either `data` or
|
329
|
+
# `uri` can be used to specify the data within the component.
|
323
330
|
#
|
324
331
|
# @option params [String] :kms_key_id
|
325
332
|
# The ID of the KMS key that should be used to encrypt this component.
|
326
333
|
#
|
327
334
|
# @option params [Hash<String,String>] :tags
|
328
|
-
#
|
335
|
+
# The tags of the component.
|
329
336
|
#
|
330
337
|
# @option params [required, String] :client_token
|
331
|
-
#
|
338
|
+
# The idempotency token of the component.
|
332
339
|
#
|
333
340
|
# **A suitable default value is auto-generated.** You should normally
|
334
341
|
# not need to pass this option.**
|
@@ -407,7 +414,7 @@ module Aws::Imagebuilder
|
|
407
414
|
# {
|
408
415
|
# region: "NonEmptyString", # required
|
409
416
|
# ami_distribution_configuration: {
|
410
|
-
# name: "
|
417
|
+
# name: "AmiNameString",
|
411
418
|
# description: "NonEmptyString",
|
412
419
|
# ami_tags: {
|
413
420
|
# "TagKey" => "TagValue",
|
@@ -447,7 +454,7 @@ module Aws::Imagebuilder
|
|
447
454
|
#
|
448
455
|
# @option params [required, String] :image_recipe_arn
|
449
456
|
# The Amazon Resource Name (ARN) of the image recipe that defines how
|
450
|
-
# images are configured, tested and assessed.
|
457
|
+
# images are configured, tested, and assessed.
|
451
458
|
#
|
452
459
|
# @option params [String] :distribution_configuration_arn
|
453
460
|
# The Amazon Resource Name (ARN) of the distribution configuration that
|
@@ -591,8 +598,8 @@ module Aws::Imagebuilder
|
|
591
598
|
req.send_request(options)
|
592
599
|
end
|
593
600
|
|
594
|
-
# Creates a new image recipe. Image
|
595
|
-
# configured, tested and assessed.
|
601
|
+
# Creates a new image recipe. Image recipes define how images are
|
602
|
+
# configured, tested, and assessed.
|
596
603
|
#
|
597
604
|
# @option params [required, String] :name
|
598
605
|
# The name of the image recipe.
|
@@ -635,7 +642,7 @@ module Aws::Imagebuilder
|
|
635
642
|
# semantic_version: "VersionNumber", # required
|
636
643
|
# components: [ # required
|
637
644
|
# {
|
638
|
-
# component_arn: "
|
645
|
+
# component_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
639
646
|
# },
|
640
647
|
# ],
|
641
648
|
# parent_image: "NonEmptyString", # required
|
@@ -652,7 +659,7 @@ module Aws::Imagebuilder
|
|
652
659
|
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
653
660
|
# },
|
654
661
|
# virtual_name: "NonEmptyString",
|
655
|
-
# no_device: "
|
662
|
+
# no_device: "EmptyString",
|
656
663
|
# },
|
657
664
|
# ],
|
658
665
|
# tags: {
|
@@ -687,8 +694,8 @@ module Aws::Imagebuilder
|
|
687
694
|
# The description of the infrastructure configuration.
|
688
695
|
#
|
689
696
|
# @option params [Array<String>] :instance_types
|
690
|
-
# The instance types of the infrastructure configuration. You
|
691
|
-
# specify one or more instance types to use for this build
|
697
|
+
# The instance types of the infrastructure configuration. You can
|
698
|
+
# specify one or more instance types to use for this build. The service
|
692
699
|
# will pick one of these instance types based on availability.
|
693
700
|
#
|
694
701
|
# @option params [required, String] :instance_profile_name
|
@@ -700,20 +707,21 @@ module Aws::Imagebuilder
|
|
700
707
|
# customize your EC2 AMI.
|
701
708
|
#
|
702
709
|
# @option params [String] :subnet_id
|
703
|
-
# The subnet ID to place the instance used to customize your
|
710
|
+
# The subnet ID in which to place the instance used to customize your
|
711
|
+
# EC2 AMI.
|
704
712
|
#
|
705
713
|
# @option params [Types::Logging] :logging
|
706
714
|
# The logging configuration of the infrastructure configuration.
|
707
715
|
#
|
708
716
|
# @option params [String] :key_pair
|
709
717
|
# The key pair of the infrastructure configuration. This can be used to
|
710
|
-
# log
|
718
|
+
# log on to and debug the instance used to create your image.
|
711
719
|
#
|
712
720
|
# @option params [Boolean] :terminate_instance_on_failure
|
713
721
|
# The terminate instance on failure setting of the infrastructure
|
714
|
-
# configuration. Set to false if you
|
715
|
-
#
|
716
|
-
#
|
722
|
+
# configuration. Set to false if you want Image Builder to retain the
|
723
|
+
# instance used to configure your AMI if the build or test phase of your
|
724
|
+
# workflow fails.
|
717
725
|
#
|
718
726
|
# @option params [String] :sns_topic_arn
|
719
727
|
# The SNS topic on which to send image build events.
|
@@ -750,7 +758,7 @@ module Aws::Imagebuilder
|
|
750
758
|
# },
|
751
759
|
# key_pair: "NonEmptyString",
|
752
760
|
# terminate_instance_on_failure: false,
|
753
|
-
# sns_topic_arn: "
|
761
|
+
# sns_topic_arn: "SnsTopicArn",
|
754
762
|
# tags: {
|
755
763
|
# "TagKey" => "TagValue",
|
756
764
|
# },
|
@@ -958,8 +966,8 @@ module Aws::Imagebuilder
|
|
958
966
|
# Gets a component object.
|
959
967
|
#
|
960
968
|
# @option params [required, String] :component_build_version_arn
|
961
|
-
# The Amazon Resource Name (ARN) of the component that you
|
962
|
-
# retrieve.
|
969
|
+
# The Amazon Resource Name (ARN) of the component that you want to
|
970
|
+
# retrieve. Regex requires "/\\d+$" suffix.
|
963
971
|
#
|
964
972
|
# @return [Types::GetComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
965
973
|
#
|
@@ -1002,7 +1010,7 @@ module Aws::Imagebuilder
|
|
1002
1010
|
# Gets a component policy.
|
1003
1011
|
#
|
1004
1012
|
# @option params [required, String] :component_arn
|
1005
|
-
# The Amazon Resource Name (ARN) of the component whose policy you
|
1013
|
+
# The Amazon Resource Name (ARN) of the component whose policy you want
|
1006
1014
|
# to retrieve.
|
1007
1015
|
#
|
1008
1016
|
# @return [Types::GetComponentPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1034,7 +1042,7 @@ module Aws::Imagebuilder
|
|
1034
1042
|
#
|
1035
1043
|
# @option params [required, String] :distribution_configuration_arn
|
1036
1044
|
# The Amazon Resource Name (ARN) of the distribution configuration that
|
1037
|
-
# you
|
1045
|
+
# you want to retrieve.
|
1038
1046
|
#
|
1039
1047
|
# @return [Types::GetDistributionConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1040
1048
|
#
|
@@ -1083,7 +1091,7 @@ module Aws::Imagebuilder
|
|
1083
1091
|
# Gets an image.
|
1084
1092
|
#
|
1085
1093
|
# @option params [required, String] :image_build_version_arn
|
1086
|
-
# The Amazon Resource Name (ARN) of the image that you
|
1094
|
+
# The Amazon Resource Name (ARN) of the image that you want to retrieve.
|
1087
1095
|
#
|
1088
1096
|
# @return [Types::GetImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1089
1097
|
#
|
@@ -1193,7 +1201,7 @@ module Aws::Imagebuilder
|
|
1193
1201
|
# Gets an image pipeline.
|
1194
1202
|
#
|
1195
1203
|
# @option params [required, String] :image_pipeline_arn
|
1196
|
-
# The Amazon Resource Name (ARN) of the image pipeline that you
|
1204
|
+
# The Amazon Resource Name (ARN) of the image pipeline that you want to
|
1197
1205
|
# retrieve.
|
1198
1206
|
#
|
1199
1207
|
# @return [Types::GetImagePipelineResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1241,7 +1249,7 @@ module Aws::Imagebuilder
|
|
1241
1249
|
# Gets an image policy.
|
1242
1250
|
#
|
1243
1251
|
# @option params [required, String] :image_arn
|
1244
|
-
# The Amazon Resource Name (ARN) of the image whose policy you
|
1252
|
+
# The Amazon Resource Name (ARN) of the image whose policy you want to
|
1245
1253
|
# retrieve.
|
1246
1254
|
#
|
1247
1255
|
# @return [Types::GetImagePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1272,7 +1280,7 @@ module Aws::Imagebuilder
|
|
1272
1280
|
# Gets an image recipe.
|
1273
1281
|
#
|
1274
1282
|
# @option params [required, String] :image_recipe_arn
|
1275
|
-
# The Amazon Resource Name (ARN) of the image recipe that you
|
1283
|
+
# The Amazon Resource Name (ARN) of the image recipe that you want to
|
1276
1284
|
# retrieve.
|
1277
1285
|
#
|
1278
1286
|
# @return [Types::GetImageRecipeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1326,7 +1334,7 @@ module Aws::Imagebuilder
|
|
1326
1334
|
#
|
1327
1335
|
# @option params [required, String] :image_recipe_arn
|
1328
1336
|
# The Amazon Resource Name (ARN) of the image recipe whose policy you
|
1329
|
-
#
|
1337
|
+
# want to retrieve.
|
1330
1338
|
#
|
1331
1339
|
# @return [Types::GetImageRecipePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1332
1340
|
#
|
@@ -1353,11 +1361,11 @@ module Aws::Imagebuilder
|
|
1353
1361
|
req.send_request(options)
|
1354
1362
|
end
|
1355
1363
|
|
1356
|
-
# Gets
|
1364
|
+
# Gets an infrastructure configuration.
|
1357
1365
|
#
|
1358
1366
|
# @option params [required, String] :infrastructure_configuration_arn
|
1359
1367
|
# The Amazon Resource Name (ARN) of the infrastructure configuration
|
1360
|
-
# that you
|
1368
|
+
# that you want to retrieve.
|
1361
1369
|
#
|
1362
1370
|
# @return [Types::GetInfrastructureConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1363
1371
|
#
|
@@ -1407,9 +1415,9 @@ module Aws::Imagebuilder
|
|
1407
1415
|
# The name of the component.
|
1408
1416
|
#
|
1409
1417
|
# @option params [required, String] :semantic_version
|
1410
|
-
# The semantic version of the component. This version
|
1411
|
-
# semantic version syntax.
|
1412
|
-
# versioned like software 2.0.1 or date
|
1418
|
+
# The semantic version of the component. This version follows the
|
1419
|
+
# semantic version syntax. For example, major.minor.patch. This could be
|
1420
|
+
# versioned like software (2.0.1) or like a date (2019.12.01).
|
1413
1421
|
#
|
1414
1422
|
# @option params [String] :description
|
1415
1423
|
# The description of the component. Describes the contents of the
|
@@ -1417,24 +1425,28 @@ module Aws::Imagebuilder
|
|
1417
1425
|
#
|
1418
1426
|
# @option params [String] :change_description
|
1419
1427
|
# The change description of the component. Describes what change has
|
1420
|
-
# been made in this version
|
1421
|
-
#
|
1428
|
+
# been made in this version, or what makes this version different from
|
1429
|
+
# other versions of this component.
|
1422
1430
|
#
|
1423
1431
|
# @option params [required, String] :type
|
1424
1432
|
# The type of the component denotes whether the component is used to
|
1425
1433
|
# build the image or only to test it.
|
1426
1434
|
#
|
1427
1435
|
# @option params [required, String] :format
|
1428
|
-
# The format of the resource that you
|
1436
|
+
# The format of the resource that you want to import as a component.
|
1429
1437
|
#
|
1430
1438
|
# @option params [required, String] :platform
|
1431
1439
|
# The platform of the component.
|
1432
1440
|
#
|
1433
1441
|
# @option params [String] :data
|
1434
|
-
# The data of the component.
|
1442
|
+
# The data of the component. Used to specify the data inline. Either
|
1443
|
+
# `data` or `uri` can be used to specify the data within the component.
|
1435
1444
|
#
|
1436
1445
|
# @option params [String] :uri
|
1437
|
-
# The uri of the component.
|
1446
|
+
# The uri of the component. Must be an S3 URL and the requester must
|
1447
|
+
# have permission to access the S3 bucket. If you use S3, you can
|
1448
|
+
# specify component content up to your service quota. Either `data` or
|
1449
|
+
# `uri` can be used to specify the data within the component.
|
1438
1450
|
#
|
1439
1451
|
# @option params [String] :kms_key_id
|
1440
1452
|
# The ID of the KMS key that should be used to encrypt this component.
|
@@ -1492,7 +1504,8 @@ module Aws::Imagebuilder
|
|
1492
1504
|
# semantic version.
|
1493
1505
|
#
|
1494
1506
|
# @option params [required, String] :component_version_arn
|
1495
|
-
# The component version
|
1507
|
+
# The component version Amazon Resource Name (ARN) whose versions you
|
1508
|
+
# want to list.
|
1496
1509
|
#
|
1497
1510
|
# @option params [Integer] :max_results
|
1498
1511
|
# The maximum items to return in a request.
|
@@ -1545,13 +1558,14 @@ module Aws::Imagebuilder
|
|
1545
1558
|
# semantic version.
|
1546
1559
|
#
|
1547
1560
|
# @option params [String] :owner
|
1548
|
-
# The owner defines
|
1549
|
-
# request will only show components owned by your account. You
|
1550
|
-
# this field to specify if you
|
1551
|
-
# yourself, Amazon, or those components that have been shared with
|
1552
|
-
# by other customers.
|
1561
|
+
# The owner defines which components you want to list. By default, this
|
1562
|
+
# request will only show components owned by your account. You can use
|
1563
|
+
# this field to specify if you want to view components owned by
|
1564
|
+
# yourself, by Amazon, or those components that have been shared with
|
1565
|
+
# you by other customers.
|
1553
1566
|
#
|
1554
1567
|
# @option params [Array<Types::Filter>] :filters
|
1568
|
+
# The filters.
|
1555
1569
|
#
|
1556
1570
|
# @option params [Integer] :max_results
|
1557
1571
|
# The maximum items to return in a request.
|
@@ -1606,6 +1620,7 @@ module Aws::Imagebuilder
|
|
1606
1620
|
# Returns a list of distribution configurations.
|
1607
1621
|
#
|
1608
1622
|
# @option params [Array<Types::Filter>] :filters
|
1623
|
+
# The filters.
|
1609
1624
|
#
|
1610
1625
|
# @option params [Integer] :max_results
|
1611
1626
|
# The maximum items to return in a request.
|
@@ -1659,9 +1674,10 @@ module Aws::Imagebuilder
|
|
1659
1674
|
#
|
1660
1675
|
# @option params [required, String] :image_version_arn
|
1661
1676
|
# The Amazon Resource Name (ARN) of the image whose build versions you
|
1662
|
-
#
|
1677
|
+
# want to retrieve.
|
1663
1678
|
#
|
1664
1679
|
# @option params [Array<Types::Filter>] :filters
|
1680
|
+
# The filters.
|
1665
1681
|
#
|
1666
1682
|
# @option params [Integer] :max_results
|
1667
1683
|
# The maximum items to return in a request.
|
@@ -1724,11 +1740,12 @@ module Aws::Imagebuilder
|
|
1724
1740
|
|
1725
1741
|
# Returns a list of images created by the specified pipeline.
|
1726
1742
|
#
|
1727
|
-
# @option params [String] :image_pipeline_arn
|
1743
|
+
# @option params [required, String] :image_pipeline_arn
|
1728
1744
|
# The Amazon Resource Name (ARN) of the image pipeline whose images you
|
1729
|
-
#
|
1745
|
+
# want to view.
|
1730
1746
|
#
|
1731
1747
|
# @option params [Array<Types::Filter>] :filters
|
1748
|
+
# The filters.
|
1732
1749
|
#
|
1733
1750
|
# @option params [Integer] :max_results
|
1734
1751
|
# The maximum items to return in a request.
|
@@ -1746,7 +1763,7 @@ module Aws::Imagebuilder
|
|
1746
1763
|
# @example Request syntax with placeholder values
|
1747
1764
|
#
|
1748
1765
|
# resp = client.list_image_pipeline_images({
|
1749
|
-
# image_pipeline_arn: "ImagePipelineArn",
|
1766
|
+
# image_pipeline_arn: "ImagePipelineArn", # required
|
1750
1767
|
# filters: [
|
1751
1768
|
# {
|
1752
1769
|
# name: "FilterName",
|
@@ -1792,6 +1809,7 @@ module Aws::Imagebuilder
|
|
1792
1809
|
# Returns a list of image pipelines.
|
1793
1810
|
#
|
1794
1811
|
# @option params [Array<Types::Filter>] :filters
|
1812
|
+
# The filters.
|
1795
1813
|
#
|
1796
1814
|
# @option params [Integer] :max_results
|
1797
1815
|
# The maximum items to return in a request.
|
@@ -1855,13 +1873,14 @@ module Aws::Imagebuilder
|
|
1855
1873
|
# Returns a list of image recipes.
|
1856
1874
|
#
|
1857
1875
|
# @option params [String] :owner
|
1858
|
-
# The owner defines
|
1876
|
+
# The owner defines which image recipes you want to list. By default,
|
1859
1877
|
# this request will only show image recipes owned by your account. You
|
1860
|
-
#
|
1861
|
-
# by yourself, Amazon, or those image recipes that have been shared
|
1862
|
-
# you by other customers.
|
1878
|
+
# can use this field to specify if you want to view image recipes owned
|
1879
|
+
# by yourself, by Amazon, or those image recipes that have been shared
|
1880
|
+
# with you by other customers.
|
1863
1881
|
#
|
1864
1882
|
# @option params [Array<Types::Filter>] :filters
|
1883
|
+
# The filters.
|
1865
1884
|
#
|
1866
1885
|
# @option params [Integer] :max_results
|
1867
1886
|
# The maximum items to return in a request.
|
@@ -1917,12 +1936,14 @@ module Aws::Imagebuilder
|
|
1917
1936
|
# version.
|
1918
1937
|
#
|
1919
1938
|
# @option params [String] :owner
|
1920
|
-
# The owner defines
|
1921
|
-
# request will only show images owned by your account. You
|
1922
|
-
# field to specify if you
|
1923
|
-
# or those images that have been shared with you by other
|
1939
|
+
# The owner defines which images you want to list. By default, this
|
1940
|
+
# request will only show images owned by your account. You can use this
|
1941
|
+
# field to specify if you want to view images owned by yourself, by
|
1942
|
+
# Amazon, or those images that have been shared with you by other
|
1943
|
+
# customers.
|
1924
1944
|
#
|
1925
1945
|
# @option params [Array<Types::Filter>] :filters
|
1946
|
+
# The filters.
|
1926
1947
|
#
|
1927
1948
|
# @option params [Integer] :max_results
|
1928
1949
|
# The maximum items to return in a request.
|
@@ -1975,6 +1996,7 @@ module Aws::Imagebuilder
|
|
1975
1996
|
# Returns a list of infrastructure configurations.
|
1976
1997
|
#
|
1977
1998
|
# @option params [Array<Types::Filter>] :filters
|
1999
|
+
# The filters.
|
1978
2000
|
#
|
1979
2001
|
# @option params [Integer] :max_results
|
1980
2002
|
# The maximum items to return in a request.
|
@@ -2027,7 +2049,7 @@ module Aws::Imagebuilder
|
|
2027
2049
|
# Returns the list of tags for the specified resource.
|
2028
2050
|
#
|
2029
2051
|
# @option params [required, String] :resource_arn
|
2030
|
-
# The Amazon Resource Name (ARN) of the resource whose tags you
|
2052
|
+
# The Amazon Resource Name (ARN) of the resource whose tags you want to
|
2031
2053
|
# retrieve.
|
2032
2054
|
#
|
2033
2055
|
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -2162,7 +2184,7 @@ module Aws::Imagebuilder
|
|
2162
2184
|
# Manually triggers a pipeline to create an image.
|
2163
2185
|
#
|
2164
2186
|
# @option params [required, String] :image_pipeline_arn
|
2165
|
-
# The Amazon Resource Name (ARN) of the image pipeline that you
|
2187
|
+
# The Amazon Resource Name (ARN) of the image pipeline that you want to
|
2166
2188
|
# manually invoke.
|
2167
2189
|
#
|
2168
2190
|
# @option params [required, String] :client_token
|
@@ -2202,7 +2224,7 @@ module Aws::Imagebuilder
|
|
2202
2224
|
# Adds a tag to a resource.
|
2203
2225
|
#
|
2204
2226
|
# @option params [required, String] :resource_arn
|
2205
|
-
# The Amazon Resource Name (ARN) of the resource that you
|
2227
|
+
# The Amazon Resource Name (ARN) of the resource that you want to tag.
|
2206
2228
|
#
|
2207
2229
|
# @option params [required, Hash<String,String>] :tags
|
2208
2230
|
# The tags to apply to the resource.
|
@@ -2230,7 +2252,7 @@ module Aws::Imagebuilder
|
|
2230
2252
|
# Removes a tag from a resource.
|
2231
2253
|
#
|
2232
2254
|
# @option params [required, String] :resource_arn
|
2233
|
-
# The Amazon Resource Name (ARN) of the resource that you
|
2255
|
+
# The Amazon Resource Name (ARN) of the resource that you want to untag.
|
2234
2256
|
#
|
2235
2257
|
# @option params [required, Array<String>] :tag_keys
|
2236
2258
|
# The tag keys to remove from the resource.
|
@@ -2258,12 +2280,12 @@ module Aws::Imagebuilder
|
|
2258
2280
|
#
|
2259
2281
|
# @option params [required, String] :distribution_configuration_arn
|
2260
2282
|
# The Amazon Resource Name (ARN) of the distribution configuration that
|
2261
|
-
# you
|
2283
|
+
# you want to update.
|
2262
2284
|
#
|
2263
2285
|
# @option params [String] :description
|
2264
2286
|
# The description of the distribution configuration.
|
2265
2287
|
#
|
2266
|
-
# @option params [Array<Types::Distribution>] :distributions
|
2288
|
+
# @option params [required, Array<Types::Distribution>] :distributions
|
2267
2289
|
# The distributions of the distribution configuration.
|
2268
2290
|
#
|
2269
2291
|
# @option params [required, String] :client_token
|
@@ -2283,11 +2305,11 @@ module Aws::Imagebuilder
|
|
2283
2305
|
# resp = client.update_distribution_configuration({
|
2284
2306
|
# distribution_configuration_arn: "DistributionConfigurationArn", # required
|
2285
2307
|
# description: "NonEmptyString",
|
2286
|
-
# distributions: [
|
2308
|
+
# distributions: [ # required
|
2287
2309
|
# {
|
2288
2310
|
# region: "NonEmptyString", # required
|
2289
2311
|
# ami_distribution_configuration: {
|
2290
|
-
# name: "
|
2312
|
+
# name: "AmiNameString",
|
2291
2313
|
# description: "NonEmptyString",
|
2292
2314
|
# ami_tags: {
|
2293
2315
|
# "TagKey" => "TagValue",
|
@@ -2322,17 +2344,17 @@ module Aws::Imagebuilder
|
|
2322
2344
|
# the creation and distribution of images.
|
2323
2345
|
#
|
2324
2346
|
# @option params [required, String] :image_pipeline_arn
|
2325
|
-
# The Amazon Resource Name (ARN) of the image pipeline that you
|
2347
|
+
# The Amazon Resource Name (ARN) of the image pipeline that you want to
|
2326
2348
|
# update.
|
2327
2349
|
#
|
2328
2350
|
# @option params [String] :description
|
2329
2351
|
# The description of the image pipeline.
|
2330
2352
|
#
|
2331
|
-
# @option params [String] :image_recipe_arn
|
2353
|
+
# @option params [required, String] :image_recipe_arn
|
2332
2354
|
# The Amazon Resource Name (ARN) of the image recipe that will be used
|
2333
2355
|
# to configure images updated by this image pipeline.
|
2334
2356
|
#
|
2335
|
-
# @option params [String] :infrastructure_configuration_arn
|
2357
|
+
# @option params [required, String] :infrastructure_configuration_arn
|
2336
2358
|
# The Amazon Resource Name (ARN) of the infrastructure configuration
|
2337
2359
|
# that will be used to build images updated by this image pipeline.
|
2338
2360
|
#
|
@@ -2367,8 +2389,8 @@ module Aws::Imagebuilder
|
|
2367
2389
|
# resp = client.update_image_pipeline({
|
2368
2390
|
# image_pipeline_arn: "ImagePipelineArn", # required
|
2369
2391
|
# description: "NonEmptyString",
|
2370
|
-
# image_recipe_arn: "ImageRecipeArn",
|
2371
|
-
# infrastructure_configuration_arn: "InfrastructureConfigurationArn",
|
2392
|
+
# image_recipe_arn: "ImageRecipeArn", # required
|
2393
|
+
# infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
|
2372
2394
|
# distribution_configuration_arn: "DistributionConfigurationArn",
|
2373
2395
|
# image_tests_configuration: {
|
2374
2396
|
# image_tests_enabled: false,
|
@@ -2403,17 +2425,17 @@ module Aws::Imagebuilder
|
|
2403
2425
|
#
|
2404
2426
|
# @option params [required, String] :infrastructure_configuration_arn
|
2405
2427
|
# The Amazon Resource Name (ARN) of the infrastructure configuration
|
2406
|
-
# that you
|
2428
|
+
# that you want to update.
|
2407
2429
|
#
|
2408
2430
|
# @option params [String] :description
|
2409
2431
|
# The description of the infrastructure configuration.
|
2410
2432
|
#
|
2411
2433
|
# @option params [Array<String>] :instance_types
|
2412
|
-
# The instance types of the infrastructure configuration. You
|
2413
|
-
# specify one or more instance types to use for this build
|
2434
|
+
# The instance types of the infrastructure configuration. You can
|
2435
|
+
# specify one or more instance types to use for this build. The service
|
2414
2436
|
# will pick one of these instance types based on availability.
|
2415
2437
|
#
|
2416
|
-
# @option params [String] :instance_profile_name
|
2438
|
+
# @option params [required, String] :instance_profile_name
|
2417
2439
|
# The instance profile to associate with the instance used to customize
|
2418
2440
|
# your EC2 AMI.
|
2419
2441
|
#
|
@@ -2429,13 +2451,13 @@ module Aws::Imagebuilder
|
|
2429
2451
|
#
|
2430
2452
|
# @option params [String] :key_pair
|
2431
2453
|
# The key pair of the infrastructure configuration. This can be used to
|
2432
|
-
# log
|
2454
|
+
# log on to and debug the instance used to create your image.
|
2433
2455
|
#
|
2434
2456
|
# @option params [Boolean] :terminate_instance_on_failure
|
2435
2457
|
# The terminate instance on failure setting of the infrastructure
|
2436
|
-
# configuration. Set to false if you
|
2437
|
-
#
|
2438
|
-
#
|
2458
|
+
# configuration. Set to false if you want Image Builder to retain the
|
2459
|
+
# instance used to configure your AMI if the build or test phase of your
|
2460
|
+
# workflow fails.
|
2439
2461
|
#
|
2440
2462
|
# @option params [String] :sns_topic_arn
|
2441
2463
|
# The SNS topic on which to send image build events.
|
@@ -2458,7 +2480,7 @@ module Aws::Imagebuilder
|
|
2458
2480
|
# infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
|
2459
2481
|
# description: "NonEmptyString",
|
2460
2482
|
# instance_types: ["InstanceType"],
|
2461
|
-
# instance_profile_name: "NonEmptyString",
|
2483
|
+
# instance_profile_name: "NonEmptyString", # required
|
2462
2484
|
# security_group_ids: ["NonEmptyString"],
|
2463
2485
|
# subnet_id: "NonEmptyString",
|
2464
2486
|
# logging: {
|
@@ -2469,7 +2491,7 @@ module Aws::Imagebuilder
|
|
2469
2491
|
# },
|
2470
2492
|
# key_pair: "NonEmptyString",
|
2471
2493
|
# terminate_instance_on_failure: false,
|
2472
|
-
# sns_topic_arn: "
|
2494
|
+
# sns_topic_arn: "SnsTopicArn",
|
2473
2495
|
# client_token: "ClientToken", # required
|
2474
2496
|
# })
|
2475
2497
|
#
|
@@ -2501,7 +2523,7 @@ module Aws::Imagebuilder
|
|
2501
2523
|
params: params,
|
2502
2524
|
config: config)
|
2503
2525
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
2504
|
-
context[:gem_version] = '1.
|
2526
|
+
context[:gem_version] = '1.1.0'
|
2505
2527
|
Seahorse::Client::Request.new(handlers, context)
|
2506
2528
|
end
|
2507
2529
|
|