aws-sdk-imagebuilder 1.10.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-imagebuilder.rb +3 -2
- data/lib/aws-sdk-imagebuilder/client.rb +52 -22
- data/lib/aws-sdk-imagebuilder/client_api.rb +10 -5
- data/lib/aws-sdk-imagebuilder/types.rb +65 -22
- 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: 8dbb9b81bcf9859798980dccaf7e2ba2604d3fdc262967cabb893208826f4cb5
|
4
|
+
data.tar.gz: 690d7a9cabcad0207027ad48ae856970ba40a41bc1445eda8d9b1cf22ddfcf89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afd1f80b0e02cecacccc88256891aff548ca7e7d0c97a7a4fb406eac5e1a3168914da63f53f14f86ef6453c5161529793fac1807479420a314220d3c5893edb2
|
7
|
+
data.tar.gz: dd4b76266fade562337699610af7bdcf982edb69fc7f0db658fe37534525f1eddc846347d8bb17ad373263546bba1991932bedf004dab2484471b6f1a7f17c27
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-imagebuilder/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::Imagebuilder
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.15.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::Imagebuilder
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::Imagebuilder
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -480,15 +495,17 @@ module Aws::Imagebuilder
|
|
480
495
|
# ami_distribution_configuration: {
|
481
496
|
# name: "AmiNameString",
|
482
497
|
# description: "NonEmptyString",
|
498
|
+
# target_account_ids: ["AccountId"],
|
483
499
|
# ami_tags: {
|
484
500
|
# "TagKey" => "TagValue",
|
485
501
|
# },
|
502
|
+
# kms_key_id: "NonEmptyString",
|
486
503
|
# launch_permission: {
|
487
|
-
# user_ids: ["
|
504
|
+
# user_ids: ["AccountId"],
|
488
505
|
# user_groups: ["NonEmptyString"],
|
489
506
|
# },
|
490
507
|
# },
|
491
|
-
# license_configuration_arns: ["
|
508
|
+
# license_configuration_arns: ["LicenseConfigurationArn"],
|
492
509
|
# },
|
493
510
|
# ],
|
494
511
|
# tags: {
|
@@ -695,13 +712,11 @@ module Aws::Imagebuilder
|
|
695
712
|
# The parent image of the image recipe. The value of the string can be
|
696
713
|
# the ARN of the parent image or an AMI ID. The format for the ARN
|
697
714
|
# follows this example:
|
698
|
-
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/
|
699
|
-
#
|
700
|
-
#
|
701
|
-
#
|
702
|
-
#
|
703
|
-
# value, you must have access to the AMI, and the AMI must be in the
|
704
|
-
# same Region in which you are using Image Builder.
|
715
|
+
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/xxxx.x.x`.
|
716
|
+
# You can provide the specific version that you want to use, or you can
|
717
|
+
# use a wildcard in all of the fields. If you enter an AMI ID for the
|
718
|
+
# string value, you must have access to the AMI, and the AMI must be in
|
719
|
+
# the same Region in which you are using Image Builder.
|
705
720
|
#
|
706
721
|
# @option params [Array<Types::InstanceBlockDeviceMapping>] :block_device_mappings
|
707
722
|
# The block device mappings of the image recipe.
|
@@ -746,7 +761,7 @@ module Aws::Imagebuilder
|
|
746
761
|
# kms_key_id: "NonEmptyString",
|
747
762
|
# snapshot_id: "NonEmptyString",
|
748
763
|
# volume_size: 1,
|
749
|
-
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
764
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
|
750
765
|
# },
|
751
766
|
# virtual_name: "NonEmptyString",
|
752
767
|
# no_device: "EmptyString",
|
@@ -1164,8 +1179,11 @@ module Aws::Imagebuilder
|
|
1164
1179
|
# resp.distribution_configuration.distributions[0].region #=> String
|
1165
1180
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.name #=> String
|
1166
1181
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.description #=> String
|
1182
|
+
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.target_account_ids #=> Array
|
1183
|
+
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.target_account_ids[0] #=> String
|
1167
1184
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.ami_tags #=> Hash
|
1168
1185
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.ami_tags["TagKey"] #=> String
|
1186
|
+
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.kms_key_id #=> String
|
1169
1187
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids #=> Array
|
1170
1188
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids[0] #=> String
|
1171
1189
|
# resp.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups #=> Array
|
@@ -1231,7 +1249,7 @@ module Aws::Imagebuilder
|
|
1231
1249
|
# resp.image.image_recipe.block_device_mappings[0].ebs.kms_key_id #=> String
|
1232
1250
|
# resp.image.image_recipe.block_device_mappings[0].ebs.snapshot_id #=> String
|
1233
1251
|
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_size #=> Integer
|
1234
|
-
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
1252
|
+
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
|
1235
1253
|
# resp.image.image_recipe.block_device_mappings[0].virtual_name #=> String
|
1236
1254
|
# resp.image.image_recipe.block_device_mappings[0].no_device #=> String
|
1237
1255
|
# resp.image.image_recipe.date_created #=> String
|
@@ -1267,8 +1285,11 @@ module Aws::Imagebuilder
|
|
1267
1285
|
# resp.image.distribution_configuration.distributions[0].region #=> String
|
1268
1286
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.name #=> String
|
1269
1287
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.description #=> String
|
1288
|
+
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.target_account_ids #=> Array
|
1289
|
+
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.target_account_ids[0] #=> String
|
1270
1290
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.ami_tags #=> Hash
|
1271
1291
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.ami_tags["TagKey"] #=> String
|
1292
|
+
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.kms_key_id #=> String
|
1272
1293
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids #=> Array
|
1273
1294
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_ids[0] #=> String
|
1274
1295
|
# resp.image.distribution_configuration.distributions[0].ami_distribution_configuration.launch_permission.user_groups #=> Array
|
@@ -1290,6 +1311,7 @@ module Aws::Imagebuilder
|
|
1290
1311
|
# resp.image.output_resources.amis[0].description #=> String
|
1291
1312
|
# resp.image.output_resources.amis[0].state.status #=> String, one of "PENDING", "CREATING", "BUILDING", "TESTING", "DISTRIBUTING", "INTEGRATING", "AVAILABLE", "CANCELLED", "FAILED", "DEPRECATED", "DELETED"
|
1292
1313
|
# resp.image.output_resources.amis[0].state.reason #=> String
|
1314
|
+
# resp.image.output_resources.amis[0].account_id #=> String
|
1293
1315
|
# resp.image.tags #=> Hash
|
1294
1316
|
# resp.image.tags["TagKey"] #=> String
|
1295
1317
|
#
|
@@ -1419,7 +1441,7 @@ module Aws::Imagebuilder
|
|
1419
1441
|
# resp.image_recipe.block_device_mappings[0].ebs.kms_key_id #=> String
|
1420
1442
|
# resp.image_recipe.block_device_mappings[0].ebs.snapshot_id #=> String
|
1421
1443
|
# resp.image_recipe.block_device_mappings[0].ebs.volume_size #=> Integer
|
1422
|
-
# resp.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
1444
|
+
# resp.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
|
1423
1445
|
# resp.image_recipe.block_device_mappings[0].virtual_name #=> String
|
1424
1446
|
# resp.image_recipe.block_device_mappings[0].no_device #=> String
|
1425
1447
|
# resp.image_recipe.date_created #=> String
|
@@ -1738,6 +1760,10 @@ module Aws::Imagebuilder
|
|
1738
1760
|
# @option params [Array<Types::Filter>] :filters
|
1739
1761
|
# The filters.
|
1740
1762
|
#
|
1763
|
+
# * `name` - The name of this distribution configuration.
|
1764
|
+
#
|
1765
|
+
# ^
|
1766
|
+
#
|
1741
1767
|
# @option params [Integer] :max_results
|
1742
1768
|
# The maximum items to return in a request.
|
1743
1769
|
#
|
@@ -1846,6 +1872,7 @@ module Aws::Imagebuilder
|
|
1846
1872
|
# resp.image_summary_list[0].output_resources.amis[0].description #=> String
|
1847
1873
|
# 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"
|
1848
1874
|
# resp.image_summary_list[0].output_resources.amis[0].state.reason #=> String
|
1875
|
+
# resp.image_summary_list[0].output_resources.amis[0].account_id #=> String
|
1849
1876
|
# resp.image_summary_list[0].tags #=> Hash
|
1850
1877
|
# resp.image_summary_list[0].tags["TagKey"] #=> String
|
1851
1878
|
# resp.next_token #=> String
|
@@ -1917,6 +1944,7 @@ module Aws::Imagebuilder
|
|
1917
1944
|
# resp.image_summary_list[0].output_resources.amis[0].description #=> String
|
1918
1945
|
# 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"
|
1919
1946
|
# resp.image_summary_list[0].output_resources.amis[0].state.reason #=> String
|
1947
|
+
# resp.image_summary_list[0].output_resources.amis[0].account_id #=> String
|
1920
1948
|
# resp.image_summary_list[0].tags #=> Hash
|
1921
1949
|
# resp.image_summary_list[0].tags["TagKey"] #=> String
|
1922
1950
|
# resp.next_token #=> String
|
@@ -2474,15 +2502,17 @@ module Aws::Imagebuilder
|
|
2474
2502
|
# ami_distribution_configuration: {
|
2475
2503
|
# name: "AmiNameString",
|
2476
2504
|
# description: "NonEmptyString",
|
2505
|
+
# target_account_ids: ["AccountId"],
|
2477
2506
|
# ami_tags: {
|
2478
2507
|
# "TagKey" => "TagValue",
|
2479
2508
|
# },
|
2509
|
+
# kms_key_id: "NonEmptyString",
|
2480
2510
|
# launch_permission: {
|
2481
|
-
# user_ids: ["
|
2511
|
+
# user_ids: ["AccountId"],
|
2482
2512
|
# user_groups: ["NonEmptyString"],
|
2483
2513
|
# },
|
2484
2514
|
# },
|
2485
|
-
# license_configuration_arns: ["
|
2515
|
+
# license_configuration_arns: ["LicenseConfigurationArn"],
|
2486
2516
|
# },
|
2487
2517
|
# ],
|
2488
2518
|
# client_token: "ClientToken", # required
|
@@ -2699,7 +2729,7 @@ module Aws::Imagebuilder
|
|
2699
2729
|
params: params,
|
2700
2730
|
config: config)
|
2701
2731
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
2702
|
-
context[:gem_version] = '1.
|
2732
|
+
context[:gem_version] = '1.15.0'
|
2703
2733
|
Seahorse::Client::Request.new(handlers, context)
|
2704
2734
|
end
|
2705
2735
|
|
@@ -13,13 +13,13 @@ module Aws::Imagebuilder
|
|
13
13
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
|
+
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
16
17
|
AccountList = Shapes::ListShape.new(name: 'AccountList')
|
17
18
|
Ami = Shapes::StructureShape.new(name: 'Ami')
|
18
19
|
AmiDistributionConfiguration = Shapes::StructureShape.new(name: 'AmiDistributionConfiguration')
|
19
20
|
AmiList = Shapes::ListShape.new(name: 'AmiList')
|
20
21
|
AmiNameString = Shapes::StringShape.new(name: 'AmiNameString')
|
21
22
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
22
|
-
ArnList = Shapes::ListShape.new(name: 'ArnList')
|
23
23
|
CallRateLimitExceededException = Shapes::StructureShape.new(name: 'CallRateLimitExceededException')
|
24
24
|
CancelImageCreationRequest = Shapes::StructureShape.new(name: 'CancelImageCreationRequest')
|
25
25
|
CancelImageCreationResponse = Shapes::StructureShape.new(name: 'CancelImageCreationResponse')
|
@@ -139,6 +139,8 @@ module Aws::Imagebuilder
|
|
139
139
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
140
140
|
InvalidVersionNumberException = Shapes::StructureShape.new(name: 'InvalidVersionNumberException')
|
141
141
|
LaunchPermissionConfiguration = Shapes::StructureShape.new(name: 'LaunchPermissionConfiguration')
|
142
|
+
LicenseConfigurationArn = Shapes::StringShape.new(name: 'LicenseConfigurationArn')
|
143
|
+
LicenseConfigurationArnList = Shapes::ListShape.new(name: 'LicenseConfigurationArnList')
|
142
144
|
ListComponentBuildVersionsRequest = Shapes::StructureShape.new(name: 'ListComponentBuildVersionsRequest')
|
143
145
|
ListComponentBuildVersionsResponse = Shapes::StructureShape.new(name: 'ListComponentBuildVersionsResponse')
|
144
146
|
ListComponentsRequest = Shapes::StructureShape.new(name: 'ListComponentsRequest')
|
@@ -210,25 +212,26 @@ module Aws::Imagebuilder
|
|
210
212
|
Uri = Shapes::StringShape.new(name: 'Uri')
|
211
213
|
VersionNumber = Shapes::StringShape.new(name: 'VersionNumber')
|
212
214
|
|
213
|
-
AccountList.member = Shapes::ShapeRef.new(shape:
|
215
|
+
AccountList.member = Shapes::ShapeRef.new(shape: AccountId)
|
214
216
|
|
215
217
|
Ami.add_member(:region, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "region"))
|
216
218
|
Ami.add_member(:image, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "image"))
|
217
219
|
Ami.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "name"))
|
218
220
|
Ami.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
219
221
|
Ami.add_member(:state, Shapes::ShapeRef.new(shape: ImageState, location_name: "state"))
|
222
|
+
Ami.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "accountId"))
|
220
223
|
Ami.struct_class = Types::Ami
|
221
224
|
|
222
225
|
AmiDistributionConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: AmiNameString, location_name: "name"))
|
223
226
|
AmiDistributionConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
227
|
+
AmiDistributionConfiguration.add_member(:target_account_ids, Shapes::ShapeRef.new(shape: AccountList, location_name: "targetAccountIds"))
|
224
228
|
AmiDistributionConfiguration.add_member(:ami_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "amiTags"))
|
229
|
+
AmiDistributionConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
|
225
230
|
AmiDistributionConfiguration.add_member(:launch_permission, Shapes::ShapeRef.new(shape: LaunchPermissionConfiguration, location_name: "launchPermission"))
|
226
231
|
AmiDistributionConfiguration.struct_class = Types::AmiDistributionConfiguration
|
227
232
|
|
228
233
|
AmiList.member = Shapes::ShapeRef.new(shape: Ami)
|
229
234
|
|
230
|
-
ArnList.member = Shapes::ShapeRef.new(shape: Arn)
|
231
|
-
|
232
235
|
CallRateLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
233
236
|
CallRateLimitExceededException.struct_class = Types::CallRateLimitExceededException
|
234
237
|
|
@@ -435,7 +438,7 @@ module Aws::Imagebuilder
|
|
435
438
|
|
436
439
|
Distribution.add_member(:region, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "region"))
|
437
440
|
Distribution.add_member(:ami_distribution_configuration, Shapes::ShapeRef.new(shape: AmiDistributionConfiguration, location_name: "amiDistributionConfiguration"))
|
438
|
-
Distribution.add_member(:license_configuration_arns, Shapes::ShapeRef.new(shape:
|
441
|
+
Distribution.add_member(:license_configuration_arns, Shapes::ShapeRef.new(shape: LicenseConfigurationArnList, location_name: "licenseConfigurationArns"))
|
439
442
|
Distribution.struct_class = Types::Distribution
|
440
443
|
|
441
444
|
DistributionConfiguration.add_member(:arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "arn"))
|
@@ -721,6 +724,8 @@ module Aws::Imagebuilder
|
|
721
724
|
LaunchPermissionConfiguration.add_member(:user_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "userGroups"))
|
722
725
|
LaunchPermissionConfiguration.struct_class = Types::LaunchPermissionConfiguration
|
723
726
|
|
727
|
+
LicenseConfigurationArnList.member = Shapes::ShapeRef.new(shape: LicenseConfigurationArn)
|
728
|
+
|
724
729
|
ListComponentBuildVersionsRequest.add_member(:component_version_arn, Shapes::ShapeRef.new(shape: ComponentVersionArn, required: true, location_name: "componentVersionArn"))
|
725
730
|
ListComponentBuildVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: RestrictedInteger, location_name: "maxResults", metadata: {"box"=>true}))
|
726
731
|
ListComponentBuildVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "nextToken"))
|
@@ -32,6 +32,10 @@ module Aws::Imagebuilder
|
|
32
32
|
# Image state shows the image status and the reason for that status.
|
33
33
|
# @return [Types::ImageState]
|
34
34
|
#
|
35
|
+
# @!attribute [rw] account_id
|
36
|
+
# The account ID of the owner of the AMI.
|
37
|
+
# @return [String]
|
38
|
+
#
|
35
39
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Ami AWS API Documentation
|
36
40
|
#
|
37
41
|
class Ami < Struct.new(
|
@@ -39,7 +43,8 @@ module Aws::Imagebuilder
|
|
39
43
|
:image,
|
40
44
|
:name,
|
41
45
|
:description,
|
42
|
-
:state
|
46
|
+
:state,
|
47
|
+
:account_id)
|
43
48
|
SENSITIVE = []
|
44
49
|
include Aws::Structure
|
45
50
|
end
|
@@ -52,11 +57,13 @@ module Aws::Imagebuilder
|
|
52
57
|
# {
|
53
58
|
# name: "AmiNameString",
|
54
59
|
# description: "NonEmptyString",
|
60
|
+
# target_account_ids: ["AccountId"],
|
55
61
|
# ami_tags: {
|
56
62
|
# "TagKey" => "TagValue",
|
57
63
|
# },
|
64
|
+
# kms_key_id: "NonEmptyString",
|
58
65
|
# launch_permission: {
|
59
|
-
# user_ids: ["
|
66
|
+
# user_ids: ["AccountId"],
|
60
67
|
# user_groups: ["NonEmptyString"],
|
61
68
|
# },
|
62
69
|
# }
|
@@ -69,10 +76,18 @@ module Aws::Imagebuilder
|
|
69
76
|
# The description of the distribution configuration.
|
70
77
|
# @return [String]
|
71
78
|
#
|
79
|
+
# @!attribute [rw] target_account_ids
|
80
|
+
# The ID of an account to which you want to distribute an image.
|
81
|
+
# @return [Array<String>]
|
82
|
+
#
|
72
83
|
# @!attribute [rw] ami_tags
|
73
84
|
# The tags to apply to AMIs distributed to this Region.
|
74
85
|
# @return [Hash<String,String>]
|
75
86
|
#
|
87
|
+
# @!attribute [rw] kms_key_id
|
88
|
+
# The KMS key identifier used to encrypt the distributed image.
|
89
|
+
# @return [String]
|
90
|
+
#
|
76
91
|
# @!attribute [rw] launch_permission
|
77
92
|
# Launch permissions can be used to configure which AWS accounts can
|
78
93
|
# use the AMI to launch instances.
|
@@ -83,7 +98,9 @@ module Aws::Imagebuilder
|
|
83
98
|
class AmiDistributionConfiguration < Struct.new(
|
84
99
|
:name,
|
85
100
|
:description,
|
101
|
+
:target_account_ids,
|
86
102
|
:ami_tags,
|
103
|
+
:kms_key_id,
|
87
104
|
:launch_permission)
|
88
105
|
SENSITIVE = []
|
89
106
|
include Aws::Structure
|
@@ -529,15 +546,17 @@ module Aws::Imagebuilder
|
|
529
546
|
# ami_distribution_configuration: {
|
530
547
|
# name: "AmiNameString",
|
531
548
|
# description: "NonEmptyString",
|
549
|
+
# target_account_ids: ["AccountId"],
|
532
550
|
# ami_tags: {
|
533
551
|
# "TagKey" => "TagValue",
|
534
552
|
# },
|
553
|
+
# kms_key_id: "NonEmptyString",
|
535
554
|
# launch_permission: {
|
536
|
-
# user_ids: ["
|
555
|
+
# user_ids: ["AccountId"],
|
537
556
|
# user_groups: ["NonEmptyString"],
|
538
557
|
# },
|
539
558
|
# },
|
540
|
-
# license_configuration_arns: ["
|
559
|
+
# license_configuration_arns: ["LicenseConfigurationArn"],
|
541
560
|
# },
|
542
561
|
# ],
|
543
562
|
# tags: {
|
@@ -747,7 +766,7 @@ module Aws::Imagebuilder
|
|
747
766
|
# kms_key_id: "NonEmptyString",
|
748
767
|
# snapshot_id: "NonEmptyString",
|
749
768
|
# volume_size: 1,
|
750
|
-
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
769
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
|
751
770
|
# },
|
752
771
|
# virtual_name: "NonEmptyString",
|
753
772
|
# no_device: "EmptyString",
|
@@ -780,9 +799,7 @@ module Aws::Imagebuilder
|
|
780
799
|
# The parent image of the image recipe. The value of the string can be
|
781
800
|
# the ARN of the parent image or an AMI ID. The format for the ARN
|
782
801
|
# follows this example:
|
783
|
-
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/
|
784
|
-
# The ARN ends with `/20xx.x.x`, which communicates to EC2 Image
|
785
|
-
# Builder that you want to use the latest AMI created in 20xx (year).
|
802
|
+
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/xxxx.x.x`.
|
786
803
|
# You can provide the specific version that you want to use, or you
|
787
804
|
# can use a wildcard in all of the fields. If you enter an AMI ID for
|
788
805
|
# the string value, you must have access to the AMI, and the AMI must
|
@@ -1308,15 +1325,17 @@ module Aws::Imagebuilder
|
|
1308
1325
|
# ami_distribution_configuration: {
|
1309
1326
|
# name: "AmiNameString",
|
1310
1327
|
# description: "NonEmptyString",
|
1328
|
+
# target_account_ids: ["AccountId"],
|
1311
1329
|
# ami_tags: {
|
1312
1330
|
# "TagKey" => "TagValue",
|
1313
1331
|
# },
|
1332
|
+
# kms_key_id: "NonEmptyString",
|
1314
1333
|
# launch_permission: {
|
1315
|
-
# user_ids: ["
|
1334
|
+
# user_ids: ["AccountId"],
|
1316
1335
|
# user_groups: ["NonEmptyString"],
|
1317
1336
|
# },
|
1318
1337
|
# },
|
1319
|
-
# license_configuration_arns: ["
|
1338
|
+
# license_configuration_arns: ["LicenseConfigurationArn"],
|
1320
1339
|
# }
|
1321
1340
|
#
|
1322
1341
|
# @!attribute [rw] region
|
@@ -1443,7 +1462,7 @@ module Aws::Imagebuilder
|
|
1443
1462
|
# kms_key_id: "NonEmptyString",
|
1444
1463
|
# snapshot_id: "NonEmptyString",
|
1445
1464
|
# volume_size: 1,
|
1446
|
-
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
1465
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
|
1447
1466
|
# }
|
1448
1467
|
#
|
1449
1468
|
# @!attribute [rw] encrypted
|
@@ -2605,7 +2624,7 @@ module Aws::Imagebuilder
|
|
2605
2624
|
# kms_key_id: "NonEmptyString",
|
2606
2625
|
# snapshot_id: "NonEmptyString",
|
2607
2626
|
# volume_size: 1,
|
2608
|
-
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
2627
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
|
2609
2628
|
# },
|
2610
2629
|
# virtual_name: "NonEmptyString",
|
2611
2630
|
# no_device: "EmptyString",
|
@@ -2723,7 +2742,9 @@ module Aws::Imagebuilder
|
|
2723
2742
|
# Describes the configuration for a launch permission. The launch
|
2724
2743
|
# permission modification request is sent to the [EC2
|
2725
2744
|
# ModifyImageAttribute][1] API on behalf of the user for each Region
|
2726
|
-
# they have selected to distribute the AMI.
|
2745
|
+
# they have selected to distribute the AMI. To make an AMI public, set
|
2746
|
+
# the launch permission authorized accounts to `all`. See the examples
|
2747
|
+
# for making an AMI public at [EC2 ModifyImageAttribute][1].
|
2727
2748
|
#
|
2728
2749
|
#
|
2729
2750
|
#
|
@@ -2733,7 +2754,7 @@ module Aws::Imagebuilder
|
|
2733
2754
|
# data as a hash:
|
2734
2755
|
#
|
2735
2756
|
# {
|
2736
|
-
# user_ids: ["
|
2757
|
+
# user_ids: ["AccountId"],
|
2737
2758
|
# user_groups: ["NonEmptyString"],
|
2738
2759
|
# }
|
2739
2760
|
#
|
@@ -2900,6 +2921,10 @@ module Aws::Imagebuilder
|
|
2900
2921
|
#
|
2901
2922
|
# @!attribute [rw] filters
|
2902
2923
|
# The filters.
|
2924
|
+
#
|
2925
|
+
# * `name` - The name of this distribution configuration.
|
2926
|
+
#
|
2927
|
+
# ^
|
2903
2928
|
# @return [Array<Types::Filter>]
|
2904
2929
|
#
|
2905
2930
|
# @!attribute [rw] max_results
|
@@ -3648,17 +3673,33 @@ module Aws::Imagebuilder
|
|
3648
3673
|
# }
|
3649
3674
|
#
|
3650
3675
|
# @!attribute [rw] schedule_expression
|
3651
|
-
# The expression determines how often EC2 Image Builder evaluates
|
3652
|
-
# `pipelineExecutionStartCondition`.
|
3676
|
+
# The cron expression determines how often EC2 Image Builder evaluates
|
3677
|
+
# your `pipelineExecutionStartCondition`.
|
3678
|
+
#
|
3679
|
+
# For information on how to format a cron expression in Image Builder,
|
3680
|
+
# see [Use cron expressions in EC2 Image Builder][1].
|
3681
|
+
#
|
3682
|
+
#
|
3683
|
+
#
|
3684
|
+
# [1]: https://docs.aws.amazon.com/imagebuilder/latest/userguide/image-builder-cron.html
|
3653
3685
|
# @return [String]
|
3654
3686
|
#
|
3655
3687
|
# @!attribute [rw] pipeline_execution_start_condition
|
3656
3688
|
# The condition configures when the pipeline should trigger a new
|
3657
3689
|
# image build. When the `pipelineExecutionStartCondition` is set to
|
3658
|
-
# `EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE`,
|
3659
|
-
#
|
3660
|
-
#
|
3661
|
-
# new
|
3690
|
+
# `EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE`, and you use
|
3691
|
+
# semantic version filters on the source image or components in your
|
3692
|
+
# image recipe, EC2 Image Builder will build a new image only when
|
3693
|
+
# there are new versions of the image or components in your recipe
|
3694
|
+
# that match the semantic version filter. When it is set to
|
3695
|
+
# `EXPRESSION_MATCH_ONLY`, it will build a new image every time the
|
3696
|
+
# CRON expression matches the current time. For semantic version
|
3697
|
+
# syntax, see [CreateComponent][1] in the <i> EC2 Image Builder API
|
3698
|
+
# Reference</i>.
|
3699
|
+
#
|
3700
|
+
#
|
3701
|
+
#
|
3702
|
+
# [1]: https://docs.aws.amazon.com/imagebuilder/latest/APIReference/API_CreateComponent.html
|
3662
3703
|
# @return [String]
|
3663
3704
|
#
|
3664
3705
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Schedule AWS API Documentation
|
@@ -3841,15 +3882,17 @@ module Aws::Imagebuilder
|
|
3841
3882
|
# ami_distribution_configuration: {
|
3842
3883
|
# name: "AmiNameString",
|
3843
3884
|
# description: "NonEmptyString",
|
3885
|
+
# target_account_ids: ["AccountId"],
|
3844
3886
|
# ami_tags: {
|
3845
3887
|
# "TagKey" => "TagValue",
|
3846
3888
|
# },
|
3889
|
+
# kms_key_id: "NonEmptyString",
|
3847
3890
|
# launch_permission: {
|
3848
|
-
# user_ids: ["
|
3891
|
+
# user_ids: ["AccountId"],
|
3849
3892
|
# user_groups: ["NonEmptyString"],
|
3850
3893
|
# },
|
3851
3894
|
# },
|
3852
|
-
# license_configuration_arns: ["
|
3895
|
+
# license_configuration_arns: ["LicenseConfigurationArn"],
|
3853
3896
|
# },
|
3854
3897
|
# ],
|
3855
3898
|
# client_token: "ClientToken", # required
|
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.15.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: 2020-
|
11
|
+
date: 2020-09-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.109.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.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|