aws-sdk-ec2 1.490.0 → 1.492.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -71,6 +71,12 @@ module Aws::EC2
71
71
  data[:tags]
72
72
  end
73
73
 
74
+ # The state of VPC Block Public Access (BPA).
75
+ # @return [Types::BlockPublicAccessStates]
76
+ def block_public_access_states
77
+ data[:block_public_access_states]
78
+ end
79
+
74
80
  # The current state of the VPC.
75
81
  # @return [String]
76
82
  def state
@@ -951,11 +957,11 @@ module Aws::EC2
951
957
  # * `status-message` - A message that provides more information about
952
958
  # the status of the VPC peering connection, if applicable.
953
959
  #
954
- # * `tag`:<key> - The key/value combination of a tag assigned to
955
- # the resource. Use the tag key in the filter name and the tag value
956
- # as the filter value. For example, to find all resources that have a
957
- # tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
958
- # for the filter name and `TeamA` for the filter value.
960
+ # * `tag` - The key/value combination of a tag assigned to the resource.
961
+ # Use the tag key in the filter name and the tag value as the filter
962
+ # value. For example, to find all resources that have a tag with the
963
+ # key `Owner` and the value `TeamA`, specify `tag:Owner` for the
964
+ # filter name and `TeamA` for the filter value.
959
965
  #
960
966
  # * `tag-key` - The key of a tag assigned to the resource. Use this
961
967
  # filter to find all resources assigned a tag with a specific key,
@@ -1510,11 +1516,11 @@ module Aws::EC2
1510
1516
  # * `owner-id` - The ID of the Amazon Web Services account that owns the
1511
1517
  # internet gateway.
1512
1518
  #
1513
- # * `tag`:<key> - The key/value combination of a tag assigned to
1514
- # the resource. Use the tag key in the filter name and the tag value
1515
- # as the filter value. For example, to find all resources that have a
1516
- # tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
1517
- # for the filter name and `TeamA` for the filter value.
1519
+ # * `tag` - The key/value combination of a tag assigned to the resource.
1520
+ # Use the tag key in the filter name and the tag value as the filter
1521
+ # value. For example, to find all resources that have a tag with the
1522
+ # key `Owner` and the value `TeamA`, specify `tag:Owner` for the
1523
+ # filter name and `TeamA` for the filter value.
1518
1524
  #
1519
1525
  # * `tag-key` - The key of a tag assigned to the resource. Use this
1520
1526
  # filter to find all resources assigned a tag with a specific key,
@@ -1610,11 +1616,11 @@ module Aws::EC2
1610
1616
  # * `owner-id` - The ID of the Amazon Web Services account that owns the
1611
1617
  # network ACL.
1612
1618
  #
1613
- # * `tag`:<key> - The key/value combination of a tag assigned to
1614
- # the resource. Use the tag key in the filter name and the tag value
1615
- # as the filter value. For example, to find all resources that have a
1616
- # tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
1617
- # for the filter name and `TeamA` for the filter value.
1619
+ # * `tag` - The key/value combination of a tag assigned to the resource.
1620
+ # Use the tag key in the filter name and the tag value as the filter
1621
+ # value. For example, to find all resources that have a tag with the
1622
+ # key `Owner` and the value `TeamA`, specify `tag:Owner` for the
1623
+ # filter name and `TeamA` for the filter value.
1618
1624
  #
1619
1625
  # * `tag-key` - The key of a tag assigned to the resource. Use this
1620
1626
  # filter to find all resources assigned a tag with a specific key,
@@ -1859,11 +1865,11 @@ module Aws::EC2
1859
1865
  # * `status-message` - A message that provides more information about
1860
1866
  # the status of the VPC peering connection, if applicable.
1861
1867
  #
1862
- # * `tag`:<key> - The key/value combination of a tag assigned to
1863
- # the resource. Use the tag key in the filter name and the tag value
1864
- # as the filter value. For example, to find all resources that have a
1865
- # tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
1866
- # for the filter name and `TeamA` for the filter value.
1868
+ # * `tag` - The key/value combination of a tag assigned to the resource.
1869
+ # Use the tag key in the filter name and the tag value as the filter
1870
+ # value. For example, to find all resources that have a tag with the
1871
+ # key `Owner` and the value `TeamA`, specify `tag:Owner` for the
1872
+ # filter name and `TeamA` for the filter value.
1867
1873
  #
