aws-sdk-imagebuilder 1.33.0 → 1.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-imagebuilder/client.rb +16 -4
- data/lib/aws-sdk-imagebuilder/client_api.rb +10 -0
- data/lib/aws-sdk-imagebuilder/types.rb +34 -2
- data/lib/aws-sdk-imagebuilder.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fddd64311508f248d270e408e700763b4e0d4f3edc9fc572c355a2d32cc2c46c
|
|
4
|
+
data.tar.gz: 7b7eefaf9a5ad025f736681d3d18aca74ca1dd53e45b54189f79aec43bf26372
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 88ad49c5c8d06c12577e6c55425ac500d6483f44e8199822e92fccbcfbb84d723659ac12436447b43a5a17503871d756717028cf7e5437bb312ad2225301dcad
|
|
7
|
+
data.tar.gz: ddd34e2f245fcc6add07322553d6ef46fba4f8de1e19dd69a2f9f5181b6c3d4a84671c34edc169ed04494437522e1b0d1479dcfd1f694cc94d3b13c432a8fc7b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.34.0 (2021-11-24)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds support for sharing AMIs with Organizations within an EC2 Image Builder Distribution Configuration.
|
|
8
|
+
|
|
4
9
|
1.33.0 (2021-11-04)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.34.0
|
|
@@ -679,6 +679,8 @@ module Aws::Imagebuilder
|
|
|
679
679
|
# launch_permission: {
|
|
680
680
|
# user_ids: ["AccountId"],
|
|
681
681
|
# user_groups: ["NonEmptyString"],
|
|
682
|
+
# organization_arns: ["OrganizationArn"],
|
|
683
|
+
# organizational_unit_arns: ["OrganizationalUnitArn"],
|
|
682
684
|
# },
|
|
683
685
|
# },
|
|
684
686
|
# container_distribution_configuration: {
|
|
@@ -1247,7 +1249,7 @@ module Aws::Imagebuilder
|
|
|
1247
1249
|
#
|
|
1248
1250
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html
|
|
1249
1251
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/deregister-ami.html
|
|
1250
|
-
# [3]: https://docs.aws.amazon.com/
|
|
1252
|
+
# [3]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/delete_image.html
|
|
1251
1253
|
#
|
|
1252
1254
|
# @option params [required, String] :image_build_version_arn
|
|
1253
1255
|
# The Amazon Resource Name (ARN) of the Image Builder image resource to
|
|
@@ -1586,6 +1588,10 @@ module Aws::Imagebuilder
|
|
|
1586
1588
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids[0] #=> String
|
|
1587
1589
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups #=> Array
|
|
1588
1590
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups[0] #=> String
|
|
1591
|
+
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.organization_arns #=> Array
|
|
1592
|
+
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.organization_arns[0] #=> String
|
|
1593
|
+
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.organizational_unit_arns #=> Array
|
|
1594
|
+
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.organizational_unit_arns[0] #=> String
|
|
1589
1595
|
# resp.distribution_configuration.distributions[0].container_distribution_configuration.description #=> String
|
|
1590
1596
|
# resp.distribution_configuration.distributions[0].container_distribution_configuration.container_tags #=> Array
|
|
1591
1597
|
# resp.distribution_configuration.distributions[0].container_distribution_configuration.container_tags[0] #=> String
|
|
@@ -1748,6 +1754,10 @@ module Aws::Imagebuilder
|
|
|
1748
1754
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids[0] #=> String
|
|
1749
1755
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups #=> Array
|
|
1750
1756
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups[0] #=> String
|
|
1757
|
+
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.organization_arns #=> Array
|
|
1758
|
+
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.organization_arns[0] #=> String
|
|
1759
|
+
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.organizational_unit_arns #=> Array
|
|
1760
|
+
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.organizational_unit_arns[0] #=> String
|
|
1751
1761
|
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.description #=> String
|
|
1752
1762
|
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.container_tags #=> Array
|
|
1753
1763
|
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.container_tags[0] #=> String
|
|
@@ -3002,11 +3012,11 @@ module Aws::Imagebuilder
|
|
|
3002
3012
|
|
|
3003
3013
|
# Applies a policy to a container image. We recommend that you call the
|
|
3004
3014
|
# RAM API CreateResourceShare
|
|
3005
|
-
# (https://docs.aws.amazon.com
|
|
3015
|
+
# (https://docs.aws.amazon.com//ram/latest/APIReference/API\_CreateResourceShare.html)
|
|
3006
3016
|
# to share resources. If you call the Image Builder API
|
|
3007
3017
|
# `PutContainerImagePolicy`, you must also call the RAM API
|
|
3008
3018
|
# PromoteResourceShareCreatedFromPolicy
|
|
3009
|
-
# (https://docs.aws.amazon.com
|
|
3019
|
+
# (https://docs.aws.amazon.com//ram/latest/APIReference/API\_PromoteResourceShareCreatedFromPolicy.html)
|
|
3010
3020
|
# in order for the resource to be visible to all principals with whom
|
|
3011
3021
|
# the resource is shared.
|
|
3012
3022
|
#
|
|
@@ -3270,6 +3280,8 @@ module Aws::Imagebuilder
|
|
|
3270
3280
|
# launch_permission: {
|
|
3271
3281
|
# user_ids: ["AccountId"],
|
|
3272
3282
|
# user_groups: ["NonEmptyString"],
|
|
3283
|
+
# organization_arns: ["OrganizationArn"],
|
|
3284
|
+
# organizational_unit_arns: ["OrganizationalUnitArn"],
|
|
3273
3285
|
# },
|
|
3274
3286
|
# },
|
|
3275
3287
|
# container_distribution_configuration: {
|
|
@@ -3537,7 +3549,7 @@ module Aws::Imagebuilder
|
|
|
3537
3549
|
params: params,
|
|
3538
3550
|
config: config)
|
|
3539
3551
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
|
3540
|
-
context[:gem_version] = '1.
|
|
3552
|
+
context[:gem_version] = '1.34.0'
|
|
3541
3553
|
Seahorse::Client::Request.new(handlers, context)
|
|
3542
3554
|
end
|
|
3543
3555
|
|
|
@@ -212,6 +212,10 @@ module Aws::Imagebuilder
|
|
|
212
212
|
Logging = Shapes::StructureShape.new(name: 'Logging')
|
|
213
213
|
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
|
214
214
|
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
|
215
|
+
OrganizationArn = Shapes::StringShape.new(name: 'OrganizationArn')
|
|
216
|
+
OrganizationArnList = Shapes::ListShape.new(name: 'OrganizationArnList')
|
|
217
|
+
OrganizationalUnitArn = Shapes::StringShape.new(name: 'OrganizationalUnitArn')
|
|
218
|
+
OrganizationalUnitArnList = Shapes::ListShape.new(name: 'OrganizationalUnitArnList')
|
|
215
219
|
OsVersion = Shapes::StringShape.new(name: 'OsVersion')
|
|
216
220
|
OsVersionList = Shapes::ListShape.new(name: 'OsVersionList')
|
|
217
221
|
OutputResources = Shapes::StructureShape.new(name: 'OutputResources')
|
|
@@ -924,6 +928,8 @@ module Aws::Imagebuilder
|
|
|
924
928
|
|
|
925
929
|
LaunchPermissionConfiguration.add_member(:user_ids, Shapes::ShapeRef.new(shape: AccountList, location_name: "userIds"))
|
|
926
930
|
LaunchPermissionConfiguration.add_member(:user_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "userGroups"))
|
|
931
|
+
LaunchPermissionConfiguration.add_member(:organization_arns, Shapes::ShapeRef.new(shape: OrganizationArnList, location_name: "organizationArns"))
|
|
932
|
+
LaunchPermissionConfiguration.add_member(:organizational_unit_arns, Shapes::ShapeRef.new(shape: OrganizationalUnitArnList, location_name: "organizationalUnitArns"))
|
|
927
933
|
LaunchPermissionConfiguration.struct_class = Types::LaunchPermissionConfiguration
|
|
928
934
|
|
|
929
935
|
LaunchTemplateConfiguration.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: LaunchTemplateId, required: true, location_name: "launchTemplateId"))
|
|
@@ -1063,6 +1069,10 @@ module Aws::Imagebuilder
|
|
|
1063
1069
|
Logging.add_member(:s3_logs, Shapes::ShapeRef.new(shape: S3Logs, location_name: "s3Logs"))
|
|
1064
1070
|
Logging.struct_class = Types::Logging
|
|
1065
1071
|
|
|
1072
|
+
OrganizationArnList.member = Shapes::ShapeRef.new(shape: OrganizationArn)
|
|
1073
|
+
|
|
1074
|
+
OrganizationalUnitArnList.member = Shapes::ShapeRef.new(shape: OrganizationalUnitArn)
|
|
1075
|
+
|
|
1066
1076
|
OsVersionList.member = Shapes::ShapeRef.new(shape: OsVersion)
|
|
1067
1077
|
|
|
1068
1078
|
OutputResources.add_member(:amis, Shapes::ShapeRef.new(shape: AmiList, location_name: "amis"))
|
|
@@ -110,6 +110,8 @@ module Aws::Imagebuilder
|
|
|
110
110
|
# launch_permission: {
|
|
111
111
|
# user_ids: ["AccountId"],
|
|
112
112
|
# user_groups: ["NonEmptyString"],
|
|
113
|
+
# organization_arns: ["OrganizationArn"],
|
|
114
|
+
# organizational_unit_arns: ["OrganizationalUnitArn"],
|
|
113
115
|
# },
|
|
114
116
|
# }
|
|
115
117
|
#
|
|
@@ -118,7 +120,7 @@ module Aws::Imagebuilder
|
|
|
118
120
|
# @return [String]
|
|
119
121
|
#
|
|
120
122
|
# @!attribute [rw] description
|
|
121
|
-
# The description of the distribution configuration. Minimum and
|
|
123
|
+
# The description of the AMI distribution configuration. Minimum and
|
|
122
124
|
# maximum length are in characters.
|
|
123
125
|
# @return [String]
|
|
124
126
|
#
|
|
@@ -1197,6 +1199,8 @@ module Aws::Imagebuilder
|
|
|
1197
1199
|
# launch_permission: {
|
|
1198
1200
|
# user_ids: ["AccountId"],
|
|
1199
1201
|
# user_groups: ["NonEmptyString"],
|
|
1202
|
+
# organization_arns: ["OrganizationArn"],
|
|
1203
|
+
# organizational_unit_arns: ["OrganizationalUnitArn"],
|
|
1200
1204
|
# },
|
|
1201
1205
|
# },
|
|
1202
1206
|
# container_distribution_configuration: {
|
|
@@ -2091,6 +2095,8 @@ module Aws::Imagebuilder
|
|
|
2091
2095
|
# launch_permission: {
|
|
2092
2096
|
# user_ids: ["AccountId"],
|
|
2093
2097
|
# user_groups: ["NonEmptyString"],
|
|
2098
|
+
# organization_arns: ["OrganizationArn"],
|
|
2099
|
+
# organizational_unit_arns: ["OrganizationalUnitArn"],
|
|
2094
2100
|
# },
|
|
2095
2101
|
# },
|
|
2096
2102
|
# container_distribution_configuration: {
|
|
@@ -3899,6 +3905,8 @@ module Aws::Imagebuilder
|
|
|
3899
3905
|
# {
|
|
3900
3906
|
# user_ids: ["AccountId"],
|
|
3901
3907
|
# user_groups: ["NonEmptyString"],
|
|
3908
|
+
# organization_arns: ["OrganizationArn"],
|
|
3909
|
+
# organizational_unit_arns: ["OrganizationalUnitArn"],
|
|
3902
3910
|
# }
|
|
3903
3911
|
#
|
|
3904
3912
|
# @!attribute [rw] user_ids
|
|
@@ -3909,11 +3917,33 @@ module Aws::Imagebuilder
|
|
|
3909
3917
|
# The name of the group.
|
|
3910
3918
|
# @return [Array<String>]
|
|
3911
3919
|
#
|
|
3920
|
+
# @!attribute [rw] organization_arns
|
|
3921
|
+
# The ARN for an Amazon Web Services Organization that you want to
|
|
3922
|
+
# share your AMI with. For more information, see [What is
|
|
3923
|
+
# Organizations?][1].
|
|
3924
|
+
#
|
|
3925
|
+
#
|
|
3926
|
+
#
|
|
3927
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html
|
|
3928
|
+
# @return [Array<String>]
|
|
3929
|
+
#
|
|
3930
|
+
# @!attribute [rw] organizational_unit_arns
|
|
3931
|
+
# The ARN for an Organizations organizational unit (OU) that you want
|
|
3932
|
+
# to share your AMI with. For more information about key concepts for
|
|
3933
|
+
# Organizations, see [Organizations terminology and concepts][1].
|
|
3934
|
+
#
|
|
3935
|
+
#
|
|
3936
|
+
#
|
|
3937
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html
|
|
3938
|
+
# @return [Array<String>]
|
|
3939
|
+
#
|
|
3912
3940
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LaunchPermissionConfiguration AWS API Documentation
|
|
3913
3941
|
#
|
|
3914
3942
|
class LaunchPermissionConfiguration < Struct.new(
|
|
3915
3943
|
:user_ids,
|
|
3916
|
-
:user_groups
|
|
3944
|
+
:user_groups,
|
|
3945
|
+
:organization_arns,
|
|
3946
|
+
:organizational_unit_arns)
|
|
3917
3947
|
SENSITIVE = []
|
|
3918
3948
|
include Aws::Structure
|
|
3919
3949
|
end
|
|
@@ -5406,6 +5436,8 @@ module Aws::Imagebuilder
|
|
|
5406
5436
|
# launch_permission: {
|
|
5407
5437
|
# user_ids: ["AccountId"],
|
|
5408
5438
|
# user_groups: ["NonEmptyString"],
|
|
5439
|
+
# organization_arns: ["OrganizationArn"],
|
|
5440
|
+
# organizational_unit_arns: ["OrganizationalUnitArn"],
|
|
5409
5441
|
# },
|
|
5410
5442
|
# },
|
|
5411
5443
|
# container_distribution_configuration: {
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-imagebuilder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.34.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-11-
|
|
11
|
+
date: 2021-11-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|