aws-sdk-imagebuilder 1.12.0 → 1.17.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 +3 -2
- data/lib/aws-sdk-imagebuilder/client.rb +476 -37
- data/lib/aws-sdk-imagebuilder/client_api.rb +281 -26
- data/lib/aws-sdk-imagebuilder/types.rb +780 -38
- 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: 6acfd7d15d57a601b11e0e9a96e5c4c0b06fdc56b1405cf77b35824cce202175
|
4
|
+
data.tar.gz: 7955561c7439b7497bd77baa32c6dfb4ec835750907339fca2dfc8a06eaad206
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 430b3d013fddc9b205e11ecaad4f3afc98a12a91283f0193442a6f804890291c55c963b75d0503251849e3a7190816179787f6506a0e47ca097f86c3810c200c
|
7
|
+
data.tar.gz: 5d058cef1c38afac0628cdf83d205d799d3975979cce59d87651f836cf97de7b47f0c04034a88c084cd88fc1256272662633186040f145aac41d323b6addb21f
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-imagebuilder/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::Imagebuilder
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.17.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::Imagebuilder
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::Imagebuilder
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -442,6 +457,112 @@ module Aws::Imagebuilder
|
|
442
457
|
req.send_request(options)
|
443
458
|
end
|
444
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
|
+
|
445
566
|
# Creates a new distribution configuration. Distribution configurations
|
446
567
|
# define and configure the outputs of your pipeline.
|
447
568
|
#
|
@@ -480,16 +601,25 @@ module Aws::Imagebuilder
|
|
480
601
|
# ami_distribution_configuration: {
|
481
602
|
# name: "AmiNameString",
|
482
603
|
# description: "NonEmptyString",
|
604
|
+
# target_account_ids: ["AccountId"],
|
483
605
|
# ami_tags: {
|
484
606
|
# "TagKey" => "TagValue",
|
485
607
|
# },
|
486
608
|
# kms_key_id: "NonEmptyString",
|
487
609
|
# launch_permission: {
|
488
|
-
# user_ids: ["
|
610
|
+
# user_ids: ["AccountId"],
|
489
611
|
# user_groups: ["NonEmptyString"],
|
490
612
|
# },
|
491
613
|
# },
|
492
|
-
#
|
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"],
|
493
623
|
# },
|
494
624
|
# ],
|
495
625
|
# tags: {
|
@@ -517,10 +647,14 @@ module Aws::Imagebuilder
|
|
517
647
|
# all of the configured output resources defined in the distribution
|
518
648
|
# configuration.
|
519
649
|
#
|
520
|
-
# @option params [
|
650
|
+
# @option params [String] :image_recipe_arn
|
521
651
|
# The Amazon Resource Name (ARN) of the image recipe that defines how
|
522
652
|
# images are configured, tested, and assessed.
|
523
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
|
+
#
|
524
658
|
# @option params [String] :distribution_configuration_arn
|
525
659
|
# The Amazon Resource Name (ARN) of the distribution configuration that
|
526
660
|
# defines and configures the outputs of your pipeline.
|
@@ -557,7 +691,8 @@ module Aws::Imagebuilder
|
|
557
691
|
# @example Request syntax with placeholder values
|
558
692
|
#
|
559
693
|
# resp = client.create_image({
|
560
|
-
# image_recipe_arn: "ImageRecipeArn",
|
694
|
+
# image_recipe_arn: "ImageRecipeArn",
|
695
|
+
# container_recipe_arn: "ContainerRecipeArn",
|
561
696
|
# distribution_configuration_arn: "DistributionConfigurationArn",
|
562
697
|
# infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
|
563
698
|
# image_tests_configuration: {
|
@@ -595,10 +730,14 @@ module Aws::Imagebuilder
|
|
595
730
|
# @option params [String] :description
|
596
731
|
# The description of the image pipeline.
|
597
732
|
#
|
598
|
-
# @option params [
|
733
|
+
# @option params [String] :image_recipe_arn
|
599
734
|
# The Amazon Resource Name (ARN) of the image recipe that will be used
|
600
735
|
# to configure images created by this image pipeline.
|
601
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
|
+
#
|
602
741
|
# @option params [required, String] :infrastructure_configuration_arn
|
603
742
|
# The Amazon Resource Name (ARN) of the infrastructure configuration
|
604
743
|
# that will be used to build images created by this image pipeline.
|
@@ -643,7 +782,8 @@ module Aws::Imagebuilder
|
|
643
782
|
# resp = client.create_image_pipeline({
|
644
783
|
# name: "ResourceName", # required
|
645
784
|
# description: "NonEmptyString",
|
646
|
-
# image_recipe_arn: "ImageRecipeArn",
|
785
|
+
# image_recipe_arn: "ImageRecipeArn",
|
786
|
+
# container_recipe_arn: "ContainerRecipeArn",
|
647
787
|
# infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
|
648
788
|
# distribution_configuration_arn: "DistributionConfigurationArn",
|
649
789
|
# image_tests_configuration: {
|
@@ -696,13 +836,11 @@ module Aws::Imagebuilder
|
|
696
836
|
# The parent image of the image recipe. The value of the string can be
|
697
837
|
# the ARN of the parent image or an AMI ID. The format for the ARN
|
698
838
|
# follows this example:
|
699
|
-
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/
|
700
|
-
#
|
701
|
-
#
|
702
|
-
#
|
703
|
-
#
|
704
|
-
# value, you must have access to the AMI, and the AMI must be in the
|
705
|
-
# same Region in which you are using Image Builder.
|
839
|
+
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/xxxx.x.x`.
|
840
|
+
# You can provide the specific version that you want to use, or you can
|
841
|
+
# use a wildcard in all of the fields. If you enter an AMI ID for the
|
842
|
+
# string value, you must have access to the AMI, and the AMI must be in
|
843
|
+
# the same Region in which you are using Image Builder.
|
706
844
|
#
|
707
845
|
# @option params [Array<Types::InstanceBlockDeviceMapping>] :block_device_mappings
|
708
846
|
# The block device mappings of the image recipe.
|
@@ -747,7 +885,7 @@ module Aws::Imagebuilder
|
|
747
885
|
# kms_key_id: "NonEmptyString",
|
748
886
|
# snapshot_id: "NonEmptyString",
|
749
887
|
# volume_size: 1,
|
750
|
-
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
888
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
|
751
889
|
# },
|
752
890
|
# virtual_name: "NonEmptyString",
|
753
891
|
# no_device: "EmptyString",
|
@@ -909,6 +1047,36 @@ module Aws::Imagebuilder
|
|
909
1047
|
req.send_request(options)
|
910
1048
|
end
|
911
1049
|
|
1050
|
+
# Deletes a container recipe.
|
1051
|
+
#
|
1052
|
+
# @option params [required, String] :container_recipe_arn
|
1053
|
+
# The Amazon Resource Name (ARN) of the container recipe to delete.
|
1054
|
+
#
|
1055
|
+
# @return [Types::DeleteContainerRecipeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1056
|
+
#
|
1057
|
+
# * {Types::DeleteContainerRecipeResponse#request_id #request_id} => String
|
1058
|
+
# * {Types::DeleteContainerRecipeResponse#container_recipe_arn #container_recipe_arn} => String
|
1059
|
+
#
|
1060
|
+
# @example Request syntax with placeholder values
|
1061
|
+
#
|
1062
|
+
# resp = client.delete_container_recipe({
|
1063
|
+
# container_recipe_arn: "ContainerRecipeArn", # required
|
1064
|
+
# })
|
1065
|
+
#
|
1066
|
+
# @example Response structure
|
1067
|
+
#
|
1068
|
+
# resp.request_id #=> String
|
1069
|
+
# resp.container_recipe_arn #=> String
|
1070
|
+
#
|
1071
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteContainerRecipe AWS API Documentation
|
1072
|
+
#
|
1073
|
+
# @overload delete_container_recipe(params = {})
|
1074
|
+
# @param [Hash] params ({})
|
1075
|
+
def delete_container_recipe(params = {}, options = {})
|
1076
|
+
req = build_request(:delete_container_recipe, params)
|
1077
|
+
req.send_request(options)
|
1078
|
+
end
|
1079
|
+
|
912
1080
|
# Deletes a distribution configuration.
|
913
1081
|
#
|
914
1082
|
# @option params [required, String] :distribution_configuration_arn
|
@@ -1138,6 +1306,85 @@ module Aws::Imagebuilder
|
|
1138
1306
|
req.send_request(options)
|
1139
1307
|
end
|
1140
1308
|
|
1309
|
+
# Retrieves a container recipe.
|
1310
|
+
#
|
1311
|
+
# @option params [required, String] :container_recipe_arn
|
1312
|
+
# The Amazon Resource Name (ARN) of the container recipe to retrieve.
|
1313
|
+
#
|
1314
|
+
# @return [Types::GetContainerRecipeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1315
|
+
#
|
1316
|
+
# * {Types::GetContainerRecipeResponse#request_id #request_id} => String
|
1317
|
+
# * {Types::GetContainerRecipeResponse#container_recipe #container_recipe} => Types::ContainerRecipe
|
1318
|
+
#
|
1319
|
+
# @example Request syntax with placeholder values
|
1320
|
+
#
|
1321
|
+
# resp = client.get_container_recipe({
|
1322
|
+
# container_recipe_arn: "ContainerRecipeArn", # required
|
1323
|
+
# })
|
1324
|
+
#
|
1325
|
+
# @example Response structure
|
1326
|
+
#
|
1327
|
+
# resp.request_id #=> String
|
1328
|
+
# resp.container_recipe.arn #=> String
|
1329
|
+
# resp.container_recipe.container_type #=> String, one of "DOCKER"
|
1330
|
+
# resp.container_recipe.name #=> String
|
1331
|
+
# resp.container_recipe.description #=> String
|
1332
|
+
# resp.container_recipe.platform #=> String, one of "Windows", "Linux"
|
1333
|
+
# resp.container_recipe.owner #=> String
|
1334
|
+
# resp.container_recipe.version #=> String
|
1335
|
+
# resp.container_recipe.components #=> Array
|
1336
|
+
# resp.container_recipe.components[0].component_arn #=> String
|
1337
|
+
# resp.container_recipe.dockerfile_template_data #=> String
|
1338
|
+
# resp.container_recipe.kms_key_id #=> String
|
1339
|
+
# resp.container_recipe.encrypted #=> Boolean
|
1340
|
+
# resp.container_recipe.parent_image #=> String
|
1341
|
+
# resp.container_recipe.date_created #=> String
|
1342
|
+
# resp.container_recipe.tags #=> Hash
|
1343
|
+
# resp.container_recipe.tags["TagKey"] #=> String
|
1344
|
+
# resp.container_recipe.working_directory #=> String
|
1345
|
+
# resp.container_recipe.target_repository.service #=> String, one of "ECR"
|
1346
|
+
# resp.container_recipe.target_repository.repository_name #=> String
|
1347
|
+
#
|
1348
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipe AWS API Documentation
|
1349
|
+
#
|
1350
|
+
# @overload get_container_recipe(params = {})
|
1351
|
+
# @param [Hash] params ({})
|
1352
|
+
def get_container_recipe(params = {}, options = {})
|
1353
|
+
req = build_request(:get_container_recipe, params)
|
1354
|
+
req.send_request(options)
|
1355
|
+
end
|
1356
|
+
|
1357
|
+
# Retrieves the policy for a container recipe.
|
1358
|
+
#
|
1359
|
+
# @option params [required, String] :container_recipe_arn
|
1360
|
+
# The Amazon Resource Name (ARN) of the container recipe for the policy
|
1361
|
+
# being requested.
|
1362
|
+
#
|
1363
|
+
# @return [Types::GetContainerRecipePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1364
|
+
#
|
1365
|
+
# * {Types::GetContainerRecipePolicyResponse#request_id #request_id} => String
|
1366
|
+
# * {Types::GetContainerRecipePolicyResponse#policy #policy} => String
|
1367
|
+
#
|
1368
|
+
# @example Request syntax with placeholder values
|
1369
|
+
#
|
1370
|
+
# resp = client.get_container_recipe_policy({
|
1371
|
+
# container_recipe_arn: "ContainerRecipeArn", # required
|
1372
|
+
# })
|
1373
|
+
#
|
1374
|
+
# @example Response structure
|
1375
|
+
#
|
1376
|
+
# resp.request_id #=> String
|
1377
|
+
# resp.policy #=> String
|
1378
|
+
#
|
1379
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipePolicy AWS API Documentation
|
1380
|
+
#
|
1381
|
+
# @overload get_container_recipe_policy(params = {})
|
1382
|
+
# @param [Hash] params ({})
|
1383
|
+
def get_container_recipe_policy(params = {}, options = {})
|
1384
|
+
req = build_request(:get_container_recipe_policy, params)
|
1385
|
+
req.send_request(options)
|
1386
|
+
end
|
1387
|
+
|
1141
1388
|
# Gets a distribution configuration.
|
1142
1389
|
#
|
1143
1390
|
# @option params [required, String] :distribution_configuration_arn
|
@@ -1165,6 +1412,8 @@ module Aws::Imagebuilder
|
|
1165
1412
|
# resp.distribution_configuration.distributions[0].region #=> String
|
1166
1413
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.name #=> String
|
1167
1414
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.description #=> String
|
1415
|
+
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.target_account_ids #=> Array
|
1416
|
+
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.target_account_ids[0] #=> String
|
1168
1417
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.ami_tags #=> Hash
|
1169
1418
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.ami_tags["TagKey"] #=> String
|
1170
1419
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.kms_key_id #=> String
|
@@ -1172,6 +1421,11 @@ module Aws::Imagebuilder
|
|
1172
1421
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids[0] #=> String
|
1173
1422
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups #=> Array
|
1174
1423
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups[0] #=> String
|
1424
|
+
# resp.distribution_configuration.distributions[0].container_distribution_configuration.description #=> String
|
1425
|
+
# resp.distribution_configuration.distributions[0].container_distribution_configuration.container_tags #=> Array
|
1426
|
+
# resp.distribution_configuration.distributions[0].container_distribution_configuration.container_tags[0] #=> String
|
1427
|
+
# resp.distribution_configuration.distributions[0].container_distribution_configuration.target_repository.service #=> String, one of "ECR"
|
1428
|
+
# resp.distribution_configuration.distributions[0].container_distribution_configuration.target_repository.repository_name #=> String
|
1175
1429
|
# resp.distribution_configuration.distributions[0].license_configuration_arns #=> Array
|
1176
1430
|
# resp.distribution_configuration.distributions[0].license_configuration_arns[0] #=> String
|
1177
1431
|
# resp.distribution_configuration.timeout_minutes #=> Integer
|
@@ -1209,6 +1463,7 @@ module Aws::Imagebuilder
|
|
1209
1463
|
#
|
1210
1464
|
# resp.request_id #=> String
|
1211
1465
|
# resp.image.arn #=> String
|
1466
|
+
# resp.image.type #=> String, one of "AMI", "DOCKER"
|
1212
1467
|
# resp.image.name #=> String
|
1213
1468
|
# resp.image.version #=> String
|
1214
1469
|
# resp.image.platform #=> String, one of "Windows", "Linux"
|
@@ -1217,6 +1472,7 @@ module Aws::Imagebuilder
|
|
1217
1472
|
# resp.image.state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
|
1218
1473
|
# resp.image.state.reason #=> String
|
1219
1474
|
# resp.image.image_recipe.arn #=> String
|
1475
|
+
# resp.image.image_recipe.type #=> String, one of "AMI", "DOCKER"
|
1220
1476
|
# resp.image.image_recipe.name #=> String
|
1221
1477
|
# resp.image.image_recipe.description #=> String
|
1222
1478
|
# resp.image.image_recipe.platform #=> String, one of "Windows", "Linux"
|
@@ -1233,13 +1489,32 @@ module Aws::Imagebuilder
|
|
1233
1489
|
# resp.image.image_recipe.block_device_mappings[0].ebs.kms_key_id #=> String
|
1234
1490
|
# resp.image.image_recipe.block_device_mappings[0].ebs.snapshot_id #=> String
|
1235
1491
|
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_size #=> Integer
|
1236
|
-
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
1492
|
+
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
|
1237
1493
|
# resp.image.image_recipe.block_device_mappings[0].virtual_name #=> String
|
1238
1494
|
# resp.image.image_recipe.block_device_mappings[0].no_device #=> String
|
1239
1495
|
# resp.image.image_recipe.date_created #=> String
|
1240
1496
|
# resp.image.image_recipe.tags #=> Hash
|
1241
1497
|
# resp.image.image_recipe.tags["TagKey"] #=> String
|
1242
1498
|
# resp.image.image_recipe.working_directory #=> String
|
1499
|
+
# resp.image.container_recipe.arn #=> String
|
1500
|
+
# resp.image.container_recipe.container_type #=> String, one of "DOCKER"
|
1501
|
+
# resp.image.container_recipe.name #=> String
|
1502
|
+
# resp.image.container_recipe.description #=> String
|
1503
|
+
# resp.image.container_recipe.platform #=> String, one of "Windows", "Linux"
|
1504
|
+
# resp.image.container_recipe.owner #=> String
|
1505
|
+
# resp.image.container_recipe.version #=> String
|
1506
|
+
# resp.image.container_recipe.components #=> Array
|
1507
|
+
# resp.image.container_recipe.components[0].component_arn #=> String
|
1508
|
+
# resp.image.container_recipe.dockerfile_template_data #=> String
|
1509
|
+
# resp.image.container_recipe.kms_key_id #=> String
|
1510
|
+
# resp.image.container_recipe.encrypted #=> Boolean
|
1511
|
+
# resp.image.container_recipe.parent_image #=> String
|
1512
|
+
# resp.image.container_recipe.date_created #=> String
|
1513
|
+
# resp.image.container_recipe.tags #=> Hash
|
1514
|
+
# resp.image.container_recipe.tags["TagKey"] #=> String
|
1515
|
+
# resp.image.container_recipe.working_directory #=> String
|
1516
|
+
# resp.image.container_recipe.target_repository.service #=> String, one of "ECR"
|
1517
|
+
# resp.image.container_recipe.target_repository.repository_name #=> String
|
1243
1518
|
# resp.image.source_pipeline_name #=> String
|
1244
1519
|
# resp.image.source_pipeline_arn #=> String
|
1245
1520
|
# resp.image.infrastructure_configuration.arn #=> String
|
@@ -1269,6 +1544,8 @@ module Aws::Imagebuilder
|
|
1269
1544
|
# resp.image.distribution_configuration.distributions[0].region #=> String
|
1270
1545
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.name #=> String
|
1271
1546
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.description #=> String
|
1547
|
+
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.target_account_ids #=> Array
|
1548
|
+
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.target_account_ids[0] #=> String
|
1272
1549
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.ami_tags #=> Hash
|
1273
1550
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.ami_tags["TagKey"] #=> String
|
1274
1551
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.kms_key_id #=> String
|
@@ -1276,6 +1553,11 @@ module Aws::Imagebuilder
|
|
1276
1553
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids[0] #=> String
|
1277
1554
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups #=> Array
|
1278
1555
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups[0] #=> String
|
1556
|
+
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.description #=> String
|
1557
|
+
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.container_tags #=> Array
|
1558
|
+
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.container_tags[0] #=> String
|
1559
|
+
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.target_repository.service #=> String, one of "ECR"
|
1560
|
+
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.target_repository.repository_name #=> String
|
1279
1561
|
# resp.image.distribution_configuration.distributions[0].license_configuration_arns #=> Array
|
1280
1562
|
# resp.image.distribution_configuration.distributions[0].license_configuration_arns[0] #=> String
|
1281
1563
|
# resp.image.distribution_configuration.timeout_minutes #=> Integer
|
@@ -1293,6 +1575,11 @@ module Aws::Imagebuilder
|
|
1293
1575
|
# resp.image.output_resources.amis[0].description #=> String
|
1294
1576
|
# resp.image.output_resources.amis[0].state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
|
1295
1577
|
# resp.image.output_resources.amis[0].state.reason #=> String
|
1578
|
+
# resp.image.output_resources.amis[0].account_id #=> String
|
1579
|
+
# resp.image.output_resources.containers #=> Array
|
1580
|
+
# resp.image.output_resources.containers[0].region #=> String
|
1581
|
+
# resp.image.output_resources.containers[0].image_uris #=> Array
|
1582
|
+
# resp.image.output_resources.containers[0].image_uris[0] #=> String
|
1296
1583
|
# resp.image.tags #=> Hash
|
1297
1584
|
# resp.image.tags["TagKey"] #=> String
|
1298
1585
|
#
|
@@ -1331,6 +1618,7 @@ module Aws::Imagebuilder
|
|
1331
1618
|
# resp.image_pipeline.platform #=> String, one of "Windows", "Linux"
|
1332
1619
|
# resp.image_pipeline.enhanced_image_metadata_enabled #=> Boolean
|
1333
1620
|
# resp.image_pipeline.image_recipe_arn #=> String
|
1621
|
+
# resp.image_pipeline.container_recipe_arn #=> String
|
1334
1622
|
# resp.image_pipeline.infrastructure_configuration_arn #=> String
|
1335
1623
|
# resp.image_pipeline.distribution_configuration_arn #=> String
|
1336
1624
|
# resp.image_pipeline.image_tests_configuration.image_tests_enabled #=> Boolean
|
@@ -1406,6 +1694,7 @@ module Aws::Imagebuilder
|
|
1406
1694
|
#
|
1407
1695
|
# resp.request_id #=> String
|
1408
1696
|
# resp.image_recipe.arn #=> String
|
1697
|
+
# resp.image_recipe.type #=> String, one of "AMI", "DOCKER"
|
1409
1698
|
# resp.image_recipe.name #=> String
|
1410
1699
|
# resp.image_recipe.description #=> String
|
1411
1700
|
# resp.image_recipe.platform #=> String, one of "Windows", "Linux"
|
@@ -1422,7 +1711,7 @@ module Aws::Imagebuilder
|
|
1422
1711
|
# resp.image_recipe.block_device_mappings[0].ebs.kms_key_id #=> String
|
1423
1712
|
# resp.image_recipe.block_device_mappings[0].ebs.snapshot_id #=> String
|
1424
1713
|
# resp.image_recipe.block_device_mappings[0].ebs.volume_size #=> Integer
|
1425
|
-
# resp.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
1714
|
+
# resp.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
|
1426
1715
|
# resp.image_recipe.block_device_mappings[0].virtual_name #=> String
|
1427
1716
|
# resp.image_recipe.block_device_mappings[0].no_device #=> String
|
1428
1717
|
# resp.image_recipe.date_created #=> String
|
@@ -1638,7 +1927,7 @@ module Aws::Imagebuilder
|
|
1638
1927
|
# resp = client.list_component_build_versions({
|
1639
1928
|
# component_version_arn: "ComponentVersionArn", # required
|
1640
1929
|
# max_results: 1,
|
1641
|
-
# next_token: "
|
1930
|
+
# next_token: "PaginationToken",
|
1642
1931
|
# })
|
1643
1932
|
#
|
1644
1933
|
# @example Response structure
|
@@ -1682,6 +1971,10 @@ module Aws::Imagebuilder
|
|
1682
1971
|
# @option params [Array<Types::Filter>] :filters
|
1683
1972
|
# The filters.
|
1684
1973
|
#
|
1974
|
+
# @option params [Boolean] :by_name
|
1975
|
+
# Returns the list of component build versions for the specified
|
1976
|
+
# semantic version.
|
1977
|
+
#
|
1685
1978
|
# @option params [Integer] :max_results
|
1686
1979
|
# The maximum items to return in a request.
|
1687
1980
|
#
|
@@ -1707,8 +2000,9 @@ module Aws::Imagebuilder
|
|
1707
2000
|
# values: ["FilterValue"],
|
1708
2001
|
# },
|
1709
2002
|
# ],
|
2003
|
+
# by_name: false,
|
1710
2004
|
# max_results: 1,
|
1711
|
-
# next_token: "
|
2005
|
+
# next_token: "PaginationToken",
|
1712
2006
|
# })
|
1713
2007
|
#
|
1714
2008
|
# @example Response structure
|
@@ -1736,6 +2030,71 @@ module Aws::Imagebuilder
|
|
1736
2030
|
req.send_request(options)
|
1737
2031
|
end
|
1738
2032
|
|
2033
|
+
# Returns a list of container recipes.
|
2034
|
+
#
|
2035
|
+
# @option params [String] :owner
|
2036
|
+
# Returns container recipes belonging to the specified owner, that have
|
2037
|
+
# been shared with you. You can omit this field to return container
|
2038
|
+
# recipes belonging to your account.
|
2039
|
+
#
|
2040
|
+
# @option params [Array<Types::Filter>] :filters
|
2041
|
+
# Request filters that are used to narrow the list of container images
|
2042
|
+
# that are returned.
|
2043
|
+
#
|
2044
|
+
# @option params [Integer] :max_results
|
2045
|
+
# The maximum number of results to return in the list.
|
2046
|
+
#
|
2047
|
+
# @option params [String] :next_token
|
2048
|
+
# Provides a token for pagination, which determines where to begin the
|
2049
|
+
# next set of results when the current set reaches the maximum for one
|
2050
|
+
# request.
|
2051
|
+
#
|
2052
|
+
# @return [Types::ListContainerRecipesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2053
|
+
#
|
2054
|
+
# * {Types::ListContainerRecipesResponse#request_id #request_id} => String
|
2055
|
+
# * {Types::ListContainerRecipesResponse#container_recipe_summary_list #container_recipe_summary_list} => Array<Types::ContainerRecipeSummary>
|
2056
|
+
# * {Types::ListContainerRecipesResponse#next_token #next_token} => String
|
2057
|
+
#
|
2058
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2059
|
+
#
|
2060
|
+
# @example Request syntax with placeholder values
|
2061
|
+
#
|
2062
|
+
# resp = client.list_container_recipes({
|
2063
|
+
# owner: "Self", # accepts Self, Shared, Amazon
|
2064
|
+
# filters: [
|
2065
|
+
# {
|
2066
|
+
# name: "FilterName",
|
2067
|
+
# values: ["FilterValue"],
|
2068
|
+
# },
|
2069
|
+
# ],
|
2070
|
+
# max_results: 1,
|
2071
|
+
# next_token: "NonEmptyString",
|
2072
|
+
# })
|
2073
|
+
#
|
2074
|
+
# @example Response structure
|
2075
|
+
#
|
2076
|
+
# resp.request_id #=> String
|
2077
|
+
# resp.container_recipe_summary_list #=> Array
|
2078
|
+
# resp.container_recipe_summary_list[0].arn #=> String
|
2079
|
+
# resp.container_recipe_summary_list[0].container_type #=> String, one of "DOCKER"
|
2080
|
+
# resp.container_recipe_summary_list[0].name #=> String
|
2081
|
+
# resp.container_recipe_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
2082
|
+
# resp.container_recipe_summary_list[0].owner #=> String
|
2083
|
+
# resp.container_recipe_summary_list[0].parent_image #=> String
|
2084
|
+
# resp.container_recipe_summary_list[0].date_created #=> String
|
2085
|
+
# resp.container_recipe_summary_list[0].tags #=> Hash
|
2086
|
+
# resp.container_recipe_summary_list[0].tags["TagKey"] #=> String
|
2087
|
+
# resp.next_token #=> String
|
2088
|
+
#
|
2089
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListContainerRecipes AWS API Documentation
|
2090
|
+
#
|
2091
|
+
# @overload list_container_recipes(params = {})
|
2092
|
+
# @param [Hash] params ({})
|
2093
|
+
def list_container_recipes(params = {}, options = {})
|
2094
|
+
req = build_request(:list_container_recipes, params)
|
2095
|
+
req.send_request(options)
|
2096
|
+
end
|
2097
|
+
|
1739
2098
|
# Returns a list of distribution configurations.
|
1740
2099
|
#
|
1741
2100
|
# @option params [Array<Types::Filter>] :filters
|
@@ -1770,7 +2129,7 @@ module Aws::Imagebuilder
|
|
1770
2129
|
# },
|
1771
2130
|
# ],
|
1772
2131
|
# max_results: 1,
|
1773
|
-
# next_token: "
|
2132
|
+
# next_token: "PaginationToken",
|
1774
2133
|
# })
|
1775
2134
|
#
|
1776
2135
|
# @example Response structure
|
@@ -1784,6 +2143,8 @@ module Aws::Imagebuilder
|
|
1784
2143
|
# resp.distribution_configuration_summary_list[0].date_updated #=> String
|
1785
2144
|
# resp.distribution_configuration_summary_list[0].tags #=> Hash
|
1786
2145
|
# resp.distribution_configuration_summary_list[0].tags["TagKey"] #=> String
|
2146
|
+
# resp.distribution_configuration_summary_list[0].regions #=> Array
|
2147
|
+
# resp.distribution_configuration_summary_list[0].regions[0] #=> String
|
1787
2148
|
# resp.next_token #=> String
|
1788
2149
|
#
|
1789
2150
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListDistributionConfigurations AWS API Documentation
|
@@ -1830,7 +2191,7 @@ module Aws::Imagebuilder
|
|
1830
2191
|
# },
|
1831
2192
|
# ],
|
1832
2193
|
# max_results: 1,
|
1833
|
-
# next_token: "
|
2194
|
+
# next_token: "PaginationToken",
|
1834
2195
|
# })
|
1835
2196
|
#
|
1836
2197
|
# @example Response structure
|
@@ -1839,6 +2200,7 @@ module Aws::Imagebuilder
|
|
1839
2200
|
# resp.image_summary_list #=> Array
|
1840
2201
|
# resp.image_summary_list[0].arn #=> String
|
1841
2202
|
# resp.image_summary_list[0].name #=> String
|
2203
|
+
# resp.image_summary_list[0].type #=> String, one of "AMI", "DOCKER"
|
1842
2204
|
# resp.image_summary_list[0].version #=> String
|
1843
2205
|
# resp.image_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
1844
2206
|
# resp.image_summary_list[0].os_version #=> String
|
@@ -1853,6 +2215,11 @@ module Aws::Imagebuilder
|
|
1853
2215
|
# resp.image_summary_list[0].output_resources.amis[0].description #=> String
|
1854
2216
|
# 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"
|
1855
2217
|
# resp.image_summary_list[0].output_resources.amis[0].state.reason #=> String
|
2218
|
+
# resp.image_summary_list[0].output_resources.amis[0].account_id #=> String
|
2219
|
+
# resp.image_summary_list[0].output_resources.containers #=> Array
|
2220
|
+
# resp.image_summary_list[0].output_resources.containers[0].region #=> String
|
2221
|
+
# resp.image_summary_list[0].output_resources.containers[0].image_uris #=> Array
|
2222
|
+
# resp.image_summary_list[0].output_resources.containers[0].image_uris[0] #=> String
|
1856
2223
|
# resp.image_summary_list[0].tags #=> Hash
|
1857
2224
|
# resp.image_summary_list[0].tags["TagKey"] #=> String
|
1858
2225
|
# resp.next_token #=> String
|
@@ -1901,7 +2268,7 @@ module Aws::Imagebuilder
|
|
1901
2268
|
# },
|
1902
2269
|
# ],
|
1903
2270
|
# max_results: 1,
|
1904
|
-
# next_token: "
|
2271
|
+
# next_token: "PaginationToken",
|
1905
2272
|
# })
|
1906
2273
|
#
|
1907
2274
|
# @example Response structure
|
@@ -1910,6 +2277,7 @@ module Aws::Imagebuilder
|
|
1910
2277
|
# resp.image_summary_list #=> Array
|
1911
2278
|
# resp.image_summary_list[0].arn #=> String
|
1912
2279
|
# resp.image_summary_list[0].name #=> String
|
2280
|
+
# resp.image_summary_list[0].type #=> String, one of "AMI", "DOCKER"
|
1913
2281
|
# resp.image_summary_list[0].version #=> String
|
1914
2282
|
# resp.image_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
1915
2283
|
# resp.image_summary_list[0].os_version #=> String
|
@@ -1924,6 +2292,11 @@ module Aws::Imagebuilder
|
|
1924
2292
|
# resp.image_summary_list[0].output_resources.amis[0].description #=> String
|
1925
2293
|
# 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"
|
1926
2294
|
# resp.image_summary_list[0].output_resources.amis[0].state.reason #=> String
|
2295
|
+
# resp.image_summary_list[0].output_resources.amis[0].account_id #=> String
|
2296
|
+
# resp.image_summary_list[0].output_resources.containers #=> Array
|
2297
|
+
# resp.image_summary_list[0].output_resources.containers[0].region #=> String
|
2298
|
+
# resp.image_summary_list[0].output_resources.containers[0].image_uris #=> Array
|
2299
|
+
# resp.image_summary_list[0].output_resources.containers[0].image_uris[0] #=> String
|
1927
2300
|
# resp.image_summary_list[0].tags #=> Hash
|
1928
2301
|
# resp.image_summary_list[0].tags["TagKey"] #=> String
|
1929
2302
|
# resp.next_token #=> String
|
@@ -1967,7 +2340,7 @@ module Aws::Imagebuilder
|
|
1967
2340
|
# },
|
1968
2341
|
# ],
|
1969
2342
|
# max_results: 1,
|
1970
|
-
# next_token: "
|
2343
|
+
# next_token: "PaginationToken",
|
1971
2344
|
# })
|
1972
2345
|
#
|
1973
2346
|
# @example Response structure
|
@@ -1980,6 +2353,7 @@ module Aws::Imagebuilder
|
|
1980
2353
|
# resp.image_pipeline_list[0].platform #=> String, one of "Windows", "Linux"
|
1981
2354
|
# resp.image_pipeline_list[0].enhanced_image_metadata_enabled #=> Boolean
|
1982
2355
|
# resp.image_pipeline_list[0].image_recipe_arn #=> String
|
2356
|
+
# resp.image_pipeline_list[0].container_recipe_arn #=> String
|
1983
2357
|
# resp.image_pipeline_list[0].infrastructure_configuration_arn #=> String
|
1984
2358
|
# resp.image_pipeline_list[0].distribution_configuration_arn #=> String
|
1985
2359
|
# resp.image_pipeline_list[0].image_tests_configuration.image_tests_enabled #=> Boolean
|
@@ -2042,7 +2416,7 @@ module Aws::Imagebuilder
|
|
2042
2416
|
# },
|
2043
2417
|
# ],
|
2044
2418
|
# max_results: 1,
|
2045
|
-
# next_token: "
|
2419
|
+
# next_token: "PaginationToken",
|
2046
2420
|
# })
|
2047
2421
|
#
|
2048
2422
|
# @example Response structure
|
@@ -2080,6 +2454,9 @@ module Aws::Imagebuilder
|
|
2080
2454
|
# @option params [Array<Types::Filter>] :filters
|
2081
2455
|
# The filters.
|
2082
2456
|
#
|
2457
|
+
# @option params [Boolean] :by_name
|
2458
|
+
# Requests a list of images with a specific recipe name.
|
2459
|
+
#
|
2083
2460
|
# @option params [Integer] :max_results
|
2084
2461
|
# The maximum items to return in a request.
|
2085
2462
|
#
|
@@ -2087,6 +2464,9 @@ module Aws::Imagebuilder
|
|
2087
2464
|
# A token to specify where to start paginating. This is the NextToken
|
2088
2465
|
# from a previously truncated response.
|
2089
2466
|
#
|
2467
|
+
# @option params [Boolean] :include_deprecated
|
2468
|
+
# Includes deprecated images in the response list.
|
2469
|
+
#
|
2090
2470
|
# @return [Types::ListImagesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2091
2471
|
#
|
2092
2472
|
# * {Types::ListImagesResponse#request_id #request_id} => String
|
@@ -2105,8 +2485,10 @@ module Aws::Imagebuilder
|
|
2105
2485
|
# values: ["FilterValue"],
|
2106
2486
|
# },
|
2107
2487
|
# ],
|
2488
|
+
# by_name: false,
|
2108
2489
|
# max_results: 1,
|
2109
|
-
# next_token: "
|
2490
|
+
# next_token: "PaginationToken",
|
2491
|
+
# include_deprecated: false,
|
2110
2492
|
# })
|
2111
2493
|
#
|
2112
2494
|
# @example Response structure
|
@@ -2115,6 +2497,7 @@ module Aws::Imagebuilder
|
|
2115
2497
|
# resp.image_version_list #=> Array
|
2116
2498
|
# resp.image_version_list[0].arn #=> String
|
2117
2499
|
# resp.image_version_list[0].name #=> String
|
2500
|
+
# resp.image_version_list[0].type #=> String, one of "AMI", "DOCKER"
|
2118
2501
|
# resp.image_version_list[0].version #=> String
|
2119
2502
|
# resp.image_version_list[0].platform #=> String, one of "Windows", "Linux"
|
2120
2503
|
# resp.image_version_list[0].os_version #=> String
|
@@ -2161,7 +2544,7 @@ module Aws::Imagebuilder
|
|
2161
2544
|
# },
|
2162
2545
|
# ],
|
2163
2546
|
# max_results: 1,
|
2164
|
-
# next_token: "
|
2547
|
+
# next_token: "PaginationToken",
|
2165
2548
|
# })
|
2166
2549
|
#
|
2167
2550
|
# @example Response structure
|
@@ -2262,6 +2645,49 @@ module Aws::Imagebuilder
|
|
2262
2645
|
req.send_request(options)
|
2263
2646
|
end
|
2264
2647
|
|
2648
|
+
# Applies a policy to a container image. We recommend that you call the
|
2649
|
+
# RAM API CreateResourceShare
|
2650
|
+
# (https://docs.aws.amazon.com/ram/latest/APIReference/API\_CreateResourceShare.html)
|
2651
|
+
# to share resources. If you call the Image Builder API
|
2652
|
+
# `PutContainerImagePolicy`, you must also call the RAM API
|
2653
|
+
# PromoteResourceShareCreatedFromPolicy
|
2654
|
+
# (https://docs.aws.amazon.com/ram/latest/APIReference/API\_PromoteResourceShareCreatedFromPolicy.html)
|
2655
|
+
# in order for the resource to be visible to all principals with whom
|
2656
|
+
# the resource is shared.
|
2657
|
+
#
|
2658
|
+
# @option params [required, String] :container_recipe_arn
|
2659
|
+
# The Amazon Resource Name (ARN) of the container recipe that this
|
2660
|
+
# policy should be applied to.
|
2661
|
+
#
|
2662
|
+
# @option params [required, String] :policy
|
2663
|
+
# The policy to apply to the container recipe.
|
2664
|
+
#
|
2665
|
+
# @return [Types::PutContainerRecipePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2666
|
+
#
|
2667
|
+
# * {Types::PutContainerRecipePolicyResponse#request_id #request_id} => String
|
2668
|
+
# * {Types::PutContainerRecipePolicyResponse#container_recipe_arn #container_recipe_arn} => String
|
2669
|
+
#
|
2670
|
+
# @example Request syntax with placeholder values
|
2671
|
+
#
|
2672
|
+
# resp = client.put_container_recipe_policy({
|
2673
|
+
# container_recipe_arn: "ContainerRecipeArn", # required
|
2674
|
+
# policy: "ResourcePolicyDocument", # required
|
2675
|
+
# })
|
2676
|
+
#
|
2677
|
+
# @example Response structure
|
2678
|
+
#
|
2679
|
+
# resp.request_id #=> String
|
2680
|
+
# resp.container_recipe_arn #=> String
|
2681
|
+
#
|
2682
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutContainerRecipePolicy AWS API Documentation
|
2683
|
+
#
|
2684
|
+
# @overload put_container_recipe_policy(params = {})
|
2685
|
+
# @param [Hash] params ({})
|
2686
|
+
def put_container_recipe_policy(params = {}, options = {})
|
2687
|
+
req = build_request(:put_container_recipe_policy, params)
|
2688
|
+
req.send_request(options)
|
2689
|
+
end
|
2690
|
+
|
2265
2691
|
# Applies a policy to an image. We recommend that you call the RAM API
|
2266
2692
|
# [CreateResourceShare][1] to share resources. If you call the Image
|
2267
2693
|
# Builder API `PutImagePolicy`, you must also call the RAM API
|
@@ -2481,16 +2907,25 @@ module Aws::Imagebuilder
|
|
2481
2907
|
# ami_distribution_configuration: {
|
2482
2908
|
# name: "AmiNameString",
|
2483
2909
|
# description: "NonEmptyString",
|
2910
|
+
# target_account_ids: ["AccountId"],
|
2484
2911
|
# ami_tags: {
|
2485
2912
|
# "TagKey" => "TagValue",
|
2486
2913
|
# },
|
2487
2914
|
# kms_key_id: "NonEmptyString",
|
2488
2915
|
# launch_permission: {
|
2489
|
-
# user_ids: ["
|
2916
|
+
# user_ids: ["AccountId"],
|
2490
2917
|
# user_groups: ["NonEmptyString"],
|
2491
2918
|
# },
|
2492
2919
|
# },
|
2493
|
-
#
|
2920
|
+
# container_distribution_configuration: {
|
2921
|
+
# description: "NonEmptyString",
|
2922
|
+
# container_tags: ["NonEmptyString"],
|
2923
|
+
# target_repository: { # required
|
2924
|
+
# service: "ECR", # required, accepts ECR
|
2925
|
+
# repository_name: "NonEmptyString", # required
|
2926
|
+
# },
|
2927
|
+
# },
|
2928
|
+
# license_configuration_arns: ["LicenseConfigurationArn"],
|
2494
2929
|
# },
|
2495
2930
|
# ],
|
2496
2931
|
# client_token: "ClientToken", # required
|
@@ -2521,10 +2956,13 @@ module Aws::Imagebuilder
|
|
2521
2956
|
# @option params [String] :description
|
2522
2957
|
# The description of the image pipeline.
|
2523
2958
|
#
|
2524
|
-
# @option params [
|
2959
|
+
# @option params [String] :image_recipe_arn
|
2525
2960
|
# The Amazon Resource Name (ARN) of the image recipe that will be used
|
2526
2961
|
# to configure images updated by this image pipeline.
|
2527
2962
|
#
|
2963
|
+
# @option params [String] :container_recipe_arn
|
2964
|
+
# The Amazon Resource Name (ARN) of the container pipeline to update.
|
2965
|
+
#
|
2528
2966
|
# @option params [required, String] :infrastructure_configuration_arn
|
2529
2967
|
# The Amazon Resource Name (ARN) of the infrastructure configuration
|
2530
2968
|
# that will be used to build images updated by this image pipeline.
|
@@ -2566,7 +3004,8 @@ module Aws::Imagebuilder
|
|
2566
3004
|
# resp = client.update_image_pipeline({
|
2567
3005
|
# image_pipeline_arn: "ImagePipelineArn", # required
|
2568
3006
|
# description: "NonEmptyString",
|
2569
|
-
# image_recipe_arn: "ImageRecipeArn",
|
3007
|
+
# image_recipe_arn: "ImageRecipeArn",
|
3008
|
+
# container_recipe_arn: "ContainerRecipeArn",
|
2570
3009
|
# infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
|
2571
3010
|
# distribution_configuration_arn: "DistributionConfigurationArn",
|
2572
3011
|
# image_tests_configuration: {
|
@@ -2707,7 +3146,7 @@ module Aws::Imagebuilder
|
|
2707
3146
|
params: params,
|
2708
3147
|
config: config)
|
2709
3148
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
2710
|
-
context[:gem_version] = '1.
|
3149
|
+
context[:gem_version] = '1.17.0'
|
2711
3150
|
Seahorse::Client::Request.new(handlers, context)
|
2712
3151
|
end
|
2713
3152
|
|