1868
1874
  # * `tag-key` - The key of a tag assigned to the resource. Use this
1869
1875
  # filter to find all resources assigned a tag with a specific key,
@@ -1977,11 +1983,11 @@ module Aws::EC2
1977
1983
  # * `route.vpc-peering-connection-id` - The ID of a VPC peering
1978
1984
  # connection specified in a route in the table.
1979
1985
  #
1980
- # * `tag`:<key> - The key/value combination of a tag assigned to
1981
- # the resource. Use the tag key in the filter name and the tag value
1982
- # as the filter value. For example, to find all resources that have a
1983
- # tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
1984
- # for the filter name and `TeamA` for the filter value.
1986
+ # * `tag` - The key/value combination of a tag assigned to the resource.
1987
+ # Use the tag key in the filter name and the tag value as the filter
1988
+ # value. For example, to find all resources that have a tag with the
1989
+ # key `Owner` and the value `TeamA`, specify `tag:Owner` for the
1990
+ # filter name and `TeamA` for the filter value.
1985
1991
  #
1986
1992
  # * `tag-key` - The key of a tag assigned to the resource. Use this
1987
1993
  # filter to find all resources assigned a tag with a specific key,
@@ -2240,11 +2246,11 @@ module Aws::EC2
2240
2246
  #
2241
2247
  # * `subnet-id` - The ID of the subnet.
2242
2248
  #
2243
- # * `tag`:<key> - The key/value combination of a tag assigned to
2244
- # the resource. Use the tag key in the filter name and the tag value
2245
- # as the filter value. For example, to find all resources that have a
2246
- # tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
2247
- # for the filter name and `TeamA` for the filter value.
2249
+ # * `tag` - The key/value combination of a tag assigned to the resource.
2250
+ # Use the tag key in the filter name and the tag value as the filter
2251
+ # value. For example, to find all resources that have a tag with the
2252
+ # key `Owner` and the value `TeamA`, specify `tag:Owner` for the
2253
+ # filter name and `TeamA` for the filter value.
2248
2254
  #
2249
2255
  # * `tag-key` - The key of a tag assigned to the resource. Use this
2250
2256
  # filter to find all resources assigned a tag with a specific key,
data/lib/aws-sdk-ec2.rb CHANGED
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.490.0'
81
+ GEM_VERSION = '1.492.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -1467,7 +1467,7 @@ module Aws
1467
1467
  min: ::Integer,
1468
1468
  max: ::Integer?
1469
1469
  },
1470
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
1470
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
1471
1471
  memory_gi_b_per_v_cpu: {
1472
1472
  min: ::Float?,
1473
1473
  max: ::Float?
@@ -1509,7 +1509,16 @@ module Aws
1509
1509
  max: ::Float?
1510
1510
  }?,
1511
1511
  allowed_instance_types: Array[::String]?,
1512
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
1512
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
1513
+ baseline_performance_factors: {
1514
+ cpu: {
1515
+ references: Array[
1516
+ {
1517
+ instance_family: ::String?
1518
+ },
1519
+ ]?
1520
+ }?
1521
+ }?
1513
1522
  }?,
1514
1523
  image_id: ::String?
1515
1524
  },
@@ -2095,7 +2104,7 @@ module Aws
2095
2104
  amd_sev_snp: ("enabled" | "disabled")?
2096
2105
  }?,
