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.
@@ -1622,6 +1622,56 @@ module Aws::EC2
1622
1622
  include Aws::Structure
1623
1623
  end
1624
1624
 
1625
+ # @!attribute [rw] nat_gateway_id
1626
+ # The NAT gateway ID.
1627
+ # @return [String]
1628
+ #
1629
+ # @!attribute [rw] private_ip_addresses
1630
+ # The private IPv4 addresses you want to assign to the private NAT
1631
+ # gateway.
1632
+ # @return [Array<String>]
1633
+ #
1634
+ # @!attribute [rw] private_ip_address_count
1635
+ # The number of private IP addresses to assign to the NAT gateway. You
1636
+ # can't specify this parameter when also specifying private IP
1637
+ # addresses.
1638
+ # @return [Integer]
1639
+ #
1640
+ # @!attribute [rw] dry_run
1641
+ # Checks whether you have the required permissions for the action,
1642
+ # without actually making the request, and provides an error response.
1643
+ # If you have the required permissions, the error response is
1644
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1645
+ # @return [Boolean]
1646
+ #
1647
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateNatGatewayAddressRequest AWS API Documentation
1648
+ #
1649
+ class AssignPrivateNatGatewayAddressRequest < Struct.new(
1650
+ :nat_gateway_id,
1651
+ :private_ip_addresses,
1652
+ :private_ip_address_count,
1653
+ :dry_run)
1654
+ SENSITIVE = []
1655
+ include Aws::Structure
1656
+ end
1657
+
1658
+ # @!attribute [rw] nat_gateway_id
1659
+ # The NAT gateway ID.
1660
+ # @return [String]
1661
+ #
1662
+ # @!attribute [rw] nat_gateway_addresses
1663
+ # NAT gateway IP addresses.
1664
+ # @return [Array<Types::NatGatewayAddress>]
1665
+ #
1666
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateNatGatewayAddressResult AWS API Documentation
1667
+ #
1668
+ class AssignPrivateNatGatewayAddressResult < Struct.new(
1669
+ :nat_gateway_id,
1670
+ :nat_gateway_addresses)
1671
+ SENSITIVE = []
1672
+ include Aws::Structure
1673
+ end
1674
+
1625
1675
  # Describes the private IP addresses assigned to a network interface.
1626
1676
  #
1627
1677
  # @!attribute [rw] private_ip_address
@@ -1964,6 +2014,55 @@ module Aws::EC2
1964
2014
  include Aws::Structure
1965
2015
  end
1966
2016
 
2017
+ # @!attribute [rw] nat_gateway_id
2018
+ # The NAT gateway ID.
2019
+ # @return [String]
2020
+ #
2021
+ # @!attribute [rw] allocation_ids
2022
+ # The allocation IDs of EIPs that you want to associate with your NAT
2023
+ # gateway.
2024
+ # @return [Array<String>]
2025
+ #
2026
+ # @!attribute [rw] private_ip_addresses
2027
+ # The private IPv4 addresses that you want to assign to the NAT
2028
+ # gateway.
2029
+ # @return [Array<String>]
2030
+ #
2031
+ # @!attribute [rw] dry_run
2032
+ # Checks whether you have the required permissions for the action,
2033
+ # without actually making the request, and provides an error response.
2034
+ # If you have the required permissions, the error response is
2035
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2036
+ # @return [Boolean]
2037
+ #
2038
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateNatGatewayAddressRequest AWS API Documentation
2039
+ #
2040
+ class AssociateNatGatewayAddressRequest < Struct.new(
2041
+ :nat_gateway_id,
2042
+ :allocation_ids,
2043
+ :private_ip_addresses,
2044
+ :dry_run)
2045
+ SENSITIVE = []
2046
+ include Aws::Structure
2047
+ end
2048
+
2049
+ # @!attribute [rw] nat_gateway_id
2050
+ # The NAT gateway ID.
2051
+ # @return [String]
2052
+ #
2053
+ # @!attribute [rw] nat_gateway_addresses
2054
+ # The IP addresses.
2055
+ # @return [Array<Types::NatGatewayAddress>]
2056
+ #
2057
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateNatGatewayAddressResult AWS API Documentation
2058
+ #
2059
+ class AssociateNatGatewayAddressResult < Struct.new(
2060
+ :nat_gateway_id,
2061
+ :nat_gateway_addresses)
2062
+ SENSITIVE = []
2063
+ include Aws::Structure
2064
+ end
2065
+
1967
2066
  # @!attribute [rw] dry_run
1968
2067
  # Checks whether you have the required permissions for the action,
1969
2068
  # without actually making the request, and provides an error response.
