aws-sdk-ec2 1.490.0 → 1.491.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.491.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -3848,6 +3848,30 @@ module Aws
3848
3848
  ) -> _CreateVpcResponseSuccess
3849
3849
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVpcResponseSuccess
3850
3850
 
3851
+ interface _CreateVpcBlockPublicAccessExclusionResponseSuccess
3852
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateVpcBlockPublicAccessExclusionResult]
3853
+ def vpc_block_public_access_exclusion: () -> Types::VpcBlockPublicAccessExclusion
3854
+ end
3855
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#create_vpc_block_public_access_exclusion-instance_method
3856
+ def create_vpc_block_public_access_exclusion: (
3857
+ ?dry_run: bool,
3858
+ ?subnet_id: ::String,
3859
+ ?vpc_id: ::String,
3860
+ internet_gateway_exclusion_mode: ("allow-bidirectional" | "allow-egress"),
3861
+ ?tag_specifications: Array[
3862
+ {
3863
+ 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")?,
3864
+ tags: Array[
3865
+ {
3866
+ key: ::String?,
3867
+ value: ::String?
3868
+ },
3869
+ ]?
3870
+ },
3871
+ ]
3872
+ ) -> _CreateVpcBlockPublicAccessExclusionResponseSuccess
3873
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVpcBlockPublicAccessExclusionResponseSuccess
3874
+
3851
3875
  interface _CreateVpcEndpointResponseSuccess
3852
3876
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateVpcEndpointResult]
3853
3877
  def vpc_endpoint: () -> Types::VpcEndpoint
@@ -4805,6 +4829,17 @@ module Aws
4805
4829
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4806
4830
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4807
4831
 
4832
+ interface _DeleteVpcBlockPublicAccessExclusionResponseSuccess
4833
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVpcBlockPublicAccessExclusionResult]
4834
+ def vpc_block_public_access_exclusion: () -> Types::VpcBlockPublicAccessExclusion
4835
+ end
4836
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#delete_vpc_block_public_access_exclusion-instance_method
4837
+ def delete_vpc_block_public_access_exclusion: (
4838
+ ?dry_run: bool,
4839
+ exclusion_id: ::String
4840
+ ) -> _DeleteVpcBlockPublicAccessExclusionResponseSuccess
4841
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVpcBlockPublicAccessExclusionResponseSuccess
4842
+
4808
4843
  interface _DeleteVpcEndpointConnectionNotificationsResponseSuccess
4809
4844
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVpcEndpointConnectionNotificationsResult]
4810
4845
  def unsuccessful: () -> ::Array[Types::UnsuccessfulItem]
@@ -7709,6 +7744,36 @@ module Aws
7709
7744
  ) -> _DescribeVpcAttributeResponseSuccess
7710
7745
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeVpcAttributeResponseSuccess
7711
7746
 
7747
+ interface _DescribeVpcBlockPublicAccessExclusionsResponseSuccess
7748
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeVpcBlockPublicAccessExclusionsResult]
7749
+ def vpc_block_public_access_exclusions: () -> ::Array[Types::VpcBlockPublicAccessExclusion]
7750
+ def next_token: () -> ::String
7751
+ end
7752
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_vpc_block_public_access_exclusions-instance_method
7753
+ def describe_vpc_block_public_access_exclusions: (
7754
+ ?dry_run: bool,
7755
+ ?filters: Array[
7756
+ {
7757
+ name: ::String?,
7758
+ values: Array[::String]?
7759
+ },
7760
+ ],
7761
+ ?exclusion_ids: Array[::String],
7762
+ ?next_token: ::String,
7763
+ ?max_results: ::Integer
7764
+ ) -> _DescribeVpcBlockPublicAccessExclusionsResponseSuccess
7765
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeVpcBlockPublicAccessExclusionsResponseSuccess
7766
+
7767
+ interface _DescribeVpcBlockPublicAccessOptionsResponseSuccess
7768
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeVpcBlockPublicAccessOptionsResult]
7769
+ def vpc_block_public_access_options: () -> Types::VpcBlockPublicAccessOptions
7770
+ end
7771
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_vpc_block_public_access_options-instance_method
7772
+ def describe_vpc_block_public_access_options: (
7773
+ ?dry_run: bool
7774
+ ) -> _DescribeVpcBlockPublicAccessOptionsResponseSuccess
7775
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeVpcBlockPublicAccessOptionsResponseSuccess
7776
+
7712
7777
  interface _DescribeVpcClassicLinkResponseSuccess
7713
7778
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeVpcClassicLinkResult]
7714
7779
  def vpcs: () -> ::Array[Types::VpcClassicLink]
@@ -11087,6 +11152,29 @@ module Aws
11087
11152
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
11088
11153
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
11089
11154
 