2097
2106
  capacity_reservation_specification: {
2098
- capacity_reservation_preference: ("open" | "none")?,
2107
+ capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
2099
2108
  capacity_reservation_target: {
2100
2109
  capacity_reservation_id: ::String?,
2101
2110
  capacity_reservation_resource_group_arn: ::String?
@@ -2128,7 +2137,7 @@ module Aws
2128
2137
  min: ::Integer,
2129
2138
  max: ::Integer?
2130
2139
  },
2131
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
2140
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
2132
2141
  memory_gi_b_per_v_cpu: {
2133
2142
  min: ::Float?,
2134
2143
  max: ::Float?
@@ -2170,7 +2179,16 @@ module Aws
2170
2179
  max: ::Float?
2171
2180
  }?,
2172
2181
  allowed_instance_types: Array[::String]?,
2173
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
2182
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
2183
+ baseline_performance_factors: {
2184
+ cpu: {
2185
+ references: Array[
2186
+ {
2187
+ instance_family: ::String?
2188
+ },
2189
+ ]?
2190
+ }?
2191
+ }?
2174
2192
  }?,
2175
2193
  private_dns_name_options: {
2176
2194
  hostname_type: ("ip-name" | "resource-name")?,
@@ -2355,7 +2373,7 @@ module Aws
2355
2373
  amd_sev_snp: ("enabled" | "disabled")?
2356
2374
  }?,
2357
2375
  capacity_reservation_specification: {
2358
- capacity_reservation_preference: ("open" | "none")?,
2376
+ capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
2359
2377
  capacity_reservation_target: {
2360
2378
  capacity_reservation_id: ::String?,
2361
2379
  capacity_reservation_resource_group_arn: ::String?
@@ -2388,7 +2406,7 @@ module Aws
2388
2406
  min: ::Integer,
2389
2407
  max: ::Integer?
2390
2408
  },
2391
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
2409
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
2392
2410
  memory_gi_b_per_v_cpu: {
2393
2411
  min: ::Float?,
2394
2412
  max: ::Float?
@@ -2430,7 +2448,16 @@ module Aws
2430
2448
  max: ::Float?
2431
2449
  }?,
2432
2450
  allowed_instance_types: Array[::String]?,
2433
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
2451
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
2452
+ baseline_performance_factors: {
2453
+ cpu: {
2454
+ references: Array[
2455
+ {
2456
+ instance_family: ::String?
2457
+ },
2458
+ ]?
2459
+ }?
2460
+ }?
2434
2461
  }?,
2435
2462
  private_dns_name_options: {
2436
2463
  hostname_type: ("ip-name" | "resource-name")?,
@@ -3848,6 +3875,30 @@ module Aws
3848
3875
  ) -> _CreateVpcResponseSuccess
3849
3876
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVpcResponseSuccess
3850
3877
 
3878
+ interface _CreateVpcBlockPublicAccessExclusionResponseSuccess
3879
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateVpcBlockPublicAccessExclusionResult]
3880
+ def vpc_block_public_access_exclusion: () -> Types::VpcBlockPublicAccessExclusion
3881
+ end
3882
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#create_vpc_block_public_access_exclusion-instance_method
3883
+ def create_vpc_block_public_access_exclusion: (
3884
+ ?dry_run: bool,
3885
+ ?subnet_id: ::String,
3886
+ ?vpc_id: ::String,
3887
+ internet_gateway_exclusion_mode: ("allow-bidirectional" | "allow-egress"),
3888
+ ?tag_specifications: Array[
3889
+ {
3890
+ resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "ipam-external-resource-verification-token")?,
3891
+ tags: Array[
3892
+ {
3893
+ key: ::String?,
3894
+ value: ::String?
3895
+ },
3896
+ ]?
3897
+ },
3898
+ ]
3899
+ ) -> _CreateVpcBlockPublicAccessExclusionResponseSuccess
3900
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVpcBlockPublicAccessExclusionResponseSuccess
3901
+
3851
3902
  interface _CreateVpcEndpointResponseSuccess
3852
3903
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateVpcEndpointResult]
3853
3904
  def vpc_endpoint: () -> Types::VpcEndpoint
@@ -4805,6 +4856,17 @@ module Aws
4805
4856
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4806
4857
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4807
4858
 
