aws-sdk-imagebuilder 1.17.0 → 1.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +120 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-imagebuilder.rb +2 -2
- data/lib/aws-sdk-imagebuilder/client.rb +144 -13
- data/lib/aws-sdk-imagebuilder/client_api.rb +70 -5
- data/lib/aws-sdk-imagebuilder/errors.rb +1 -1
- data/lib/aws-sdk-imagebuilder/resource.rb +1 -1
- data/lib/aws-sdk-imagebuilder/types.rb +255 -14
- metadata +11 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efce08172d9f3fc257e9ce4eed1dbcc7fe446a45cc36c46e562de2d7fa550e86
|
4
|
+
data.tar.gz: 533271bb23f6e9a762001540ccd3fffb9ad9ce21446f53eb0bd3af2bfcefd1f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd1ca976f638258402781aad39554a3c76914a21ab791c0e024d57da3ed19234c65579d6c71d24666193ed1f19ff24ecc474671a8029e1d7ac7551b585a46752
|
7
|
+
data.tar.gz: ee4215723ee7922651bb0ab730b1e1059f127d9f937bb9b8791297add7e4fb70972a33c94b7f880ee3e15f79984930bf9062430c94496d66c8bd23af728796bd
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,120 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.22.0 (2021-05-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Text-only updates for bundled documentation feedback tickets - spring 2021.
|
8
|
+
|
9
|
+
1.21.0 (2021-04-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for Block Device Mappings for container image builds, and adds distribution configuration support for EC2 launch templates in AMI builds.
|
13
|
+
|
14
|
+
1.20.0 (2021-03-10)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.19.0 (2021-02-25)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* 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.
|
23
|
+
|
24
|
+
1.18.0 (2021-02-02)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.17.0 (2020-12-17)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - This release adds support for building and distributing container images within EC2 Image Builder.
|
33
|
+
|
34
|
+
1.16.0 (2020-10-30)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - This feature increases the number of accounts that can be added to the Launch permissions within an Image Builder Distribution configuration.
|
38
|
+
|
39
|
+
1.15.0 (2020-09-30)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - EC2 Image Builder adds support for copying AMIs created by Image Builder to accounts specific to each Region.
|
43
|
+
|
44
|
+
1.14.0 (2020-09-15)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
1.13.0 (2020-08-25)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
53
|
+
|
54
|
+
1.12.0 (2020-07-28)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - This release updates distribution configurations to allow periods in AMI names.
|
58
|
+
|
59
|
+
1.11.0 (2020-07-01)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - EC2 Image Builder adds support for encrypted AMI distribution.
|
63
|
+
|
64
|
+
1.10.0 (2020-06-23)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
68
|
+
|
69
|
+
1.9.0 (2020-06-11)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* 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.
|
73
|
+
|
74
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
75
|
+
|
76
|
+
1.8.0 (2020-06-10)
|
77
|
+
------------------
|
78
|
+
|
79
|
+
* Issue - This version has been yanked. (#2327).
|
80
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
81
|
+
|
82
|
+
1.7.0 (2020-05-28)
|
83
|
+
------------------
|
84
|
+
|
85
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
86
|
+
|
87
|
+
1.6.0 (2020-05-14)
|
88
|
+
------------------
|
89
|
+
|
90
|
+
* Feature - This release adds a new parameter (SupportedOsVersions) to the Components API. This parameter lists the OS versions supported by a component.
|
91
|
+
|
92
|
+
1.5.0 (2020-05-07)
|
93
|
+
------------------
|
94
|
+
|
95
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
96
|
+
|
97
|
+
1.4.0 (2020-04-16)
|
98
|
+
------------------
|
99
|
+
|
100
|
+
* Feature - This release includes support for additional OS Versions within EC2 Image Builder.
|
101
|
+
|
102
|
+
1.3.0 (2020-03-09)
|
103
|
+
------------------
|
104
|
+
|
105
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
106
|
+
|
107
|
+
1.2.0 (2020-02-21)
|
108
|
+
------------------
|
109
|
+
|
110
|
+
* Feature - This release of EC2 Image Builder increases the maximum policy document size for Image Builder resource-based policy APIs.
|
111
|
+
|
112
|
+
1.1.0 (2020-02-07)
|
113
|
+
------------------
|
114
|
+
|
115
|
+
* Feature - This version of the SDK includes bug fixes and documentation updates.
|
116
|
+
|
117
|
+
1.0.0 (2019-12-02)
|
118
|
+
------------------
|
119
|
+
|
120
|
+
* 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.22.0
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
@@ -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/
|
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.
|
51
|
+
GEM_VERSION = '1.22.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/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -477,7 +477,11 @@ module Aws::Imagebuilder
|
|
477
477
|
# Components for build and test that are included in the container
|
478
478
|
# recipe.
|
479
479
|
#
|
480
|
-
# @option params [
|
480
|
+
# @option params [Types::InstanceConfiguration] :instance_configuration
|
481
|
+
# A group of options that can be used to configure an instance for
|
482
|
+
# building and testing container images.
|
483
|
+
#
|
484
|
+
# @option params [String] :dockerfile_template_data
|
481
485
|
# The Dockerfile template used to build your image as an inline data
|
482
486
|
# blob.
|
483
487
|
#
|
@@ -531,7 +535,26 @@ module Aws::Imagebuilder
|
|
531
535
|
# component_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
532
536
|
# },
|
533
537
|
# ],
|
534
|
-
#
|
538
|
+
# instance_configuration: {
|
539
|
+
# image: "NonEmptyString",
|
540
|
+
# block_device_mappings: [
|
541
|
+
# {
|
542
|
+
# device_name: "NonEmptyString",
|
543
|
+
# ebs: {
|
544
|
+
# encrypted: false,
|
545
|
+
# delete_on_termination: false,
|
546
|
+
# iops: 1,
|
547
|
+
# kms_key_id: "NonEmptyString",
|
548
|
+
# snapshot_id: "NonEmptyString",
|
549
|
+
# volume_size: 1,
|
550
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
551
|
+
# },
|
552
|
+
# virtual_name: "NonEmptyString",
|
553
|
+
# no_device: "EmptyString",
|
554
|
+
# },
|
555
|
+
# ],
|
556
|
+
# },
|
557
|
+
# dockerfile_template_data: "InlineDockerFileTemplate",
|
535
558
|
# dockerfile_template_uri: "Uri",
|
536
559
|
# platform_override: "Windows", # accepts Windows, Linux
|
537
560
|
# image_os_version_override: "NonEmptyString",
|
@@ -620,6 +643,13 @@ module Aws::Imagebuilder
|
|
620
643
|
# },
|
621
644
|
# },
|
622
645
|
# license_configuration_arns: ["LicenseConfigurationArn"],
|
646
|
+
# launch_template_configurations: [
|
647
|
+
# {
|
648
|
+
# launch_template_id: "LaunchTemplateId", # required
|
649
|
+
# account_id: "AccountId",
|
650
|
+
# set_default_version: false,
|
651
|
+
# },
|
652
|
+
# ],
|
623
653
|
# },
|
624
654
|
# ],
|
625
655
|
# tags: {
|
@@ -645,7 +675,8 @@ module Aws::Imagebuilder
|
|
645
675
|
|
646
676
|
# Creates a new image. This request will create a new image along with
|
647
677
|
# all of the configured output resources defined in the distribution
|
648
|
-
# configuration.
|
678
|
+
# configuration. You must specify exactly one recipe for your image,
|
679
|
+
# using either a ContainerRecipeArn or an ImageRecipeArn.
|
649
680
|
#
|
650
681
|
# @option params [String] :image_recipe_arn
|
651
682
|
# The Amazon Resource Name (ARN) of the image recipe that defines how
|
@@ -793,6 +824,7 @@ module Aws::Imagebuilder
|
|
793
824
|
# enhanced_image_metadata_enabled: false,
|
794
825
|
# schedule: {
|
795
826
|
# schedule_expression: "NonEmptyString",
|
827
|
+
# timezone: "Timezone",
|
796
828
|
# pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
|
797
829
|
# },
|
798
830
|
# status: "DISABLED", # accepts DISABLED, ENABLED
|
@@ -836,7 +868,7 @@ module Aws::Imagebuilder
|
|
836
868
|
# The parent image of the image recipe. The value of the string can be
|
837
869
|
# the ARN of the parent image or an AMI ID. The format for the ARN
|
838
870
|
# follows this example:
|
839
|
-
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/
|
871
|
+
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/x.x.x`.
|
840
872
|
# You can provide the specific version that you want to use, or you can
|
841
873
|
# use a wildcard in all of the fields. If you enter an AMI ID for the
|
842
874
|
# string value, you must have access to the AMI, and the AMI must be in
|
@@ -885,7 +917,7 @@ module Aws::Imagebuilder
|
|
885
917
|
# kms_key_id: "NonEmptyString",
|
886
918
|
# snapshot_id: "NonEmptyString",
|
887
919
|
# volume_size: 1,
|
888
|
-
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
|
920
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
889
921
|
# },
|
890
922
|
# virtual_name: "NonEmptyString",
|
891
923
|
# no_device: "EmptyString",
|
@@ -980,7 +1012,7 @@ module Aws::Imagebuilder
|
|
980
1012
|
# name: "ResourceName", # required
|
981
1013
|
# description: "NonEmptyString",
|
982
1014
|
# instance_types: ["InstanceType"],
|
983
|
-
# instance_profile_name: "
|
1015
|
+
# instance_profile_name: "InstanceProfileNameType", # required
|
984
1016
|
# security_group_ids: ["NonEmptyString"],
|
985
1017
|
# subnet_id: "NonEmptyString",
|
986
1018
|
# logging: {
|
@@ -1334,6 +1366,18 @@ module Aws::Imagebuilder
|
|
1334
1366
|
# resp.container_recipe.version #=> String
|
1335
1367
|
# resp.container_recipe.components #=> Array
|
1336
1368
|
# resp.container_recipe.components[0].component_arn #=> String
|
1369
|
+
# resp.container_recipe.instance_configuration.image #=> String
|
1370
|
+
# resp.container_recipe.instance_configuration.block_device_mappings #=> Array
|
1371
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].device_name #=> String
|
1372
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.encrypted #=> Boolean
|
1373
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.delete_on_termination #=> Boolean
|
1374
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.iops #=> Integer
|
1375
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.kms_key_id #=> String
|
1376
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.snapshot_id #=> String
|
1377
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.volume_size #=> Integer
|
1378
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "gp3", "sc1", "st1"
|
1379
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].virtual_name #=> String
|
1380
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].no_device #=> String
|
1337
1381
|
# resp.container_recipe.dockerfile_template_data #=> String
|
1338
1382
|
# resp.container_recipe.kms_key_id #=> String
|
1339
1383
|
# resp.container_recipe.encrypted #=> Boolean
|
@@ -1428,6 +1472,10 @@ module Aws::Imagebuilder
|
|
1428
1472
|
# resp.distribution_configuration.distributions[0].container_distribution_configuration.target_repository.repository_name #=> String
|
1429
1473
|
# resp.distribution_configuration.distributions[0].license_configuration_arns #=> Array
|
1430
1474
|
# resp.distribution_configuration.distributions[0].license_configuration_arns[0] #=> String
|
1475
|
+
# resp.distribution_configuration.distributions[0].launch_template_configurations #=> Array
|
1476
|
+
# resp.distribution_configuration.distributions[0].launch_template_configurations[0].launch_template_id #=> String
|
1477
|
+
# resp.distribution_configuration.distributions[0].launch_template_configurations[0].account_id #=> String
|
1478
|
+
# resp.distribution_configuration.distributions[0].launch_template_configurations[0].set_default_version #=> Boolean
|
1431
1479
|
# resp.distribution_configuration.timeout_minutes #=> Integer
|
1432
1480
|
# resp.distribution_configuration.date_created #=> String
|
1433
1481
|
# resp.distribution_configuration.date_updated #=> String
|
@@ -1489,7 +1537,7 @@ module Aws::Imagebuilder
|
|
1489
1537
|
# resp.image.image_recipe.block_device_mappings[0].ebs.kms_key_id #=> String
|
1490
1538
|
# resp.image.image_recipe.block_device_mappings[0].ebs.snapshot_id #=> String
|
1491
1539
|
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_size #=> Integer
|
1492
|
-
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
|
1540
|
+
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "gp3", "sc1", "st1"
|
1493
1541
|
# resp.image.image_recipe.block_device_mappings[0].virtual_name #=> String
|
1494
1542
|
# resp.image.image_recipe.block_device_mappings[0].no_device #=> String
|
1495
1543
|
# resp.image.image_recipe.date_created #=> String
|
@@ -1505,6 +1553,18 @@ module Aws::Imagebuilder
|
|
1505
1553
|
# resp.image.container_recipe.version #=> String
|
1506
1554
|
# resp.image.container_recipe.components #=> Array
|
1507
1555
|
# resp.image.container_recipe.components[0].component_arn #=> String
|
1556
|
+
# resp.image.container_recipe.instance_configuration.image #=> String
|
1557
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings #=> Array
|
1558
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].device_name #=> String
|
1559
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.encrypted #=> Boolean
|
1560
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.delete_on_termination #=> Boolean
|
1561
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.iops #=> Integer
|
1562
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.kms_key_id #=> String
|
1563
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.snapshot_id #=> String
|
1564
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.volume_size #=> Integer
|
1565
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "gp3", "sc1", "st1"
|
1566
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].virtual_name #=> String
|
1567
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].no_device #=> String
|
1508
1568
|
# resp.image.container_recipe.dockerfile_template_data #=> String
|
1509
1569
|
# resp.image.container_recipe.kms_key_id #=> String
|
1510
1570
|
# resp.image.container_recipe.encrypted #=> Boolean
|
@@ -1560,6 +1620,10 @@ module Aws::Imagebuilder
|
|
1560
1620
|
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.target_repository.repository_name #=> String
|
1561
1621
|
# resp.image.distribution_configuration.distributions[0].license_configuration_arns #=> Array
|
1562
1622
|
# resp.image.distribution_configuration.distributions[0].license_configuration_arns[0] #=> String
|
1623
|
+
# resp.image.distribution_configuration.distributions[0].launch_template_configurations #=> Array
|
1624
|
+
# resp.image.distribution_configuration.distributions[0].launch_template_configurations[0].launch_template_id #=> String
|
1625
|
+
# resp.image.distribution_configuration.distributions[0].launch_template_configurations[0].account_id #=> String
|
1626
|
+
# resp.image.distribution_configuration.distributions[0].launch_template_configurations[0].set_default_version #=> Boolean
|
1563
1627
|
# resp.image.distribution_configuration.timeout_minutes #=> Integer
|
1564
1628
|
# resp.image.distribution_configuration.date_created #=> String
|
1565
1629
|
# resp.image.distribution_configuration.date_updated #=> String
|
@@ -1624,6 +1688,7 @@ module Aws::Imagebuilder
|
|
1624
1688
|
# resp.image_pipeline.image_tests_configuration.image_tests_enabled #=> Boolean
|
1625
1689
|
# resp.image_pipeline.image_tests_configuration.timeout_minutes #=> Integer
|
1626
1690
|
# resp.image_pipeline.schedule.schedule_expression #=> String
|
1691
|
+
# resp.image_pipeline.schedule.timezone #=> String
|
1627
1692
|
# resp.image_pipeline.schedule.pipeline_execution_start_condition #=> String, one of "EXPRESSION_MATCH_ONLY", "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE"
|
1628
1693
|
# resp.image_pipeline.status #=> String, one of "DISABLED", "ENABLED"
|
1629
1694
|
# resp.image_pipeline.date_created #=> String
|
@@ -1711,7 +1776,7 @@ module Aws::Imagebuilder
|
|
1711
1776
|
# resp.image_recipe.block_device_mappings[0].ebs.kms_key_id #=> String
|
1712
1777
|
# resp.image_recipe.block_device_mappings[0].ebs.snapshot_id #=> String
|
1713
1778
|
# resp.image_recipe.block_device_mappings[0].ebs.volume_size #=> Integer
|
1714
|
-
# resp.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
|
1779
|
+
# resp.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "gp3", "sc1", "st1"
|
1715
1780
|
# resp.image_recipe.block_device_mappings[0].virtual_name #=> String
|
1716
1781
|
# resp.image_recipe.block_device_mappings[0].no_device #=> String
|
1717
1782
|
# resp.image_recipe.date_created #=> String
|
@@ -2233,6 +2298,54 @@ module Aws::Imagebuilder
|
|
2233
2298
|
req.send_request(options)
|
2234
2299
|
end
|
2235
2300
|
|
2301
|
+
# List the Packages that are associated with an Image Build Version, as
|
2302
|
+
# determined by AWS Systems Manager Inventory at build time.
|
2303
|
+
#
|
2304
|
+
# @option params [required, String] :image_build_version_arn
|
2305
|
+
# Filter results for the ListImagePackages request by the Image Build
|
2306
|
+
# Version ARN
|
2307
|
+
#
|
2308
|
+
# @option params [Integer] :max_results
|
2309
|
+
# The maxiumum number of results to return from the ListImagePackages
|
2310
|
+
# request.
|
2311
|
+
#
|
2312
|
+
# @option params [String] :next_token
|
2313
|
+
# A token to specify where to start paginating. This is the NextToken
|
2314
|
+
# from a previously truncated response.
|
2315
|
+
#
|
2316
|
+
# @return [Types::ListImagePackagesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2317
|
+
#
|
2318
|
+
# * {Types::ListImagePackagesResponse#request_id #request_id} => String
|
2319
|
+
# * {Types::ListImagePackagesResponse#image_package_list #image_package_list} => Array<Types::ImagePackage>
|
2320
|
+
# * {Types::ListImagePackagesResponse#next_token #next_token} => String
|
2321
|
+
#
|
2322
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2323
|
+
#
|
2324
|
+
# @example Request syntax with placeholder values
|
2325
|
+
#
|
2326
|
+
# resp = client.list_image_packages({
|
2327
|
+
# image_build_version_arn: "ImageBuildVersionArn", # required
|
2328
|
+
# max_results: 1,
|
2329
|
+
# next_token: "PaginationToken",
|
2330
|
+
# })
|
2331
|
+
#
|
2332
|
+
# @example Response structure
|
2333
|
+
#
|
2334
|
+
# resp.request_id #=> String
|
2335
|
+
# resp.image_package_list #=> Array
|
2336
|
+
# resp.image_package_list[0].package_name #=> String
|
2337
|
+
# resp.image_package_list[0].package_version #=> String
|
2338
|
+
# resp.next_token #=> String
|
2339
|
+
#
|
2340
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePackages AWS API Documentation
|
2341
|
+
#
|
2342
|
+
# @overload list_image_packages(params = {})
|
2343
|
+
# @param [Hash] params ({})
|
2344
|
+
def list_image_packages(params = {}, options = {})
|
2345
|
+
req = build_request(:list_image_packages, params)
|
2346
|
+
req.send_request(options)
|
2347
|
+
end
|
2348
|
+
|
2236
2349
|
# Returns a list of images created by the specified pipeline.
|
2237
2350
|
#
|
2238
2351
|
# @option params [required, String] :image_pipeline_arn
|
@@ -2359,6 +2472,7 @@ module Aws::Imagebuilder
|
|
2359
2472
|
# resp.image_pipeline_list[0].image_tests_configuration.image_tests_enabled #=> Boolean
|
2360
2473
|
# resp.image_pipeline_list[0].image_tests_configuration.timeout_minutes #=> Integer
|
2361
2474
|
# resp.image_pipeline_list[0].schedule.schedule_expression #=> String
|
2475
|
+
# resp.image_pipeline_list[0].schedule.timezone #=> String
|
2362
2476
|
# resp.image_pipeline_list[0].schedule.pipeline_execution_start_condition #=> String, one of "EXPRESSION_MATCH_ONLY", "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE"
|
2363
2477
|
# resp.image_pipeline_list[0].status #=> String, one of "DISABLED", "ENABLED"
|
2364
2478
|
# resp.image_pipeline_list[0].date_created #=> String
|
@@ -2560,6 +2674,9 @@ module Aws::Imagebuilder
|
|
2560
2674
|
# resp.infrastructure_configuration_summary_list[0].resource_tags["TagKey"] #=> String
|
2561
2675
|
# resp.infrastructure_configuration_summary_list[0].tags #=> Hash
|
2562
2676
|
# resp.infrastructure_configuration_summary_list[0].tags["TagKey"] #=> String
|
2677
|
+
# resp.infrastructure_configuration_summary_list[0].instance_types #=> Array
|
2678
|
+
# resp.infrastructure_configuration_summary_list[0].instance_types[0] #=> String
|
2679
|
+
# resp.infrastructure_configuration_summary_list[0].instance_profile_name #=> String
|
2563
2680
|
# resp.next_token #=> String
|
2564
2681
|
#
|
2565
2682
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListInfrastructureConfigurations AWS API Documentation
|
@@ -2926,6 +3043,13 @@ module Aws::Imagebuilder
|
|
2926
3043
|
# },
|
2927
3044
|
# },
|
2928
3045
|
# license_configuration_arns: ["LicenseConfigurationArn"],
|
3046
|
+
# launch_template_configurations: [
|
3047
|
+
# {
|
3048
|
+
# launch_template_id: "LaunchTemplateId", # required
|
3049
|
+
# account_id: "AccountId",
|
3050
|
+
# set_default_version: false,
|
3051
|
+
# },
|
3052
|
+
# ],
|
2929
3053
|
# },
|
2930
3054
|
# ],
|
2931
3055
|
# client_token: "ClientToken", # required
|
@@ -2946,8 +3070,14 @@ module Aws::Imagebuilder
|
|
2946
3070
|
req.send_request(options)
|
2947
3071
|
end
|
2948
3072
|
|
2949
|
-
# Updates
|
2950
|
-
#
|
3073
|
+
# Updates an image pipeline. Image pipelines enable you to automate the
|
3074
|
+
# creation and distribution of images.
|
3075
|
+
#
|
3076
|
+
# <note markdown="1"> UpdateImagePipeline does not support selective updates for the
|
3077
|
+
# pipeline. You must specify all of the required properties in the
|
3078
|
+
# update request, not just the properties that have changed.
|
3079
|
+
#
|
3080
|
+
# </note>
|
2951
3081
|
#
|
2952
3082
|
# @option params [required, String] :image_pipeline_arn
|
2953
3083
|
# The Amazon Resource Name (ARN) of the image pipeline that you want to
|
@@ -3015,6 +3145,7 @@ module Aws::Imagebuilder
|
|
3015
3145
|
# enhanced_image_metadata_enabled: false,
|
3016
3146
|
# schedule: {
|
3017
3147
|
# schedule_expression: "NonEmptyString",
|
3148
|
+
# timezone: "Timezone",
|
3018
3149
|
# pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
|
3019
3150
|
# },
|
3020
3151
|
# status: "DISABLED", # accepts DISABLED, ENABLED
|
@@ -3100,7 +3231,7 @@ module Aws::Imagebuilder
|
|
3100
3231
|
# infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
|
3101
3232
|
# description: "NonEmptyString",
|
3102
3233
|
# instance_types: ["InstanceType"],
|
3103
|
-
# instance_profile_name: "
|
3234
|
+
# instance_profile_name: "InstanceProfileNameType", # required
|
3104
3235
|
# security_group_ids: ["NonEmptyString"],
|
3105
3236
|
# subnet_id: "NonEmptyString",
|
3106
3237
|
# logging: {
|
@@ -3146,7 +3277,7 @@ module Aws::Imagebuilder
|
|
3146
3277
|
params: params,
|
3147
3278
|
config: config)
|
3148
3279
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
3149
|
-
context[:gem_version] = '1.
|
3280
|
+
context[:gem_version] = '1.22.0'
|
3150
3281
|
Seahorse::Client::Request.new(handlers, context)
|
3151
3282
|
end
|
3152
3283
|
|