11155
+ interface _ModifyVpcBlockPublicAccessExclusionResponseSuccess
11156
+ include ::Seahorse::Client::_ResponseSuccess[Types::ModifyVpcBlockPublicAccessExclusionResult]
11157
+ def vpc_block_public_access_exclusion: () -> Types::VpcBlockPublicAccessExclusion
11158
+ end
11159
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_vpc_block_public_access_exclusion-instance_method
11160
+ def modify_vpc_block_public_access_exclusion: (
11161
+ ?dry_run: bool,
11162
+ exclusion_id: ::String,
11163
+ internet_gateway_exclusion_mode: ("allow-bidirectional" | "allow-egress")
11164
+ ) -> _ModifyVpcBlockPublicAccessExclusionResponseSuccess
11165
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyVpcBlockPublicAccessExclusionResponseSuccess
11166
+
11167
+ interface _ModifyVpcBlockPublicAccessOptionsResponseSuccess
11168
+ include ::Seahorse::Client::_ResponseSuccess[Types::ModifyVpcBlockPublicAccessOptionsResult]
11169
+ def vpc_block_public_access_options: () -> Types::VpcBlockPublicAccessOptions
11170
+ end
11171
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_vpc_block_public_access_options-instance_method
11172
+ def modify_vpc_block_public_access_options: (
11173
+ ?dry_run: bool,
11174
+ internet_gateway_block_mode: ("off" | "block-bidirectional" | "block-ingress")
11175
+ ) -> _ModifyVpcBlockPublicAccessOptionsResponseSuccess
11176
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyVpcBlockPublicAccessOptionsResponseSuccess
11177
+
11090
11178
  interface _ModifyVpcEndpointResponseSuccess
11091
11179
  include ::Seahorse::Client::_ResponseSuccess[Types::ModifyVpcEndpointResult]
11092
11180
  def return: () -> bool
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
 
data/sig/types.rbs CHANGED
@@ -947,6 +947,11 @@ module Aws::EC2
947
947
  SENSITIVE: []
948
948
  end
949
949
 
950
+ class BlockPublicAccessStates
951
+ attr_accessor internet_gateway_block_mode: ("off" | "block-bidirectional" | "block-ingress")
952
+ SENSITIVE: []
953
+ end
954
+
950
955
  class BundleInstanceRequest
951
956
  attr_accessor instance_id: ::String
952
957
  attr_accessor storage: Types::Storage
@@ -2938,6 +2943,20 @@ module Aws::EC2
2938
2943
  SENSITIVE: []
2939
2944
  end
2940
2945
 
2946
+ class CreateVpcBlockPublicAccessExclusionRequest
2947
+ attr_accessor dry_run: bool
2948
+ attr_accessor subnet_id: ::String
2949
+ attr_accessor vpc_id: ::String
2950
+ attr_accessor internet_gateway_exclusion_mode: ("allow-bidirectional" | "allow-egress")
2951
+ attr_accessor tag_specifications: ::Array[Types::TagSpecification]
2952
+ SENSITIVE: []
2953
+ end
2954
+
2955
+ class CreateVpcBlockPublicAccessExclusionResult
2956
+ attr_accessor vpc_block_public_access_exclusion: Types::VpcBlockPublicAccessExclusion
2957
+ SENSITIVE: []
2958
+ end
2959
+
2941
2960
  class CreateVpcEndpointConnectionNotificationRequest
2942
2961
  attr_accessor dry_run: bool
2943
2962
  attr_accessor service_id: ::String
@@ -3845,6 +3864,17 @@ module Aws::EC2
3845
3864
  SENSITIVE: []
3846
3865
  end
3847
3866
 
3867
+ class DeleteVpcBlockPublicAccessExclusionRequest
3868
+ attr_accessor dry_run: bool
3869
+ attr_accessor exclusion_id: ::String
3870
+ SENSITIVE: []
3871
+ end
3872
+
3873
+ class DeleteVpcBlockPublicAccessExclusionResult
3874
+ attr_accessor vpc_block_public_access_exclusion: Types::VpcBlockPublicAccessExclusion
3875
+ SENSITIVE: []
3876
+ end
3877
+
3848
3878
  class DeleteVpcEndpointConnectionNotificationsRequest
3849
3879
  attr_accessor dry_run: bool
3850
3880
  attr_accessor connection_notification_ids: ::Array[::String]
@@ -6163,6 +6193,31 @@ module Aws::EC2
6163
6193
  SENSITIVE: []
6164
6194
  end
6165
6195
 
6196
+ class DescribeVpcBlockPublicAccessExclusionsRequest
6197
+ attr_accessor dry_run: bool
6198
+ attr_accessor filters: ::Array[Types::Filter]
6199
+ attr_accessor exclusion_ids: ::Array[::String]
6200
+ attr_accessor next_token: ::String
6201
+ attr_accessor max_results: ::Integer
6202
+ SENSITIVE: []
6203
+ end
6204
+
6205
+ class DescribeVpcBlockPublicAccessExclusionsResult
6206
+ attr_accessor vpc_block_public_access_exclusions: ::Array[Types::VpcBlockPublicAccessExclusion]
6207
+ attr_accessor next_token: ::String
6208
+ SENSITIVE: []
6209
+ end
6210
+
6211
+ class DescribeVpcBlockPublicAccessOptionsRequest
6212
+ attr_accessor dry_run: bool
6213
+ SENSITIVE: []
6214
+ end
6215
+
6216
+ class DescribeVpcBlockPublicAccessOptionsResult
6217
+ attr_accessor vpc_block_public_access_options: Types::VpcBlockPublicAccessOptions
6218
+ SENSITIVE: []
6219
+ end
6220
+
6166
6221
  class DescribeVpcClassicLinkDnsSupportRequest