4859
+ interface _DeleteVpcBlockPublicAccessExclusionResponseSuccess
4860
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVpcBlockPublicAccessExclusionResult]
4861
+ def vpc_block_public_access_exclusion: () -> Types::VpcBlockPublicAccessExclusion
4862
+ end
4863
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#delete_vpc_block_public_access_exclusion-instance_method
4864
+ def delete_vpc_block_public_access_exclusion: (
4865
+ ?dry_run: bool,
4866
+ exclusion_id: ::String
4867
+ ) -> _DeleteVpcBlockPublicAccessExclusionResponseSuccess
4868
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVpcBlockPublicAccessExclusionResponseSuccess
4869
+
4808
4870
  interface _DeleteVpcEndpointConnectionNotificationsResponseSuccess
4809
4871
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVpcEndpointConnectionNotificationsResult]
4810
4872
  def unsuccessful: () -> ::Array[Types::UnsuccessfulItem]
@@ -7709,6 +7771,36 @@ module Aws
7709
7771
  ) -> _DescribeVpcAttributeResponseSuccess
7710
7772
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeVpcAttributeResponseSuccess
7711
7773
 
7774
+ interface _DescribeVpcBlockPublicAccessExclusionsResponseSuccess
7775
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeVpcBlockPublicAccessExclusionsResult]
7776
+ def vpc_block_public_access_exclusions: () -> ::Array[Types::VpcBlockPublicAccessExclusion]
7777
+ def next_token: () -> ::String
7778
+ end
7779
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_vpc_block_public_access_exclusions-instance_method
7780
+ def describe_vpc_block_public_access_exclusions: (
7781
+ ?dry_run: bool,
7782
+ ?filters: Array[
7783
+ {
7784
+ name: ::String?,
7785
+ values: Array[::String]?
7786
+ },
7787
+ ],
7788
+ ?exclusion_ids: Array[::String],
7789
+ ?next_token: ::String,
7790
+ ?max_results: ::Integer
7791
+ ) -> _DescribeVpcBlockPublicAccessExclusionsResponseSuccess
7792
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeVpcBlockPublicAccessExclusionsResponseSuccess
7793
+
7794
+ interface _DescribeVpcBlockPublicAccessOptionsResponseSuccess
7795
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeVpcBlockPublicAccessOptionsResult]
7796
+ def vpc_block_public_access_options: () -> Types::VpcBlockPublicAccessOptions
7797
+ end
7798
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_vpc_block_public_access_options-instance_method
7799
+ def describe_vpc_block_public_access_options: (
7800
+ ?dry_run: bool
7801
+ ) -> _DescribeVpcBlockPublicAccessOptionsResponseSuccess
7802
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeVpcBlockPublicAccessOptionsResponseSuccess
7803
+
7712
7804
  interface _DescribeVpcClassicLinkResponseSuccess
7713
7805
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeVpcClassicLinkResult]
7714
7806
  def vpcs: () -> ::Array[Types::VpcClassicLink]
@@ -8943,7 +9035,7 @@ module Aws
8943
9035
  min: ::Integer,
8944
9036
  max: ::Integer?
8945
9037
  },
8946
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
9038
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
8947
9039
  memory_gi_b_per_v_cpu: {
8948
9040
  min: ::Float?,
8949
9041
  max: ::Float?
@@ -8985,7 +9077,16 @@ module Aws
8985
9077
  max: ::Float?
8986
9078
  }?,
8987
9079
  allowed_instance_types: Array[::String]?,
8988
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
9080
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
9081
+ baseline_performance_factors: {
9082
+ cpu: {
9083
+ references: Array[
9084
+ {
9085
+ instance_family: ::String?
9086
+ },
9087
+ ]?
9088
+ }?
9089
+ }?
8989
9090
  },
8990
9091
  ?max_results: ::Integer,
8991
9092
  ?next_token: ::String
@@ -9324,7 +9425,7 @@ module Aws
9324
9425
  min: ::Integer,
9325
9426
  max: ::Integer?
9326
9427
  },
9327
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
9428
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
9328
9429
  memory_gi_b_per_v_cpu: {
9329
9430
  min: ::Float?,
9330
9431
  max: ::Float?
@@ -9366,7 +9467,16 @@ module Aws
9366
9467
  max: ::Float?
9367
9468
  }?,
9368
9469
  allowed_instance_types: Array[::String]?,
