aws-sdk-ec2 1.362.0 → 1.364.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
 
@@ -7158,6 +7257,8 @@ module Aws::EC2
7158
7257
  # Indicates whether running instances should be terminated if the
7159
7258
  # total target capacity of the EC2 Fleet is decreased below the
7160
7259
  # current size of the EC2 Fleet.
7260
+ #
7261
+ # Supported only for fleets of type `maintain`.
7161
7262
  # @return [String]
7162
7263
  #
7163
7264
  # @!attribute [rw] launch_template_configs
@@ -8633,7 +8734,7 @@ module Aws::EC2
8633
8734
  # @return [Boolean]
8634
8735
  #
8635
8736
  # @!attribute [rw] subnet_id
8636
- # The subnet in which to create the NAT gateway.
8737
+ # The ID of the subnet in which to create the NAT gateway.
8637
8738
  # @return [String]
8638
8739
  #
8639
8740
  # @!attribute [rw] tag_specifications
@@ -8651,6 +8752,37 @@ module Aws::EC2
8651
8752
  # assigned.
8652
8753
  # @return [String]
8653
8754
  #
8755
+ # @!attribute [rw] secondary_allocation_ids
8756
+ # Secondary EIP allocation IDs. For more information about secondary
8757
+ # addresses, see [Create a NAT gateway][1] in the *Amazon Virtual
8758
+ # Private Cloud User Guide*.
8759
+ #
8760
+ #
8761
+ #
8762
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating
8763
+ # @return [Array<String>]
8764
+ #
8765
+ # @!attribute [rw] secondary_private_ip_addresses
8766
+ # Secondary private IPv4 addresses. For more information about
8767
+ # secondary addresses, see [Create a NAT gateway][1] in the *Amazon
8768
+ # Virtual Private Cloud User Guide*.
8769
+ #
8770
+ #
8771
+ #
8772
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating
8773
+ # @return [Array<String>]
8774
+ #
8775
+ # @!attribute [rw] secondary_private_ip_address_count
8776
+ # \[Private NAT gateway only\] The number of secondary private IPv4
8777
+ # addresses you want to assign to the NAT gateway. For more
8778
+ # information about secondary addresses, see [Create a NAT gateway][1]
8779
+ # in the *Amazon Virtual Private Cloud User Guide*.
8780
+ #
8781
+ #
8782
+ #
8783
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating
8784
+ # @return [Integer]
8785
+ #
8654
8786
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGatewayRequest AWS API Documentation
8655
8787
  #
8656
8788
  class CreateNatGatewayRequest < Struct.new(
@@ -8660,7 +8792,10 @@ module Aws::EC2
8660
8792
  :subnet_id,
8661
8793
  :tag_specifications,
8662
8794
  :connectivity_type,
8663
- :private_ip_address)
8795
+ :private_ip_address,
8796
+ :secondary_allocation_ids,
8797
+ :secondary_private_ip_addresses,
8798
+ :secondary_private_ip_address_count)
8664
8799
  SENSITIVE = []
8665
8800
  include Aws::Structure
8666
8801
  end
@@ -11620,6 +11755,9 @@ module Aws::EC2
11620
11755
  #
11621
11756
  # * Magnetic: `standard`
11622
11757
  #
11758
+ # Throughput Optimized HDD (`st1`) and Cold HDD (`sc1`) volumes can't
11759
+ # be used as boot volumes.
11760
+ #
11623
11761
  # For more information, see [Amazon EBS volume types][1] in the
11624
11762
  # *Amazon Elastic Compute Cloud User Guide*.
11625
11763
  #
@@ -27459,6 +27597,56 @@ module Aws::EC2
27459
27597
  include Aws::Structure
27460
27598
  end
27461
27599
 
27600
+ # @!attribute [rw] nat_gateway_id
27601
+ # The NAT gateway ID.
27602
+ # @return [String]
27603
+ #
27604
+ # @!attribute [rw] association_ids
27605
+ # The association IDs of EIPs that have been associated with the NAT
27606
+ # gateway.
27607
+ # @return [Array<String>]
27608
+ #
27609
+ # @!attribute [rw] max_drain_duration_seconds
27610
+ # The maximum amount of time to wait (in seconds) before forcibly
27611
+ # releasing the IP addresses if connections are still in progress.
27612
+ # Default value is 350 seconds.
27613
+ # @return [Integer]
27614
+ #
27615
+ # @!attribute [rw] dry_run
27616
+ # Checks whether you have the required permissions for the action,
27617
+ # without actually making the request, and provides an error response.
27618
+ # If you have the required permissions, the error response is
27619
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
27620
+ # @return [Boolean]
27621
+ #
27622
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateNatGatewayAddressRequest AWS API Documentation
27623
+ #
27624
+ class DisassociateNatGatewayAddressRequest < Struct.new(
27625
+ :nat_gateway_id,
27626
+ :association_ids,
27627
+ :max_drain_duration_seconds,
27628
+ :dry_run)
27629
+ SENSITIVE = []
27630
+ include Aws::Structure
27631
+ end
27632
+
27633
+ # @!attribute [rw] nat_gateway_id
27634
+ # The NAT gateway ID.
27635
+ # @return [String]
27636
+ #
27637
+ # @!attribute [rw] nat_gateway_addresses
27638
+ # Information about the NAT gateway IP addresses.
27639
+ # @return [Array<Types::NatGatewayAddress>]
27640
+ #
27641
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateNatGatewayAddressResult AWS API Documentation
27642
+ #
27643
+ class DisassociateNatGatewayAddressResult < Struct.new(
27644
+ :nat_gateway_id,
27645
+ :nat_gateway_addresses)
27646
+ SENSITIVE = []
27647
+ include Aws::Structure
27648
+ end
27649
+
27462
27650
  # @!attribute [rw] association_id
