aws-sdk-ec2 1.490.0 → 1.492.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 +618 -86
- data/lib/aws-sdk-ec2/client_api.rb +181 -0
- data/lib/aws-sdk-ec2/resource.rb +42 -42
- data/lib/aws-sdk-ec2/subnet.rb +13 -7
- data/lib/aws-sdk-ec2/types.rb +787 -60
- data/lib/aws-sdk-ec2/vpc.rb +36 -30
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +191 -22
- data/sig/resource.rbs +1 -1
- data/sig/subnet.rbs +4 -1
- data/sig/types.rbs +141 -6
- data/sig/vpc.rbs +3 -0
- metadata +2 -2
data/sig/types.rbs
CHANGED
@@ -934,6 +934,16 @@ module Aws::EC2
|
|
934
934
|
SENSITIVE: []
|
935
935
|
end
|
936
936
|
|
937
|
+
class BaselinePerformanceFactors
|
938
|
+
attr_accessor cpu: Types::CpuPerformanceFactor
|
939
|
+
SENSITIVE: []
|
940
|
+
end
|
941
|
+
|
942
|
+
class BaselinePerformanceFactorsRequest
|
943
|
+
attr_accessor cpu: Types::CpuPerformanceFactorRequest
|
944
|
+
SENSITIVE: []
|
945
|
+
end
|
946
|
+
|
937
947
|
class BlobAttributeValue
|
938
948
|
attr_accessor value: ::String
|
939
949
|
SENSITIVE: []
|
@@ -947,6 +957,11 @@ module Aws::EC2
|
|
947
957
|
SENSITIVE: []
|
948
958
|
end
|
949
959
|
|
960
|
+
class BlockPublicAccessStates
|
961
|
+
attr_accessor internet_gateway_block_mode: ("off" | "block-bidirectional" | "block-ingress")
|
962
|
+
SENSITIVE: []
|
963
|
+
end
|
964
|
+
|
950
965
|
class BundleInstanceRequest
|
951
966
|
attr_accessor instance_id: ::String
|
952
967
|
attr_accessor storage: Types::Storage
|
@@ -1238,13 +1253,13 @@ module Aws::EC2
|
|
1238
1253
|
end
|
1239
1254
|
|
1240
1255
|
class CapacityReservationSpecification
|
1241
|
-
attr_accessor capacity_reservation_preference: ("open" | "none")
|
1256
|
+
attr_accessor capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")
|
1242
1257
|
attr_accessor capacity_reservation_target: Types::CapacityReservationTarget
|
1243
1258
|
SENSITIVE: []
|
1244
1259
|
end
|
1245
1260
|
|
1246
1261
|
class CapacityReservationSpecificationResponse
|
1247
|
-
attr_accessor capacity_reservation_preference: ("open" | "none")
|
1262
|
+
attr_accessor capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")
|
1248
1263
|
attr_accessor capacity_reservation_target: Types::CapacityReservationTargetResponse
|
1249
1264
|
SENSITIVE: []
|
1250
1265
|
end
|
@@ -1640,6 +1655,16 @@ module Aws::EC2
|
|
1640
1655
|
SENSITIVE: []
|
1641
1656
|
end
|
1642
1657
|
|
1658
|
+
class CpuPerformanceFactor
|
1659
|
+
attr_accessor references: ::Array[Types::PerformanceFactorReference]
|
1660
|
+
SENSITIVE: []
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
class CpuPerformanceFactorRequest
|
1664
|
+
attr_accessor references: ::Array[Types::PerformanceFactorReferenceRequest]
|
1665
|
+
SENSITIVE: []
|
1666
|
+
end
|
1667
|
+
|
1643
1668
|
class CreateCapacityReservationBySplittingRequest
|
1644
1669
|
attr_accessor dry_run: bool
|
1645
1670
|
attr_accessor client_token: ::String
|
@@ -2938,6 +2963,20 @@ module Aws::EC2
|
|
2938
2963
|
SENSITIVE: []
|
2939
2964
|
end
|
2940
2965
|
|
2966
|
+
class CreateVpcBlockPublicAccessExclusionRequest
|
2967
|
+
attr_accessor dry_run: bool
|
2968
|
+
attr_accessor subnet_id: ::String
|
2969
|
+
attr_accessor vpc_id: ::String
|
2970
|
+
attr_accessor internet_gateway_exclusion_mode: ("allow-bidirectional" | "allow-egress")
|
2971
|
+
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
2972
|
+
SENSITIVE: []
|
2973
|
+
end
|
2974
|
+
|
2975
|
+
class CreateVpcBlockPublicAccessExclusionResult
|
2976
|
+
attr_accessor vpc_block_public_access_exclusion: Types::VpcBlockPublicAccessExclusion
|
2977
|
+
SENSITIVE: []
|
2978
|
+
end
|
2979
|
+
|
2941
2980
|
class CreateVpcEndpointConnectionNotificationRequest
|
2942
2981
|
attr_accessor dry_run: bool
|
2943
2982
|
attr_accessor service_id: ::String
|
@@ -3845,6 +3884,17 @@ module Aws::EC2
|
|
3845
3884
|
SENSITIVE: []
|
3846
3885
|
end
|
3847
3886
|
|
3887
|
+
class DeleteVpcBlockPublicAccessExclusionRequest
|
3888
|
+
attr_accessor dry_run: bool
|
3889
|
+
attr_accessor exclusion_id: ::String
|
3890
|
+
SENSITIVE: []
|
3891
|
+
end
|
3892
|
+
|
3893
|
+
class DeleteVpcBlockPublicAccessExclusionResult
|
3894
|
+
attr_accessor vpc_block_public_access_exclusion: Types::VpcBlockPublicAccessExclusion
|
3895
|
+
SENSITIVE: []
|
3896
|
+
end
|
3897
|
+
|
3848
3898
|
class DeleteVpcEndpointConnectionNotificationsRequest
|
3849
3899
|
attr_accessor dry_run: bool
|
3850
3900
|
attr_accessor connection_notification_ids: ::Array[::String]
|
@@ -6163,6 +6213,31 @@ module Aws::EC2
|
|
6163
6213
|
SENSITIVE: []
|
6164
6214
|
end
|
6165
6215
|
|
6216
|
+
class DescribeVpcBlockPublicAccessExclusionsRequest
|
6217
|
+
attr_accessor dry_run: bool
|
6218
|
+
attr_accessor filters: ::Array[Types::Filter]
|
6219
|
+
attr_accessor exclusion_ids: ::Array[::String]
|
6220
|
+
attr_accessor next_token: ::String
|
6221
|
+
attr_accessor max_results: ::Integer
|
6222
|
+
SENSITIVE: []
|
6223
|
+
end
|
6224
|
+
|
6225
|
+
class DescribeVpcBlockPublicAccessExclusionsResult
|
6226
|
+
attr_accessor vpc_block_public_access_exclusions: ::Array[Types::VpcBlockPublicAccessExclusion]
|
6227
|
+
attr_accessor next_token: ::String
|
6228
|
+
SENSITIVE: []
|
6229
|
+
end
|
6230
|
+
|
6231
|
+
class DescribeVpcBlockPublicAccessOptionsRequest
|
6232
|
+
attr_accessor dry_run: bool
|
6233
|
+
SENSITIVE: []
|
6234
|
+
end
|
6235
|
+
|
6236
|
+
class DescribeVpcBlockPublicAccessOptionsResult
|
6237
|
+
attr_accessor vpc_block_public_access_options: Types::VpcBlockPublicAccessOptions
|
6238
|
+
SENSITIVE: []
|
6239
|
+
end
|
6240
|
+
|
6166
6241
|
class DescribeVpcClassicLinkDnsSupportRequest
|
6167
6242
|
attr_accessor vpc_ids: ::Array[::String]
|
6168
6243
|
attr_accessor max_results: ::Integer
|
@@ -9294,7 +9369,7 @@ module Aws::EC2
|
|
9294
9369
|
class InstanceRequirements
|
9295
9370
|
attr_accessor v_cpu_count: Types::VCpuCountRange
|
9296
9371
|
attr_accessor memory_mi_b: Types::MemoryMiB
|
9297
|
-
attr_accessor cpu_manufacturers: ::Array[("intel" | "amd" | "amazon-web-services")]
|
9372
|
+
attr_accessor cpu_manufacturers: ::Array[("intel" | "amd" | "amazon-web-services" | "apple")]
|
9298
9373
|
attr_accessor memory_gi_b_per_v_cpu: Types::MemoryGiBPerVCpu
|
9299
9374
|
attr_accessor excluded_instance_types: ::Array[::String]
|
9300
9375
|
attr_accessor instance_generations: ::Array[("current" | "previous")]
|
@@ -9316,13 +9391,14 @@ module Aws::EC2
|
|
9316
9391
|
attr_accessor network_bandwidth_gbps: Types::NetworkBandwidthGbps
|
9317
9392
|
attr_accessor allowed_instance_types: ::Array[::String]
|
9318
9393
|
attr_accessor max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer
|
9394
|
+
attr_accessor baseline_performance_factors: Types::BaselinePerformanceFactors
|
9319
9395
|
SENSITIVE: []
|
9320
9396
|
end
|
9321
9397
|
|
9322
9398
|
class InstanceRequirementsRequest
|
9323
9399
|
attr_accessor v_cpu_count: Types::VCpuCountRangeRequest
|
9324
9400
|
attr_accessor memory_mi_b: Types::MemoryMiBRequest
|
9325
|
-
attr_accessor cpu_manufacturers: ::Array[("intel" | "amd" | "amazon-web-services")]
|
9401
|
+
attr_accessor cpu_manufacturers: ::Array[("intel" | "amd" | "amazon-web-services" | "apple")]
|
9326
9402
|
attr_accessor memory_gi_b_per_v_cpu: Types::MemoryGiBPerVCpuRequest
|
9327
9403
|
attr_accessor excluded_instance_types: ::Array[::String]
|
9328
9404
|
attr_accessor instance_generations: ::Array[("current" | "previous")]
|
@@ -9344,6 +9420,7 @@ module Aws::EC2
|
|
9344
9420
|
attr_accessor network_bandwidth_gbps: Types::NetworkBandwidthGbpsRequest
|
9345
9421
|
attr_accessor allowed_instance_types: ::Array[::String]
|
9346
9422
|
attr_accessor max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer
|
9423
|
+
attr_accessor baseline_performance_factors: Types::BaselinePerformanceFactorsRequest
|
9347
9424
|
SENSITIVE: []
|
9348
9425
|
end
|
9349
9426
|
|
@@ -9945,13 +10022,13 @@ module Aws::EC2
|
|
9945
10022
|
end
|
9946
10023
|
|
9947
10024
|
class LaunchTemplateCapacityReservationSpecificationRequest
|
9948
|
-
attr_accessor capacity_reservation_preference: ("open" | "none")
|
10025
|
+
attr_accessor capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")
|
9949
10026
|
attr_accessor capacity_reservation_target: Types::CapacityReservationTarget
|
9950
10027
|
SENSITIVE: []
|
9951
10028
|
end
|
9952
10029
|
|
9953
10030
|
class LaunchTemplateCapacityReservationSpecificationResponse
|
9954
|
-
attr_accessor capacity_reservation_preference: ("open" | "none")
|
10031
|
+
attr_accessor capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")
|
9955
10032
|
attr_accessor capacity_reservation_target: Types::CapacityReservationTargetResponse
|
9956
10033
|
SENSITIVE: []
|
9957
10034
|
end
|
@@ -11372,6 +11449,29 @@ module Aws::EC2
|
|
11372
11449
|
SENSITIVE: []
|
11373
11450
|
end
|
11374
11451
|
|
11452
|
+
class ModifyVpcBlockPublicAccessExclusionRequest
|
11453
|
+
attr_accessor dry_run: bool
|
11454
|
+
attr_accessor exclusion_id: ::String
|
11455
|
+
attr_accessor internet_gateway_exclusion_mode: ("allow-bidirectional" | "allow-egress")
|
11456
|
+
SENSITIVE: []
|
11457
|
+
end
|
11458
|
+
|
11459
|
+
class ModifyVpcBlockPublicAccessExclusionResult
|
11460
|
+
attr_accessor vpc_block_public_access_exclusion: Types::VpcBlockPublicAccessExclusion
|
11461
|
+
SENSITIVE: []
|
11462
|
+
end
|
11463
|
+
|
11464
|
+
class ModifyVpcBlockPublicAccessOptionsRequest
|
11465
|
+
attr_accessor dry_run: bool
|
11466
|
+
attr_accessor internet_gateway_block_mode: ("off" | "block-bidirectional" | "block-ingress")
|
11467
|
+
SENSITIVE: []
|
11468
|
+
end
|
11469
|
+
|
11470
|
+
class ModifyVpcBlockPublicAccessOptionsResult
|
11471
|
+
attr_accessor vpc_block_public_access_options: Types::VpcBlockPublicAccessOptions
|
11472
|
+
SENSITIVE: []
|
11473
|
+
end
|
11474
|
+
|
11375
11475
|
class ModifyVpcEndpointConnectionNotificationRequest
|
11376
11476
|
attr_accessor dry_run: bool
|
11377
11477
|
attr_accessor connection_notification_id: ::String
|
@@ -12079,6 +12179,16 @@ module Aws::EC2
|
|
12079
12179
|
SENSITIVE: []
|
12080
12180
|
end
|
12081
12181
|
|
12182
|
+
class PerformanceFactorReference
|
12183
|
+
attr_accessor instance_family: ::String
|
12184
|
+
SENSITIVE: []
|
12185
|
+
end
|
12186
|
+
|
12187
|
+
class PerformanceFactorReferenceRequest
|
12188
|
+
attr_accessor instance_family: ::String
|
12189
|
+
SENSITIVE: []
|
12190
|
+
end
|
12191
|
+
|
12082
12192
|
class Phase1DHGroupNumbersListValue
|
12083
12193
|
attr_accessor value: ::Integer
|
12084
12194
|
SENSITIVE: []
|
@@ -14173,6 +14283,7 @@ module Aws::EC2
|
|
14173
14283
|
attr_accessor enable_dns_64: bool
|
14174
14284
|
attr_accessor ipv_6_native: bool
|
14175
14285
|
attr_accessor private_dns_name_options_on_launch: Types::PrivateDnsNameOptionsOnLaunch
|
14286
|
+
attr_accessor block_public_access_states: Types::BlockPublicAccessStates
|
14176
14287
|
attr_accessor subnet_id: ::String
|
14177
14288
|
attr_accessor state: ("pending" | "available" | "unavailable")
|
14178
14289
|
attr_accessor vpc_id: ::String
|
@@ -15327,6 +15438,7 @@ module Aws::EC2
|
|
15327
15438
|
attr_accessor cidr_block_association_set: ::Array[Types::VpcCidrBlockAssociation]
|
15328
15439
|
attr_accessor is_default: bool
|
15329
15440
|
attr_accessor tags: ::Array[Types::Tag]
|
15441
|
+
attr_accessor block_public_access_states: Types::BlockPublicAccessStates
|
15330
15442
|
attr_accessor vpc_id: ::String
|
15331
15443
|
attr_accessor state: ("pending" | "available")
|
15332
15444
|
attr_accessor cidr_block: ::String
|
@@ -15340,6 +15452,29 @@ module Aws::EC2
|
|
15340
15452
|
SENSITIVE: []
|
15341
15453
|
end
|
15342
15454
|
|
15455
|
+
class VpcBlockPublicAccessExclusion
|
15456
|
+
attr_accessor exclusion_id: ::String
|
15457
|
+
attr_accessor internet_gateway_exclusion_mode: ("allow-bidirectional" | "allow-egress")
|
15458
|
+
attr_accessor resource_arn: ::String
|
15459
|
+
attr_accessor state: ("create-in-progress" | "create-complete" | "create-failed" | "update-in-progress" | "update-complete" | "update-failed" | "delete-in-progress" | "delete-complete" | "disable-in-progress" | "disable-complete")
|
15460
|
+
attr_accessor reason: ::String
|
15461
|
+
attr_accessor creation_timestamp: ::Time
|
15462
|
+
attr_accessor last_update_timestamp: ::Time
|
15463
|
+
attr_accessor deletion_timestamp: ::Time
|
15464
|
+
attr_accessor tags: ::Array[Types::Tag]
|
15465
|
+
SENSITIVE: []
|
15466
|
+
end
|
15467
|
+
|
15468
|
+
class VpcBlockPublicAccessOptions
|
15469
|
+
attr_accessor aws_account_id: ::String
|
15470
|
+
attr_accessor aws_region: ::String
|
15471
|
+
attr_accessor state: ("default-state" | "update-in-progress" | "update-complete")
|
15472
|
+
attr_accessor internet_gateway_block_mode: ("off" | "block-bidirectional" | "block-ingress")
|
15473
|
+
attr_accessor reason: ::String
|
15474
|
+
attr_accessor last_update_timestamp: ::Time
|
15475
|
+
SENSITIVE: []
|
15476
|
+
end
|
15477
|
+
|
15343
15478
|
class VpcCidrBlockAssociation
|
15344
15479
|
attr_accessor association_id: ::String
|
15345
15480
|
attr_accessor cidr_block: ::String
|
data/sig/vpc.rbs
CHANGED
@@ -36,6 +36,9 @@ module Aws
|
|
36
36
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#tags-instance_method
|
37
37
|
def tags: () -> ::Array[Types::Tag]
|
38
38
|
|
39
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#block_public_access_states-instance_method
|
40
|
+
def block_public_access_states: () -> Types::BlockPublicAccessStates
|
41
|
+
|
39
42
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#state-instance_method
|
40
43
|
def state: () -> ("pending" | "available")
|
41
44
|
|
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.492.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-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|