aws-sdk-imagebuilder 1.15.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8dbb9b81bcf9859798980dccaf7e2ba2604d3fdc262967cabb893208826f4cb5
4
- data.tar.gz: 690d7a9cabcad0207027ad48ae856970ba40a41bc1445eda8d9b1cf22ddfcf89
3
+ metadata.gz: c53f1c873e2288329eb4eeedf5fc485e42898e91114e794a4e08169961b9e1f3
4
+ data.tar.gz: 517ef461c3415e786e44a0286da2ee928d067b7ed6d21b0a3db8bdeddbf95b2d
5
5
  SHA512:
6
- metadata.gz: afd1f80b0e02cecacccc88256891aff548ca7e7d0c97a7a4fb406eac5e1a3168914da63f53f14f86ef6453c5161529793fac1807479420a314220d3c5893edb2
7
- data.tar.gz: dd4b76266fade562337699610af7bdcf982edb69fc7f0db658fe37534525f1eddc846347d8bb17ad373263546bba1991932bedf004dab2484471b6f1a7f17c27
6
+ metadata.gz: b15c9968b3174c0acb54eaf3fdf39d2584fc6a866505299701d7cc2bb1118f012d1e689c823227cc7bbad716e3627445e3d183185e03cf14c4c35dd26e966b2a
7
+ data.tar.gz: b7aa9d474a083ba986722e9b9f3d5911c0398096b6259b76a64cf915b720ddff45bcc5502d00b5f623703498692b013e955144c8769c520e85a21eec59d954d4
data/CHANGELOG.md ADDED
@@ -0,0 +1,110 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.20.0 (2021-03-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.19.0 (2021-02-25)
10
+ ------------------
11
+
12
+ * Feature - This release introduces a new API (ListImagePackages) for listing packages installed on an image, and adds support for GP3 volume types, and for specifying a time zone in an image pipeline schedule.
13
+
14
+ 1.18.0 (2021-02-02)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.17.0 (2020-12-17)
20
+ ------------------
21
+
22
+ * Feature - This release adds support for building and distributing container images within EC2 Image Builder.
23
+
24
+ 1.16.0 (2020-10-30)
25
+ ------------------
26
+
27
+ * Feature - This feature increases the number of accounts that can be added to the Launch permissions within an Image Builder Distribution configuration.
28
+
29
+ 1.15.0 (2020-09-30)
30
+ ------------------
31
+
32
+ * Feature - EC2 Image Builder adds support for copying AMIs created by Image Builder to accounts specific to each Region.
33
+
34
+ 1.14.0 (2020-09-15)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.13.0 (2020-08-25)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.12.0 (2020-07-28)
45
+ ------------------
46
+
47
+ * Feature - This release updates distribution configurations to allow periods in AMI names.
48
+
49
+ 1.11.0 (2020-07-01)
50
+ ------------------
51
+
52
+ * Feature - EC2 Image Builder adds support for encrypted AMI distribution.
53
+
54
+ 1.10.0 (2020-06-23)
55
+ ------------------
56
+
57
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
58
+
59
+ 1.9.0 (2020-06-11)
60
+ ------------------
61
+
62
+ * Feature - EC2 Image Builder now supports specifying a custom working directory for your build and test workflows. In addition, Image Builder now supports defining tags that are applied to ephemeral resources created by EC2 Image Builder as part of the image creation workflow.
63
+
64
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
65
+
66
+ 1.8.0 (2020-06-10)
67
+ ------------------
68
+
69
+ * Issue - This version has been yanked. (#2327).
70
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
71
+
72
+ 1.7.0 (2020-05-28)
73
+ ------------------
74
+
75
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
76
+
77
+ 1.6.0 (2020-05-14)
78
+ ------------------
79
+
80
+ * Feature - This release adds a new parameter (SupportedOsVersions) to the Components API. This parameter lists the OS versions supported by a component.
81
+
82
+ 1.5.0 (2020-05-07)
83
+ ------------------
84
+
85
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
86
+
87
+ 1.4.0 (2020-04-16)
88
+ ------------------
89
+
90
+ * Feature - This release includes support for additional OS Versions within EC2 Image Builder.
91
+
92
+ 1.3.0 (2020-03-09)
93
+ ------------------
94
+
95
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
96
+
97
+ 1.2.0 (2020-02-21)
98
+ ------------------
99
+
100
+ * Feature - This release of EC2 Image Builder increases the maximum policy document size for Image Builder resource-based policy APIs.
101
+
102
+ 1.1.0 (2020-02-07)
103
+ ------------------
104
+
105
+ * Feature - This version of the SDK includes bug fixes and documentation updates.
106
+
107
+ 1.0.0 (2019-12-02)
108
+ ------------------
109
+
110
+ * Feature - Initial release of `aws-sdk-imagebuilder`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.20.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-imagebuilder/customizations'
48
48
  # @!group service
49
49
  module Aws::Imagebuilder
50
50
 
51
- GEM_VERSION = '1.15.0'
51
+ GEM_VERSION = '1.20.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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
  #
@@ -505,6 +611,14 @@ module Aws::Imagebuilder
505
611
  # user_groups: ["NonEmptyString"],
506
612
  # },
507
613
  # },
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
+ # },
508
622
  # license_configuration_arns: ["LicenseConfigurationArn"],
509
623
  # },
510
624
  # ],
@@ -533,10 +647,14 @@ module Aws::Imagebuilder
533
647
  # all of the configured output resources defined in the distribution
534
648
  # configuration.
535
649
  #
536
- # @option params [required, String] :image_recipe_arn
650
+ # @option params [String] :image_recipe_arn
537
651
  # The Amazon Resource Name (ARN) of the image recipe that defines how
538
652
  # images are configured, tested, and assessed.
539
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
+ #
540
658
  # @option params [String] :distribution_configuration_arn
541
659
  # The Amazon Resource Name (ARN) of the distribution configuration that
542
660
  # defines and configures the outputs of your pipeline.
@@ -573,7 +691,8 @@ module Aws::Imagebuilder
573
691
  # @example Request syntax with placeholder values
574
692
  #
575
693
  # resp = client.create_image({
576
- # image_recipe_arn: "ImageRecipeArn", # required
694
+ # image_recipe_arn: "ImageRecipeArn",
695
+ # container_recipe_arn: "ContainerRecipeArn",
577
696
  # distribution_configuration_arn: "DistributionConfigurationArn",
578
697
  # infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
579
698
  # image_tests_configuration: {
@@ -611,10 +730,14 @@ module Aws::Imagebuilder
611
730
  # @option params [String] :description
612
731
  # The description of the image pipeline.
613
732
  #
614
- # @option params [required, String] :image_recipe_arn
733
+ # @option params [String] :image_recipe_arn
615
734
  # The Amazon Resource Name (ARN) of the image recipe that will be used
616
735
  # to configure images created by this image pipeline.
617
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
+ #
618
741
  # @option params [required, String] :infrastructure_configuration_arn
619
742
  # The Amazon Resource Name (ARN) of the infrastructure configuration
620
743
  # that will be used to build images created by this image pipeline.
@@ -659,7 +782,8 @@ module Aws::Imagebuilder
659
782
  # resp = client.create_image_pipeline({
660
783
  # name: "ResourceName", # required
661
784
  # description: "NonEmptyString",
662
- # image_recipe_arn: "ImageRecipeArn", # required
785
+ # image_recipe_arn: "ImageRecipeArn",
786
+ # container_recipe_arn: "ContainerRecipeArn",
663
787
  # infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
664
788
  # distribution_configuration_arn: "DistributionConfigurationArn",
665
789
  # image_tests_configuration: {
@@ -669,6 +793,7 @@ module Aws::Imagebuilder
669
793
  # enhanced_image_metadata_enabled: false,
670
794
  # schedule: {
671
795
  # schedule_expression: "NonEmptyString",
796
+ # timezone: "Timezone",
672
797
  # pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
673
798
  # },
674
799
  # status: "DISABLED", # accepts DISABLED, ENABLED
@@ -761,7 +886,7 @@ module Aws::Imagebuilder
761
886
  # kms_key_id: "NonEmptyString",
762
887
  # snapshot_id: "NonEmptyString",
763
888
  # volume_size: 1,
764
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
889
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
765
890
  # },
766
891
  # virtual_name: "NonEmptyString",
767
892
  # no_device: "EmptyString",
@@ -923,6 +1048,36 @@ module Aws::Imagebuilder
923
1048
  req.send_request(options)
924
1049
  end
925
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
+
926
1081
  # Deletes a distribution configuration.
927
1082
  #
928
1083
  # @option params [required, String] :distribution_configuration_arn
@@ -1152,6 +1307,85 @@ module Aws::Imagebuilder
1152
1307
  req.send_request(options)
1153
1308
  end
1154
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
+
1155
1389
  # Gets a distribution configuration.
1156
1390
  #
1157
1391
  # @option params [required, String] :distribution_configuration_arn
@@ -1188,6 +1422,11 @@ module Aws::Imagebuilder
1188
1422
  # resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids[0] #=> String
1189
1423
  # resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups #=> Array
1190
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
1191
1430
  # resp.distribution_configuration.distributions[0].license_configuration_arns #=> Array
1192
1431
  # resp.distribution_configuration.distributions[0].license_configuration_arns[0] #=> String
1193
1432
  # resp.distribution_configuration.timeout_minutes #=> Integer
@@ -1225,6 +1464,7 @@ module Aws::Imagebuilder
1225
1464
  #
1226
1465
  # resp.request_id #=> String
1227
1466
  # resp.image.arn #=> String
1467
+ # resp.image.type #=> String, one of "AMI", "DOCKER"
1228
1468
  # resp.image.name #=> String
1229
1469
  # resp.image.version #=> String
1230
1470
  # resp.image.platform #=> String, one of "Windows", "Linux"
@@ -1233,6 +1473,7 @@ module Aws::Imagebuilder
1233
1473
  # resp.image.state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
1234
1474
  # resp.image.state.reason #=> String
1235
1475
  # resp.image.image_recipe.arn #=> String
1476
+ # resp.image.image_recipe.type #=> String, one of "AMI", "DOCKER"
1236
1477
  # resp.image.image_recipe.name #=> String
1237
1478
  # resp.image.image_recipe.description #=> String
1238
1479
  # resp.image.image_recipe.platform #=> String, one of "Windows", "Linux"
@@ -1249,13 +1490,32 @@ module Aws::Imagebuilder
1249
1490
  # resp.image.image_recipe.block_device_mappings[0].ebs.kms_key_id #=> String
1250
1491
  # resp.image.image_recipe.block_device_mappings[0].ebs.snapshot_id #=> String
1251
1492
  # resp.image.image_recipe.block_device_mappings[0].ebs.volume_size #=> Integer
1252
- # resp.image.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "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"
1253
1494
  # resp.image.image_recipe.block_device_mappings[0].virtual_name #=> String
1254
1495
  # resp.image.image_recipe.block_device_mappings[0].no_device #=> String
1255
1496
  # resp.image.image_recipe.date_created #=> String
1256
1497
  # resp.image.image_recipe.tags #=> Hash
1257
1498
  # resp.image.image_recipe.tags["TagKey"] #=> String
1258
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
1259
1519
  # resp.image.source_pipeline_name #=> String
1260
1520
  # resp.image.source_pipeline_arn #=> String
1261
1521
  # resp.image.infrastructure_configuration.arn #=> String
@@ -1294,6 +1554,11 @@ module Aws::Imagebuilder
1294
1554
  # resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids[0] #=> String
1295
1555
  # resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups #=> Array
1296
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
1297
1562
  # resp.image.distribution_configuration.distributions[0].license_configuration_arns #=> Array
1298
1563
  # resp.image.distribution_configuration.distributions[0].license_configuration_arns[0] #=> String
1299
1564
  # resp.image.distribution_configuration.timeout_minutes #=> Integer
@@ -1312,6 +1577,10 @@ module Aws::Imagebuilder
1312
1577
  # resp.image.output_resources.amis[0].state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
1313
1578
  # resp.image.output_resources.amis[0].state.reason #=> String
1314
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
1315
1584
  # resp.image.tags #=> Hash
1316
1585
  # resp.image.tags["TagKey"] #=> String
1317
1586
  #
@@ -1350,11 +1619,13 @@ module Aws::Imagebuilder
1350
1619
  # resp.image_pipeline.platform #=> String, one of "Windows", "Linux"
1351
1620
  # resp.image_pipeline.enhanced_image_metadata_enabled #=> Boolean
1352
1621
  # resp.image_pipeline.image_recipe_arn #=> String
1622
+ # resp.image_pipeline.container_recipe_arn #=> String
1353
1623
  # resp.image_pipeline.infrastructure_configuration_arn #=> String
1354
1624
  # resp.image_pipeline.distribution_configuration_arn #=> String
1355
1625
  # resp.image_pipeline.image_tests_configuration.image_tests_enabled #=> Boolean
1356
1626
  # resp.image_pipeline.image_tests_configuration.timeout_minutes #=> Integer
1357
1627
  # resp.image_pipeline.schedule.schedule_expression #=> String
1628
+ # resp.image_pipeline.schedule.timezone #=> String
1358
1629
  # resp.image_pipeline.schedule.pipeline_execution_start_condition #=> String, one of "EXPRESSION_MATCH_ONLY", "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE"
1359
1630
  # resp.image_pipeline.status #=> String, one of "DISABLED", "ENABLED"
1360
1631
  # resp.image_pipeline.date_created #=> String
@@ -1425,6 +1696,7 @@ module Aws::Imagebuilder
1425
1696
  #
1426
1697
  # resp.request_id #=> String
1427
1698
  # resp.image_recipe.arn #=> String
1699
+ # resp.image_recipe.type #=> String, one of "AMI", "DOCKER"
1428
1700
  # resp.image_recipe.name #=> String
1429
1701
  # resp.image_recipe.description #=> String
1430
1702
  # resp.image_recipe.platform #=> String, one of "Windows", "Linux"
@@ -1441,7 +1713,7 @@ module Aws::Imagebuilder
1441
1713
  # resp.image_recipe.block_device_mappings[0].ebs.kms_key_id #=> String
1442
1714
  # resp.image_recipe.block_device_mappings[0].ebs.snapshot_id #=> String
1443
1715
  # resp.image_recipe.block_device_mappings[0].ebs.volume_size #=> Integer
1444
- # resp.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
1716
+ # resp.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "gp3", "sc1", "st1"
1445
1717
  # resp.image_recipe.block_device_mappings[0].virtual_name #=> String
1446
1718
  # resp.image_recipe.block_device_mappings[0].no_device #=> String
1447
1719
  # resp.image_recipe.date_created #=> String
@@ -1657,7 +1929,7 @@ module Aws::Imagebuilder
1657
1929
  # resp = client.list_component_build_versions({
1658
1930
  # component_version_arn: "ComponentVersionArn", # required
1659
1931
  # max_results: 1,
1660
- # next_token: "NonEmptyString",
1932
+ # next_token: "PaginationToken",
1661
1933
  # })
1662
1934
  #
1663
1935
  # @example Response structure
@@ -1701,6 +1973,10 @@ module Aws::Imagebuilder
1701
1973
  # @option params [Array<Types::Filter>] :filters
1702
1974
  # The filters.
1703
1975
  #
1976
+ # @option params [Boolean] :by_name
1977
+ # Returns the list of component build versions for the specified
1978
+ # semantic version.
1979
+ #
1704
1980
  # @option params [Integer] :max_results
1705
1981
  # The maximum items to return in a request.
1706
1982
  #
@@ -1726,8 +2002,9 @@ module Aws::Imagebuilder
1726
2002
  # values: ["FilterValue"],
1727
2003
  # },
1728
2004
  # ],
2005
+ # by_name: false,
1729
2006
  # max_results: 1,
1730
- # next_token: "NonEmptyString",
2007
+ # next_token: "PaginationToken",
1731
2008
  # })
1732
2009
  #
1733
2010
  # @example Response structure
@@ -1755,6 +2032,71 @@ module Aws::Imagebuilder
1755
2032
  req.send_request(options)
1756
2033
  end
1757
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&lt;Types::ContainerRecipeSummary&gt;
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
+
1758
2100
  # Returns a list of distribution configurations.
1759
2101
  #
1760
2102
  # @option params [Array<Types::Filter>] :filters
@@ -1789,7 +2131,7 @@ module Aws::Imagebuilder
1789
2131
  # },
1790
2132
  # ],
1791
2133
  # max_results: 1,
1792
- # next_token: "NonEmptyString",
2134
+ # next_token: "PaginationToken",
1793
2135
  # })
1794
2136
  #
1795
2137
  # @example Response structure
@@ -1803,6 +2145,8 @@ module Aws::Imagebuilder
1803
2145
  # resp.distribution_configuration_summary_list[0].date_updated #=> String
1804
2146
  # resp.distribution_configuration_summary_list[0].tags #=> Hash
1805
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
1806
2150
  # resp.next_token #=> String
1807
2151
  #
1808
2152
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListDistributionConfigurations AWS API Documentation
@@ -1849,7 +2193,7 @@ module Aws::Imagebuilder
1849
2193
  # },
1850
2194
  # ],
1851
2195
  # max_results: 1,
1852
- # next_token: "NonEmptyString",
2196
+ # next_token: "PaginationToken",
1853
2197
  # })
1854
2198
  #
1855
2199
  # @example Response structure
@@ -1858,6 +2202,7 @@ module Aws::Imagebuilder
1858
2202
  # resp.image_summary_list #=> Array
1859
2203
  # resp.image_summary_list[0].arn #=> String
1860
2204
  # resp.image_summary_list[0].name #=> String
2205
+ # resp.image_summary_list[0].type #=> String, one of "AMI", "DOCKER"
1861
2206
  # resp.image_summary_list[0].version #=> String
1862
2207
  # resp.image_summary_list[0].platform #=> String, one of "Windows", "Linux"
1863
2208
  # resp.image_summary_list[0].os_version #=> String
@@ -1873,6 +2218,10 @@ module Aws::Imagebuilder
1873
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"
1874
2219
  # resp.image_summary_list[0].output_resources.amis[0].state.reason #=> String
1875
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
1876
2225
  # resp.image_summary_list[0].tags #=> Hash
1877
2226
  # resp.image_summary_list[0].tags["TagKey"] #=> String
1878
2227
  # resp.next_token #=> String
@@ -1886,6 +2235,54 @@ module Aws::Imagebuilder
1886
2235
  req.send_request(options)
1887
2236
  end
1888
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&lt;Types::ImagePackage&gt;
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
+
1889
2286
  # Returns a list of images created by the specified pipeline.
1890
2287
  #
1891
2288
  # @option params [required, String] :image_pipeline_arn
@@ -1921,7 +2318,7 @@ module Aws::Imagebuilder
1921
2318
  # },
1922
2319
  # ],
1923
2320
  # max_results: 1,
1924
- # next_token: "NonEmptyString",
2321
+ # next_token: "PaginationToken",
1925
2322
  # })
1926
2323
  #
1927
2324
  # @example Response structure
@@ -1930,6 +2327,7 @@ module Aws::Imagebuilder
1930
2327
  # resp.image_summary_list #=> Array
1931
2328
  # resp.image_summary_list[0].arn #=> String
1932
2329
  # resp.image_summary_list[0].name #=> String
2330
+ # resp.image_summary_list[0].type #=> String, one of "AMI", "DOCKER"
1933
2331
  # resp.image_summary_list[0].version #=> String
1934
2332
  # resp.image_summary_list[0].platform #=> String, one of "Windows", "Linux"
1935
2333
  # resp.image_summary_list[0].os_version #=> String
@@ -1945,6 +2343,10 @@ module Aws::Imagebuilder
1945
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"
1946
2344
  # resp.image_summary_list[0].output_resources.amis[0].state.reason #=> String
1947
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
1948
2350
  # resp.image_summary_list[0].tags #=> Hash
1949
2351
  # resp.image_summary_list[0].tags["TagKey"] #=> String
1950
2352
  # resp.next_token #=> String
@@ -1988,7 +2390,7 @@ module Aws::Imagebuilder
1988
2390
  # },
1989
2391
  # ],
1990
2392
  # max_results: 1,
1991
- # next_token: "NonEmptyString",
2393
+ # next_token: "PaginationToken",
1992
2394
  # })
1993
2395
  #
1994
2396
  # @example Response structure
@@ -2001,11 +2403,13 @@ module Aws::Imagebuilder
2001
2403
  # resp.image_pipeline_list[0].platform #=> String, one of "Windows", "Linux"
2002
2404
  # resp.image_pipeline_list[0].enhanced_image_metadata_enabled #=> Boolean
2003
2405
  # resp.image_pipeline_list[0].image_recipe_arn #=> String
2406
+ # resp.image_pipeline_list[0].container_recipe_arn #=> String
2004
2407
  # resp.image_pipeline_list[0].infrastructure_configuration_arn #=> String
2005
2408
  # resp.image_pipeline_list[0].distribution_configuration_arn #=> String
2006
2409
  # resp.image_pipeline_list[0].image_tests_configuration.image_tests_enabled #=> Boolean
2007
2410
  # resp.image_pipeline_list[0].image_tests_configuration.timeout_minutes #=> Integer
2008
2411
  # resp.image_pipeline_list[0].schedule.schedule_expression #=> String
2412
+ # resp.image_pipeline_list[0].schedule.timezone #=> String
2009
2413
  # resp.image_pipeline_list[0].schedule.pipeline_execution_start_condition #=> String, one of "EXPRESSION_MATCH_ONLY", "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE"
2010
2414
  # resp.image_pipeline_list[0].status #=> String, one of "DISABLED", "ENABLED"
2011
2415
  # resp.image_pipeline_list[0].date_created #=> String
@@ -2063,7 +2467,7 @@ module Aws::Imagebuilder
2063
2467
  # },
2064
2468
  # ],
2065
2469
  # max_results: 1,
2066
- # next_token: "NonEmptyString",
2470
+ # next_token: "PaginationToken",
2067
2471
  # })
2068
2472
  #
2069
2473
  # @example Response structure
@@ -2101,6 +2505,9 @@ module Aws::Imagebuilder
2101
2505
  # @option params [Array<Types::Filter>] :filters
2102
2506
  # The filters.
2103
2507
  #
2508
+ # @option params [Boolean] :by_name
2509
+ # Requests a list of images with a specific recipe name.
2510
+ #
2104
2511
  # @option params [Integer] :max_results
2105
2512
  # The maximum items to return in a request.
2106
2513
  #
@@ -2108,6 +2515,9 @@ module Aws::Imagebuilder
2108
2515
  # A token to specify where to start paginating. This is the NextToken
2109
2516
  # from a previously truncated response.
2110
2517
  #
2518
+ # @option params [Boolean] :include_deprecated
2519
+ # Includes deprecated images in the response list.
2520
+ #
2111
2521
  # @return [Types::ListImagesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2112
2522
  #
2113
2523
  # * {Types::ListImagesResponse#request_id #request_id} => String
@@ -2126,8 +2536,10 @@ module Aws::Imagebuilder
2126
2536
  # values: ["FilterValue"],
2127
2537
  # },
2128
2538
  # ],
2539
+ # by_name: false,
2129
2540
  # max_results: 1,
2130
- # next_token: "NonEmptyString",
2541
+ # next_token: "PaginationToken",
2542
+ # include_deprecated: false,
2131
2543
  # })
2132
2544
  #
2133
2545
  # @example Response structure
@@ -2136,6 +2548,7 @@ module Aws::Imagebuilder
2136
2548
  # resp.image_version_list #=> Array
2137
2549
  # resp.image_version_list[0].arn #=> String
2138
2550
  # resp.image_version_list[0].name #=> String
2551
+ # resp.image_version_list[0].type #=> String, one of "AMI", "DOCKER"
2139
2552
  # resp.image_version_list[0].version #=> String
2140
2553
  # resp.image_version_list[0].platform #=> String, one of "Windows", "Linux"
2141
2554
  # resp.image_version_list[0].os_version #=> String
@@ -2182,7 +2595,7 @@ module Aws::Imagebuilder
2182
2595
  # },
2183
2596
  # ],
2184
2597
  # max_results: 1,
2185
- # next_token: "NonEmptyString",
2598
+ # next_token: "PaginationToken",
2186
2599
  # })
2187
2600
  #
2188
2601
  # @example Response structure
@@ -2198,6 +2611,9 @@ module Aws::Imagebuilder
2198
2611
  # resp.infrastructure_configuration_summary_list[0].resource_tags["TagKey"] #=> String
2199
2612
  # resp.infrastructure_configuration_summary_list[0].tags #=> Hash
2200
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
2201
2617
  # resp.next_token #=> String
2202
2618
  #
2203
2619
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListInfrastructureConfigurations AWS API Documentation
@@ -2283,6 +2699,49 @@ module Aws::Imagebuilder
2283
2699
  req.send_request(options)
2284
2700
  end
2285
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
+
2286
2745
  # Applies a policy to an image. We recommend that you call the RAM API
2287
2746
  # [CreateResourceShare][1] to share resources. If you call the Image
2288
2747
  # Builder API `PutImagePolicy`, you must also call the RAM API
@@ -2512,6 +2971,14 @@ module Aws::Imagebuilder
2512
2971
  # user_groups: ["NonEmptyString"],
2513
2972
  # },
2514
2973
  # },
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
+ # },
2515
2982
  # license_configuration_arns: ["LicenseConfigurationArn"],
2516
2983
  # },
2517
2984
  # ],
@@ -2543,10 +3010,13 @@ module Aws::Imagebuilder
2543
3010
  # @option params [String] :description
2544
3011
  # The description of the image pipeline.
2545
3012
  #
2546
- # @option params [required, String] :image_recipe_arn
3013
+ # @option params [String] :image_recipe_arn
2547
3014
  # The Amazon Resource Name (ARN) of the image recipe that will be used
2548
3015
  # to configure images updated by this image pipeline.
2549
3016
  #
3017
+ # @option params [String] :container_recipe_arn
3018
+ # The Amazon Resource Name (ARN) of the container pipeline to update.
3019
+ #
2550
3020
  # @option params [required, String] :infrastructure_configuration_arn
2551
3021
  # The Amazon Resource Name (ARN) of the infrastructure configuration
2552
3022
  # that will be used to build images updated by this image pipeline.
@@ -2588,7 +3058,8 @@ module Aws::Imagebuilder
2588
3058
  # resp = client.update_image_pipeline({
2589
3059
  # image_pipeline_arn: "ImagePipelineArn", # required
2590
3060
  # description: "NonEmptyString",
2591
- # image_recipe_arn: "ImageRecipeArn", # required
3061
+ # image_recipe_arn: "ImageRecipeArn",
3062
+ # container_recipe_arn: "ContainerRecipeArn",
2592
3063
  # infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
2593
3064
  # distribution_configuration_arn: "DistributionConfigurationArn",
2594
3065
  # image_tests_configuration: {
@@ -2598,6 +3069,7 @@ module Aws::Imagebuilder
2598
3069
  # enhanced_image_metadata_enabled: false,
2599
3070
  # schedule: {
2600
3071
  # schedule_expression: "NonEmptyString",
3072
+ # timezone: "Timezone",
2601
3073
  # pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
2602
3074
  # },
2603
3075
  # status: "DISABLED", # accepts DISABLED, ENABLED
@@ -2729,7 +3201,7 @@ module Aws::Imagebuilder
2729
3201
  params: params,
2730
3202
  config: config)
2731
3203
  context[:gem_name] = 'aws-sdk-imagebuilder'
2732
- context[:gem_version] = '1.15.0'
3204
+ context[:gem_version] = '1.20.0'
2733
3205
  Seahorse::Client::Request.new(handlers, context)
2734
3206
  end
2735
3207