27463
27651
  # The association ID representing the current association between the
27464
27652
  # route table and subnet or gateway.
@@ -28055,6 +28243,14 @@ module Aws::EC2
28055
28243
  #
28056
28244
  # This parameter is not returned by [DescribeImageAttribute][3].
28057
28245
  #
28246
+ # For CreateImage and RegisterImage, you can specify this parameter
28247
+ # only for block device mappings that result in new, empty volumes
28248
+ # when instances are launched from the image. Omit this parameter on
28249
+ # block device mappings that include an existing volume or snapshot.
28250
+ # If you include this parameter, and specify an encryption setting
28251
+ # that is different from the existing volume or snapshot, the request
28252
+ # will fail.
28253
+ #
28058
28254
  #
28059
28255
  #
28060
28256
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-parameters
@@ -30391,6 +30587,8 @@ module Aws::EC2
30391
30587
  # Indicates whether running instances should be terminated if the
30392
30588
  # target capacity of the EC2 Fleet is decreased below the current size
30393
30589
  # of the EC2 Fleet.
30590
+ #
30591
+ # Supported only for fleets of type `maintain`.
30394
30592
  # @return [String]
30395
30593
  #
30396
30594
  # @!attribute [rw] fulfilled_capacity
@@ -39417,8 +39615,8 @@ module Aws::EC2
39417
39615
  include Aws::Structure
39418
39616
  end
39419
39617
 
39420
- # A resource discovery is an IPAM component that enables IPAM Service to
39421
- # manage and monitor resources that belong to the owning account.
39618
+ # A resource discovery is an IPAM component that enables IPAM to manage
39619
+ # and monitor resources that belong to the owning account.
39422
39620
  #
39423
39621
  # @!attribute [rw] owner_id
39424
39622
  # The ID of the owner.
@@ -43019,6 +43217,8 @@ module Aws::EC2
43019
43217
  # Indicates whether running instances should be terminated if the
43020
43218
  # total target capacity of the EC2 Fleet is decreased below the
43021
43219
  # current size of the EC2 Fleet.
43220
+ #
43221
+ # Supported only for fleets of type `maintain`.
43022
43222
  # @return [String]
43023
43223
  #
43024
43224
  # @!attribute [rw] launch_template_configs
@@ -44720,9 +44920,11 @@ module Aws::EC2
44720
44920
  # Contains the parameters for ModifySpotFleetRequest.
44721
44921
  #
44722
44922
  # @!attribute [rw] excess_capacity_termination_policy
44723
- # Indicates whether running Spot Instances should be terminated if the
44923
+ # Indicates whether running instances should be terminated if the
44724
44924
  # target capacity of the Spot Fleet request is decreased below the
44725
44925
  # current size of the Spot Fleet.
44926
+ #
44927
+ # Supported only for fleets of type `maintain`.
44726
44928
  # @return [String]
44727
44929
  #
44728
44930
  # @!attribute [rw] launch_template_configs
@@ -47048,13 +47250,34 @@ module Aws::EC2
47048
47250
  # the NAT gateway.
47049
47251
  # @return [String]
47050
47252
  #
47253
+ # @!attribute [rw] association_id
47254
+ # \[Public NAT gateway only\] The association ID of the Elastic IP
47255
+ # address that's associated with the NAT gateway.
47256
+ # @return [String]
47257
+ #
47258
+ # @!attribute [rw] is_primary
47259
+ # Defines if the IP address is the primary address.
47260
+ # @return [Boolean]
47261
+ #
47262
+ # @!attribute [rw] failure_message
47263
+ # The address failure message.
47264
+ # @return [String]
47265
+ #
47266
+ # @!attribute [rw] status
47267
+ # The address status.
47268
+ # @return [String]
47269
+ #
47051
47270
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NatGatewayAddress AWS API Documentation
47052
47271
  #
47053
47272
  class NatGatewayAddress < Struct.new(
47054
47273
  :allocation_id,
47055
47274
  :network_interface_id,
47056
47275
  :private_ip,
47057
- :public_ip)
47276
+ :public_ip,
47277
+ :association_id,
47278
+ :is_primary,
47279
+ :failure_message,
47280
+ :status)
47058
47281
  SENSITIVE = []