@@ -6012,7 +6111,7 @@ module Aws::EC2
6012
6111
  :source_snapshot_id,
6013
6112
  :tag_specifications,
6014
6113
  :dry_run)
6015
- SENSITIVE = []
6114
+ SENSITIVE = [:presigned_url]
6016
6115
  include Aws::Structure
6017
6116
  end
6018
6117
 
@@ -8369,6 +8468,12 @@ module Aws::EC2
8369
8468
  # The ID of the network interface.
8370
8469
  # @return [String]
8371
8470
  #
8471
+ # @!attribute [rw] destination_prefix_list_id
8472
+ # The ID of the prefix list. Use a prefix list in place of
8473
+ # `DestinationCidrBlock`. You cannot use `DestinationPrefixListId` and
8474
+ # `DestinationCidrBlock` in the same request.
8475
+ # @return [String]
8476
+ #
8372
8477
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLocalGatewayRouteRequest AWS API Documentation
8373
8478
  #
8374
8479
  class CreateLocalGatewayRouteRequest < Struct.new(
@@ -8376,7 +8481,8 @@ module Aws::EC2
8376
8481
  :local_gateway_route_table_id,
8377
8482
  :local_gateway_virtual_interface_group_id,
8378
8483
  :dry_run,
8379
- :network_interface_id)
8484
+ :network_interface_id,
8485
+ :destination_prefix_list_id)
8380
8486
  SENSITIVE = []
8381
8487
  include Aws::Structure
8382
8488
  end
@@ -8626,7 +8732,7 @@ module Aws::EC2
8626
8732
  # @return [Boolean]
8627
8733
  #
8628
8734
  # @!attribute [rw] subnet_id
8629
- # The subnet in which to create the NAT gateway.
8735
+ # The ID of the subnet in which to create the NAT gateway.
8630
8736
  # @return [String]
8631
8737
  #
8632
8738
  # @!attribute [rw] tag_specifications
@@ -8644,6 +8750,37 @@ module Aws::EC2
8644
8750
  # assigned.
8645
8751
  # @return [String]
8646
8752
  #
8753
+ # @!attribute [rw] secondary_allocation_ids
8754
+ # Secondary EIP allocation IDs. For more information about secondary
8755
+ # addresses, see [Create a NAT gateway][1] in the *Amazon Virtual
8756
+ # Private Cloud User Guide*.
8757
+ #
8758
+ #
8759
+ #
8760
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating
8761
+ # @return [Array<String>]
8762
+ #
8763
+ # @!attribute [rw] secondary_private_ip_addresses
8764
+ # Secondary private IPv4 addresses. For more information about
8765
+ # secondary addresses, see [Create a NAT gateway][1] in the *Amazon
8766
+ # Virtual Private Cloud User Guide*.
8767
+ #
8768
+ #
8769
+ #
8770
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating
8771
+ # @return [Array<String>]
8772
+ #
8773
+ # @!attribute [rw] secondary_private_ip_address_count
8774
+ # \[Private NAT gateway only\] The number of secondary private IPv4
8775
+ # addresses you want to assign to the NAT gateway. For more
8776
+ # information about secondary addresses, see [Create a NAT gateway][1]
8777
+ # in the *Amazon Virtual Private Cloud User Guide*.
8778
+ #
8779
+ #
8780
+ #
8781
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating
8782
+ # @return [Integer]
8783
+ #
8647
8784
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGatewayRequest AWS API Documentation
8648
8785
  #
8649
8786
  class CreateNatGatewayRequest < Struct.new(
@@ -8653,7 +8790,10 @@ module Aws::EC2
8653
8790
  :subnet_id,
8654
8791
  :tag_specifications,
8655
8792
  :connectivity_type,
8656
- :private_ip_address)
8793
+ :private_ip_address,
8794
+ :secondary_allocation_ids,
8795
+ :secondary_private_ip_addresses,
8796
+ :secondary_private_ip_address_count)
8657
8797
  SENSITIVE = []
8658
8798
  include Aws::Structure
8659
8799
  end
@@ -13304,12 +13444,19 @@ module Aws::EC2
13304
13444
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
13305
13445
  # @return [Boolean]
13306
13446
  #
13447
+ # @!attribute [rw] destination_prefix_list_id
13448
+ # Use a prefix list in place of `DestinationCidrBlock`. You cannot use
13449
+ # `DestinationPrefixListId` and `DestinationCidrBlock` in the same
13450
+ # request.
13451
+ # @return [String]
13452
+ #
13307
13453
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLocalGatewayRouteRequest AWS API Documentation
13308
13454
  #