9369
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
9470
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
9471
+ baseline_performance_factors: {
9472
+ cpu: {
9473
+ references: Array[
9474
+ {
9475
+ instance_family: ::String?
9476
+ },
9477
+ ]?
9478
+ }?
9479
+ }?
9370
9480
  }?
9371
9481
  },
9372
9482
  ?dry_run: bool,
@@ -10032,7 +10142,7 @@ module Aws
10032
10142
  min: ::Integer,
10033
10143
  max: ::Integer?
10034
10144
  },
10035
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
10145
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
10036
10146
  memory_gi_b_per_v_cpu: {
10037
10147
  min: ::Float?,
10038
10148
  max: ::Float?
@@ -10074,7 +10184,16 @@ module Aws
10074
10184
  max: ::Float?
10075
10185
  }?,
10076
10186
  allowed_instance_types: Array[::String]?,
10077
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
10187
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
10188
+ baseline_performance_factors: {
10189
+ cpu: {
10190
+ references: Array[
10191
+ {
10192
+ instance_family: ::String?
10193
+ },
10194
+ ]?
10195
+ }?
10196
+ }?
10078
10197
  }?,
10079
10198
  image_id: ::String?
10080
10199
  },
@@ -10243,7 +10362,7 @@ module Aws
10243
10362
  def modify_instance_capacity_reservation_attributes: (
10244
10363
  instance_id: ::String,
10245
10364
  capacity_reservation_specification: {
10246
- capacity_reservation_preference: ("open" | "none")?,
10365
+ capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
10247
10366
  capacity_reservation_target: {
10248
10367
  capacity_reservation_id: ::String?,
10249
10368
  capacity_reservation_resource_group_arn: ::String?
@@ -10695,7 +10814,7 @@ module Aws
10695
10814
  min: ::Integer?,
10696
10815
  max: ::Integer?
10697
10816
  }?,
10698
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
10817
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
10699
10818
  memory_gi_b_per_v_cpu: {
10700
10819
  min: ::Float?,
10701
10820
  max: ::Float?
@@ -10737,7 +10856,16 @@ module Aws
10737
10856
  max: ::Float?
10738
10857
  }?,
10739
10858
  allowed_instance_types: Array[::String]?,
10740
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
10859
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
10860
+ baseline_performance_factors: {
10861
+ cpu: {
10862
+ references: Array[
10863
+ {
10864
+ instance_family: ::String?
10865
+ },
10866
+ ]?
10867
+ }?
10868
+ }?
10741
10869
  }?
10742
10870
  },
10743
10871
  ]?
@@ -11087,6 +11215,29 @@ module Aws
11087
11215
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
11088
11216
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
11089
11217
 
11218
+ interface _ModifyVpcBlockPublicAccessExclusionResponseSuccess
11219
+ include ::Seahorse::Client::_ResponseSuccess[Types::ModifyVpcBlockPublicAccessExclusionResult]
11220
+ def vpc_block_public_access_exclusion: () -> Types::VpcBlockPublicAccessExclusion
11221
+ end
11222
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_vpc_block_public_access_exclusion-instance_method
11223
+ def modify_vpc_block_public_access_exclusion: (
11224
+ ?dry_run: bool,
11225
+ exclusion_id: ::String,
11226
+ internet_gateway_exclusion_mode: ("allow-bidirectional" | "allow-egress")
11227
+ ) -> _ModifyVpcBlockPublicAccessExclusionResponseSuccess
11228
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyVpcBlockPublicAccessExclusionResponseSuccess
11229
+
11230
+ interface _ModifyVpcBlockPublicAccessOptionsResponseSuccess
11231
+ include ::Seahorse::Client::_ResponseSuccess[Types::ModifyVpcBlockPublicAccessOptionsResult]
11232
+ def vpc_block_public_access_options: () -> Types::VpcBlockPublicAccessOptions
11233
+ end
11234
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_vpc_block_public_access_options-instance_method
11235
+ def modify_vpc_block_public_access_options: (
11236
+ ?dry_run: bool,
11237
+ internet_gateway_block_mode: ("off" | "block-bidirectional" | "block-ingress")
11238
+ ) -> _ModifyVpcBlockPublicAccessOptionsResponseSuccess
11239
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyVpcBlockPublicAccessOptionsResponseSuccess
11240
+
11090
11241
  interface _ModifyVpcEndpointResponseSuccess
