aws-sdk-imagebuilder 1.14.0 → 1.19.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 +509 -30
- data/lib/aws-sdk-imagebuilder/client_api.rb +329 -27
- data/lib/aws-sdk-imagebuilder/types.rb +914 -70
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a6dc1fc7660f603834a1521667d9de0d873a392a10473537f4adda77d3e2444
|
4
|
+
data.tar.gz: a0be031de904cf218d90b77f20459f739a2c7a0d58f423c8dcdf58225cb89a38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 251953d7cb4e4581a0a7dabaed53ed54779f8b8f6b0f8ab18812f9d0a3f1849ffea304d4fc3403ba44b7f22b855318553724be0448452024698386ad3392d0d6
|
7
|
+
data.tar.gz: ad0c4536f08ee5c01837a6eef0c5b111bcb314c29aec07eb1b59be928f0994c9278f8ae6b829e2f2ed77fc1fcbc7997cd1f7d3ec7231543feecfba2dd5a2d5b3
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
@@ -457,6 +457,112 @@ module Aws::Imagebuilder
|
|
457
457
|
req.send_request(options)
|
458
458
|
end
|
459
459
|
|
460
|
+
# Creates a new container recipe. Container recipes define how images
|
461
|
+
# are configured, tested, and assessed.
|
462
|
+
#
|
463
|
+
# @option params [required, String] :container_type
|
464
|
+
# The type of container to create.
|
465
|
+
#
|
466
|
+
# @option params [required, String] :name
|
467
|
+
# The name of the container recipe.
|
468
|
+
#
|
469
|
+
# @option params [String] :description
|
470
|
+
# The description of the container recipe.
|
471
|
+
#
|
472
|
+
# @option params [required, String] :semantic_version
|
473
|
+
# The semantic version of the container recipe
|
474
|
+
# (<major>.<minor>.<patch>).
|
475
|
+
#
|
476
|
+
# @option params [required, Array<Types::ComponentConfiguration>] :components
|
477
|
+
# Components for build and test that are included in the container
|
478
|
+
# recipe.
|
479
|
+
#
|
480
|
+
# @option params [required, String] :dockerfile_template_data
|
481
|
+
# The Dockerfile template used to build your image as an inline data
|
482
|
+
# blob.
|
483
|
+
#
|
484
|
+
# @option params [String] :dockerfile_template_uri
|
485
|
+
# The S3 URI for the Dockerfile that will be used to build your
|
486
|
+
# container image.
|
487
|
+
#
|
488
|
+
# @option params [String] :platform_override
|
489
|
+
# Specifies the operating system platform when you use a custom source
|
490
|
+
# image.
|
491
|
+
#
|
492
|
+
# @option params [String] :image_os_version_override
|
493
|
+
# Specifies the operating system version for the source image.
|
494
|
+
#
|
495
|
+
# @option params [required, String] :parent_image
|
496
|
+
# The source image for the container recipe.
|
497
|
+
#
|
498
|
+
# @option params [Hash<String,String>] :tags
|
499
|
+
# Tags that are attached to the container recipe.
|
500
|
+
#
|
501
|
+
# @option params [String] :working_directory
|
502
|
+
# The working directory for use during build and test workflows.
|
503
|
+
#
|
504
|
+
# @option params [required, Types::TargetContainerRepository] :target_repository
|
505
|
+
# The destination repository for the container image.
|
506
|
+
#
|
507
|
+
# @option params [String] :kms_key_id
|
508
|
+
# Identifies which KMS key is used to encrypt the container image.
|
509
|
+
#
|
510
|
+
# @option params [required, String] :client_token
|
511
|
+
# The client token used to make this request idempotent.
|
512
|
+
#
|
513
|
+
# **A suitable default value is auto-generated.** You should normally
|
514
|
+
# not need to pass this option.**
|
515
|
+
#
|
516
|
+
# @return [Types::CreateContainerRecipeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
517
|
+
#
|
518
|
+
# * {Types::CreateContainerRecipeResponse#request_id #request_id} => String
|
519
|
+
# * {Types::CreateContainerRecipeResponse#client_token #client_token} => String
|
520
|
+
# * {Types::CreateContainerRecipeResponse#container_recipe_arn #container_recipe_arn} => String
|
521
|
+
#
|
522
|
+
# @example Request syntax with placeholder values
|
523
|
+
#
|
524
|
+
# resp = client.create_container_recipe({
|
525
|
+
# container_type: "DOCKER", # required, accepts DOCKER
|
526
|
+
# name: "ResourceName", # required
|
527
|
+
# description: "NonEmptyString",
|
528
|
+
# semantic_version: "VersionNumber", # required
|
529
|
+
# components: [ # required
|
530
|
+
# {
|
531
|
+
# component_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
532
|
+
# },
|
533
|
+
# ],
|
534
|
+
# dockerfile_template_data: "InlineDockerFileTemplate", # required
|
535
|
+
# dockerfile_template_uri: "Uri",
|
536
|
+
# platform_override: "Windows", # accepts Windows, Linux
|
537
|
+
# image_os_version_override: "NonEmptyString",
|
538
|
+
# parent_image: "NonEmptyString", # required
|
539
|
+
# tags: {
|
540
|
+
# "TagKey" => "TagValue",
|
541
|
+
# },
|
542
|
+
# working_directory: "NonEmptyString",
|
543
|
+
# target_repository: { # required
|
544
|
+
# service: "ECR", # required, accepts ECR
|
545
|
+
# repository_name: "NonEmptyString", # required
|
546
|
+
# },
|
547
|
+
# kms_key_id: "NonEmptyString",
|
548
|
+
# client_token: "ClientToken", # required
|
549
|
+
# })
|
550
|
+
#
|
551
|
+
# @example Response structure
|
552
|
+
#
|
553
|
+
# resp.request_id #=> String
|
554
|
+
# resp.client_token #=> String
|
555
|
+
# resp.container_recipe_arn #=> String
|
556
|
+
#
|
557
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateContainerRecipe AWS API Documentation
|
558
|
+
#
|
559
|
+
# @overload create_container_recipe(params = {})
|
560
|
+
# @param [Hash] params ({})
|
561
|
+
def create_container_recipe(params = {}, options = {})
|
562
|
+
req = build_request(:create_container_recipe, params)
|
563
|
+
req.send_request(options)
|
564
|
+
end
|
565
|
+
|
460
566
|
# Creates a new distribution configuration. Distribution configurations
|
461
567
|
# define and configure the outputs of your pipeline.
|
462
568
|
#
|
@@ -495,16 +601,25 @@ module Aws::Imagebuilder
|
|
495
601
|
# ami_distribution_configuration: {
|
496
602
|
# name: "AmiNameString",
|
497
603
|
# description: "NonEmptyString",
|
604
|
+
# target_account_ids: ["AccountId"],
|
498
605
|
# ami_tags: {
|
499
606
|
# "TagKey" => "TagValue",
|
500
607
|
# },
|
501
608
|
# kms_key_id: "NonEmptyString",
|
502
609
|
# launch_permission: {
|
503
|
-
# user_ids: ["
|
610
|
+
# user_ids: ["AccountId"],
|
504
611
|
# user_groups: ["NonEmptyString"],
|
505
612
|
# },
|
506
613
|
# },
|
507
|
-
#
|
614
|
+
# container_distribution_configuration: {
|
615
|
+
# description: "NonEmptyString",
|
616
|
+
# container_tags: ["NonEmptyString"],
|
617
|
+
# target_repository: { # required
|
618
|
+
# service: "ECR", # required, accepts ECR
|
619
|
+
# repository_name: "NonEmptyString", # required
|
620
|
+
# },
|
621
|
+
# },
|
622
|
+
# license_configuration_arns: ["LicenseConfigurationArn"],
|
508
623
|
# },
|
509
624
|
# ],
|
510
625
|
# tags: {
|
@@ -532,10 +647,14 @@ module Aws::Imagebuilder
|
|
532
647
|
# all of the configured output resources defined in the distribution
|
533
648
|
# configuration.
|
534
649
|
#
|
535
|
-
# @option params [
|
650
|
+
# @option params [String] :image_recipe_arn
|
536
651
|
# The Amazon Resource Name (ARN) of the image recipe that defines how
|
537
652
|
# images are configured, tested, and assessed.
|
538
653
|
#
|
654
|
+
# @option params [String] :container_recipe_arn
|
655
|
+
# The Amazon Resource Name (ARN) of the container recipe that defines
|
656
|
+
# how images are configured and tested.
|
657
|
+
#
|
539
658
|
# @option params [String] :distribution_configuration_arn
|
540
659
|
# The Amazon Resource Name (ARN) of the distribution configuration that
|
541
660
|
# defines and configures the outputs of your pipeline.
|
@@ -572,7 +691,8 @@ module Aws::Imagebuilder
|
|
572
691
|
# @example Request syntax with placeholder values
|
573
692
|
#
|
574
693
|
# resp = client.create_image({
|
575
|
-
# image_recipe_arn: "ImageRecipeArn",
|
694
|
+
# image_recipe_arn: "ImageRecipeArn",
|
695
|
+
# container_recipe_arn: "ContainerRecipeArn",
|
576
696
|
# distribution_configuration_arn: "DistributionConfigurationArn",
|
577
697
|
# infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
|
578
698
|
# image_tests_configuration: {
|
@@ -610,10 +730,14 @@ module Aws::Imagebuilder
|
|
610
730
|
# @option params [String] :description
|
611
731
|
# The description of the image pipeline.
|
612
732
|
#
|
613
|
-
# @option params [
|
733
|
+
# @option params [String] :image_recipe_arn
|
614
734
|
# The Amazon Resource Name (ARN) of the image recipe that will be used
|
615
735
|
# to configure images created by this image pipeline.
|
616
736
|
#
|
737
|
+
# @option params [String] :container_recipe_arn
|
738
|
+
# The Amazon Resource Name (ARN) of the container recipe that is used to
|
739
|
+
# configure images created by this container pipeline.
|
740
|
+
#
|
617
741
|
# @option params [required, String] :infrastructure_configuration_arn
|
618
742
|
# The Amazon Resource Name (ARN) of the infrastructure configuration
|
619
743
|
# that will be used to build images created by this image pipeline.
|
@@ -658,7 +782,8 @@ module Aws::Imagebuilder
|
|
658
782
|
# resp = client.create_image_pipeline({
|
659
783
|
# name: "ResourceName", # required
|
660
784
|
# description: "NonEmptyString",
|
661
|
-
# image_recipe_arn: "ImageRecipeArn",
|
785
|
+
# image_recipe_arn: "ImageRecipeArn",
|
786
|
+
# container_recipe_arn: "ContainerRecipeArn",
|
662
787
|
# infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
|
663
788
|
# distribution_configuration_arn: "DistributionConfigurationArn",
|
664
789
|
# image_tests_configuration: {
|
@@ -668,6 +793,7 @@ module Aws::Imagebuilder
|
|
668
793
|
# enhanced_image_metadata_enabled: false,
|
669
794
|
# schedule: {
|
670
795
|
# schedule_expression: "NonEmptyString",
|
796
|
+
# timezone: "Timezone",
|
671
797
|
# pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
|
672
798
|
# },
|
673
799
|
# status: "DISABLED", # accepts DISABLED, ENABLED
|
@@ -711,13 +837,11 @@ module Aws::Imagebuilder
|
|
711
837
|
# The parent image of the image recipe. The value of the string can be
|
712
838
|
# the ARN of the parent image or an AMI ID. The format for the ARN
|
713
839
|
# follows this example:
|
714
|
-
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/
|
715
|
-
#
|
716
|
-
#
|
717
|
-
#
|
718
|
-
#
|
719
|
-
# value, you must have access to the AMI, and the AMI must be in the
|
720
|
-
# same Region in which you are using Image Builder.
|
840
|
+
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/xxxx.x.x`.
|
841
|
+
# You can provide the specific version that you want to use, or you can
|
842
|
+
# use a wildcard in all of the fields. If you enter an AMI ID for the
|
843
|
+
# string value, you must have access to the AMI, and the AMI must be in
|
844
|
+
# the same Region in which you are using Image Builder.
|
721
845
|
#
|
722
846
|
# @option params [Array<Types::InstanceBlockDeviceMapping>] :block_device_mappings
|
723
847
|
# The block device mappings of the image recipe.
|
@@ -762,7 +886,7 @@ module Aws::Imagebuilder
|
|
762
886
|
# kms_key_id: "NonEmptyString",
|
763
887
|
# snapshot_id: "NonEmptyString",
|
764
888
|
# volume_size: 1,
|
765
|
-
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
889
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
766
890
|
# },
|
767
891
|
# virtual_name: "NonEmptyString",
|
768
892
|
# no_device: "EmptyString",
|
@@ -924,6 +1048,36 @@ module Aws::Imagebuilder
|
|
924
1048
|
req.send_request(options)
|
925
1049
|
end
|
926
1050
|
|
1051
|
+
# Deletes a container recipe.
|
1052
|
+
#
|
1053
|
+
# @option params [required, String] :container_recipe_arn
|
1054
|
+
# The Amazon Resource Name (ARN) of the container recipe to delete.
|
1055
|
+
#
|
1056
|
+
# @return [Types::DeleteContainerRecipeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1057
|
+
#
|
1058
|
+
# * {Types::DeleteContainerRecipeResponse#request_id #request_id} => String
|
1059
|
+
# * {Types::DeleteContainerRecipeResponse#container_recipe_arn #container_recipe_arn} => String
|
1060
|
+
#
|
1061
|
+
# @example Request syntax with placeholder values
|
1062
|
+
#
|
1063
|
+
# resp = client.delete_container_recipe({
|
1064
|
+
# container_recipe_arn: "ContainerRecipeArn", # required
|
1065
|
+
# })
|
1066
|
+
#
|
1067
|
+
# @example Response structure
|
1068
|
+
#
|
1069
|
+
# resp.request_id #=> String
|
1070
|
+
# resp.container_recipe_arn #=> String
|
1071
|
+
#
|
1072
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteContainerRecipe AWS API Documentation
|
1073
|
+
#
|
1074
|
+
# @overload delete_container_recipe(params = {})
|
1075
|
+
# @param [Hash] params ({})
|
1076
|
+
def delete_container_recipe(params = {}, options = {})
|
1077
|
+
req = build_request(:delete_container_recipe, params)
|
1078
|
+
req.send_request(options)
|
1079
|
+
end
|
1080
|
+
|
927
1081
|
# Deletes a distribution configuration.
|
928
1082
|
#
|
929
1083
|
# @option params [required, String] :distribution_configuration_arn
|
@@ -1153,6 +1307,85 @@ module Aws::Imagebuilder
|
|
1153
1307
|
req.send_request(options)
|
1154
1308
|
end
|
1155
1309
|
|
1310
|
+
# Retrieves a container recipe.
|
1311
|
+
#
|
1312
|
+
# @option params [required, String] :container_recipe_arn
|
1313
|
+
# The Amazon Resource Name (ARN) of the container recipe to retrieve.
|
1314
|
+
#
|
1315
|
+
# @return [Types::GetContainerRecipeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1316
|
+
#
|
1317
|
+
# * {Types::GetContainerRecipeResponse#request_id #request_id} => String
|
1318
|
+
# * {Types::GetContainerRecipeResponse#container_recipe #container_recipe} => Types::ContainerRecipe
|
1319
|
+
#
|
1320
|
+
# @example Request syntax with placeholder values
|
1321
|
+
#
|
1322
|
+
# resp = client.get_container_recipe({
|
1323
|
+
# container_recipe_arn: "ContainerRecipeArn", # required
|
1324
|
+
# })
|
1325
|
+
#
|
1326
|
+
# @example Response structure
|
1327
|
+
#
|
1328
|
+
# resp.request_id #=> String
|
1329
|
+
# resp.container_recipe.arn #=> String
|
1330
|
+
# resp.container_recipe.container_type #=> String, one of "DOCKER"
|
1331
|
+
# resp.container_recipe.name #=> String
|
1332
|
+
# resp.container_recipe.description #=> String
|
1333
|
+
# resp.container_recipe.platform #=> String, one of "Windows", "Linux"
|
1334
|
+
# resp.container_recipe.owner #=> String
|
1335
|
+
# resp.container_recipe.version #=> String
|
1336
|
+
# resp.container_recipe.components #=> Array
|
1337
|
+
# resp.container_recipe.components[0].component_arn #=> String
|
1338
|
+
# resp.container_recipe.dockerfile_template_data #=> String
|
1339
|
+
# resp.container_recipe.kms_key_id #=> String
|
1340
|
+
# resp.container_recipe.encrypted #=> Boolean
|
1341
|
+
# resp.container_recipe.parent_image #=> String
|
1342
|
+
# resp.container_recipe.date_created #=> String
|
1343
|
+
# resp.container_recipe.tags #=> Hash
|
1344
|
+
# resp.container_recipe.tags["TagKey"] #=> String
|
1345
|
+
# resp.container_recipe.working_directory #=> String
|
1346
|
+
# resp.container_recipe.target_repository.service #=> String, one of "ECR"
|
1347
|
+
# resp.container_recipe.target_repository.repository_name #=> String
|
1348
|
+
#
|
1349
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipe AWS API Documentation
|
1350
|
+
#
|
1351
|
+
# @overload get_container_recipe(params = {})
|
1352
|
+
# @param [Hash] params ({})
|
1353
|
+
def get_container_recipe(params = {}, options = {})
|
1354
|
+
req = build_request(:get_container_recipe, params)
|
1355
|
+
req.send_request(options)
|
1356
|
+
end
|
1357
|
+
|
1358
|
+
# Retrieves the policy for a container recipe.
|
1359
|
+
#
|
1360
|
+
# @option params [required, String] :container_recipe_arn
|
1361
|
+
# The Amazon Resource Name (ARN) of the container recipe for the policy
|
1362
|
+
# being requested.
|
1363
|
+
#
|
1364
|
+
# @return [Types::GetContainerRecipePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1365
|
+
#
|
1366
|
+
# * {Types::GetContainerRecipePolicyResponse#request_id #request_id} => String
|
1367
|
+
# * {Types::GetContainerRecipePolicyResponse#policy #policy} => String
|
1368
|
+
#
|
1369
|
+
# @example Request syntax with placeholder values
|
1370
|
+
#
|
1371
|
+
# resp = client.get_container_recipe_policy({
|
1372
|
+
# container_recipe_arn: "ContainerRecipeArn", # required
|
1373
|
+
# })
|
1374
|
+
#
|
1375
|
+
# @example Response structure
|
1376
|
+
#
|
1377
|
+
# resp.request_id #=> String
|
1378
|
+
# resp.policy #=> String
|
1379
|
+
#
|
1380
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipePolicy AWS API Documentation
|
1381
|
+
#
|
1382
|
+
# @overload get_container_recipe_policy(params = {})
|
1383
|
+
# @param [Hash] params ({})
|
1384
|
+
def get_container_recipe_policy(params = {}, options = {})
|
1385
|
+
req = build_request(:get_container_recipe_policy, params)
|
1386
|
+
req.send_request(options)
|
1387
|
+
end
|
1388
|
+
|
1156
1389
|
# Gets a distribution configuration.
|
1157
1390
|
#
|
1158
1391
|
# @option params [required, String] :distribution_configuration_arn
|
@@ -1180,6 +1413,8 @@ module Aws::Imagebuilder
|
|
1180
1413
|
# resp.distribution_configuration.distributions[0].region #=> String
|
1181
1414
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.name #=> String
|
1182
1415
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.description #=> String
|
1416
|
+
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.target_account_ids #=> Array
|
1417
|
+
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.target_account_ids[0] #=> String
|
1183
1418
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.ami_tags #=> Hash
|
1184
1419
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.ami_tags["TagKey"] #=> String
|
1185
1420
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.kms_key_id #=> String
|
@@ -1187,6 +1422,11 @@ module Aws::Imagebuilder
|
|
1187
1422
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids[0] #=> String
|
1188
1423
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups #=> Array
|
1189
1424
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups[0] #=> String
|
1425
|
+
# resp.distribution_configuration.distributions[0].container_distribution_configuration.description #=> String
|
1426
|
+
# resp.distribution_configuration.distributions[0].container_distribution_configuration.container_tags #=> Array
|
1427
|
+
# resp.distribution_configuration.distributions[0].container_distribution_configuration.container_tags[0] #=> String
|
1428
|
+
# resp.distribution_configuration.distributions[0].container_distribution_configuration.target_repository.service #=> String, one of "ECR"
|
1429
|
+
# resp.distribution_configuration.distributions[0].container_distribution_configuration.target_repository.repository_name #=> String
|
1190
1430
|
# resp.distribution_configuration.distributions[0].license_configuration_arns #=> Array
|
1191
1431
|
# resp.distribution_configuration.distributions[0].license_configuration_arns[0] #=> String
|
1192
1432
|
# resp.distribution_configuration.timeout_minutes #=> Integer
|
@@ -1224,6 +1464,7 @@ module Aws::Imagebuilder
|
|
1224
1464
|
#
|
1225
1465
|
# resp.request_id #=> String
|
1226
1466
|
# resp.image.arn #=> String
|
1467
|
+
# resp.image.type #=> String, one of "AMI", "DOCKER"
|
1227
1468
|
# resp.image.name #=> String
|
1228
1469
|
# resp.image.version #=> String
|
1229
1470
|
# resp.image.platform #=> String, one of "Windows", "Linux"
|
@@ -1232,6 +1473,7 @@ module Aws::Imagebuilder
|
|
1232
1473
|
# resp.image.state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
|
1233
1474
|
# resp.image.state.reason #=> String
|
1234
1475
|
# resp.image.image_recipe.arn #=> String
|
1476
|
+
# resp.image.image_recipe.type #=> String, one of "AMI", "DOCKER"
|
1235
1477
|
# resp.image.image_recipe.name #=> String
|
1236
1478
|
# resp.image.image_recipe.description #=> String
|
1237
1479
|
# resp.image.image_recipe.platform #=> String, one of "Windows", "Linux"
|
@@ -1248,13 +1490,32 @@ module Aws::Imagebuilder
|
|
1248
1490
|
# resp.image.image_recipe.block_device_mappings[0].ebs.kms_key_id #=> String
|
1249
1491
|
# resp.image.image_recipe.block_device_mappings[0].ebs.snapshot_id #=> String
|
1250
1492
|
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_size #=> Integer
|
1251
|
-
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
1493
|
+
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "gp3", "sc1", "st1"
|
1252
1494
|
# resp.image.image_recipe.block_device_mappings[0].virtual_name #=> String
|
1253
1495
|
# resp.image.image_recipe.block_device_mappings[0].no_device #=> String
|
1254
1496
|
# resp.image.image_recipe.date_created #=> String
|
1255
1497
|
# resp.image.image_recipe.tags #=> Hash
|
1256
1498
|
# resp.image.image_recipe.tags["TagKey"] #=> String
|
1257
1499
|
# resp.image.image_recipe.working_directory #=> String
|
1500
|
+
# resp.image.container_recipe.arn #=> String
|
1501
|
+
# resp.image.container_recipe.container_type #=> String, one of "DOCKER"
|
1502
|
+
# resp.image.container_recipe.name #=> String
|
1503
|
+
# resp.image.container_recipe.description #=> String
|
1504
|
+
# resp.image.container_recipe.platform #=> String, one of "Windows", "Linux"
|
1505
|
+
# resp.image.container_recipe.owner #=> String
|
1506
|
+
# resp.image.container_recipe.version #=> String
|
1507
|
+
# resp.image.container_recipe.components #=> Array
|
1508
|
+
# resp.image.container_recipe.components[0].component_arn #=> String
|
1509
|
+
# resp.image.container_recipe.dockerfile_template_data #=> String
|
1510
|
+
# resp.image.container_recipe.kms_key_id #=> String
|
1511
|
+
# resp.image.container_recipe.encrypted #=> Boolean
|
1512
|
+
# resp.image.container_recipe.parent_image #=> String
|
1513
|
+
# resp.image.container_recipe.date_created #=> String
|
1514
|
+
# resp.image.container_recipe.tags #=> Hash
|
1515
|
+
# resp.image.container_recipe.tags["TagKey"] #=> String
|
1516
|
+
# resp.image.container_recipe.working_directory #=> String
|
1517
|
+
# resp.image.container_recipe.target_repository.service #=> String, one of "ECR"
|
1518
|
+
# resp.image.container_recipe.target_repository.repository_name #=> String
|
1258
1519
|
# resp.image.source_pipeline_name #=> String
|
1259
1520
|
# resp.image.source_pipeline_arn #=> String
|
1260
1521
|
# resp.image.infrastructure_configuration.arn #=> String
|
@@ -1284,6 +1545,8 @@ module Aws::Imagebuilder
|
|
1284
1545
|
# resp.image.distribution_configuration.distributions[0].region #=> String
|
1285
1546
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.name #=> String
|
1286
1547
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.description #=> String
|
1548
|
+
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.target_account_ids #=> Array
|
1549
|
+
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.target_account_ids[0] #=> String
|
1287
1550
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.ami_tags #=> Hash
|
1288
1551
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.ami_tags["TagKey"] #=> String
|
1289
1552
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.kms_key_id #=> String
|
@@ -1291,6 +1554,11 @@ module Aws::Imagebuilder
|
|
1291
1554
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids[0] #=> String
|
1292
1555
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups #=> Array
|
1293
1556
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups[0] #=> String
|
1557
|
+
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.description #=> String
|
1558
|
+
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.container_tags #=> Array
|
1559
|
+
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.container_tags[0] #=> String
|
1560
|
+
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.target_repository.service #=> String, one of "ECR"
|
1561
|
+
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.target_repository.repository_name #=> String
|
1294
1562
|
# resp.image.distribution_configuration.distributions[0].license_configuration_arns #=> Array
|
1295
1563
|
# resp.image.distribution_configuration.distributions[0].license_configuration_arns[0] #=> String
|
1296
1564
|
# resp.image.distribution_configuration.timeout_minutes #=> Integer
|
@@ -1308,6 +1576,11 @@ module Aws::Imagebuilder
|
|
1308
1576
|
# resp.image.output_resources.amis[0].description #=> String
|
1309
1577
|
# resp.image.output_resources.amis[0].state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
|
1310
1578
|
# resp.image.output_resources.amis[0].state.reason #=> String
|
1579
|
+
# resp.image.output_resources.amis[0].account_id #=> String
|
1580
|
+
# resp.image.output_resources.containers #=> Array
|
1581
|
+
# resp.image.output_resources.containers[0].region #=> String
|
1582
|
+
# resp.image.output_resources.containers[0].image_uris #=> Array
|
1583
|
+
# resp.image.output_resources.containers[0].image_uris[0] #=> String
|
1311
1584
|
# resp.image.tags #=> Hash
|
1312
1585
|
# resp.image.tags["TagKey"] #=> String
|
1313
1586
|
#
|
@@ -1346,11 +1619,13 @@ module Aws::Imagebuilder
|
|
1346
1619
|
# resp.image_pipeline.platform #=> String, one of "Windows", "Linux"
|
1347
1620
|
# resp.image_pipeline.enhanced_image_metadata_enabled #=> Boolean
|
1348
1621
|
# resp.image_pipeline.image_recipe_arn #=> String
|
1622
|
+
# resp.image_pipeline.container_recipe_arn #=> String
|
1349
1623
|
# resp.image_pipeline.infrastructure_configuration_arn #=> String
|
1350
1624
|
# resp.image_pipeline.distribution_configuration_arn #=> String
|
1351
1625
|
# resp.image_pipeline.image_tests_configuration.image_tests_enabled #=> Boolean
|
1352
1626
|
# resp.image_pipeline.image_tests_configuration.timeout_minutes #=> Integer
|
1353
1627
|
# resp.image_pipeline.schedule.schedule_expression #=> String
|
1628
|
+
# resp.image_pipeline.schedule.timezone #=> String
|
1354
1629
|
# resp.image_pipeline.schedule.pipeline_execution_start_condition #=> String, one of "EXPRESSION_MATCH_ONLY", "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE"
|
1355
1630
|
# resp.image_pipeline.status #=> String, one of "DISABLED", "ENABLED"
|
1356
1631
|
# resp.image_pipeline.date_created #=> String
|
@@ -1421,6 +1696,7 @@ module Aws::Imagebuilder
|
|
1421
1696
|
#
|
1422
1697
|
# resp.request_id #=> String
|
1423
1698
|
# resp.image_recipe.arn #=> String
|
1699
|
+
# resp.image_recipe.type #=> String, one of "AMI", "DOCKER"
|
1424
1700
|
# resp.image_recipe.name #=> String
|
1425
1701
|
# resp.image_recipe.description #=> String
|
1426
1702
|
# resp.image_recipe.platform #=> String, one of "Windows", "Linux"
|
@@ -1437,7 +1713,7 @@ module Aws::Imagebuilder
|
|
1437
1713
|
# resp.image_recipe.block_device_mappings[0].ebs.kms_key_id #=> String
|
1438
1714
|
# resp.image_recipe.block_device_mappings[0].ebs.snapshot_id #=> String
|
1439
1715
|
# resp.image_recipe.block_device_mappings[0].ebs.volume_size #=> Integer
|
1440
|
-
# resp.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
1716
|
+
# resp.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "gp3", "sc1", "st1"
|
1441
1717
|
# resp.image_recipe.block_device_mappings[0].virtual_name #=> String
|
1442
1718
|
# resp.image_recipe.block_device_mappings[0].no_device #=> String
|
1443
1719
|
# resp.image_recipe.date_created #=> String
|
@@ -1653,7 +1929,7 @@ module Aws::Imagebuilder
|
|
1653
1929
|
# resp = client.list_component_build_versions({
|
1654
1930
|
# component_version_arn: "ComponentVersionArn", # required
|
1655
1931
|
# max_results: 1,
|
1656
|
-
# next_token: "
|
1932
|
+
# next_token: "PaginationToken",
|
1657
1933
|
# })
|
1658
1934
|
#
|
1659
1935
|
# @example Response structure
|
@@ -1697,6 +1973,10 @@ module Aws::Imagebuilder
|
|
1697
1973
|
# @option params [Array<Types::Filter>] :filters
|
1698
1974
|
# The filters.
|
1699
1975
|
#
|
1976
|
+
# @option params [Boolean] :by_name
|
1977
|
+
# Returns the list of component build versions for the specified
|
1978
|
+
# semantic version.
|
1979
|
+
#
|
1700
1980
|
# @option params [Integer] :max_results
|
1701
1981
|
# The maximum items to return in a request.
|
1702
1982
|
#
|
@@ -1722,8 +2002,9 @@ module Aws::Imagebuilder
|
|
1722
2002
|
# values: ["FilterValue"],
|
1723
2003
|
# },
|
1724
2004
|
# ],
|
2005
|
+
# by_name: false,
|
1725
2006
|
# max_results: 1,
|
1726
|
-
# next_token: "
|
2007
|
+
# next_token: "PaginationToken",
|
1727
2008
|
# })
|
1728
2009
|
#
|
1729
2010
|
# @example Response structure
|
@@ -1751,6 +2032,71 @@ module Aws::Imagebuilder
|
|
1751
2032
|
req.send_request(options)
|
1752
2033
|
end
|
1753
2034
|
|
2035
|
+
# Returns a list of container recipes.
|
2036
|
+
#
|
2037
|
+
# @option params [String] :owner
|
2038
|
+
# Returns container recipes belonging to the specified owner, that have
|
2039
|
+
# been shared with you. You can omit this field to return container
|
2040
|
+
# recipes belonging to your account.
|
2041
|
+
#
|
2042
|
+
# @option params [Array<Types::Filter>] :filters
|
2043
|
+
# Request filters that are used to narrow the list of container images
|
2044
|
+
# that are returned.
|
2045
|
+
#
|
2046
|
+
# @option params [Integer] :max_results
|
2047
|
+
# The maximum number of results to return in the list.
|
2048
|
+
#
|
2049
|
+
# @option params [String] :next_token
|
2050
|
+
# Provides a token for pagination, which determines where to begin the
|
2051
|
+
# next set of results when the current set reaches the maximum for one
|
2052
|
+
# request.
|
2053
|
+
#
|
2054
|
+
# @return [Types::ListContainerRecipesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2055
|
+
#
|
2056
|
+
# * {Types::ListContainerRecipesResponse#request_id #request_id} => String
|
2057
|
+
# * {Types::ListContainerRecipesResponse#container_recipe_summary_list #container_recipe_summary_list} => Array<Types::ContainerRecipeSummary>
|
2058
|
+
# * {Types::ListContainerRecipesResponse#next_token #next_token} => String
|
2059
|
+
#
|
2060
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2061
|
+
#
|
2062
|
+
# @example Request syntax with placeholder values
|
2063
|
+
#
|
2064
|
+
# resp = client.list_container_recipes({
|
2065
|
+
# owner: "Self", # accepts Self, Shared, Amazon
|
2066
|
+
# filters: [
|
2067
|
+
# {
|
2068
|
+
# name: "FilterName",
|
2069
|
+
# values: ["FilterValue"],
|
2070
|
+
# },
|
2071
|
+
# ],
|
2072
|
+
# max_results: 1,
|
2073
|
+
# next_token: "NonEmptyString",
|
2074
|
+
# })
|
2075
|
+
#
|
2076
|
+
# @example Response structure
|
2077
|
+
#
|
2078
|
+
# resp.request_id #=> String
|
2079
|
+
# resp.container_recipe_summary_list #=> Array
|
2080
|
+
# resp.container_recipe_summary_list[0].arn #=> String
|
2081
|
+
# resp.container_recipe_summary_list[0].container_type #=> String, one of "DOCKER"
|
2082
|
+
# resp.container_recipe_summary_list[0].name #=> String
|
2083
|
+
# resp.container_recipe_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
2084
|
+
# resp.container_recipe_summary_list[0].owner #=> String
|
2085
|
+
# resp.container_recipe_summary_list[0].parent_image #=> String
|
2086
|
+
# resp.container_recipe_summary_list[0].date_created #=> String
|
2087
|
+
# resp.container_recipe_summary_list[0].tags #=> Hash
|
2088
|
+
# resp.container_recipe_summary_list[0].tags["TagKey"] #=> String
|
2089
|
+
# resp.next_token #=> String
|
2090
|
+
#
|
2091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListContainerRecipes AWS API Documentation
|
2092
|
+
#
|
2093
|
+
# @overload list_container_recipes(params = {})
|
2094
|
+
# @param [Hash] params ({})
|
2095
|
+
def list_container_recipes(params = {}, options = {})
|
2096
|
+
req = build_request(:list_container_recipes, params)
|
2097
|
+
req.send_request(options)
|
2098
|
+
end
|
2099
|
+
|
1754
2100
|
# Returns a list of distribution configurations.
|
1755
2101
|
#
|
1756
2102
|
# @option params [Array<Types::Filter>] :filters
|
@@ -1785,7 +2131,7 @@ module Aws::Imagebuilder
|
|
1785
2131
|
# },
|
1786
2132
|
# ],
|
1787
2133
|
# max_results: 1,
|
1788
|
-
# next_token: "
|
2134
|
+
# next_token: "PaginationToken",
|
1789
2135
|
# })
|
1790
2136
|
#
|
1791
2137
|
# @example Response structure
|
@@ -1799,6 +2145,8 @@ module Aws::Imagebuilder
|
|
1799
2145
|
# resp.distribution_configuration_summary_list[0].date_updated #=> String
|
1800
2146
|
# resp.distribution_configuration_summary_list[0].tags #=> Hash
|
1801
2147
|
# resp.distribution_configuration_summary_list[0].tags["TagKey"] #=> String
|
2148
|
+
# resp.distribution_configuration_summary_list[0].regions #=> Array
|
2149
|
+
# resp.distribution_configuration_summary_list[0].regions[0] #=> String
|
1802
2150
|
# resp.next_token #=> String
|
1803
2151
|
#
|
1804
2152
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListDistributionConfigurations AWS API Documentation
|
@@ -1845,7 +2193,7 @@ module Aws::Imagebuilder
|
|
1845
2193
|
# },
|
1846
2194
|
# ],
|
1847
2195
|
# max_results: 1,
|
1848
|
-
# next_token: "
|
2196
|
+
# next_token: "PaginationToken",
|
1849
2197
|
# })
|
1850
2198
|
#
|
1851
2199
|
# @example Response structure
|
@@ -1854,6 +2202,7 @@ module Aws::Imagebuilder
|
|
1854
2202
|
# resp.image_summary_list #=> Array
|
1855
2203
|
# resp.image_summary_list[0].arn #=> String
|
1856
2204
|
# resp.image_summary_list[0].name #=> String
|
2205
|
+
# resp.image_summary_list[0].type #=> String, one of "AMI", "DOCKER"
|
1857
2206
|
# resp.image_summary_list[0].version #=> String
|
1858
2207
|
# resp.image_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
1859
2208
|
# resp.image_summary_list[0].os_version #=> String
|
@@ -1868,6 +2217,11 @@ module Aws::Imagebuilder
|
|
1868
2217
|
# resp.image_summary_list[0].output_resources.amis[0].description #=> String
|
1869
2218
|
# resp.image_summary_list[0].output_resources.amis[0].state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
|
1870
2219
|
# resp.image_summary_list[0].output_resources.amis[0].state.reason #=> String
|
2220
|
+
# resp.image_summary_list[0].output_resources.amis[0].account_id #=> String
|
2221
|
+
# resp.image_summary_list[0].output_resources.containers #=> Array
|
2222
|
+
# resp.image_summary_list[0].output_resources.containers[0].region #=> String
|
2223
|
+
# resp.image_summary_list[0].output_resources.containers[0].image_uris #=> Array
|
2224
|
+
# resp.image_summary_list[0].output_resources.containers[0].image_uris[0] #=> String
|
1871
2225
|
# resp.image_summary_list[0].tags #=> Hash
|
1872
2226
|
# resp.image_summary_list[0].tags["TagKey"] #=> String
|
1873
2227
|
# resp.next_token #=> String
|
@@ -1881,6 +2235,54 @@ module Aws::Imagebuilder
|
|
1881
2235
|
req.send_request(options)
|
1882
2236
|
end
|
1883
2237
|
|
2238
|
+
# List the Packages that are associated with an Image Build Version, as
|
2239
|
+
# determined by AWS Systems Manager Inventory at build time.
|
2240
|
+
#
|
2241
|
+
# @option params [required, String] :image_build_version_arn
|
2242
|
+
# Filter results for the ListImagePackages request by the Image Build
|
2243
|
+
# Version ARN
|
2244
|
+
#
|
2245
|
+
# @option params [Integer] :max_results
|
2246
|
+
# The maxiumum number of results to return from the ListImagePackages
|
2247
|
+
# request.
|
2248
|
+
#
|
2249
|
+
# @option params [String] :next_token
|
2250
|
+
# A token to specify where to start paginating. This is the NextToken
|
2251
|
+
# from a previously truncated response.
|
2252
|
+
#
|
2253
|
+
# @return [Types::ListImagePackagesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2254
|
+
#
|
2255
|
+
# * {Types::ListImagePackagesResponse#request_id #request_id} => String
|
2256
|
+
# * {Types::ListImagePackagesResponse#image_package_list #image_package_list} => Array<Types::ImagePackage>
|
2257
|
+
# * {Types::ListImagePackagesResponse#next_token #next_token} => String
|
2258
|
+
#
|
2259
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2260
|
+
#
|
2261
|
+
# @example Request syntax with placeholder values
|
2262
|
+
#
|
2263
|
+
# resp = client.list_image_packages({
|
2264
|
+
# image_build_version_arn: "ImageBuildVersionArn", # required
|
2265
|
+
# max_results: 1,
|
2266
|
+
# next_token: "PaginationToken",
|
2267
|
+
# })
|
2268
|
+
#
|
2269
|
+
# @example Response structure
|
2270
|
+
#
|
2271
|
+
# resp.request_id #=> String
|
2272
|
+
# resp.image_package_list #=> Array
|
2273
|
+
# resp.image_package_list[0].package_name #=> String
|
2274
|
+
# resp.image_package_list[0].package_version #=> String
|
2275
|
+
# resp.next_token #=> String
|
2276
|
+
#
|
2277
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePackages AWS API Documentation
|
2278
|
+
#
|
2279
|
+
# @overload list_image_packages(params = {})
|
2280
|
+
# @param [Hash] params ({})
|
2281
|
+
def list_image_packages(params = {}, options = {})
|
2282
|
+
req = build_request(:list_image_packages, params)
|
2283
|
+
req.send_request(options)
|
2284
|
+
end
|
2285
|
+
|
1884
2286
|
# Returns a list of images created by the specified pipeline.
|
1885
2287
|
#
|
1886
2288
|
# @option params [required, String] :image_pipeline_arn
|
@@ -1916,7 +2318,7 @@ module Aws::Imagebuilder
|
|
1916
2318
|
# },
|
1917
2319
|
# ],
|
1918
2320
|
# max_results: 1,
|
1919
|
-
# next_token: "
|
2321
|
+
# next_token: "PaginationToken",
|
1920
2322
|
# })
|
1921
2323
|
#
|
1922
2324
|
# @example Response structure
|
@@ -1925,6 +2327,7 @@ module Aws::Imagebuilder
|
|
1925
2327
|
# resp.image_summary_list #=> Array
|
1926
2328
|
# resp.image_summary_list[0].arn #=> String
|
1927
2329
|
# resp.image_summary_list[0].name #=> String
|
2330
|
+
# resp.image_summary_list[0].type #=> String, one of "AMI", "DOCKER"
|
1928
2331
|
# resp.image_summary_list[0].version #=> String
|
1929
2332
|
# resp.image_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
1930
2333
|
# resp.image_summary_list[0].os_version #=> String
|
@@ -1939,6 +2342,11 @@ module Aws::Imagebuilder
|
|
1939
2342
|
# resp.image_summary_list[0].output_resources.amis[0].description #=> String
|
1940
2343
|
# resp.image_summary_list[0].output_resources.amis[0].state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
|
1941
2344
|
# resp.image_summary_list[0].output_resources.amis[0].state.reason #=> String
|
2345
|
+
# resp.image_summary_list[0].output_resources.amis[0].account_id #=> String
|
2346
|
+
# resp.image_summary_list[0].output_resources.containers #=> Array
|
2347
|
+
# resp.image_summary_list[0].output_resources.containers[0].region #=> String
|
2348
|
+
# resp.image_summary_list[0].output_resources.containers[0].image_uris #=> Array
|
2349
|
+
# resp.image_summary_list[0].output_resources.containers[0].image_uris[0] #=> String
|
1942
2350
|
# resp.image_summary_list[0].tags #=> Hash
|
1943
2351
|
# resp.image_summary_list[0].tags["TagKey"] #=> String
|
1944
2352
|
# resp.next_token #=> String
|
@@ -1982,7 +2390,7 @@ module Aws::Imagebuilder
|
|
1982
2390
|
# },
|
1983
2391
|
# ],
|
1984
2392
|
# max_results: 1,
|
1985
|
-
# next_token: "
|
2393
|
+
# next_token: "PaginationToken",
|
1986
2394
|
# })
|
1987
2395
|
#
|
1988
2396
|
# @example Response structure
|
@@ -1995,11 +2403,13 @@ module Aws::Imagebuilder
|
|
1995
2403
|
# resp.image_pipeline_list[0].platform #=> String, one of "Windows", "Linux"
|
1996
2404
|
# resp.image_pipeline_list[0].enhanced_image_metadata_enabled #=> Boolean
|
1997
2405
|
# resp.image_pipeline_list[0].image_recipe_arn #=> String
|
2406
|
+
# resp.image_pipeline_list[0].container_recipe_arn #=> String
|
1998
2407
|
# resp.image_pipeline_list[0].infrastructure_configuration_arn #=> String
|
1999
2408
|
# resp.image_pipeline_list[0].distribution_configuration_arn #=> String
|
2000
2409
|
# resp.image_pipeline_list[0].image_tests_configuration.image_tests_enabled #=> Boolean
|
2001
2410
|
# resp.image_pipeline_list[0].image_tests_configuration.timeout_minutes #=> Integer
|
2002
2411
|
# resp.image_pipeline_list[0].schedule.schedule_expression #=> String
|
2412
|
+
# resp.image_pipeline_list[0].schedule.timezone #=> String
|
2003
2413
|
# resp.image_pipeline_list[0].schedule.pipeline_execution_start_condition #=> String, one of "EXPRESSION_MATCH_ONLY", "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE"
|
2004
2414
|
# resp.image_pipeline_list[0].status #=> String, one of "DISABLED", "ENABLED"
|
2005
2415
|
# resp.image_pipeline_list[0].date_created #=> String
|
@@ -2057,7 +2467,7 @@ module Aws::Imagebuilder
|
|
2057
2467
|
# },
|
2058
2468
|
# ],
|
2059
2469
|
# max_results: 1,
|
2060
|
-
# next_token: "
|
2470
|
+
# next_token: "PaginationToken",
|
2061
2471
|
# })
|
2062
2472
|
#
|
2063
2473
|
# @example Response structure
|
@@ -2095,6 +2505,9 @@ module Aws::Imagebuilder
|
|
2095
2505
|
# @option params [Array<Types::Filter>] :filters
|
2096
2506
|
# The filters.
|
2097
2507
|
#
|
2508
|
+
# @option params [Boolean] :by_name
|
2509
|
+
# Requests a list of images with a specific recipe name.
|
2510
|
+
#
|
2098
2511
|
# @option params [Integer] :max_results
|
2099
2512
|
# The maximum items to return in a request.
|
2100
2513
|
#
|
@@ -2102,6 +2515,9 @@ module Aws::Imagebuilder
|
|
2102
2515
|
# A token to specify where to start paginating. This is the NextToken
|
2103
2516
|
# from a previously truncated response.
|
2104
2517
|
#
|
2518
|
+
# @option params [Boolean] :include_deprecated
|
2519
|
+
# Includes deprecated images in the response list.
|
2520
|
+
#
|
2105
2521
|
# @return [Types::ListImagesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2106
2522
|
#
|
2107
2523
|
# * {Types::ListImagesResponse#request_id #request_id} => String
|
@@ -2120,8 +2536,10 @@ module Aws::Imagebuilder
|
|
2120
2536
|
# values: ["FilterValue"],
|
2121
2537
|
# },
|
2122
2538
|
# ],
|
2539
|
+
# by_name: false,
|
2123
2540
|
# max_results: 1,
|
2124
|
-
# next_token: "
|
2541
|
+
# next_token: "PaginationToken",
|
2542
|
+
# include_deprecated: false,
|
2125
2543
|
# })
|
2126
2544
|
#
|
2127
2545
|
# @example Response structure
|
@@ -2130,6 +2548,7 @@ module Aws::Imagebuilder
|
|
2130
2548
|
# resp.image_version_list #=> Array
|
2131
2549
|
# resp.image_version_list[0].arn #=> String
|
2132
2550
|
# resp.image_version_list[0].name #=> String
|
2551
|
+
# resp.image_version_list[0].type #=> String, one of "AMI", "DOCKER"
|
2133
2552
|
# resp.image_version_list[0].version #=> String
|
2134
2553
|
# resp.image_version_list[0].platform #=> String, one of "Windows", "Linux"
|
2135
2554
|
# resp.image_version_list[0].os_version #=> String
|
@@ -2176,7 +2595,7 @@ module Aws::Imagebuilder
|
|
2176
2595
|
# },
|
2177
2596
|
# ],
|
2178
2597
|
# max_results: 1,
|
2179
|
-
# next_token: "
|
2598
|
+
# next_token: "PaginationToken",
|
2180
2599
|
# })
|
2181
2600
|
#
|
2182
2601
|
# @example Response structure
|
@@ -2192,6 +2611,9 @@ module Aws::Imagebuilder
|
|
2192
2611
|
# resp.infrastructure_configuration_summary_list[0].resource_tags["TagKey"] #=> String
|
2193
2612
|
# resp.infrastructure_configuration_summary_list[0].tags #=> Hash
|
2194
2613
|
# resp.infrastructure_configuration_summary_list[0].tags["TagKey"] #=> String
|
2614
|
+
# resp.infrastructure_configuration_summary_list[0].instance_types #=> Array
|
2615
|
+
# resp.infrastructure_configuration_summary_list[0].instance_types[0] #=> String
|
2616
|
+
# resp.infrastructure_configuration_summary_list[0].instance_profile_name #=> String
|
2195
2617
|
# resp.next_token #=> String
|
2196
2618
|
#
|
2197
2619
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListInfrastructureConfigurations AWS API Documentation
|
@@ -2277,6 +2699,49 @@ module Aws::Imagebuilder
|
|
2277
2699
|
req.send_request(options)
|
2278
2700
|
end
|
2279
2701
|
|
2702
|
+
# Applies a policy to a container image. We recommend that you call the
|
2703
|
+
# RAM API CreateResourceShare
|
2704
|
+
# (https://docs.aws.amazon.com/ram/latest/APIReference/API\_CreateResourceShare.html)
|
2705
|
+
# to share resources. If you call the Image Builder API
|
2706
|
+
# `PutContainerImagePolicy`, you must also call the RAM API
|
2707
|
+
# PromoteResourceShareCreatedFromPolicy
|
2708
|
+
# (https://docs.aws.amazon.com/ram/latest/APIReference/API\_PromoteResourceShareCreatedFromPolicy.html)
|
2709
|
+
# in order for the resource to be visible to all principals with whom
|
2710
|
+
# the resource is shared.
|
2711
|
+
#
|
2712
|
+
# @option params [required, String] :container_recipe_arn
|
2713
|
+
# The Amazon Resource Name (ARN) of the container recipe that this
|
2714
|
+
# policy should be applied to.
|
2715
|
+
#
|
2716
|
+
# @option params [required, String] :policy
|
2717
|
+
# The policy to apply to the container recipe.
|
2718
|
+
#
|
2719
|
+
# @return [Types::PutContainerRecipePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2720
|
+
#
|
2721
|
+
# * {Types::PutContainerRecipePolicyResponse#request_id #request_id} => String
|
2722
|
+
# * {Types::PutContainerRecipePolicyResponse#container_recipe_arn #container_recipe_arn} => String
|
2723
|
+
#
|
2724
|
+
# @example Request syntax with placeholder values
|
2725
|
+
#
|
2726
|
+
# resp = client.put_container_recipe_policy({
|
2727
|
+
# container_recipe_arn: "ContainerRecipeArn", # required
|
2728
|
+
# policy: "ResourcePolicyDocument", # required
|
2729
|
+
# })
|
2730
|
+
#
|
2731
|
+
# @example Response structure
|
2732
|
+
#
|
2733
|
+
# resp.request_id #=> String
|
2734
|
+
# resp.container_recipe_arn #=> String
|
2735
|
+
#
|
2736
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutContainerRecipePolicy AWS API Documentation
|
2737
|
+
#
|
2738
|
+
# @overload put_container_recipe_policy(params = {})
|
2739
|
+
# @param [Hash] params ({})
|
2740
|
+
def put_container_recipe_policy(params = {}, options = {})
|
2741
|
+
req = build_request(:put_container_recipe_policy, params)
|
2742
|
+
req.send_request(options)
|
2743
|
+
end
|
2744
|
+
|
2280
2745
|
# Applies a policy to an image. We recommend that you call the RAM API
|
2281
2746
|
# [CreateResourceShare][1] to share resources. If you call the Image
|
2282
2747
|
# Builder API `PutImagePolicy`, you must also call the RAM API
|
@@ -2496,16 +2961,25 @@ module Aws::Imagebuilder
|
|
2496
2961
|
# ami_distribution_configuration: {
|
2497
2962
|
# name: "AmiNameString",
|
2498
2963
|
# description: "NonEmptyString",
|
2964
|
+
# target_account_ids: ["AccountId"],
|
2499
2965
|
# ami_tags: {
|
2500
2966
|
# "TagKey" => "TagValue",
|
2501
2967
|
# },
|
2502
2968
|
# kms_key_id: "NonEmptyString",
|
2503
2969
|
# launch_permission: {
|
2504
|
-
# user_ids: ["
|
2970
|
+
# user_ids: ["AccountId"],
|
2505
2971
|
# user_groups: ["NonEmptyString"],
|
2506
2972
|
# },
|
2507
2973
|
# },
|
2508
|
-
#
|
2974
|
+
# container_distribution_configuration: {
|
2975
|
+
# description: "NonEmptyString",
|
2976
|
+
# container_tags: ["NonEmptyString"],
|
2977
|
+
# target_repository: { # required
|
2978
|
+
# service: "ECR", # required, accepts ECR
|
2979
|
+
# repository_name: "NonEmptyString", # required
|
2980
|
+
# },
|
2981
|
+
# },
|
2982
|
+
# license_configuration_arns: ["LicenseConfigurationArn"],
|
2509
2983
|
# },
|
2510
2984
|
# ],
|
2511
2985
|
# client_token: "ClientToken", # required
|
@@ -2536,10 +3010,13 @@ module Aws::Imagebuilder
|
|
2536
3010
|
# @option params [String] :description
|
2537
3011
|
# The description of the image pipeline.
|
2538
3012
|
#
|
2539
|
-
# @option params [
|
3013
|
+
# @option params [String] :image_recipe_arn
|
2540
3014
|
# The Amazon Resource Name (ARN) of the image recipe that will be used
|
2541
3015
|
# to configure images updated by this image pipeline.
|
2542
3016
|
#
|
3017
|
+
# @option params [String] :container_recipe_arn
|
3018
|
+
# The Amazon Resource Name (ARN) of the container pipeline to update.
|
3019
|
+
#
|
2543
3020
|
# @option params [required, String] :infrastructure_configuration_arn
|
2544
3021
|
# The Amazon Resource Name (ARN) of the infrastructure configuration
|
2545
3022
|
# that will be used to build images updated by this image pipeline.
|
@@ -2581,7 +3058,8 @@ module Aws::Imagebuilder
|
|
2581
3058
|
# resp = client.update_image_pipeline({
|
2582
3059
|
# image_pipeline_arn: "ImagePipelineArn", # required
|
2583
3060
|
# description: "NonEmptyString",
|
2584
|
-
# image_recipe_arn: "ImageRecipeArn",
|
3061
|
+
# image_recipe_arn: "ImageRecipeArn",
|
3062
|
+
# container_recipe_arn: "ContainerRecipeArn",
|
2585
3063
|
# infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
|
2586
3064
|
# distribution_configuration_arn: "DistributionConfigurationArn",
|
2587
3065
|
# image_tests_configuration: {
|
@@ -2591,6 +3069,7 @@ module Aws::Imagebuilder
|
|
2591
3069
|
# enhanced_image_metadata_enabled: false,
|
2592
3070
|
# schedule: {
|
2593
3071
|
# schedule_expression: "NonEmptyString",
|
3072
|
+
# timezone: "Timezone",
|
2594
3073
|
# pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
|
2595
3074
|
# },
|
2596
3075
|
# status: "DISABLED", # accepts DISABLED, ENABLED
|
@@ -2722,7 +3201,7 @@ module Aws::Imagebuilder
|
|
2722
3201
|
params: params,
|
2723
3202
|
config: config)
|
2724
3203
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
2725
|
-
context[:gem_version] = '1.
|
3204
|
+
context[:gem_version] = '1.19.0'
|
2726
3205
|
Seahorse::Client::Request.new(handlers, context)
|
2727
3206
|
end
|
2728
3207
|
|