47059
47282
  include Aws::Structure
47060
47283
  end
@@ -51376,12 +51599,12 @@ module Aws::EC2
51376
51599
  #
51377
51600
  # * `resolve:ssm:parameter-name:label`
51378
51601
  #
51379
- # For more information, see [Use a Systems Manager parameter instead
51380
- # of an AMI ID][1] in the *Amazon Elastic Compute Cloud User Guide*.
51602
+ # For more information, see [Use a Systems Manager parameter to find
51603
+ # an AMI][1] in the *Amazon Elastic Compute Cloud User Guide*.
51381
51604
  #
51382
51605
  #
51383
51606
  #
51384
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id
51607
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html#using-systems-manager-parameter-to-find-AMI
51385
51608
  # @return [String]
51386
51609
  #
51387
51610
  # @!attribute [rw] instance_type
@@ -54321,11 +54544,12 @@ module Aws::EC2
54321
54544
  # @!attribute [rw] aws_access_key_id
54322
54545
  # The access key ID of the owner of the bucket. Before you specify a
54323
54546
  # value for your access key ID, review and follow the guidance in
54324
- # [Best practices for managing Amazon Web Services access keys][1].
54547
+ # [Best Practices for Amazon Web Services accounts][1] in the *Account
54548
+ # ManagementReference Guide*.
54325
54549
  #
54326
54550
  #
54327
54551
  #
54328
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html
54552
+ # [1]: https://docs.aws.amazon.com/accounts/latest/reference/best-practices.html
54329
54553
  # @return [String]
54330
54554
  #
54331
54555
  # @!attribute [rw] bucket
@@ -56612,9 +56836,11 @@ module Aws::EC2
56612
56836
  # @return [String]
56613
56837
  #
56614
56838
  # @!attribute [rw] excess_capacity_termination_policy
56615
- # Indicates whether running Spot Instances should be terminated if you
56839
+ # Indicates whether running instances should be terminated if you
56616
56840
  # decrease the target capacity of the Spot Fleet request below the
56617
56841
  # current size of the Spot Fleet.
56842
+ #
56843
+ # Supported only for fleets of type `maintain`.
56618
56844
  # @return [String]
56619
56845
  #
56620
56846
  # @!attribute [rw] fulfilled_capacity
@@ -60807,6 +61033,55 @@ module Aws::EC2
60807
61033
  include Aws::Structure
60808
61034
  end
60809
61035
 
61036
+ # @!attribute [rw] nat_gateway_id
61037
+ # The NAT gateway ID.
61038
+ # @return [String]
61039
+ #
61040
+ # @!attribute [rw] private_ip_addresses
61041
+ # The private IPv4 addresses you want to unassign.
61042
+ # @return [Array<String>]
61043
+ #
61044
+ # @!attribute [rw] max_drain_duration_seconds
61045
+ # The maximum amount of time to wait (in seconds) before forcibly
61046
+ # releasing the IP addresses if connections are still in progress.
61047
+ # Default value is 350 seconds.
61048
+ # @return [Integer]
61049
+ #
61050
+ # @!attribute [rw] dry_run
61051
+ # Checks whether you have the required permissions for the action,
61052
+ # without actually making the request, and provides an error response.
61053
+ # If you have the required permissions, the error response is
61054
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
61055
+ # @return [Boolean]
61056
+ #
61057
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateNatGatewayAddressRequest AWS API Documentation
61058
+ #
61059
+ class UnassignPrivateNatGatewayAddressRequest < Struct.new(
61060
+ :nat_gateway_id,
61061
+ :private_ip_addresses,
61062
+ :max_drain_duration_seconds,
61063
+ :dry_run)
61064
+ SENSITIVE = []
61065
+ include Aws::Structure
61066
+ end
61067
+
61068
+ # @!attribute [rw] nat_gateway_id
61069
+ # The NAT gateway ID.
61070
+ # @return [String]
61071
+ #
61072
+ # @!attribute [rw] nat_gateway_addresses
61073
+ # Information about the NAT gateway IP addresses.
61074
+ # @return [Array<Types::NatGatewayAddress>]
61075
+ #
61076
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateNatGatewayAddressResult AWS API Documentation
61077
+ #
61078
+ class UnassignPrivateNatGatewayAddressResult < Struct.new(
61079
+ :nat_gateway_id,
61080
+ :nat_gateway_addresses)
61081
+ SENSITIVE = []
61082
+ include Aws::Structure
61083
+ end
61084
+
60810
61085
  # @!attribute [rw] instance_ids
60811
61086
  # The IDs of the instances.
60812
61087
  # @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.362.0'
79
+ GEM_VERSION = '1.364.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.362.0
4
+ version: 1.364.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-30 00:00:00.000000000 Z
11
+ date: 2023-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4