11091
11242
  include ::Seahorse::Client::_ResponseSuccess[Types::ModifyVpcEndpointResult]
11092
11243
  def return: () -> bool
@@ -12002,7 +12153,7 @@ module Aws
12002
12153
  min: ::Integer?,
12003
12154
  max: ::Integer?
12004
12155
  }?,
12005
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
12156
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
12006
12157
  memory_gi_b_per_v_cpu: {
12007
12158
  min: ::Float?,
12008
12159
  max: ::Float?
@@ -12044,7 +12195,16 @@ module Aws
12044
12195
  max: ::Float?
12045
12196
  }?,
12046
12197
  allowed_instance_types: Array[::String]?,
12047
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
12198
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
12199
+ baseline_performance_factors: {
12200
+ cpu: {
12201
+ references: Array[
12202
+ {
12203
+ instance_family: ::String?
12204
+ },
12205
+ ]?
12206
+ }?
12207
+ }?
12048
12208
  }?,
12049
12209
  security_groups: Array[
12050
12210
  {
@@ -12078,7 +12238,7 @@ module Aws
12078
12238
  min: ::Integer?,
12079
12239
  max: ::Integer?
12080
12240
  }?,
12081
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
12241
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
12082
12242
  memory_gi_b_per_v_cpu: {
12083
12243
  min: ::Float?,
12084
12244
  max: ::Float?
@@ -12120,7 +12280,16 @@ module Aws
12120
12280
  max: ::Float?
12121
12281
  }?,
12122
12282
  allowed_instance_types: Array[::String]?,
12123
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
12283
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
12284
+ baseline_performance_factors: {
12285
+ cpu: {
12286
+ references: Array[
12287
+ {
12288
+ instance_family: ::String?
12289
+ },
12290
+ ]?
12291
+ }?
12292
+ }?
12124
12293
  }?
12125
12294
  },
12126
12295
  ]?
@@ -12670,7 +12839,7 @@ module Aws
12670
12839
  amd_sev_snp: ("enabled" | "disabled")?
12671
12840
  },
12672
12841
  ?capacity_reservation_specification: {
12673
- capacity_reservation_preference: ("open" | "none")?,
12842
+ capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
12674
12843
  capacity_reservation_target: {
12675
12844
  capacity_reservation_id: ::String?,
12676
12845
  capacity_reservation_resource_group_arn: ::String?
data/sig/resource.rbs CHANGED
@@ -198,7 +198,7 @@ module Aws
198
198
  amd_sev_snp: ("enabled" | "disabled")?
199
199
  },
200
200
  ?capacity_reservation_specification: {
201
- capacity_reservation_preference: ("open" | "none")?,
201
+ capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
202
202
  capacity_reservation_target: {
203
203
  capacity_reservation_id: ::String?,
204
204
  capacity_reservation_resource_group_arn: ::String?
data/sig/subnet.rbs CHANGED
@@ -57,6 +57,9 @@ module Aws
57
57
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#private_dns_name_options_on_launch-instance_method
58
58
  def private_dns_name_options_on_launch: () -> Types::PrivateDnsNameOptionsOnLaunch
59
59
 
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#block_public_access_states-instance_method
61
+ def block_public_access_states: () -> Types::BlockPublicAccessStates
62
+
60
63
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#state-instance_method
61
64
  def state: () -> ("pending" | "available" | "unavailable")
62
65
 
@@ -188,7 +191,7 @@ module Aws
188
191
  amd_sev_snp: ("enabled" | "disabled")?
189
192
  },
190
193
  ?capacity_reservation_specification: {
191
- capacity_reservation_preference: ("open" | "none")?,
194
+ capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
192
195
  capacity_reservation_target: {
193
196
  capacity_reservation_id: ::String?,
194
197
  capacity_reservation_resource_group_arn: ::String?