aws-sdk-ec2 1.492.0 → 1.493.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +443 -60
- data/lib/aws-sdk-ec2/client_api.rb +150 -0
- data/lib/aws-sdk-ec2/types.rb +763 -79
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +62 -2
- data/sig/types.rbs +108 -2
- metadata +2 -2
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1082,7 +1082,10 @@ module Aws
|
|
1082
1082
|
],
|
1083
1083
|
?dry_run: bool,
|
1084
1084
|
?outpost_arn: ::String,
|
1085
|
-
?placement_group_arn: ::String
|
1085
|
+
?placement_group_arn: ::String,
|
1086
|
+
?start_date: ::Time,
|
1087
|
+
?commitment_duration: ::Integer,
|
1088
|
+
?delivery_preference: ("fixed" | "incremental")
|
1086
1089
|
) -> _CreateCapacityReservationResponseSuccess
|
1087
1090
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCapacityReservationResponseSuccess
|
1088
1091
|
|
@@ -5164,6 +5167,41 @@ module Aws
|
|
5164
5167
|
) -> _DescribeByoipCidrsResponseSuccess
|
5165
5168
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeByoipCidrsResponseSuccess
|
5166
5169
|
|
5170
|
+
interface _DescribeCapacityBlockExtensionHistoryResponseSuccess
|
5171
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCapacityBlockExtensionHistoryResult]
|
5172
|
+
def capacity_block_extensions: () -> ::Array[Types::CapacityBlockExtension]
|
5173
|
+
def next_token: () -> ::String
|
5174
|
+
end
|
5175
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_capacity_block_extension_history-instance_method
|
5176
|
+
def describe_capacity_block_extension_history: (
|
5177
|
+
?capacity_reservation_ids: Array[::String],
|
5178
|
+
?next_token: ::String,
|
5179
|
+
?max_results: ::Integer,
|
5180
|
+
?filters: Array[
|
5181
|
+
{
|
5182
|
+
name: ::String?,
|
5183
|
+
values: Array[::String]?
|
5184
|
+
},
|
5185
|
+
],
|
5186
|
+
?dry_run: bool
|
5187
|
+
) -> _DescribeCapacityBlockExtensionHistoryResponseSuccess
|
5188
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCapacityBlockExtensionHistoryResponseSuccess
|
5189
|
+
|
5190
|
+
interface _DescribeCapacityBlockExtensionOfferingsResponseSuccess
|
5191
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCapacityBlockExtensionOfferingsResult]
|
5192
|
+
def capacity_block_extension_offerings: () -> ::Array[Types::CapacityBlockExtensionOffering]
|
5193
|
+
def next_token: () -> ::String
|
5194
|
+
end
|
5195
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_capacity_block_extension_offerings-instance_method
|
5196
|
+
def describe_capacity_block_extension_offerings: (
|
5197
|
+
?dry_run: bool,
|
5198
|
+
capacity_block_extension_duration_hours: ::Integer,
|
5199
|
+
capacity_reservation_id: ::String,
|
5200
|
+
?next_token: ::String,
|
5201
|
+
?max_results: ::Integer
|
5202
|
+
) -> _DescribeCapacityBlockExtensionOfferingsResponseSuccess
|
5203
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCapacityBlockExtensionOfferingsResponseSuccess
|
5204
|
+
|
5167
5205
|
interface _DescribeCapacityBlockOfferingsResponseSuccess
|
5168
5206
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCapacityBlockOfferingsResult]
|
5169
5207
|
def capacity_block_offerings: () -> ::Array[Types::CapacityBlockOffering]
|
@@ -8837,7 +8875,7 @@ module Aws
|
|
8837
8875
|
def instance_type: () -> ::String
|
8838
8876
|
def total_instance_count: () -> ::Integer
|
8839
8877
|
def available_instance_count: () -> ::Integer
|
8840
|
-
def state: () -> ("active" | "expired" | "cancelled" | "pending" | "failed" | "scheduled" | "payment-pending" | "payment-failed")
|
8878
|
+
def state: () -> ("active" | "expired" | "cancelled" | "pending" | "failed" | "scheduled" | "payment-pending" | "payment-failed" | "assessing" | "delayed" | "unsupported")
|
8841
8879
|
def instance_usages: () -> ::Array[Types::InstanceUsage]
|
8842
8880
|
end
|
8843
8881
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#get_capacity_reservation_usage-instance_method
|
@@ -10587,6 +10625,16 @@ module Aws
|
|
10587
10625
|
{
|
10588
10626
|
region_name: ::String?
|
10589
10627
|
},
|
10628
|
+
],
|
10629
|
+
?add_organizational_unit_exclusions: Array[
|
10630
|
+
{
|
10631
|
+
organizations_entity_path: ::String?
|
10632
|
+
},
|
10633
|
+
],
|
10634
|
+
?remove_organizational_unit_exclusions: Array[
|
10635
|
+
{
|
10636
|
+
organizations_entity_path: ::String?
|
10637
|
+
},
|
10590
10638
|
]
|
10591
10639
|
) -> _ModifyIpamResourceDiscoveryResponseSuccess
|
10592
10640
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyIpamResourceDiscoveryResponseSuccess
|
@@ -11629,6 +11677,18 @@ module Aws
|
|
11629
11677
|
) -> _PurchaseCapacityBlockResponseSuccess
|
11630
11678
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PurchaseCapacityBlockResponseSuccess
|
11631
11679
|
|
11680
|
+
interface _PurchaseCapacityBlockExtensionResponseSuccess
|
11681
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PurchaseCapacityBlockExtensionResult]
|
11682
|
+
def capacity_block_extensions: () -> ::Array[Types::CapacityBlockExtension]
|
11683
|
+
end
|
11684
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#purchase_capacity_block_extension-instance_method
|
11685
|
+
def purchase_capacity_block_extension: (
|
11686
|
+
capacity_block_extension_offering_id: ::String,
|
11687
|
+
capacity_reservation_id: ::String,
|
11688
|
+
?dry_run: bool
|
11689
|
+
) -> _PurchaseCapacityBlockExtensionResponseSuccess
|
11690
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PurchaseCapacityBlockExtensionResponseSuccess
|
11691
|
+
|
11632
11692
|
interface _PurchaseHostReservationResponseSuccess
|
11633
11693
|
include ::Seahorse::Client::_ResponseSuccess[Types::PurchaseHostReservationResult]
|
11634
11694
|
def client_token: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -171,6 +171,11 @@ module Aws::EC2
|
|
171
171
|
SENSITIVE: []
|
172
172
|
end
|
173
173
|
|
174
|
+
class AddIpamOrganizationalUnitExclusion
|
175
|
+
attr_accessor organizations_entity_path: ::String
|
176
|
+
SENSITIVE: []
|
177
|
+
end
|
178
|
+
|
174
179
|
class AddPrefixListEntry
|
175
180
|
attr_accessor cidr: ::String
|
176
181
|
attr_accessor description: ::String
|
@@ -1152,6 +1157,39 @@ module Aws::EC2
|
|
1152
1157
|
SENSITIVE: []
|
1153
1158
|
end
|
1154
1159
|
|
1160
|
+
class CapacityBlockExtension
|
1161
|
+
attr_accessor capacity_reservation_id: ::String
|
1162
|
+
attr_accessor instance_type: ::String
|
1163
|
+
attr_accessor instance_count: ::Integer
|
1164
|
+
attr_accessor availability_zone: ::String
|
1165
|
+
attr_accessor availability_zone_id: ::String
|
1166
|
+
attr_accessor capacity_block_extension_offering_id: ::String
|
1167
|
+
attr_accessor capacity_block_extension_duration_hours: ::Integer
|
1168
|
+
attr_accessor capacity_block_extension_status: ("payment-pending" | "payment-failed" | "payment-succeeded")
|
1169
|
+
attr_accessor capacity_block_extension_purchase_date: ::Time
|
1170
|
+
attr_accessor capacity_block_extension_start_date: ::Time
|
1171
|
+
attr_accessor capacity_block_extension_end_date: ::Time
|
1172
|
+
attr_accessor upfront_fee: ::String
|
1173
|
+
attr_accessor currency_code: ::String
|
1174
|
+
SENSITIVE: []
|
1175
|
+
end
|
1176
|
+
|
1177
|
+
class CapacityBlockExtensionOffering
|
1178
|
+
attr_accessor capacity_block_extension_offering_id: ::String
|
1179
|
+
attr_accessor instance_type: ::String
|
1180
|
+
attr_accessor instance_count: ::Integer
|
1181
|
+
attr_accessor availability_zone: ::String
|
1182
|
+
attr_accessor availability_zone_id: ::String
|
1183
|
+
attr_accessor start_date: ::Time
|
1184
|
+
attr_accessor capacity_block_extension_start_date: ::Time
|
1185
|
+
attr_accessor capacity_block_extension_end_date: ::Time
|
1186
|
+
attr_accessor capacity_block_extension_duration_hours: ::Integer
|
1187
|
+
attr_accessor upfront_fee: ::String
|
1188
|
+
attr_accessor currency_code: ::String
|
1189
|
+
attr_accessor tenancy: ("default" | "dedicated")
|
1190
|
+
SENSITIVE: []
|
1191
|
+
end
|
1192
|
+
|
1155
1193
|
class CapacityBlockOffering
|
1156
1194
|
attr_accessor capacity_block_offering_id: ::String
|
1157
1195
|
attr_accessor instance_type: ::String
|
@@ -1163,6 +1201,7 @@ module Aws::EC2
|
|
1163
1201
|
attr_accessor upfront_fee: ::String
|
1164
1202
|
attr_accessor currency_code: ::String
|
1165
1203
|
attr_accessor tenancy: ("default" | "dedicated")
|
1204
|
+
attr_accessor capacity_block_duration_minutes: ::Integer
|
1166
1205
|
SENSITIVE: []
|
1167
1206
|
end
|
1168
1207
|
|
@@ -1179,7 +1218,7 @@ module Aws::EC2
|
|
1179
1218
|
attr_accessor available_instance_count: ::Integer
|
1180
1219
|
attr_accessor ebs_optimized: bool
|
1181
1220
|
attr_accessor ephemeral_storage: bool
|
1182
|
-
attr_accessor state: ("active" | "expired" | "cancelled" | "pending" | "failed" | "scheduled" | "payment-pending" | "payment-failed")
|
1221
|
+
attr_accessor state: ("active" | "expired" | "cancelled" | "pending" | "failed" | "scheduled" | "payment-pending" | "payment-failed" | "assessing" | "delayed" | "unsupported")
|
1183
1222
|
attr_accessor start_date: ::Time
|
1184
1223
|
attr_accessor end_date: ::Time
|
1185
1224
|
attr_accessor end_date_type: ("unlimited" | "limited")
|
@@ -1192,6 +1231,8 @@ module Aws::EC2
|
|
1192
1231
|
attr_accessor capacity_allocations: ::Array[Types::CapacityAllocation]
|
1193
1232
|
attr_accessor reservation_type: ("default" | "capacity-block")
|
1194
1233
|
attr_accessor unused_reservation_billing_owner_id: ::String
|
1234
|
+
attr_accessor commitment_info: Types::CapacityReservationCommitmentInfo
|
1235
|
+
attr_accessor delivery_preference: ("fixed" | "incremental")
|
1195
1236
|
SENSITIVE: []
|
1196
1237
|
end
|
1197
1238
|
|
@@ -1206,6 +1247,12 @@ module Aws::EC2
|
|
1206
1247
|
SENSITIVE: []
|
1207
1248
|
end
|
1208
1249
|
|
1250
|
+
class CapacityReservationCommitmentInfo
|
1251
|
+
attr_accessor committed_instance_count: ::Integer
|
1252
|
+
attr_accessor commitment_end_date: ::Time
|
1253
|
+
SENSITIVE: []
|
1254
|
+
end
|
1255
|
+
|
1209
1256
|
class CapacityReservationFleet
|
1210
1257
|
attr_accessor capacity_reservation_fleet_id: ::String
|
1211
1258
|
attr_accessor capacity_reservation_fleet_arn: ::String
|
@@ -1726,6 +1773,9 @@ module Aws::EC2
|
|
1726
1773
|
attr_accessor dry_run: bool
|
1727
1774
|
attr_accessor outpost_arn: ::String
|
1728
1775
|
attr_accessor placement_group_arn: ::String
|
1776
|
+
attr_accessor start_date: ::Time
|
1777
|
+
attr_accessor commitment_duration: ::Integer
|
1778
|
+
attr_accessor delivery_preference: ("fixed" | "incremental")
|
1729
1779
|
SENSITIVE: []
|
1730
1780
|
end
|
1731
1781
|
|
@@ -4177,6 +4227,36 @@ module Aws::EC2
|
|
4177
4227
|
SENSITIVE: []
|
4178
4228
|
end
|
4179
4229
|
|
4230
|
+
class DescribeCapacityBlockExtensionHistoryRequest
|
4231
|
+
attr_accessor capacity_reservation_ids: ::Array[::String]
|
4232
|
+
attr_accessor next_token: ::String
|
4233
|
+
attr_accessor max_results: ::Integer
|
4234
|
+
attr_accessor filters: ::Array[Types::Filter]
|
4235
|
+
attr_accessor dry_run: bool
|
4236
|
+
SENSITIVE: []
|
4237
|
+
end
|
4238
|
+
|
4239
|
+
class DescribeCapacityBlockExtensionHistoryResult
|
4240
|
+
attr_accessor capacity_block_extensions: ::Array[Types::CapacityBlockExtension]
|
4241
|
+
attr_accessor next_token: ::String
|
4242
|
+
SENSITIVE: []
|
4243
|
+
end
|
4244
|
+
|
4245
|
+
class DescribeCapacityBlockExtensionOfferingsRequest
|
4246
|
+
attr_accessor dry_run: bool
|
4247
|
+
attr_accessor capacity_block_extension_duration_hours: ::Integer
|
4248
|
+
attr_accessor capacity_reservation_id: ::String
|
4249
|
+
attr_accessor next_token: ::String
|
4250
|
+
attr_accessor max_results: ::Integer
|
4251
|
+
SENSITIVE: []
|
4252
|
+
end
|
4253
|
+
|
4254
|
+
class DescribeCapacityBlockExtensionOfferingsResult
|
4255
|
+
attr_accessor capacity_block_extension_offerings: ::Array[Types::CapacityBlockExtensionOffering]
|
4256
|
+
attr_accessor next_token: ::String
|
4257
|
+
SENSITIVE: []
|
4258
|
+
end
|
4259
|
+
|
4180
4260
|
class DescribeCapacityBlockOfferingsRequest
|
4181
4261
|
attr_accessor dry_run: bool
|
4182
4262
|
attr_accessor instance_type: ::String
|
@@ -7892,7 +7972,7 @@ module Aws::EC2
|
|
7892
7972
|
attr_accessor instance_type: ::String
|
7893
7973
|
attr_accessor total_instance_count: ::Integer
|
7894
7974
|
attr_accessor available_instance_count: ::Integer
|
7895
|
-
attr_accessor state: ("active" | "expired" | "cancelled" | "pending" | "failed" | "scheduled" | "payment-pending" | "payment-failed")
|
7975
|
+
attr_accessor state: ("active" | "expired" | "cancelled" | "pending" | "failed" | "scheduled" | "payment-pending" | "payment-failed" | "assessing" | "delayed" | "unsupported")
|
7896
7976
|
attr_accessor instance_usages: ::Array[Types::InstanceUsage]
|
7897
7977
|
SENSITIVE: []
|
7898
7978
|
end
|
@@ -9647,6 +9727,7 @@ module Aws::EC2
|
|
9647
9727
|
attr_accessor failure_reason: Types::IpamDiscoveryFailureReason
|
9648
9728
|
attr_accessor last_attempted_discovery_time: ::Time
|
9649
9729
|
attr_accessor last_successful_discovery_time: ::Time
|
9730
|
+
attr_accessor organizational_unit_id: ::String
|
9650
9731
|
SENSITIVE: []
|
9651
9732
|
end
|
9652
9733
|
|
@@ -9717,6 +9798,11 @@ module Aws::EC2
|
|
9717
9798
|
SENSITIVE: []
|
9718
9799
|
end
|
9719
9800
|
|
9801
|
+
class IpamOrganizationalUnitExclusion
|
9802
|
+
attr_accessor organizations_entity_path: ::String
|
9803
|
+
SENSITIVE: []
|
9804
|
+
end
|
9805
|
+
|
9720
9806
|
class IpamPool
|
9721
9807
|
attr_accessor owner_id: ::String
|
9722
9808
|
attr_accessor ipam_pool_id: ::String
|
@@ -9834,6 +9920,7 @@ module Aws::EC2
|
|
9834
9920
|
attr_accessor is_default: bool
|
9835
9921
|
attr_accessor state: ("create-in-progress" | "create-complete" | "create-failed" | "modify-in-progress" | "modify-complete" | "modify-failed" | "delete-in-progress" | "delete-complete" | "delete-failed" | "isolate-in-progress" | "isolate-complete" | "restore-in-progress")
|
9836
9922
|
attr_accessor tags: ::Array[Types::Tag]
|
9923
|
+
attr_accessor organizational_unit_exclusions: ::Array[Types::IpamOrganizationalUnitExclusion]
|
9837
9924
|
SENSITIVE: []
|
9838
9925
|
end
|
9839
9926
|
|
@@ -10991,6 +11078,8 @@ module Aws::EC2
|
|
10991
11078
|
attr_accessor description: ::String
|
10992
11079
|
attr_accessor add_operating_regions: ::Array[Types::AddIpamOperatingRegion]
|
10993
11080
|
attr_accessor remove_operating_regions: ::Array[Types::RemoveIpamOperatingRegion]
|
11081
|
+
attr_accessor add_organizational_unit_exclusions: ::Array[Types::AddIpamOrganizationalUnitExclusion]
|
11082
|
+
attr_accessor remove_organizational_unit_exclusions: ::Array[Types::RemoveIpamOrganizationalUnitExclusion]
|
10994
11083
|
SENSITIVE: []
|
10995
11084
|
end
|
10996
11085
|
|
@@ -12515,6 +12604,18 @@ module Aws::EC2
|
|
12515
12604
|
SENSITIVE: []
|
12516
12605
|
end
|
12517
12606
|
|
12607
|
+
class PurchaseCapacityBlockExtensionRequest
|
12608
|
+
attr_accessor capacity_block_extension_offering_id: ::String
|
12609
|
+
attr_accessor capacity_reservation_id: ::String
|
12610
|
+
attr_accessor dry_run: bool
|
12611
|
+
SENSITIVE: []
|
12612
|
+
end
|
12613
|
+
|
12614
|
+
class PurchaseCapacityBlockExtensionResult
|
12615
|
+
attr_accessor capacity_block_extensions: ::Array[Types::CapacityBlockExtension]
|
12616
|
+
SENSITIVE: []
|
12617
|
+
end
|
12618
|
+
|
12518
12619
|
class PurchaseCapacityBlockRequest
|
12519
12620
|
attr_accessor dry_run: bool
|
12520
12621
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
@@ -12783,6 +12884,11 @@ module Aws::EC2
|
|
12783
12884
|
SENSITIVE: []
|
12784
12885
|
end
|
12785
12886
|
|
12887
|
+
class RemoveIpamOrganizationalUnitExclusion
|
12888
|
+
attr_accessor organizations_entity_path: ::String
|
12889
|
+
SENSITIVE: []
|
12890
|
+
end
|
12891
|
+
|
12786
12892
|
class RemovePrefixListEntry
|
12787
12893
|
attr_accessor cidr: ::String
|
12788
12894
|
SENSITIVE: []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.493.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: 2024-11-
|
11
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|