aws-sdk-ec2 1.624.0 → 1.626.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +50 -24
- data/lib/aws-sdk-ec2/client_api.rb +24 -0
- data/lib/aws-sdk-ec2/placement_group.rb +6 -0
- data/lib/aws-sdk-ec2/resource.rb +6 -2
- data/lib/aws-sdk-ec2/types.rb +121 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +11 -2
- data/sig/placement_group.rbs +4 -1
- data/sig/resource.rbs +2 -1
- data/sig/types.rbs +22 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe80518425a757a7441ea06da0fb746fc830052b557237b4c922bbbc36894db9
|
|
4
|
+
data.tar.gz: 949d7a63d83b12b1833fd1f93f5e268466387eceefecb9a6e7df758275bf2ead
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74b598c69faaf88f26ee2e1fbcbfc8a9b12202261f59c241027a5604027de4d111afd59acb0cb3801b530248ec6aefca710ae61a751872bf6d6161a0dc541176
|
|
7
|
+
data.tar.gz: 9ccdce605c361d542af531e120bf4ac6bc450a2f19599140aae91ce67b5f052a336c300cff30fc226d0ce05314315453678474ea93c00bac4ce6c83c8eb1611f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.626.0 (2026-06-29)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for the precision time strategy and a parentGroupId parameter on CreatePlacementGroup and DescribePlacementGroups. Precision time placement groups and cluster placement groups with a parent precision time placement group ensure instances launch on precision time capable hardware.
|
|
8
|
+
|
|
9
|
+
1.625.0 (2026-06-22)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release adds support for AMI Watermark and Allowed AMIs integration
|
|
13
|
+
|
|
4
14
|
1.624.0 (2026-06-18)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.626.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -3204,8 +3204,7 @@ module Aws::EC2
|
|
|
3204
3204
|
|
|
3205
3205
|
# Attaches a watermark to a non-public AMI. The watermark is a
|
|
3206
3206
|
# structured identifier that automatically propagates to all derivative
|
|
3207
|
-
# images created through [CreateImage][1], [CopyImage][2]
|
|
3208
|
-
# [CreateRestoreImageTask][3].
|
|
3207
|
+
# images created through [CreateImage][1], and [CopyImage][2].
|
|
3209
3208
|
#
|
|
3210
3209
|
# Only the AMI owner can attach watermarks. Watermarks cannot be added
|
|
3211
3210
|
# to public AMIs.
|
|
@@ -3214,7 +3213,6 @@ module Aws::EC2
|
|
|
3214
3213
|
#
|
|
3215
3214
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
|
3216
3215
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CopyImage.html
|
|
3217
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateRestoreImageTask.html
|
|
3218
3216
|
#
|
|
3219
3217
|
# @option params [required, String] :image_id
|
|
3220
3218
|
# The ID of the AMI.
|
|
@@ -4378,29 +4376,26 @@ module Aws::EC2
|
|
|
4378
4376
|
#
|
|
4379
4377
|
# * `assessing`
|
|
4380
4378
|
#
|
|
4381
|
-
# * `scheduled`
|
|
4382
|
-
# `CreateCapacityReservationCancellationQuote` to generate a quote,
|
|
4383
|
-
# then pass the quote ID with `ApplyCancellationCharges` set to
|
|
4384
|
-
# `commitment-wind-down`. The cancellation charge depends on how close
|
|
4385
|
-
# the reservation is to its start date.
|
|
4379
|
+
# * `scheduled`
|
|
4386
4380
|
#
|
|
4387
4381
|
# * `active` and there is no commitment duration or the commitment
|
|
4388
4382
|
# duration has elapsed.
|
|
4389
4383
|
#
|
|
4390
|
-
# * `active` during the commitment duration
|
|
4391
|
-
# quote
|
|
4392
|
-
#
|
|
4393
|
-
#
|
|
4394
|
-
#
|
|
4395
|
-
#
|
|
4396
|
-
# * `delayed` — the commitment duration is waived, so no cancellation
|
|
4397
|
-
# charge applies.
|
|
4384
|
+
# * `active` during the commitment duration, if you provide a
|
|
4385
|
+
# cancellation quote ID and accept the cancellation charges. Use
|
|
4386
|
+
# `CreateCapacityReservationCancellationQuote` to generate a quote.
|
|
4387
|
+
# The Capacity Reservation transitions to `cancelling` while charges
|
|
4388
|
+
# are applied.
|
|
4398
4389
|
#
|
|
4399
4390
|
# <note markdown="1"> You can't modify or cancel a Capacity Block. For more information,
|
|
4400
4391
|
# see [Capacity Blocks for ML][1].
|
|
4401
4392
|
#
|
|
4402
4393
|
# </note>
|
|
4403
4394
|
#
|
|
4395
|
+
# If a future-dated Capacity Reservation enters the `delayed` state, the
|
|
4396
|
+
# commitment duration is waived, and you can cancel it as soon as it
|
|
4397
|
+
# enters the `active` state.
|
|
4398
|
+
#
|
|
4404
4399
|
# Instances running in the reserved capacity continue running until you
|
|
4405
4400
|
# stop them. Stopped instances that target the Capacity Reservation can
|
|
4406
4401
|
# no longer launch. Modify these instances to either target a different
|
|
@@ -13504,7 +13499,10 @@ module Aws::EC2
|
|
|
13504
13499
|
# network throughput. A `spread` placement group places instances on
|
|
13505
13500
|
# distinct hardware. A `partition` placement group places groups of
|
|
13506
13501
|
# instances in different partitions, where instances in one partition do
|
|
13507
|
-
# not share the same hardware with instances in another partition.
|
|
13502
|
+
# not share the same hardware with instances in another partition. A
|
|
13503
|
+
# `precision-time` placement group places instances on supported
|
|
13504
|
+
# hardware with direct access to high-precision time sources in AWS
|
|
13505
|
+
# infrastructure.
|
|
13508
13506
|
#
|
|
13509
13507
|
# For more information, see [Placement groups][1] in the *Amazon EC2
|
|
13510
13508
|
# User Guide*.
|
|
@@ -13533,6 +13531,10 @@ module Aws::EC2
|
|
|
13533
13531
|
# @option params [Types::OperatorRequest] :operator
|
|
13534
13532
|
# Reserved for internal use.
|
|
13535
13533
|
#
|
|
13534
|
+
# @option params [String] :parent_group_id
|
|
13535
|
+
# The ID of a parent placement group. Valid only when **Strategy** is
|
|
13536
|
+
# set to `cluster`.
|
|
13537
|
+
#
|
|
13536
13538
|
# @option params [Boolean] :dry_run
|
|
13537
13539
|
# Checks whether you have the required permissions for the operation,
|
|
13538
13540
|
# without actually making the request, and provides an error response.
|
|
@@ -13586,16 +13588,17 @@ module Aws::EC2
|
|
|
13586
13588
|
# operator: {
|
|
13587
13589
|
# principal: "String",
|
|
13588
13590
|
# },
|
|
13591
|
+
# parent_group_id: "PlacementGroupId",
|
|
13589
13592
|
# dry_run: false,
|
|
13590
13593
|
# group_name: "String",
|
|
13591
|
-
# strategy: "cluster", # accepts cluster, spread, partition
|
|
13594
|
+
# strategy: "cluster", # accepts cluster, spread, partition, precision-time
|
|
13592
13595
|
# })
|
|
13593
13596
|
#
|
|
13594
13597
|
# @example Response structure
|
|
13595
13598
|
#
|
|
13596
13599
|
# resp.placement_group.group_name #=> String
|
|
13597
13600
|
# resp.placement_group.state #=> String, one of "pending", "available", "deleting", "deleted"
|
|
13598
|
-
# resp.placement_group.strategy #=> String, one of "cluster", "spread", "partition"
|
|
13601
|
+
# resp.placement_group.strategy #=> String, one of "cluster", "spread", "partition", "precision-time"
|
|
13599
13602
|
# resp.placement_group.partition_count #=> Integer
|
|
13600
13603
|
# resp.placement_group.group_id #=> String
|
|
13601
13604
|
# resp.placement_group.tags #=> Array
|
|
@@ -13607,6 +13610,7 @@ module Aws::EC2
|
|
|
13607
13610
|
# resp.placement_group.operator.managed #=> Boolean
|
|
13608
13611
|
# resp.placement_group.operator.principal #=> String
|
|
13609
13612
|
# resp.placement_group.operator.hidden_by_default #=> Boolean
|
|
13613
|
+
# resp.placement_group.parent_group_id #=> String
|
|
13610
13614
|
#
|
|
13611
13615
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroup AWS API Documentation
|
|
13612
13616
|
#
|
|
@@ -21824,8 +21828,10 @@ module Aws::EC2
|
|
|
21824
21828
|
|
|
21825
21829
|
# Deletes the specified placement group. You must terminate all
|
|
21826
21830
|
# instances in the placement group before you can delete the placement
|
|
21827
|
-
# group.
|
|
21828
|
-
#
|
|
21831
|
+
# group. You cannot delete a placement group that is a parent of a
|
|
21832
|
+
# cluster placement group. Delete the cluster placement groups first.
|
|
21833
|
+
# For more information, see [Placement groups][1] in the *Amazon EC2
|
|
21834
|
+
# User Guide*.
|
|
21829
21835
|
#
|
|
21830
21836
|
#
|
|
21831
21837
|
#
|
|
@@ -38199,7 +38205,7 @@ module Aws::EC2
|
|
|
38199
38205
|
# \| `deleting` \| `deleted`).
|
|
38200
38206
|
#
|
|
38201
38207
|
# * `strategy` - The strategy of the placement group (`cluster` \|
|
|
38202
|
-
# `spread` \| `partition`).
|
|
38208
|
+
# `spread` \| `partition` \| `precision-time`).
|
|
38203
38209
|
#
|
|
38204
38210
|
# * `tag:<key>` - The key/value combination of a tag assigned to the
|
|
38205
38211
|
# resource. Use the tag key in the filter name and the tag value as
|
|
@@ -38234,7 +38240,7 @@ module Aws::EC2
|
|
|
38234
38240
|
# resp.placement_groups #=> Array
|
|
38235
38241
|
# resp.placement_groups[0].group_name #=> String
|
|
38236
38242
|
# resp.placement_groups[0].state #=> String, one of "pending", "available", "deleting", "deleted"
|
|
38237
|
-
# resp.placement_groups[0].strategy #=> String, one of "cluster", "spread", "partition"
|
|
38243
|
+
# resp.placement_groups[0].strategy #=> String, one of "cluster", "spread", "partition", "precision-time"
|
|
38238
38244
|
# resp.placement_groups[0].partition_count #=> Integer
|
|
38239
38245
|
# resp.placement_groups[0].group_id #=> String
|
|
38240
38246
|
# resp.placement_groups[0].tags #=> Array
|
|
@@ -38246,6 +38252,7 @@ module Aws::EC2
|
|
|
38246
38252
|
# resp.placement_groups[0].operator.managed #=> Boolean
|
|
38247
38253
|
# resp.placement_groups[0].operator.principal #=> String
|
|
38248
38254
|
# resp.placement_groups[0].operator.hidden_by_default #=> Boolean
|
|
38255
|
+
# resp.placement_groups[0].parent_group_id #=> String
|
|
38249
38256
|
#
|
|
38250
38257
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroups AWS API Documentation
|
|
38251
38258
|
#
|
|
@@ -51782,6 +51789,11 @@ module Aws::EC2
|
|
|
51782
51789
|
# resp.image_criteria[0].image_names[0] #=> String
|
|
51783
51790
|
# resp.image_criteria[0].deprecation_time_condition.maximum_days_since_deprecated #=> Integer
|
|
51784
51791
|
# resp.image_criteria[0].creation_date_condition.maximum_days_since_created #=> Integer
|
|
51792
|
+
# resp.image_criteria[0].image_watermarks #=> Array
|
|
51793
|
+
# resp.image_criteria[0].image_watermarks[0].watermark_key #=> String
|
|
51794
|
+
# resp.image_criteria[0].image_watermarks[0].source_image_region #=> String
|
|
51795
|
+
# resp.image_criteria[0].image_watermarks[0].maximum_days_since_source_image_created #=> Integer
|
|
51796
|
+
# resp.image_criteria[0].image_watermarks[0].maximum_days_since_watermark_created #=> Integer
|
|
51785
51797
|
# resp.managed_by #=> String, one of "account", "declarative-policy"
|
|
51786
51798
|
#
|
|
51787
51799
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetAllowedImagesSettings AWS API Documentation
|
|
@@ -67736,6 +67748,12 @@ module Aws::EC2
|
|
|
67736
67748
|
|
|
67737
67749
|
# Sets or replaces the criteria for Allowed AMIs.
|
|
67738
67750
|
#
|
|
67751
|
+
# The `ImageCriteria` can include up to:
|
|
67752
|
+
#
|
|
67753
|
+
# * 10 `ImageCriterion`
|
|
67754
|
+
#
|
|
67755
|
+
# ^
|
|
67756
|
+
#
|
|
67739
67757
|
# <note markdown="1"> The Allowed AMIs feature does not restrict the AMIs owned by your
|
|
67740
67758
|
# account. Regardless of the criteria you set, the AMIs created by your
|
|
67741
67759
|
# account will always be discoverable and usable by users in your
|
|
@@ -67779,6 +67797,14 @@ module Aws::EC2
|
|
|
67779
67797
|
# creation_date_condition: {
|
|
67780
67798
|
# maximum_days_since_created: 1,
|
|
67781
67799
|
# },
|
|
67800
|
+
# image_watermarks: [
|
|
67801
|
+
# {
|
|
67802
|
+
# watermark_key: "String",
|
|
67803
|
+
# source_image_region: "String",
|
|
67804
|
+
# maximum_days_since_source_image_created: 1,
|
|
67805
|
+
# maximum_days_since_watermark_created: 1,
|
|
67806
|
+
# },
|
|
67807
|
+
# ],
|
|
67782
67808
|
# },
|
|
67783
67809
|
# ],
|
|
67784
67810
|
# dry_run: false,
|
|
@@ -74087,7 +74113,7 @@ module Aws::EC2
|
|
|
74087
74113
|
tracer: tracer
|
|
74088
74114
|
)
|
|
74089
74115
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
74090
|
-
context[:gem_version] = '1.
|
|
74116
|
+
context[:gem_version] = '1.626.0'
|
|
74091
74117
|
Seahorse::Client::Request.new(handlers, context)
|
|
74092
74118
|
end
|
|
74093
74119
|
|
|
@@ -2073,6 +2073,10 @@ module Aws::EC2
|
|
|
2073
2073
|
ImageUsageResourceTypeRequest = Shapes::StructureShape.new(name: 'ImageUsageResourceTypeRequest')
|
|
2074
2074
|
ImageUsageResourceTypeRequestList = Shapes::ListShape.new(name: 'ImageUsageResourceTypeRequestList')
|
|
2075
2075
|
ImageWatermark = Shapes::StructureShape.new(name: 'ImageWatermark')
|
|
2076
|
+
ImageWatermarkFilterRequest = Shapes::StructureShape.new(name: 'ImageWatermarkFilterRequest')
|
|
2077
|
+
ImageWatermarkFilterRequestList = Shapes::ListShape.new(name: 'ImageWatermarkFilterRequestList')
|
|
2078
|
+
ImageWatermarkFilterResponse = Shapes::StructureShape.new(name: 'ImageWatermarkFilterResponse')
|
|
2079
|
+
ImageWatermarkFilterResponseList = Shapes::ListShape.new(name: 'ImageWatermarkFilterResponseList')
|
|
2076
2080
|
ImageWatermarkList = Shapes::ListShape.new(name: 'ImageWatermarkList')
|
|
2077
2081
|
ImageWatermarkNameRequest = Shapes::StringShape.new(name: 'ImageWatermarkNameRequest')
|
|
2078
2082
|
ImdsSupportValues = Shapes::StringShape.new(name: 'ImdsSupportValues')
|
|
@@ -6447,6 +6451,7 @@ module Aws::EC2
|
|
|
6447
6451
|
CreatePlacementGroupRequest.add_member(:spread_level, Shapes::ShapeRef.new(shape: SpreadLevel, location_name: "SpreadLevel"))
|
|
6448
6452
|
CreatePlacementGroupRequest.add_member(:linked_group_id, Shapes::ShapeRef.new(shape: PlacementGroupId, location_name: "LinkedGroupId"))
|
|
6449
6453
|
CreatePlacementGroupRequest.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorRequest, location_name: "Operator"))
|
|
6454
|
+
CreatePlacementGroupRequest.add_member(:parent_group_id, Shapes::ShapeRef.new(shape: PlacementGroupId, location_name: "ParentGroupId"))
|
|
6450
6455
|
CreatePlacementGroupRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
6451
6456
|
CreatePlacementGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
|
|
6452
6457
|
CreatePlacementGroupRequest.add_member(:strategy, Shapes::ShapeRef.new(shape: PlacementStrategy, location_name: "strategy"))
|
|
@@ -12348,6 +12353,7 @@ module Aws::EC2
|
|
|
12348
12353
|
ImageCriterion.add_member(:image_names, Shapes::ShapeRef.new(shape: ImageNameList, location_name: "imageNameSet"))
|
|
12349
12354
|
ImageCriterion.add_member(:deprecation_time_condition, Shapes::ShapeRef.new(shape: DeprecationTimeCondition, location_name: "deprecationTimeCondition"))
|
|
12350
12355
|
ImageCriterion.add_member(:creation_date_condition, Shapes::ShapeRef.new(shape: CreationDateCondition, location_name: "creationDateCondition"))
|
|
12356
|
+
ImageCriterion.add_member(:image_watermarks, Shapes::ShapeRef.new(shape: ImageWatermarkFilterResponseList, location_name: "imageWatermarkSet"))
|
|
12351
12357
|
ImageCriterion.struct_class = Types::ImageCriterion
|
|
12352
12358
|
|
|
12353
12359
|
ImageCriterionList.member = Shapes::ShapeRef.new(shape: ImageCriterion, location_name: "item")
|
|
@@ -12357,6 +12363,7 @@ module Aws::EC2
|
|
|
12357
12363
|
ImageCriterionRequest.add_member(:image_names, Shapes::ShapeRef.new(shape: ImageNameCriteriaRequestList, location_name: "ImageName"))
|
|
12358
12364
|
ImageCriterionRequest.add_member(:deprecation_time_condition, Shapes::ShapeRef.new(shape: DeprecationTimeConditionRequest, location_name: "DeprecationTimeCondition"))
|
|
12359
12365
|
ImageCriterionRequest.add_member(:creation_date_condition, Shapes::ShapeRef.new(shape: CreationDateConditionRequest, location_name: "CreationDateCondition"))
|
|
12366
|
+
ImageCriterionRequest.add_member(:image_watermarks, Shapes::ShapeRef.new(shape: ImageWatermarkFilterRequestList, location_name: "ImageWatermark"))
|
|
12360
12367
|
ImageCriterionRequest.struct_class = Types::ImageCriterionRequest
|
|
12361
12368
|
|
|
12362
12369
|
ImageCriterionRequestList.member = Shapes::ShapeRef.new(shape: ImageCriterionRequest, location_name: "ImageCriterion")
|
|
@@ -12473,6 +12480,22 @@ module Aws::EC2
|
|
|
12473
12480
|
ImageWatermark.add_member(:watermark_creation_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "watermarkCreationTime"))
|
|
12474
12481
|
ImageWatermark.struct_class = Types::ImageWatermark
|
|
12475
12482
|
|
|
12483
|
+
ImageWatermarkFilterRequest.add_member(:watermark_key, Shapes::ShapeRef.new(shape: String, location_name: "WatermarkKey"))
|
|
12484
|
+
ImageWatermarkFilterRequest.add_member(:source_image_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceImageRegion"))
|
|
12485
|
+
ImageWatermarkFilterRequest.add_member(:maximum_days_since_source_image_created, Shapes::ShapeRef.new(shape: Integer, location_name: "MaximumDaysSinceSourceImageCreated"))
|
|
12486
|
+
ImageWatermarkFilterRequest.add_member(:maximum_days_since_watermark_created, Shapes::ShapeRef.new(shape: Integer, location_name: "MaximumDaysSinceWatermarkCreated"))
|
|
12487
|
+
ImageWatermarkFilterRequest.struct_class = Types::ImageWatermarkFilterRequest
|
|
12488
|
+
|
|
12489
|
+
ImageWatermarkFilterRequestList.member = Shapes::ShapeRef.new(shape: ImageWatermarkFilterRequest, location_name: "item")
|
|
12490
|
+
|
|
12491
|
+
ImageWatermarkFilterResponse.add_member(:watermark_key, Shapes::ShapeRef.new(shape: String, location_name: "watermarkKey"))
|
|
12492
|
+
ImageWatermarkFilterResponse.add_member(:source_image_region, Shapes::ShapeRef.new(shape: String, location_name: "sourceImageRegion"))
|
|
12493
|
+
ImageWatermarkFilterResponse.add_member(:maximum_days_since_source_image_created, Shapes::ShapeRef.new(shape: Integer, location_name: "maximumDaysSinceSourceImageCreated"))
|
|
12494
|
+
ImageWatermarkFilterResponse.add_member(:maximum_days_since_watermark_created, Shapes::ShapeRef.new(shape: Integer, location_name: "maximumDaysSinceWatermarkCreated"))
|
|
12495
|
+
ImageWatermarkFilterResponse.struct_class = Types::ImageWatermarkFilterResponse
|
|
12496
|
+
|
|
12497
|
+
ImageWatermarkFilterResponseList.member = Shapes::ShapeRef.new(shape: ImageWatermarkFilterResponse, location_name: "item")
|
|
12498
|
+
|
|
12476
12499
|
ImageWatermarkList.member = Shapes::ShapeRef.new(shape: ImageWatermark, location_name: "item")
|
|
12477
12500
|
|
|
12478
12501
|
ImportClientVpnClientCertificateRevocationListRequest.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: ClientVpnEndpointId, required: true, location_name: "ClientVpnEndpointId"))
|
|
@@ -16082,6 +16105,7 @@ module Aws::EC2
|
|
|
16082
16105
|
PlacementGroup.add_member(:spread_level, Shapes::ShapeRef.new(shape: SpreadLevel, location_name: "spreadLevel"))
|
|
16083
16106
|
PlacementGroup.add_member(:linked_group_id, Shapes::ShapeRef.new(shape: PlacementGroupId, location_name: "linkedGroupId"))
|
|
16084
16107
|
PlacementGroup.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorResponse, location_name: "operator"))
|
|
16108
|
+
PlacementGroup.add_member(:parent_group_id, Shapes::ShapeRef.new(shape: PlacementGroupId, location_name: "parentGroupId"))
|
|
16085
16109
|
PlacementGroup.struct_class = Types::PlacementGroup
|
|
16086
16110
|
|
|
16087
16111
|
PlacementGroupIdStringList.member = Shapes::ShapeRef.new(shape: PlacementGroupId, location_name: "GroupId")
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
|
@@ -1127,9 +1127,10 @@ module Aws::EC2
|
|
|
1127
1127
|
# operator: {
|
|
1128
1128
|
# principal: "String",
|
|
1129
1129
|
# },
|
|
1130
|
+
# parent_group_id: "PlacementGroupId",
|
|
1130
1131
|
# dry_run: false,
|
|
1131
1132
|
# group_name: "String",
|
|
1132
|
-
# strategy: "cluster", # accepts cluster, spread, partition
|
|
1133
|
+
# strategy: "cluster", # accepts cluster, spread, partition, precision-time
|
|
1133
1134
|
# })
|
|
1134
1135
|
# @param [Hash] options ({})
|
|
1135
1136
|
# @option options [Integer] :partition_count
|
|
@@ -1147,6 +1148,9 @@ module Aws::EC2
|
|
|
1147
1148
|
# Reserved for future use.
|
|
1148
1149
|
# @option options [Types::OperatorRequest] :operator
|
|
1149
1150
|
# Reserved for internal use.
|
|
1151
|
+
# @option options [String] :parent_group_id
|
|
1152
|
+
# The ID of a parent placement group. Valid only when **Strategy** is
|
|
1153
|
+
# set to `cluster`.
|
|
1150
1154
|
# @option options [Boolean] :dry_run
|
|
1151
1155
|
# Checks whether you have the required permissions for the operation,
|
|
1152
1156
|
# without actually making the request, and provides an error response.
|
|
@@ -3658,7 +3662,7 @@ module Aws::EC2
|
|
|
3658
3662
|
# \| `deleting` \| `deleted`).
|
|
3659
3663
|
#
|
|
3660
3664
|
# * `strategy` - The strategy of the placement group (`cluster` \|
|
|
3661
|
-
# `spread` \| `partition`).
|
|
3665
|
+
# `spread` \| `partition` \| `precision-time`).
|
|
3662
3666
|
#
|
|
3663
3667
|
# * `tag:<key>` - The key/value combination of a tag assigned to the
|
|
3664
3668
|
# resource. Use the tag key in the filter name and the tag value as
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -13515,6 +13515,11 @@ module Aws::EC2
|
|
|
13515
13515
|
# Reserved for internal use.
|
|
13516
13516
|
# @return [Types::OperatorRequest]
|
|
13517
13517
|
#
|
|
13518
|
+
# @!attribute [rw] parent_group_id
|
|
13519
|
+
# The ID of a parent placement group. Valid only when **Strategy** is
|
|
13520
|
+
# set to `cluster`.
|
|
13521
|
+
# @return [String]
|
|
13522
|
+
#
|
|
13518
13523
|
# @!attribute [rw] dry_run
|
|
13519
13524
|
# Checks whether you have the required permissions for the operation,
|
|
13520
13525
|
# without actually making the request, and provides an error response.
|
|
@@ -13541,6 +13546,7 @@ module Aws::EC2
|
|
|
13541
13546
|
:spread_level,
|
|
13542
13547
|
:linked_group_id,
|
|
13543
13548
|
:operator,
|
|
13549
|
+
:parent_group_id,
|
|
13544
13550
|
:dry_run,
|
|
13545
13551
|
:group_name,
|
|
13546
13552
|
:strategy)
|
|
@@ -30353,7 +30359,7 @@ module Aws::EC2
|
|
|
30353
30359
|
# `available` \| `deleting` \| `deleted`).
|
|
30354
30360
|
#
|
|
30355
30361
|
# * `strategy` - The strategy of the placement group (`cluster` \|
|
|
30356
|
-
# `spread` \| `partition`).
|
|
30362
|
+
# `spread` \| `partition` \| `precision-time`).
|
|
30357
30363
|
#
|
|
30358
30364
|
# * `tag:<key>` - The key/value combination of a tag assigned to the
|
|
30359
30365
|
# resource. Use the tag key in the filter name and the tag value as
|
|
@@ -48873,6 +48879,16 @@ module Aws::EC2
|
|
|
48873
48879
|
# The maximum age for allowed images.
|
|
48874
48880
|
# @return [Types::CreationDateCondition]
|
|
48875
48881
|
#
|
|
48882
|
+
# @!attribute [rw] image_watermarks
|
|
48883
|
+
# The watermark criteria that an AMI must match to be allowed. An AMI
|
|
48884
|
+
# is allowed if it carries at least one watermark that satisfies an
|
|
48885
|
+
# ImageWatermarkFilter. A watermark satisfies a filter when all
|
|
48886
|
+
# specified fields in the ImageWatermarkFilter match the corresponding
|
|
48887
|
+
# values on the watermark of the AMI.
|
|
48888
|
+
#
|
|
48889
|
+
# Maximum: 50 values
|
|
48890
|
+
# @return [Array<Types::ImageWatermarkFilterResponse>]
|
|
48891
|
+
#
|
|
48876
48892
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageCriterion AWS API Documentation
|
|
48877
48893
|
#
|
|
48878
48894
|
class ImageCriterion < Struct.new(
|
|
@@ -48880,7 +48896,8 @@ module Aws::EC2
|
|
|
48880
48896
|
:marketplace_product_codes,
|
|
48881
48897
|
:image_names,
|
|
48882
48898
|
:deprecation_time_condition,
|
|
48883
|
-
:creation_date_condition
|
|
48899
|
+
:creation_date_condition,
|
|
48900
|
+
:image_watermarks)
|
|
48884
48901
|
SENSITIVE = []
|
|
48885
48902
|
include Aws::Structure
|
|
48886
48903
|
end
|
|
@@ -48903,6 +48920,8 @@ module Aws::EC2
|
|
|
48903
48920
|
#
|
|
48904
48921
|
# * 50 values for `MarketplaceProductCodes`
|
|
48905
48922
|
#
|
|
48923
|
+
# * 50 values for `ImageWatermarks`
|
|
48924
|
+
#
|
|
48906
48925
|
# For more information, see [How Allowed AMIs works][1] in the *Amazon
|
|
48907
48926
|
# EC2 User Guide*.
|
|
48908
48927
|
#
|
|
@@ -48970,6 +48989,16 @@ module Aws::EC2
|
|
|
48970
48989
|
# The maximum age for allowed images.
|
|
48971
48990
|
# @return [Types::CreationDateConditionRequest]
|
|
48972
48991
|
#
|
|
48992
|
+
# @!attribute [rw] image_watermarks
|
|
48993
|
+
# The watermark criteria that an AMI must match to be allowed. An AMI
|
|
48994
|
+
# is allowed if it carries at least one watermark that satisfies an
|
|
48995
|
+
# ImageWatermarkFilter. A watermark satisfies a filter when all
|
|
48996
|
+
# specified fields in the ImageWatermarkFilter match the corresponding
|
|
48997
|
+
# values on the watermark of the AMI.
|
|
48998
|
+
#
|
|
48999
|
+
# Maximum: 50 values
|
|
49000
|
+
# @return [Array<Types::ImageWatermarkFilterRequest>]
|
|
49001
|
+
#
|
|
48973
49002
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageCriterionRequest AWS API Documentation
|
|
48974
49003
|
#
|
|
48975
49004
|
class ImageCriterionRequest < Struct.new(
|
|
@@ -48977,7 +49006,8 @@ module Aws::EC2
|
|
|
48977
49006
|
:marketplace_product_codes,
|
|
48978
49007
|
:image_names,
|
|
48979
49008
|
:deprecation_time_condition,
|
|
48980
|
-
:creation_date_condition
|
|
49009
|
+
:creation_date_condition,
|
|
49010
|
+
:image_watermarks)
|
|
48981
49011
|
SENSITIVE = []
|
|
48982
49012
|
include Aws::Structure
|
|
48983
49013
|
end
|
|
@@ -49394,6 +49424,84 @@ module Aws::EC2
|
|
|
49394
49424
|
include Aws::Structure
|
|
49395
49425
|
end
|
|
49396
49426
|
|
|
49427
|
+
# The watermark filter criteria for an allowed image. Each entry can
|
|
49428
|
+
# specify one or more fields. All specified fields must match the same
|
|
49429
|
+
# watermark on the image.
|
|
49430
|
+
#
|
|
49431
|
+
# @!attribute [rw] watermark_key
|
|
49432
|
+
# The `accountId:name` of the watermark. Supports wildcards (`*`,
|
|
49433
|
+
# `?`).
|
|
49434
|
+
# @return [String]
|
|
49435
|
+
#
|
|
49436
|
+
# @!attribute [rw] source_image_region
|
|
49437
|
+
# The Region where the watermark was originally created. Supports
|
|
49438
|
+
# wildcards (`*`, `?`).
|
|
49439
|
+
# @return [String]
|
|
49440
|
+
#
|
|
49441
|
+
# @!attribute [rw] maximum_days_since_source_image_created
|
|
49442
|
+
# The maximum number of days that have elapsed since the source image
|
|
49443
|
+
# was created.
|
|
49444
|
+
#
|
|
49445
|
+
# Constraints: Minimum value of 0. Maximum value of 2147483647.
|
|
49446
|
+
# @return [Integer]
|
|
49447
|
+
#
|
|
49448
|
+
# @!attribute [rw] maximum_days_since_watermark_created
|
|
49449
|
+
# The maximum number of days that have elapsed since the watermark was
|
|
49450
|
+
# attached to the image.
|
|
49451
|
+
#
|
|
49452
|
+
# Constraints: Minimum value of 0. Maximum value of 2147483647.
|
|
49453
|
+
# @return [Integer]
|
|
49454
|
+
#
|
|
49455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageWatermarkFilterRequest AWS API Documentation
|
|
49456
|
+
#
|
|
49457
|
+
class ImageWatermarkFilterRequest < Struct.new(
|
|
49458
|
+
:watermark_key,
|
|
49459
|
+
:source_image_region,
|
|
49460
|
+
:maximum_days_since_source_image_created,
|
|
49461
|
+
:maximum_days_since_watermark_created)
|
|
49462
|
+
SENSITIVE = []
|
|
49463
|
+
include Aws::Structure
|
|
49464
|
+
end
|
|
49465
|
+
|
|
49466
|
+
# The watermark filter criteria for an allowed image. Each entry can
|
|
49467
|
+
# specify one or more fields. All specified fields must match the same
|
|
49468
|
+
# watermark on the image.
|
|
49469
|
+
#
|
|
49470
|
+
# @!attribute [rw] watermark_key
|
|
49471
|
+
# The `accountId:name` of the watermark. Supports wildcards (`*`,
|
|
49472
|
+
# `?`).
|
|
49473
|
+
# @return [String]
|
|
49474
|
+
#
|
|
49475
|
+
# @!attribute [rw] source_image_region
|
|
49476
|
+
# The Region where the watermark was originally created. Supports
|
|
49477
|
+
# wildcards (`*`, `?`).
|
|
49478
|
+
# @return [String]
|
|
49479
|
+
#
|
|
49480
|
+
# @!attribute [rw] maximum_days_since_source_image_created
|
|
49481
|
+
# The maximum number of days that have elapsed since the source image
|
|
49482
|
+
# was created.
|
|
49483
|
+
#
|
|
49484
|
+
# Constraints: Minimum value of 0. Maximum value of 2147483647.
|
|
49485
|
+
# @return [Integer]
|
|
49486
|
+
#
|
|
49487
|
+
# @!attribute [rw] maximum_days_since_watermark_created
|
|
49488
|
+
# The maximum number of days that have elapsed since the watermark was
|
|
49489
|
+
# attached to the image.
|
|
49490
|
+
#
|
|
49491
|
+
# Constraints: Minimum value of 0. Maximum value of 2147483647.
|
|
49492
|
+
# @return [Integer]
|
|
49493
|
+
#
|
|
49494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageWatermarkFilterResponse AWS API Documentation
|
|
49495
|
+
#
|
|
49496
|
+
class ImageWatermarkFilterResponse < Struct.new(
|
|
49497
|
+
:watermark_key,
|
|
49498
|
+
:source_image_region,
|
|
49499
|
+
:maximum_days_since_source_image_created,
|
|
49500
|
+
:maximum_days_since_watermark_created)
|
|
49501
|
+
SENSITIVE = []
|
|
49502
|
+
include Aws::Structure
|
|
49503
|
+
end
|
|
49504
|
+
|
|
49397
49505
|
# @!attribute [rw] client_vpn_endpoint_id
|
|
49398
49506
|
# The ID of the Client VPN endpoint to which the client certificate
|
|
49399
49507
|
# revocation list applies.
|
|
@@ -64540,6 +64648,10 @@ module Aws::EC2
|
|
|
64540
64648
|
#
|
|
64541
64649
|
# * Connect
|
|
64542
64650
|
#
|
|
64651
|
+
# * VPN Concentrator
|
|
64652
|
+
#
|
|
64653
|
+
# * Client VPN
|
|
64654
|
+
#
|
|
64543
64655
|
# You must first delete all transit gateway attachments configured
|
|
64544
64656
|
# prior to modifying the ASN on the transit gateway.
|
|
64545
64657
|
# @return [Integer]
|
|
@@ -69688,6 +69800,10 @@ module Aws::EC2
|
|
|
69688
69800
|
# The service provider that manages the Placement Group.
|
|
69689
69801
|
# @return [Types::OperatorResponse]
|
|
69690
69802
|
#
|
|
69803
|
+
# @!attribute [rw] parent_group_id
|
|
69804
|
+
# The ID of the parent placement group.
|
|
69805
|
+
# @return [String]
|
|
69806
|
+
#
|
|
69691
69807
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PlacementGroup AWS API Documentation
|
|
69692
69808
|
#
|
|
69693
69809
|
class PlacementGroup < Struct.new(
|
|
@@ -69700,7 +69816,8 @@ module Aws::EC2
|
|
|
69700
69816
|
:group_arn,
|
|
69701
69817
|
:spread_level,
|
|
69702
69818
|
:linked_group_id,
|
|
69703
|
-
:operator
|
|
69819
|
+
:operator,
|
|
69820
|
+
:parent_group_id)
|
|
69704
69821
|
SENSITIVE = []
|
|
69705
69822
|
include Aws::Structure
|
|
69706
69823
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -2621,9 +2621,10 @@ module Aws
|
|
|
2621
2621
|
?operator: {
|
|
2622
2622
|
principal: ::String?
|
|
2623
2623
|
},
|
|
2624
|
+
?parent_group_id: ::String,
|
|
2624
2625
|
?dry_run: bool,
|
|
2625
2626
|
?group_name: ::String,
|
|
2626
|
-
?strategy: ("cluster" | "spread" | "partition")
|
|
2627
|
+
?strategy: ("cluster" | "spread" | "partition" | "precision-time")
|
|
2627
2628
|
) -> _CreatePlacementGroupResponseSuccess
|
|
2628
2629
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePlacementGroupResponseSuccess
|
|
2629
2630
|
|
|
@@ -13204,7 +13205,15 @@ module Aws
|
|
|
13204
13205
|
}?,
|
|
13205
13206
|
creation_date_condition: {
|
|
13206
13207
|
maximum_days_since_created: ::Integer?
|
|
13207
|
-
}
|
|
13208
|
+
}?,
|
|
13209
|
+
image_watermarks: Array[
|
|
13210
|
+
{
|
|
13211
|
+
watermark_key: ::String?,
|
|
13212
|
+
source_image_region: ::String?,
|
|
13213
|
+
maximum_days_since_source_image_created: ::Integer?,
|
|
13214
|
+
maximum_days_since_watermark_created: ::Integer?
|
|
13215
|
+
}
|
|
13216
|
+
]?
|
|
13208
13217
|
}
|
|
13209
13218
|
],
|
|
13210
13219
|
?dry_run: bool
|
data/sig/placement_group.rbs
CHANGED
|
@@ -22,7 +22,7 @@ module Aws
|
|
|
22
22
|
def state: () -> ("pending" | "available" | "deleting" | "deleted")
|
|
23
23
|
|
|
24
24
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#strategy-instance_method
|
|
25
|
-
def strategy: () -> ("cluster" | "spread" | "partition")
|
|
25
|
+
def strategy: () -> ("cluster" | "spread" | "partition" | "precision-time")
|
|
26
26
|
|
|
27
27
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#partition_count-instance_method
|
|
28
28
|
def partition_count: () -> ::Integer
|
|
@@ -45,6 +45,9 @@ module Aws
|
|
|
45
45
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#operator-instance_method
|
|
46
46
|
def operator: () -> Types::OperatorResponse
|
|
47
47
|
|
|
48
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#parent_group_id-instance_method
|
|
49
|
+
def parent_group_id: () -> ::String
|
|
50
|
+
|
|
48
51
|
def client: () -> Client
|
|
49
52
|
|
|
50
53
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#load-instance_method
|
data/sig/resource.rbs
CHANGED
|
@@ -497,9 +497,10 @@ module Aws
|
|
|
497
497
|
?operator: {
|
|
498
498
|
principal: ::String?
|
|
499
499
|
},
|
|
500
|
+
?parent_group_id: ::String,
|
|
500
501
|
?dry_run: bool,
|
|
501
502
|
?group_name: ::String,
|
|
502
|
-
?strategy: ("cluster" | "spread" | "partition")
|
|
503
|
+
?strategy: ("cluster" | "spread" | "partition" | "precision-time")
|
|
503
504
|
) -> PlacementGroup
|
|
504
505
|
| (?Hash[Symbol, untyped]) -> PlacementGroup
|
|
505
506
|
|
data/sig/types.rbs
CHANGED
|
@@ -2905,9 +2905,10 @@ module Aws::EC2
|
|
|
2905
2905
|
attr_accessor spread_level: ("host" | "rack")
|
|
2906
2906
|
attr_accessor linked_group_id: ::String
|
|
2907
2907
|
attr_accessor operator: Types::OperatorRequest
|
|
2908
|
+
attr_accessor parent_group_id: ::String
|
|
2908
2909
|
attr_accessor dry_run: bool
|
|
2909
2910
|
attr_accessor group_name: ::String
|
|
2910
|
-
attr_accessor strategy: ("cluster" | "spread" | "partition")
|
|
2911
|
+
attr_accessor strategy: ("cluster" | "spread" | "partition" | "precision-time")
|
|
2911
2912
|
SENSITIVE: []
|
|
2912
2913
|
end
|
|
2913
2914
|
|
|
@@ -10790,6 +10791,7 @@ module Aws::EC2
|
|
|
10790
10791
|
attr_accessor image_names: ::Array[::String]
|
|
10791
10792
|
attr_accessor deprecation_time_condition: Types::DeprecationTimeCondition
|
|
10792
10793
|
attr_accessor creation_date_condition: Types::CreationDateCondition
|
|
10794
|
+
attr_accessor image_watermarks: ::Array[Types::ImageWatermarkFilterResponse]
|
|
10793
10795
|
SENSITIVE: []
|
|
10794
10796
|
end
|
|
10795
10797
|
|
|
@@ -10799,6 +10801,7 @@ module Aws::EC2
|
|
|
10799
10801
|
attr_accessor image_names: ::Array[::String]
|
|
10800
10802
|
attr_accessor deprecation_time_condition: Types::DeprecationTimeConditionRequest
|
|
10801
10803
|
attr_accessor creation_date_condition: Types::CreationDateConditionRequest
|
|
10804
|
+
attr_accessor image_watermarks: ::Array[Types::ImageWatermarkFilterRequest]
|
|
10802
10805
|
SENSITIVE: []
|
|
10803
10806
|
end
|
|
10804
10807
|
|
|
@@ -10898,6 +10901,22 @@ module Aws::EC2
|
|
|
10898
10901
|
SENSITIVE: []
|
|
10899
10902
|
end
|
|
10900
10903
|
|
|
10904
|
+
class ImageWatermarkFilterRequest
|
|
10905
|
+
attr_accessor watermark_key: ::String
|
|
10906
|
+
attr_accessor source_image_region: ::String
|
|
10907
|
+
attr_accessor maximum_days_since_source_image_created: ::Integer
|
|
10908
|
+
attr_accessor maximum_days_since_watermark_created: ::Integer
|
|
10909
|
+
SENSITIVE: []
|
|
10910
|
+
end
|
|
10911
|
+
|
|
10912
|
+
class ImageWatermarkFilterResponse
|
|
10913
|
+
attr_accessor watermark_key: ::String
|
|
10914
|
+
attr_accessor source_image_region: ::String
|
|
10915
|
+
attr_accessor maximum_days_since_source_image_created: ::Integer
|
|
10916
|
+
attr_accessor maximum_days_since_watermark_created: ::Integer
|
|
10917
|
+
SENSITIVE: []
|
|
10918
|
+
end
|
|
10919
|
+
|
|
10901
10920
|
class ImportClientVpnClientCertificateRevocationListRequest
|
|
10902
10921
|
attr_accessor client_vpn_endpoint_id: ::String
|
|
10903
10922
|
attr_accessor certificate_revocation_list: ::String
|
|
@@ -15008,7 +15027,7 @@ module Aws::EC2
|
|
|
15008
15027
|
class PlacementGroup
|
|
15009
15028
|
attr_accessor group_name: ::String
|
|
15010
15029
|
attr_accessor state: ("pending" | "available" | "deleting" | "deleted")
|
|
15011
|
-
attr_accessor strategy: ("cluster" | "spread" | "partition")
|
|
15030
|
+
attr_accessor strategy: ("cluster" | "spread" | "partition" | "precision-time")
|
|
15012
15031
|
attr_accessor partition_count: ::Integer
|
|
15013
15032
|
attr_accessor group_id: ::String
|
|
15014
15033
|
attr_accessor tags: ::Array[Types::Tag]
|
|
@@ -15016,6 +15035,7 @@ module Aws::EC2
|
|
|
15016
15035
|
attr_accessor spread_level: ("host" | "rack")
|
|
15017
15036
|
attr_accessor linked_group_id: ::String
|
|
15018
15037
|
attr_accessor operator: Types::OperatorResponse
|
|
15038
|
+
attr_accessor parent_group_id: ::String
|
|
15019
15039
|
SENSITIVE: []
|
|
15020
15040
|
end
|
|
15021
15041
|
|