aws-sdk-imagebuilder 1.31.0 → 1.35.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-imagebuilder/client.rb +28 -5
- 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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 425e66c6219fdde5988b5c2acb13f1e0e89dfab996e8c5a826cf0fbc271f0a41
|
4
|
+
data.tar.gz: 2dbccf67ff3e1e43c37b28d1e216f0ded9486cae34666d666d7ba9a0bb925b27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64ae4d2c6c348bf09542004100d64cd058172603d0930d951705c5d2f3c5ec4dfd6cc20bef84d6423bcde56c9f5af99a4f1d4f17b2a8fbf4532a1773bdec6f54
|
7
|
+
data.tar.gz: 202268f4313f0a208dcf8701d21348050127830af7a0541e74fd7c5c61595d53cb6895b57326efd7b89ccb98a270ed9de19765ba8a958ac8b3b317784db7ad3c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.35.0 (2021-11-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.34.0 (2021-11-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for sharing AMIs with Organizations within an EC2 Image Builder Distribution Configuration.
|
13
|
+
|
14
|
+
1.33.0 (2021-11-04)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.32.0 (2021-10-18)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.31.0 (2021-09-28)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.35.0
|
@@ -119,7 +119,9 @@ module Aws::Imagebuilder
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -275,6 +277,15 @@ module Aws::Imagebuilder
|
|
275
277
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
278
|
# requests are made, and retries are disabled.
|
277
279
|
#
|
280
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
281
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
282
|
+
# will be used if available.
|
283
|
+
#
|
284
|
+
# @option options [Boolean] :use_fips_endpoint
|
285
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
286
|
+
# When a `fips` region is used, the region is normalized and this config
|
287
|
+
# is set to `true`.
|
288
|
+
#
|
278
289
|
# @option options [Boolean] :validate_params (true)
|
279
290
|
# When `true`, request parameters are validated before
|
280
291
|
# sending the request.
|
@@ -670,6 +681,8 @@ module Aws::Imagebuilder
|
|
670
681
|
# launch_permission: {
|
671
682
|
# user_ids: ["AccountId"],
|
672
683
|
# user_groups: ["NonEmptyString"],
|
684
|
+
# organization_arns: ["OrganizationArn"],
|
685
|
+
# organizational_unit_arns: ["OrganizationalUnitArn"],
|
673
686
|
# },
|
674
687
|
# },
|
675
688
|
# container_distribution_configuration: {
|
@@ -1238,7 +1251,7 @@ module Aws::Imagebuilder
|
|
1238
1251
|
#
|
1239
1252
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html
|
1240
1253
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/deregister-ami.html
|
1241
|
-
# [3]: https://docs.aws.amazon.com/
|
1254
|
+
# [3]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/delete_image.html
|
1242
1255
|
#
|
1243
1256
|
# @option params [required, String] :image_build_version_arn
|
1244
1257
|
# The Amazon Resource Name (ARN) of the Image Builder image resource to
|
@@ -1577,6 +1590,10 @@ module Aws::Imagebuilder
|
|
1577
1590
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids[0] #=> String
|
1578
1591
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups #=> Array
|
1579
1592
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups[0] #=> String
|
1593
|
+
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.organization_arns #=> Array
|
1594
|
+
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.organization_arns[0] #=> String
|
1595
|
+
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.organizational_unit_arns #=> Array
|
1596
|
+
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.organizational_unit_arns[0] #=> String
|
1580
1597
|
# resp.distribution_configuration.distributions[0].container_distribution_configuration.description #=> String
|
1581
1598
|
# resp.distribution_configuration.distributions[0].container_distribution_configuration.container_tags #=> Array
|
1582
1599
|
# resp.distribution_configuration.distributions[0].container_distribution_configuration.container_tags[0] #=> String
|
@@ -1739,6 +1756,10 @@ module Aws::Imagebuilder
|
|
1739
1756
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids[0] #=> String
|
1740
1757
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups #=> Array
|
1741
1758
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups[0] #=> String
|
1759
|
+
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.organization_arns #=> Array
|
1760
|
+
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.organization_arns[0] #=> String
|
1761
|
+
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.organizational_unit_arns #=> Array
|
1762
|
+
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.organizational_unit_arns[0] #=> String
|
1742
1763
|
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.description #=> String
|
1743
1764
|
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.container_tags #=> Array
|
1744
1765
|
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.container_tags[0] #=> String
|
@@ -2993,11 +3014,11 @@ module Aws::Imagebuilder
|
|
2993
3014
|
|
2994
3015
|
# Applies a policy to a container image. We recommend that you call the
|
2995
3016
|
# RAM API CreateResourceShare
|
2996
|
-
# (https://docs.aws.amazon.com
|
3017
|
+
# (https://docs.aws.amazon.com//ram/latest/APIReference/API\_CreateResourceShare.html)
|
2997
3018
|
# to share resources. If you call the Image Builder API
|
2998
3019
|
# `PutContainerImagePolicy`, you must also call the RAM API
|
2999
3020
|
# PromoteResourceShareCreatedFromPolicy
|
3000
|
-
# (https://docs.aws.amazon.com
|
3021
|
+
# (https://docs.aws.amazon.com//ram/latest/APIReference/API\_PromoteResourceShareCreatedFromPolicy.html)
|
3001
3022
|
# in order for the resource to be visible to all principals with whom
|
3002
3023
|
# the resource is shared.
|
3003
3024
|
#
|
@@ -3261,6 +3282,8 @@ module Aws::Imagebuilder
|
|
3261
3282
|
# launch_permission: {
|
3262
3283
|
# user_ids: ["AccountId"],
|
3263
3284
|
# user_groups: ["NonEmptyString"],
|
3285
|
+
# organization_arns: ["OrganizationArn"],
|
3286
|
+
# organizational_unit_arns: ["OrganizationalUnitArn"],
|
3264
3287
|
# },
|
3265
3288
|
# },
|
3266
3289
|
# container_distribution_configuration: {
|
@@ -3528,7 +3551,7 @@ module Aws::Imagebuilder
|
|
3528
3551
|
params: params,
|
3529
3552
|
config: config)
|
3530
3553
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
3531
|
-
context[:gem_version] = '1.
|
3554
|
+
context[:gem_version] = '1.35.0'
|
3532
3555
|
Seahorse::Client::Request.new(handlers, context)
|
3533
3556
|
end
|
3534
3557
|
|
@@ -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.35.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
|
+
date: 2021-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.122.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|