13309
13455
  class DeleteLocalGatewayRouteRequest < Struct.new(
13310
13456
  :destination_cidr_block,
13311
13457
  :local_gateway_route_table_id,
13312
- :dry_run)
13458
+ :dry_run,
13459
+ :destination_prefix_list_id)
13313
13460
  SENSITIVE = []
13314
13461
  include Aws::Structure
13315
13462
  end
@@ -27445,6 +27592,56 @@ module Aws::EC2
27445
27592
  include Aws::Structure
27446
27593
  end
27447
27594
 
27595
+ # @!attribute [rw] nat_gateway_id
27596
+ # The NAT gateway ID.
27597
+ # @return [String]
27598
+ #
27599
+ # @!attribute [rw] association_ids
27600
+ # The association IDs of EIPs that have been associated with the NAT
27601
+ # gateway.
27602
+ # @return [Array<String>]
27603
+ #
27604
+ # @!attribute [rw] max_drain_duration_seconds
27605
+ # The maximum amount of time to wait (in seconds) before forcibly
27606
+ # releasing the IP addresses if connections are still in progress.
27607
+ # Default value is 350 seconds.
27608
+ # @return [Integer]
27609
+ #
27610
+ # @!attribute [rw] dry_run
27611
+ # Checks whether you have the required permissions for the action,
27612
+ # without actually making the request, and provides an error response.
27613
+ # If you have the required permissions, the error response is
27614
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
27615
+ # @return [Boolean]
27616
+ #
27617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateNatGatewayAddressRequest AWS API Documentation
27618
+ #
27619
+ class DisassociateNatGatewayAddressRequest < Struct.new(
27620
+ :nat_gateway_id,
27621
+ :association_ids,
27622
+ :max_drain_duration_seconds,
27623
+ :dry_run)
27624
+ SENSITIVE = []
27625
+ include Aws::Structure
27626
+ end
27627
+
27628
+ # @!attribute [rw] nat_gateway_id
27629
+ # The NAT gateway ID.
27630
+ # @return [String]
27631
+ #
27632
+ # @!attribute [rw] nat_gateway_addresses
27633
+ # Information about the NAT gateway IP addresses.
27634
+ # @return [Array<Types::NatGatewayAddress>]
27635
+ #
27636
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateNatGatewayAddressResult AWS API Documentation
27637
+ #
27638
+ class DisassociateNatGatewayAddressResult < Struct.new(
27639
+ :nat_gateway_id,
27640
+ :nat_gateway_addresses)
27641
+ SENSITIVE = []
27642
+ include Aws::Structure
27643
+ end
27644
+
27448
27645
  # @!attribute [rw] association_id
27449
27646
  # The association ID representing the current association between the
27450
27647
  # route table and subnet or gateway.
@@ -42072,6 +42269,10 @@ module Aws::EC2
42072
42269
  # The ID of the network interface.
42073
42270
  # @return [String]
42074
42271
  #
42272
+ # @!attribute [rw] destination_prefix_list_id
42273
+ # The ID of the prefix list.
42274
+ # @return [String]
42275
+ #
42075
42276
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LocalGatewayRoute AWS API Documentation
42076
42277
  #
42077
42278
  class LocalGatewayRoute < Struct.new(
@@ -42084,7 +42285,8 @@ module Aws::EC2
42084
42285
  :owner_id,
42085
42286
  :subnet_id,
42086
42287
  :coip_pool_id,
42087
- :network_interface_id)
42288
+ :network_interface_id,
42289
+ :destination_prefix_list_id)
42088
42290
  SENSITIVE = []
42089
42291
  include Aws::Structure
42090
42292
  end
@@ -44321,6 +44523,12 @@ module Aws::EC2
44321
44523
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
44322
44524
  # @return [Boolean]
44323
44525
  #
44526
+ # @!attribute [rw] destination_prefix_list_id
44527
+ # The ID of the prefix list. Use a prefix list in place of
44528
+ # `DestinationCidrBlock`. You cannot use `DestinationPrefixListId` and
44529
+ # `DestinationCidrBlock` in the same request.
44530
+ # @return [String]
44531
+ #
44324
44532
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyLocalGatewayRouteRequest AWS API Documentation
44325
44533
  #
44326
44534
  class ModifyLocalGatewayRouteRequest < Struct.new(
@@ -44328,7 +44536,8 @@ module Aws::EC2
44328
44536
  :local_gateway_route_table_id,
44329
44537
  :local_gateway_virtual_interface_group_id,
44330
44538
  :network_interface_id,
44331
- :dry_run)
44539
+ :dry_run,
44540
+ :destination_prefix_list_id)
44332
44541
  SENSITIVE = []