6167
6222
  attr_accessor vpc_ids: ::Array[::String]
6168
6223
  attr_accessor max_results: ::Integer
@@ -11372,6 +11427,29 @@ module Aws::EC2
11372
11427
  SENSITIVE: []
11373
11428
  end
11374
11429
 
11430
+ class ModifyVpcBlockPublicAccessExclusionRequest
11431
+ attr_accessor dry_run: bool
11432
+ attr_accessor exclusion_id: ::String
11433
+ attr_accessor internet_gateway_exclusion_mode: ("allow-bidirectional" | "allow-egress")
11434
+ SENSITIVE: []
11435
+ end
11436
+
11437
+ class ModifyVpcBlockPublicAccessExclusionResult
11438
+ attr_accessor vpc_block_public_access_exclusion: Types::VpcBlockPublicAccessExclusion
11439
+ SENSITIVE: []
11440
+ end
11441
+
11442
+ class ModifyVpcBlockPublicAccessOptionsRequest
11443
+ attr_accessor dry_run: bool
11444
+ attr_accessor internet_gateway_block_mode: ("off" | "block-bidirectional" | "block-ingress")
11445
+ SENSITIVE: []
11446
+ end
11447
+
11448
+ class ModifyVpcBlockPublicAccessOptionsResult
11449
+ attr_accessor vpc_block_public_access_options: Types::VpcBlockPublicAccessOptions
11450
+ SENSITIVE: []
11451
+ end
11452
+
11375
11453
  class ModifyVpcEndpointConnectionNotificationRequest
11376
11454
  attr_accessor dry_run: bool
11377
11455
  attr_accessor connection_notification_id: ::String
@@ -14173,6 +14251,7 @@ module Aws::EC2
14173
14251
  attr_accessor enable_dns_64: bool
14174
14252
  attr_accessor ipv_6_native: bool
14175
14253
  attr_accessor private_dns_name_options_on_launch: Types::PrivateDnsNameOptionsOnLaunch
14254
+ attr_accessor block_public_access_states: Types::BlockPublicAccessStates
14176
14255
  attr_accessor subnet_id: ::String
14177
14256
  attr_accessor state: ("pending" | "available" | "unavailable")
14178
14257
  attr_accessor vpc_id: ::String
@@ -15327,6 +15406,7 @@ module Aws::EC2
15327
15406
  attr_accessor cidr_block_association_set: ::Array[Types::VpcCidrBlockAssociation]
15328
15407
  attr_accessor is_default: bool
15329
15408
  attr_accessor tags: ::Array[Types::Tag]
15409
+ attr_accessor block_public_access_states: Types::BlockPublicAccessStates
15330
15410
  attr_accessor vpc_id: ::String
15331
15411
  attr_accessor state: ("pending" | "available")
15332
15412
  attr_accessor cidr_block: ::String
@@ -15340,6 +15420,29 @@ module Aws::EC2
15340
15420
  SENSITIVE: []
15341
15421
  end
15342
15422
 
15423
+ class VpcBlockPublicAccessExclusion
15424
+ attr_accessor exclusion_id: ::String
15425
+ attr_accessor internet_gateway_exclusion_mode: ("allow-bidirectional" | "allow-egress")
15426
+ attr_accessor resource_arn: ::String
15427
+ 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")
15428
+ attr_accessor reason: ::String
15429
+ attr_accessor creation_timestamp: ::Time
15430
+ attr_accessor last_update_timestamp: ::Time
15431
+ attr_accessor deletion_timestamp: ::Time
15432
+ attr_accessor tags: ::Array[Types::Tag]
15433
+ SENSITIVE: []
15434
+ end
15435
+
15436
+ class VpcBlockPublicAccessOptions
15437
+ attr_accessor aws_account_id: ::String
15438
+ attr_accessor aws_region: ::String
15439
+ attr_accessor state: ("default-state" | "update-in-progress" | "update-complete")
15440
+ attr_accessor internet_gateway_block_mode: ("off" | "block-bidirectional" | "block-ingress")
15441
+ attr_accessor reason: ::String
15442
+ attr_accessor last_update_timestamp: ::Time
15443
+ SENSITIVE: []
15444
+ end
15445
+
15343
15446
  class VpcCidrBlockAssociation
15344
15447
  attr_accessor association_id: ::String
15345
15448
  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.490.0
4
+ version: 1.491.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-18 00:00:00.000000000 Z
11
+ date: 2024-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core