aws-sdk-ec2 1.361.0 → 1.363.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed8071b814f41602079376eb77b0bcd638a003c8acd21576d6c6d45bf818e338
4
- data.tar.gz: c59bcfa87254a1af3f92c38fc1dbf3b623f901a32cc7116066d99f8f51a712c6
3
+ metadata.gz: 2c6d7966f5a839dc24c4376d9c59be0b502b1b412e303211f12cb59170796ece
4
+ data.tar.gz: a759478baa4552820e95b29f3976ec901549c2aae4eb2cc4b52b5e28f1851de6
5
5
  SHA512:
6
- metadata.gz: 824454d838cf6465107462cf46c21cd52bc95a7ded4c00c37da688113ffb47c475aab4e56394f3062db693b5f07e6384626cfeb60ef7e92af1fb5fbaf5d5f5e1
7
- data.tar.gz: 12e2bc2eece0ea4af48d00dcf3aa40132b555dc7f0bfcb8a5e5e3b45b896d432954f245884eb8fc4df109bf4f971f0f21837a262aa5a98ddb23c676661e09358
6
+ metadata.gz: 88826f34af08185fc9cd18d7c8bea568e8730c5efdcfcc57eaca650c524cd790ca8d6a4cb283e509b3557f7731d394ea53caf522f71f2e1f541f595f03233437
7
+ data.tar.gz: 5f477ba73bbe5e19f27a6e62c872866da2c18fb09f2c0a0cdfa3357f2a8d1b84fb1111f0c63712d9976953d31c23d596772ffc0acfc853e581d9f798c3d3d1e7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.363.0 (2023-01-31)
5
+ ------------------
6
+
7
+ * Feature - This launch allows customers to associate up to 8 IP addresses to their NAT Gateways to increase the limit on concurrent connections to a single destination by eight times from 55K to 440K.
8
+
9
+ 1.362.0 (2023-01-30)
10
+ ------------------
11
+
12
+ * Feature - We add Prefix Lists as a new route destination option for LocalGatewayRoutes. This will allow customers to create routes to Prefix Lists. Prefix List routes will allow customers to group individual CIDR routes with the same target into a single route.
13
+
4
14
  1.361.0 (2023-01-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.361.0
1
+ 1.363.0
@@ -1454,6 +1454,68 @@ module Aws::EC2
1454
1454
  req.send_request(options)
1455
1455
  end
1456
1456
 
1457
+ # Assigns one or more private IPv4 addresses to a private NAT gateway.
1458
+ # For more information, see [Work with NAT gateways][1] in the *Amazon
1459
+ # Virtual Private Cloud User Guide*.
1460
+ #
1461
+ #
1462
+ #
1463
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-working-with
1464
+ #
1465
+ # @option params [required, String] :nat_gateway_id
1466
+ # The NAT gateway ID.
1467
+ #
1468
+ # @option params [Array<String>] :private_ip_addresses
1469
+ # The private IPv4 addresses you want to assign to the private NAT
1470
+ # gateway.
1471
+ #
1472
+ # @option params [Integer] :private_ip_address_count
1473
+ # The number of private IP addresses to assign to the NAT gateway. You
1474
+ # can't specify this parameter when also specifying private IP
1475
+ # addresses.
1476
+ #
1477
+ # @option params [Boolean] :dry_run
1478
+ # Checks whether you have the required permissions for the action,
1479
+ # without actually making the request, and provides an error response.
1480
+ # If you have the required permissions, the error response is
1481
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1482
+ #
1483
+ # @return [Types::AssignPrivateNatGatewayAddressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1484
+ #
1485
+ # * {Types::AssignPrivateNatGatewayAddressResult#nat_gateway_id #nat_gateway_id} => String
1486
+ # * {Types::AssignPrivateNatGatewayAddressResult#nat_gateway_addresses #nat_gateway_addresses} => Array&lt;Types::NatGatewayAddress&gt;
1487
+ #
1488
+ # @example Request syntax with placeholder values
1489
+ #
1490
+ # resp = client.assign_private_nat_gateway_address({
1491
+ # nat_gateway_id: "NatGatewayId", # required
1492
+ # private_ip_addresses: ["String"],
1493
+ # private_ip_address_count: 1,
1494
+ # dry_run: false,
1495
+ # })
1496
+ #
1497
+ # @example Response structure
1498
+ #
1499
+ # resp.nat_gateway_id #=> String
1500
+ # resp.nat_gateway_addresses #=> Array
1501
+ # resp.nat_gateway_addresses[0].allocation_id #=> String
1502
+ # resp.nat_gateway_addresses[0].network_interface_id #=> String
1503
+ # resp.nat_gateway_addresses[0].private_ip #=> String
1504
+ # resp.nat_gateway_addresses[0].public_ip #=> String
1505
+ # resp.nat_gateway_addresses[0].association_id #=> String
1506
+ # resp.nat_gateway_addresses[0].is_primary #=> Boolean
1507
+ # resp.nat_gateway_addresses[0].failure_message #=> String
1508
+ # resp.nat_gateway_addresses[0].status #=> String, one of "assigning", "unassigning", "associating", "disassociating", "succeeded", "failed"
1509
+ #
1510
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateNatGatewayAddress AWS API Documentation
1511
+ #
1512
+ # @overload assign_private_nat_gateway_address(params = {})
1513
+ # @param [Hash] params ({})
1514
+ def assign_private_nat_gateway_address(params = {}, options = {})
1515
+ req = build_request(:assign_private_nat_gateway_address, params)
1516
+ req.send_request(options)
1517
+ end
1518
+
1457
1519
  # Associates an Elastic IP address, or carrier IP address (for instances
1458
1520
  # that are in subnets in Wavelength Zones) with an instance or a network
1459
1521
  # interface. Before you can use an Elastic IP address, you must allocate
@@ -1793,8 +1855,8 @@ module Aws::EC2
1793
1855
  # @example Request syntax with placeholder values
1794
1856
  #
1795
1857
  # resp = client.associate_enclave_certificate_iam_role({
1796
- # certificate_arn: "ResourceArn",
1797
- # role_arn: "ResourceArn",
1858
+ # certificate_arn: "CertificateId",
1859
+ # role_arn: "RoleId",
1798
1860
  # dry_run: false,
1799
1861
  # })
1800
1862
  #
@@ -2029,6 +2091,72 @@ module Aws::EC2
2029
2091
  req.send_request(options)
2030
2092
  end
2031
2093
 
2094
+ # Associates Elastic IP addresses (EIPs) and private IPv4 addresses with
2095
+ # a public NAT gateway. For more information, see [Work with NAT
2096
+ # gateways][1] in the *Amazon Virtual Private Cloud User Guide*.
2097
+ #
2098
+ # By default, you can associate up to 2 Elastic IP addresses per public
2099
+ # NAT gateway. You can increase the limit by requesting a quota
2100
+ # adjustment. For more information, see [Elastic IP address quotas][2]
2101
+ # in the *Amazon Virtual Private Cloud User Guide*.
2102
+ #
2103
+ #
2104
+ #
2105
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-working-with
2106
+ # [2]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-eips
2107
+ #
2108
+ # @option params [required, String] :nat_gateway_id
2109
+ # The NAT gateway ID.
2110
+ #
2111
+ # @option params [required, Array<String>] :allocation_ids
2112
+ # The allocation IDs of EIPs that you want to associate with your NAT
2113
+ # gateway.
2114
+ #
2115
+ # @option params [Array<String>] :private_ip_addresses
2116
+ # The private IPv4 addresses that you want to assign to the NAT gateway.
2117
+ #
2118
+ # @option params [Boolean] :dry_run
2119
+ # Checks whether you have the required permissions for the action,
2120
+ # without actually making the request, and provides an error response.
2121
+ # If you have the required permissions, the error response is
2122
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2123
+ #
2124
+ # @return [Types::AssociateNatGatewayAddressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2125
+ #
2126
+ # * {Types::AssociateNatGatewayAddressResult#nat_gateway_id #nat_gateway_id} => String
2127
+ # * {Types::AssociateNatGatewayAddressResult#nat_gateway_addresses #nat_gateway_addresses} => Array&lt;Types::NatGatewayAddress&gt;
2128
+ #
2129
+ # @example Request syntax with placeholder values
2130
+ #
2131
+ # resp = client.associate_nat_gateway_address({
2132
+ # nat_gateway_id: "NatGatewayId", # required
2133
+ # allocation_ids: ["AllocationId"], # required
2134
+ # private_ip_addresses: ["String"],
2135
+ # dry_run: false,
2136
+ # })
2137
+ #
2138
+ # @example Response structure
2139
+ #
2140
+ # resp.nat_gateway_id #=> String
2141
+ # resp.nat_gateway_addresses #=> Array
2142
+ # resp.nat_gateway_addresses[0].allocation_id #=> String
2143
+ # resp.nat_gateway_addresses[0].network_interface_id #=> String
2144
+ # resp.nat_gateway_addresses[0].private_ip #=> String
2145
+ # resp.nat_gateway_addresses[0].public_ip #=> String
2146
+ # resp.nat_gateway_addresses[0].association_id #=> String
2147
+ # resp.nat_gateway_addresses[0].is_primary #=> Boolean
2148
+ # resp.nat_gateway_addresses[0].failure_message #=> String
2149
+ # resp.nat_gateway_addresses[0].status #=> String, one of "assigning", "unassigning", "associating", "disassociating", "succeeded", "failed"
2150
+ #
2151
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateNatGatewayAddress AWS API Documentation
2152
+ #
2153
+ # @overload associate_nat_gateway_address(params = {})
2154
+ # @param [Hash] params ({})
2155
+ def associate_nat_gateway_address(params = {}, options = {})
2156
+ req = build_request(:associate_nat_gateway_address, params)
2157
+ req.send_request(options)
2158
+ end
2159
+
2032
2160
  # Associates a subnet in your VPC or an internet gateway or virtual
2033
2161
  # private gateway attached to your VPC with a route table in your VPC.
2034
2162
  # This association causes traffic from the subnet or gateway to be
@@ -4595,7 +4723,7 @@ module Aws::EC2
4595
4723
  # destination_region: "String",
4596
4724
  # encrypted: false,
4597
4725
  # kms_key_id: "KmsKeyId",
4598
- # presigned_url: "String",
4726
+ # presigned_url: "CopySnapshotRequestPSU",
4599
4727
  # source_region: "String", # required
4600
4728
  # source_snapshot_id: "String", # required
4601
4729
  # tag_specifications: [
@@ -8616,7 +8744,7 @@ module Aws::EC2
8616
8744
  #
8617
8745
  # * `NetworkInterfaceId`
8618
8746
  #
8619
- # @option params [required, String] :destination_cidr_block
8747
+ # @option params [String] :destination_cidr_block
8620
8748
  # The CIDR range used for destination matches. Routing decisions are
8621
8749
  # based on the most specific match.
8622
8750
  #
@@ -8635,6 +8763,11 @@ module Aws::EC2
8635
8763
  # @option params [String] :network_interface_id
8636
8764
  # The ID of the network interface.
8637
8765
  #
8766
+ # @option params [String] :destination_prefix_list_id
8767
+ # The ID of the prefix list. Use a prefix list in place of
8768
+ # `DestinationCidrBlock`. You cannot use `DestinationPrefixListId` and
8769
+ # `DestinationCidrBlock` in the same request.
8770
+ #
8638
8771
  # @return [Types::CreateLocalGatewayRouteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8639
8772
  #
8640
8773
  # * {Types::CreateLocalGatewayRouteResult#route #route} => Types::LocalGatewayRoute
@@ -8642,11 +8775,12 @@ module Aws::EC2
8642
8775
  # @example Request syntax with placeholder values
8643
8776
  #
8644
8777
  # resp = client.create_local_gateway_route({
8645
- # destination_cidr_block: "String", # required
8778
+ # destination_cidr_block: "String",
8646
8779
  # local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
8647
8780
  # local_gateway_virtual_interface_group_id: "LocalGatewayVirtualInterfaceGroupId",
8648
8781
  # dry_run: false,
8649
8782
  # network_interface_id: "NetworkInterfaceId",
8783
+ # destination_prefix_list_id: "PrefixListResourceId",
8650
8784
  # })
8651
8785
  #
8652
8786
  # @example Response structure
@@ -8661,6 +8795,7 @@ module Aws::EC2
8661
8795
  # resp.route.subnet_id #=> String
8662
8796
  # resp.route.coip_pool_id #=> String
8663
8797
  # resp.route.network_interface_id #=> String
8798
+ # resp.route.destination_prefix_list_id #=> String
8664
8799
  #
8665
8800
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLocalGatewayRoute AWS API Documentation
8666
8801
  #
@@ -9012,7 +9147,7 @@ module Aws::EC2
9012
9147
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
9013
9148
  #
9014
9149
  # @option params [required, String] :subnet_id
9015
- # The subnet in which to create the NAT gateway.
9150
+ # The ID of the subnet in which to create the NAT gateway.
9016
9151
  #
9017
9152
  # @option params [Array<Types::TagSpecification>] :tag_specifications
9018
9153
  # The tags to assign to the NAT gateway.
@@ -9026,6 +9161,34 @@ module Aws::EC2
9026
9161
  # provide an address, a private IPv4 address will be automatically
9027
9162
  # assigned.
9028
9163
  #
9164
+ # @option params [Array<String>] :secondary_allocation_ids
9165
+ # Secondary EIP allocation IDs. For more information about secondary
9166
+ # addresses, see [Create a NAT gateway][1] in the *Amazon Virtual
9167
+ # Private Cloud User Guide*.
9168
+ #
9169
+ #
9170
+ #
9171
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating
9172
+ #
9173
+ # @option params [Array<String>] :secondary_private_ip_addresses
9174
+ # Secondary private IPv4 addresses. For more information about secondary
9175
+ # addresses, see [Create a NAT gateway][1] in the *Amazon Virtual
9176
+ # Private Cloud User Guide*.
9177
+ #
9178
+ #
9179
+ #
9180
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating
9181
+ #
9182
+ # @option params [Integer] :secondary_private_ip_address_count
9183
+ # \[Private NAT gateway only\] The number of secondary private IPv4
9184
+ # addresses you want to assign to the NAT gateway. For more information
9185
+ # about secondary addresses, see [Create a NAT gateway][1] in the
9186
+ # *Amazon Virtual Private Cloud User Guide*.
9187
+ #
9188
+ #
9189
+ #
9190
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating
9191
+ #
9029
9192
  # @return [Types::CreateNatGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9030
9193
  #
9031
9194
  # * {Types::CreateNatGatewayResult#client_token #client_token} => String
@@ -9078,6 +9241,9 @@ module Aws::EC2
9078
9241
  # ],
9079
9242
  # connectivity_type: "private", # accepts private, public
9080
9243
  # private_ip_address: "String",
9244
+ # secondary_allocation_ids: ["AllocationId"],
9245
+ # secondary_private_ip_addresses: ["String"],
9246
+ # secondary_private_ip_address_count: 1,
9081
9247
  # })
9082
9248
  #
9083
9249
  # @example Response structure
@@ -9092,6 +9258,10 @@ module Aws::EC2
9092
9258
  # resp.nat_gateway.nat_gateway_addresses[0].network_interface_id #=> String
9093
9259
  # resp.nat_gateway.nat_gateway_addresses[0].private_ip #=> String
9094
9260
  # resp.nat_gateway.nat_gateway_addresses[0].public_ip #=> String
9261
+ # resp.nat_gateway.nat_gateway_addresses[0].association_id #=> String
9262
+ # resp.nat_gateway.nat_gateway_addresses[0].is_primary #=> Boolean
9263
+ # resp.nat_gateway.nat_gateway_addresses[0].failure_message #=> String
9264
+ # resp.nat_gateway.nat_gateway_addresses[0].status #=> String, one of "assigning", "unassigning", "associating", "disassociating", "succeeded", "failed"
9095
9265
  # resp.nat_gateway.nat_gateway_id #=> String
9096
9266
  # resp.nat_gateway.provisioned_bandwidth.provision_time #=> Time
9097
9267
  # resp.nat_gateway.provisioned_bandwidth.provisioned #=> String
@@ -11162,7 +11332,7 @@ module Aws::EC2
11162
11332
  # resp = client.create_snapshots({
11163
11333
  # description: "String",
11164
11334
  # instance_specification: { # required
11165
- # instance_id: "InstanceId",
11335
+ # instance_id: "InstanceIdWithVolumeResolver", # required
11166
11336
  # exclude_boot_volume: false,
11167
11337
  # exclude_data_volume_ids: ["VolumeId"],
11168
11338
  # },
@@ -15805,7 +15975,7 @@ module Aws::EC2
15805
15975
  # Deletes the specified route from the specified local gateway route
15806
15976
  # table.
15807
15977
  #
15808
- # @option params [required, String] :destination_cidr_block
15978
+ # @option params [String] :destination_cidr_block
15809
15979
  # The CIDR range for the route. This must match the CIDR for the route
15810
15980
  # exactly.
15811
15981
  #
@@ -15818,6 +15988,11 @@ module Aws::EC2
15818
15988
  # If you have the required permissions, the error response is
15819
15989
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
15820
15990
  #
15991
+ # @option params [String] :destination_prefix_list_id
15992
+ # Use a prefix list in place of `DestinationCidrBlock`. You cannot use
15993
+ # `DestinationPrefixListId` and `DestinationCidrBlock` in the same
15994
+ # request.
15995
+ #
15821
15996
  # @return [Types::DeleteLocalGatewayRouteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
15822
15997
  #
15823
15998
  # * {Types::DeleteLocalGatewayRouteResult#route #route} => Types::LocalGatewayRoute
@@ -15825,9 +16000,10 @@ module Aws::EC2
15825
16000
  # @example Request syntax with placeholder values
15826
16001
  #
15827
16002
  # resp = client.delete_local_gateway_route({
15828
- # destination_cidr_block: "String", # required
16003
+ # destination_cidr_block: "String",
15829
16004
  # local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
15830
16005
  # dry_run: false,
16006
+ # destination_prefix_list_id: "PrefixListResourceId",
15831
16007
  # })
15832
16008
  #
15833
16009
  # @example Response structure
@@ -15842,6 +16018,7 @@ module Aws::EC2
15842
16018
  # resp.route.subnet_id #=> String
15843
16019
  # resp.route.coip_pool_id #=> String
15844
16020
  # resp.route.network_interface_id #=> String
16021
+ # resp.route.destination_prefix_list_id #=> String
15845
16022
  #
15846
16023
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLocalGatewayRoute AWS API Documentation
15847
16024
  #
@@ -16994,7 +17171,7 @@ module Aws::EC2
16994
17171
  # @example Request syntax with placeholder values
16995
17172
  #
16996
17173
  # resp = client.delete_traffic_mirror_filter_rule({
16997
- # traffic_mirror_filter_rule_id: "TrafficMirrorFilterRuleId", # required
17174
+ # traffic_mirror_filter_rule_id: "TrafficMirrorFilterRuleIdWithResolver", # required
16998
17175
  # dry_run: false,
16999
17176
  # })
17000
17177
  #
@@ -26528,6 +26705,10 @@ module Aws::EC2
26528
26705
  # resp.nat_gateways[0].nat_gateway_addresses[0].network_interface_id #=> String
26529
26706
  # resp.nat_gateways[0].nat_gateway_addresses[0].private_ip #=> String
26530
26707
  # resp.nat_gateways[0].nat_gateway_addresses[0].public_ip #=> String
26708
+ # resp.nat_gateways[0].nat_gateway_addresses[0].association_id #=> String
26709
+ # resp.nat_gateways[0].nat_gateway_addresses[0].is_primary #=> Boolean
26710
+ # resp.nat_gateways[0].nat_gateway_addresses[0].failure_message #=> String
26711
+ # resp.nat_gateways[0].nat_gateway_addresses[0].status #=> String, one of "assigning", "unassigning", "associating", "disassociating", "succeeded", "failed"
26531
26712
  # resp.nat_gateways[0].nat_gateway_id #=> String
26532
26713
  # resp.nat_gateways[0].provisioned_bandwidth.provision_time #=> Time
26533
26714
  # resp.nat_gateways[0].provisioned_bandwidth.provisioned #=> String
@@ -36941,8 +37122,8 @@ module Aws::EC2
36941
37122
  # @example Request syntax with placeholder values
36942
37123
  #
36943
37124
  # resp = client.disassociate_enclave_certificate_iam_role({
36944
- # certificate_arn: "ResourceArn",
36945
- # role_arn: "ResourceArn",
37125
+ # certificate_arn: "CertificateId",
37126
+ # role_arn: "RoleId",
36946
37127
  # dry_run: false,
36947
37128
  # })
36948
37129
  #
@@ -37139,6 +37320,80 @@ module Aws::EC2
37139
37320
  req.send_request(options)
37140
37321
  end
37141
37322
 
37323
+ # Disassociates secondary Elastic IP addresses (EIPs) from a public NAT
37324
+ # gateway. You cannot disassociate your primary EIP. For more
37325
+ # information, see [Edit secondary IP address associations][1] in the
37326
+ # *Amazon Virtual Private Cloud User Guide*.
37327
+ #
37328
+ # While disassociating is in progress, you cannot associate/disassociate
37329
+ # additional EIPs while the connections are being drained. You are,
37330
+ # however, allowed to delete the NAT gateway.
37331
+ #
37332
+ # An EIP will only be released at the end of MaxDrainDurationSeconds.
37333
+ # The EIPs stay associated and support the existing connections but do
37334
+ # not support any new connections (new connections are distributed
37335
+ # across the remaining associated EIPs). As the existing connections
37336
+ # drain out, the EIPs (and the corresponding private IPs mapped to them)
37337
+ # get released.
37338
+ #
37339
+ #
37340
+ #
37341
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary
37342
+ #
37343
+ # @option params [required, String] :nat_gateway_id
37344
+ # The NAT gateway ID.
37345
+ #
37346
+ # @option params [required, Array<String>] :association_ids
37347
+ # The association IDs of EIPs that have been associated with the NAT
37348
+ # gateway.
37349
+ #
37350
+ # @option params [Integer] :max_drain_duration_seconds
37351
+ # The maximum amount of time to wait (in seconds) before forcibly
37352
+ # releasing the IP addresses if connections are still in progress.
37353
+ # Default value is 350 seconds.
37354
+ #
37355
+ # @option params [Boolean] :dry_run
37356
+ # Checks whether you have the required permissions for the action,
37357
+ # without actually making the request, and provides an error response.
37358
+ # If you have the required permissions, the error response is
37359
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
37360
+ #
37361
+ # @return [Types::DisassociateNatGatewayAddressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
37362
+ #
37363
+ # * {Types::DisassociateNatGatewayAddressResult#nat_gateway_id #nat_gateway_id} => String
37364
+ # * {Types::DisassociateNatGatewayAddressResult#nat_gateway_addresses #nat_gateway_addresses} => Array&lt;Types::NatGatewayAddress&gt;
37365
+ #
37366
+ # @example Request syntax with placeholder values
37367
+ #
37368
+ # resp = client.disassociate_nat_gateway_address({
37369
+ # nat_gateway_id: "NatGatewayId", # required
37370
+ # association_ids: ["ElasticIpAssociationId"], # required
37371
+ # max_drain_duration_seconds: 1,
37372
+ # dry_run: false,
37373
+ # })
37374
+ #
37375
+ # @example Response structure
37376
+ #
37377
+ # resp.nat_gateway_id #=> String
37378
+ # resp.nat_gateway_addresses #=> Array
37379
+ # resp.nat_gateway_addresses[0].allocation_id #=> String
37380
+ # resp.nat_gateway_addresses[0].network_interface_id #=> String
37381
+ # resp.nat_gateway_addresses[0].private_ip #=> String
37382
+ # resp.nat_gateway_addresses[0].public_ip #=> String
37383
+ # resp.nat_gateway_addresses[0].association_id #=> String
37384
+ # resp.nat_gateway_addresses[0].is_primary #=> Boolean
37385
+ # resp.nat_gateway_addresses[0].failure_message #=> String
37386
+ # resp.nat_gateway_addresses[0].status #=> String, one of "assigning", "unassigning", "associating", "disassociating", "succeeded", "failed"
37387
+ #
37388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateNatGatewayAddress AWS API Documentation
37389
+ #
37390
+ # @overload disassociate_nat_gateway_address(params = {})
37391
+ # @param [Hash] params ({})
37392
+ def disassociate_nat_gateway_address(params = {}, options = {})
37393
+ req = build_request(:disassociate_nat_gateway_address, params)
37394
+ req.send_request(options)
37395
+ end
37396
+
37142
37397
  # Disassociates a subnet or gateway from a route table.
37143
37398
  #
37144
37399
  # After you perform this action, the subnet no longer uses the routes in
@@ -38482,7 +38737,7 @@ module Aws::EC2
38482
38737
  # @example Request syntax with placeholder values
38483
38738
  #
38484
38739
  # resp = client.get_associated_enclave_certificate_iam_roles({
38485
- # certificate_arn: "ResourceArn",
38740
+ # certificate_arn: "CertificateId",
38486
38741
  # dry_run: false,
38487
38742
  # })
38488
38743
  #
@@ -45112,7 +45367,7 @@ module Aws::EC2
45112
45367
 
45113
45368
  # Modifies the specified local gateway route.
45114
45369
  #
45115
- # @option params [required, String] :destination_cidr_block
45370
+ # @option params [String] :destination_cidr_block
45116
45371
  # The CIDR block used for destination matches. The value that you
45117
45372
  # provide must match the CIDR of an existing route in the table.
45118
45373
  #
@@ -45131,6 +45386,11 @@ module Aws::EC2
45131
45386
  # If you have the required permissions, the error response is
45132
45387
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
45133
45388
  #
45389
+ # @option params [String] :destination_prefix_list_id
45390
+ # The ID of the prefix list. Use a prefix list in place of
45391
+ # `DestinationCidrBlock`. You cannot use `DestinationPrefixListId` and
45392
+ # `DestinationCidrBlock` in the same request.
45393
+ #
45134
45394
  # @return [Types::ModifyLocalGatewayRouteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
45135
45395
  #
45136
45396
  # * {Types::ModifyLocalGatewayRouteResult#route #route} => Types::LocalGatewayRoute
@@ -45138,11 +45398,12 @@ module Aws::EC2
45138
45398
  # @example Request syntax with placeholder values
45139
45399
  #
45140
45400
  # resp = client.modify_local_gateway_route({
45141
- # destination_cidr_block: "String", # required
45401
+ # destination_cidr_block: "String",
45142
45402
  # local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
45143
45403
  # local_gateway_virtual_interface_group_id: "LocalGatewayVirtualInterfaceGroupId",
45144
45404
  # network_interface_id: "NetworkInterfaceId",
45145
45405
  # dry_run: false,
45406
+ # destination_prefix_list_id: "PrefixListResourceId",
45146
45407
  # })
45147
45408
  #
45148
45409
  # @example Response structure
@@ -45157,6 +45418,7 @@ module Aws::EC2
45157
45418
  # resp.route.subnet_id #=> String
45158
45419
  # resp.route.coip_pool_id #=> String
45159
45420
  # resp.route.network_interface_id #=> String
45421
+ # resp.route.destination_prefix_list_id #=> String
45160
45422
  #
45161
45423
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyLocalGatewayRoute AWS API Documentation
45162
45424
  #
@@ -46186,7 +46448,7 @@ module Aws::EC2
46186
46448
  # @example Request syntax with placeholder values
46187
46449
  #
46188
46450
  # resp = client.modify_traffic_mirror_filter_rule({
46189
- # traffic_mirror_filter_rule_id: "TrafficMirrorFilterRuleId", # required
46451
+ # traffic_mirror_filter_rule_id: "TrafficMirrorFilterRuleIdWithResolver", # required
46190
46452
  # traffic_direction: "ingress", # accepts ingress, egress
46191
46453
  # rule_number: 1,
46192
46454
  # rule_action: "accept", # accepts accept, reject
@@ -53477,6 +53739,8 @@ module Aws::EC2
53477
53739
  # @option params [Array<Types::Filter>] :filters
53478
53740
  # One or more filters.
53479
53741
  #
53742
+ # * `prefix-list-id` - The ID of the prefix list.
53743
+ #
53480
53744
  # * `route-search.exact-match` - The exact match of the specified
53481
53745
  # filter.
53482
53746
  #
@@ -53545,6 +53809,7 @@ module Aws::EC2
53545
53809
  # resp.routes[0].subnet_id #=> String
53546
53810
  # resp.routes[0].coip_pool_id #=> String
53547
53811
  # resp.routes[0].network_interface_id #=> String
53812
+ # resp.routes[0].destination_prefix_list_id #=> String
53548
53813
  # resp.next_token #=> String
53549
53814
  #
53550
53815
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SearchLocalGatewayRoutes AWS API Documentation
@@ -55140,6 +55405,83 @@ module Aws::EC2
55140
55405
  req.send_request(options)
55141
55406
  end
55142
55407
 
55408
+ # Unassigns secondary private NAT gateway IPv4 addresses from a private
55409
+ # NAT gateway. You cannot unassign your primary private IP. For more
55410
+ # information, see [Edit secondary IP address associations][1] in the
55411
+ # *Amazon Virtual Private Cloud User Guide*.
55412
+ #
55413
+ # While unassigning is in progress, you cannot assign/unassign
55414
+ # additional IP addresses while the connections are being drained. You
55415
+ # are, however, allowed to delete the NAT gateway.
55416
+ #
55417
+ # A private IP address will only be released at the end of
55418
+ # MaxDrainDurationSeconds. The private IP addresses stay associated and
55419
+ # support the existing connections but do not support any new
55420
+ # connections (new connections are distributed across the remaining
55421
+ # assigned private IP address). After the existing connections drain
55422
+ # out, the private IP addresses get released.
55423
+ #
55424
+ #
55425
+ #
55426
+ #
55427
+ #
55428
+ #
55429
+ #
55430
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary
55431
+ #
55432
+ # @option params [required, String] :nat_gateway_id
55433
+ # The NAT gateway ID.
55434
+ #
55435
+ # @option params [required, Array<String>] :private_ip_addresses
55436
+ # The private IPv4 addresses you want to unassign.
55437
+ #
55438
+ # @option params [Integer] :max_drain_duration_seconds
55439
+ # The maximum amount of time to wait (in seconds) before forcibly
55440
+ # releasing the IP addresses if connections are still in progress.
55441
+ # Default value is 350 seconds.
55442
+ #
55443
+ # @option params [Boolean] :dry_run
55444
+ # Checks whether you have the required permissions for the action,
55445
+ # without actually making the request, and provides an error response.
55446
+ # If you have the required permissions, the error response is
55447
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
55448
+ #
55449
+ # @return [Types::UnassignPrivateNatGatewayAddressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
55450
+ #
55451
+ # * {Types::UnassignPrivateNatGatewayAddressResult#nat_gateway_id #nat_gateway_id} => String
55452
+ # * {Types::UnassignPrivateNatGatewayAddressResult#nat_gateway_addresses #nat_gateway_addresses} => Array&lt;Types::NatGatewayAddress&gt;
55453
+ #
55454
+ # @example Request syntax with placeholder values
55455
+ #
55456
+ # resp = client.unassign_private_nat_gateway_address({
55457
+ # nat_gateway_id: "NatGatewayId", # required
55458
+ # private_ip_addresses: ["String"], # required
55459
+ # max_drain_duration_seconds: 1,
55460
+ # dry_run: false,
55461
+ # })
55462
+ #
55463
+ # @example Response structure
55464
+ #
55465
+ # resp.nat_gateway_id #=> String
55466
+ # resp.nat_gateway_addresses #=> Array
55467
+ # resp.nat_gateway_addresses[0].allocation_id #=> String
55468
+ # resp.nat_gateway_addresses[0].network_interface_id #=> String
55469
+ # resp.nat_gateway_addresses[0].private_ip #=> String
55470
+ # resp.nat_gateway_addresses[0].public_ip #=> String
55471
+ # resp.nat_gateway_addresses[0].association_id #=> String
55472
+ # resp.nat_gateway_addresses[0].is_primary #=> Boolean
55473
+ # resp.nat_gateway_addresses[0].failure_message #=> String
55474
+ # resp.nat_gateway_addresses[0].status #=> String, one of "assigning", "unassigning", "associating", "disassociating", "succeeded", "failed"
55475
+ #
55476
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateNatGatewayAddress AWS API Documentation
55477
+ #
55478
+ # @overload unassign_private_nat_gateway_address(params = {})
55479
+ # @param [Hash] params ({})
55480
+ def unassign_private_nat_gateway_address(params = {}, options = {})
55481
+ req = build_request(:unassign_private_nat_gateway_address, params)
55482
+ req.send_request(options)
55483
+ end
55484
+
55143
55485
  # Disables detailed monitoring for a running instance. For more
55144
55486
  # information, see [Monitoring your instances and volumes][1] in the
55145
55487
  # *Amazon EC2 User Guide*.
@@ -55489,7 +55831,7 @@ module Aws::EC2
55489
55831
  params: params,
55490
55832
  config: config)
55491
55833
  context[:gem_name] = 'aws-sdk-ec2'
55492
- context[:gem_version] = '1.361.0'
55834
+ context[:gem_version] = '1.363.0'
55493
55835
  Seahorse::Client::Request.new(handlers, context)
55494
55836
  end
55495
55837