44333
44542
  include Aws::Structure
44334
44543
  end
@@ -47022,13 +47231,34 @@ module Aws::EC2
47022
47231
  # the NAT gateway.
47023
47232
  # @return [String]
47024
47233
  #
47234
+ # @!attribute [rw] association_id
47235
+ # \[Public NAT gateway only\] The association ID of the Elastic IP
47236
+ # address that's associated with the NAT gateway.
47237
+ # @return [String]
47238
+ #
47239
+ # @!attribute [rw] is_primary
47240
+ # Defines if the IP address is the primary address.
47241
+ # @return [Boolean]
47242
+ #
47243
+ # @!attribute [rw] failure_message
47244
+ # The address failure message.
47245
+ # @return [String]
47246
+ #
47247
+ # @!attribute [rw] status
47248
+ # The address status.
47249
+ # @return [String]
47250
+ #
47025
47251
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NatGatewayAddress AWS API Documentation
47026
47252
  #
47027
47253
  class NatGatewayAddress < Struct.new(
47028
47254
  :allocation_id,
47029
47255
  :network_interface_id,
47030
47256
  :private_ip,
47031
- :public_ip)
47257
+ :public_ip,
47258
+ :association_id,
47259
+ :is_primary,
47260
+ :failure_message,
47261
+ :status)
47032
47262
  SENSITIVE = []
47033
47263
  include Aws::Structure
47034
47264
  end
@@ -54936,6 +55166,8 @@ module Aws::EC2
54936
55166
  # @!attribute [rw] filters
54937
55167
  # One or more filters.
54938
55168
  #
55169
+ # * `prefix-list-id` - The ID of the prefix list.
55170
+ #
54939
55171
  # * `route-search.exact-match` - The exact match of the specified
54940
55172
  # filter.
54941
55173
  #
@@ -60779,6 +61011,55 @@ module Aws::EC2
60779
61011
  include Aws::Structure
60780
61012
  end
60781
61013
 
61014
+ # @!attribute [rw] nat_gateway_id
61015
+ # The NAT gateway ID.
61016
+ # @return [String]
61017
+ #
61018
+ # @!attribute [rw] private_ip_addresses
61019
+ # The private IPv4 addresses you want to unassign.
61020
+ # @return [Array<String>]
61021
+ #
61022
+ # @!attribute [rw] max_drain_duration_seconds
61023
+ # The maximum amount of time to wait (in seconds) before forcibly
61024
+ # releasing the IP addresses if connections are still in progress.
61025
+ # Default value is 350 seconds.
61026
+ # @return [Integer]
61027
+ #
61028
+ # @!attribute [rw] dry_run
61029
+ # Checks whether you have the required permissions for the action,
61030
+ # without actually making the request, and provides an error response.
61031
+ # If you have the required permissions, the error response is
61032
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
61033
+ # @return [Boolean]
61034
+ #
61035
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateNatGatewayAddressRequest AWS API Documentation
61036
+ #
61037
+ class UnassignPrivateNatGatewayAddressRequest < Struct.new(
61038
+ :nat_gateway_id,
61039
+ :private_ip_addresses,
61040
+ :max_drain_duration_seconds,
61041
+ :dry_run)
61042
+ SENSITIVE = []
61043
+ include Aws::Structure
61044
+ end
61045
+
61046
+ # @!attribute [rw] nat_gateway_id
61047
+ # The NAT gateway ID.
61048
+ # @return [String]
61049
+ #
61050
+ # @!attribute [rw] nat_gateway_addresses
61051
+ # Information about the NAT gateway IP addresses.
61052
+ # @return [Array<Types::NatGatewayAddress>]
61053
+ #
61054
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateNatGatewayAddressResult AWS API Documentation
61055
+ #
61056
+ class UnassignPrivateNatGatewayAddressResult < Struct.new(
61057
+ :nat_gateway_id,
61058
+ :nat_gateway_addresses)
61059
+ SENSITIVE = []
61060
+ include Aws::Structure
61061
+ end
61062
+
60782
61063
  # @!attribute [rw] instance_ids
60783
61064
  # The IDs of the instances.
60784
61065
  # @return [Array<String>]
data/lib/aws-sdk-ec2.rb CHANGED
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
76
76
  # @!group service
77
77
  module Aws::EC2
78
78
 
79
- GEM_VERSION = '1.361.0'
79
+ GEM_VERSION = '1.363.0'
80
80
 
81
81
  end
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.361.0
4
+ version: 1.363.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: 2023-01-25 00:00:00.000000000 Z
11
+ date: 2023-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4