aws-sdk-ec2 1.348.0 → 1.350.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: 37db807519ef1bc8f94dd175ed5bbf762184c9ca0adb9732a1f3cac57d2b8bce
4
- data.tar.gz: 2783afd109ff31f486950f1a8eb79e7be56c0c5e79551903f216b87d5ade21e2
3
+ metadata.gz: d3605da6fc357f9f71fd0729b458aaa70388bdca09615f4442832d83a2d6dc97
4
+ data.tar.gz: a9ca870782a8d2347b5be1570bc29f9fa1740cacde738901e11103fc6d4ddd39
5
5
  SHA512:
6
- metadata.gz: 524a8f68f4c2a9c10be9db53da141975e4d0e19ac2b8e84b5fb5a0a5c642ff6e669069de22f38b5a05cc2ec269ed19f03a8ff35ffaa34a93516b6b46edb5c674
7
- data.tar.gz: a53459c502df5b22a9610ff3786b8302f3b665c267472710337b548fdfe597e5a09d8d909f05a29ac9c0e7c97394339c097da50bff3a6a0acc7d59863596112e
6
+ metadata.gz: c5e9db5789689e2e25dc8931855abf3f3707b3278816b392fa8026cda8fc7ec6f2959fbb1ed0279c5fa14ee6f01cee54b2c8b5d6be584265320aae65fe254c1a
7
+ data.tar.gz: e418c48319224d85e342b63f13a366612755c15183c12ed6870a71f5167b5c63e9d8f5328a11ffccf930e476cf29419294721a8f448c112954b2bd1f94fae16c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.350.0 (2022-11-17)
5
+ ------------------
6
+
7
+ * Feature - This release adds a new optional parameter "privateIpAddress" for the CreateNatGateway API. PrivateIPAddress will allow customers to select a custom Private IPv4 address instead of having it be auto-assigned.
8
+
9
+ 1.349.0 (2022-11-10)
10
+ ------------------
11
+
12
+ * Feature - This release adds a new price capacity optimized allocation strategy for Spot Instances to help customers optimize provisioning of Spot Instances via EC2 Auto Scaling, EC2 Fleet, and Spot Fleet. It allocates Spot Instances based on both spare capacity availability and Spot Instance price.
13
+
4
14
  1.348.0 (2022-11-09)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.348.0
1
+ 1.350.0
@@ -5928,7 +5928,7 @@ module Aws::EC2
5928
5928
  # dry_run: false,
5929
5929
  # client_token: "String",
5930
5930
  # spot_options: {
5931
- # allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized, capacity-optimized-prioritized
5931
+ # allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized, capacity-optimized-prioritized, price-capacity-optimized
5932
5932
  # maintenance_strategies: {
5933
5933
  # capacity_rebalance: {
5934
5934
  # replacement_strategy: "launch", # accepts launch, launch-before-terminate
@@ -6246,14 +6246,16 @@ module Aws::EC2
6246
6246
  # The IDs of the resources to monitor. For example, if the resource type
6247
6247
  # is `VPC`, specify the IDs of the VPCs.
6248
6248
  #
6249
- # Constraints: Maximum of 1000 resources
6249
+ # Constraints: Maximum of 25 for transit gateway resource types. Maximum
6250
+ # of 1000 for the other resource types.
6250
6251
  #
6251
6252
  # @option params [required, String] :resource_type
6252
6253
  # The type of resource to monitor.
6253
6254
  #
6254
6255
  # @option params [String] :traffic_type
6255
6256
  # The type of traffic to monitor (accepted traffic, rejected traffic, or
6256
- # all traffic).
6257
+ # all traffic). This parameter is not supported for transit gateway
6258
+ # resource types. It is required for the other resource types.
6257
6259
  #
6258
6260
  # @option params [String] :log_destination_type
6259
6261
  # The type of destination for the flow log data.
@@ -6286,10 +6288,12 @@ module Aws::EC2
6286
6288
  #
6287
6289
  # @option params [String] :log_format
6288
6290
  # The fields to include in the flow log record. List the fields in the
6289
- # order in which they should appear. For more information about the
6290
- # available fields, see [Flow log records][1]. If you omit this
6291
- # parameter, the flow log is created using the default format. If you
6292
- # specify this parameter, you must include at least one field.
6291
+ # order in which they should appear. If you omit this parameter, the
6292
+ # flow log is created using the default format. If you specify this
6293
+ # parameter, you must include at least one field. For more information
6294
+ # about the available fields, see [Flow log records][1] in the *Amazon
6295
+ # VPC User Guide* or [Transit Gateway Flow Log records][2] in the
6296
+ # *Amazon Web Services Transit Gateway Guide*.
6293
6297
  #
6294
6298
  # Specify the fields using the `$\{field-id\}` format, separated by
6295
6299
  # spaces. For the CLI, surround this parameter value with single quotes
@@ -6298,14 +6302,16 @@ module Aws::EC2
6298
6302
  #
6299
6303
  #
6300
6304
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
6305
+ # [2]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records
6301
6306
  #
6302
6307
  # @option params [Array<Types::TagSpecification>] :tag_specifications
6303
6308
  # The tags to apply to the flow logs.
6304
6309
  #
6305
6310
  # @option params [Integer] :max_aggregation_interval
6306
6311
  # The maximum interval of time during which a flow of packets is
6307
- # captured and aggregated into a flow log record. You can specify 60
6308
- # seconds (1 minute) or 600 seconds (10 minutes).
6312
+ # captured and aggregated into a flow log record. The possible values
6313
+ # are 60 seconds (1 minute) or 600 seconds (10 minutes). This parameter
6314
+ # must be 60 seconds for transit gateway resource types.
6309
6315
  #
6310
6316
  # When a network interface is attached to a [Nitro-based instance][1],
6311
6317
  # the aggregation interval is always 60 seconds or less, regardless of
@@ -8718,6 +8724,11 @@ module Aws::EC2
8718
8724
  # Indicates whether the NAT gateway supports public or private
8719
8725
  # connectivity. The default is public connectivity.
8720
8726
  #
8727
+ # @option params [String] :private_ip_address
8728
+ # The private IPv4 address to assign to the NAT gateway. If you don't
8729
+ # provide an address, a private IPv4 address will be automatically
8730
+ # assigned.
8731
+ #
8721
8732
  # @return [Types::CreateNatGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8722
8733
  #
8723
8734
  # * {Types::CreateNatGatewayResult#client_token #client_token} => String
@@ -8769,6 +8780,7 @@ module Aws::EC2
8769
8780
  # },
8770
8781
  # ],
8771
8782
  # connectivity_type: "private", # accepts private, public
8783
+ # private_ip_address: "String",
8772
8784
  # })
8773
8785
  #
8774
8786
  # @example Response structure
@@ -20379,7 +20391,7 @@ module Aws::EC2
20379
20391
  # resp.fleets[0].valid_from #=> Time
20380
20392
  # resp.fleets[0].valid_until #=> Time
20381
20393
  # resp.fleets[0].replace_unhealthy_instances #=> Boolean
20382
- # resp.fleets[0].spot_options.allocation_strategy #=> String, one of "lowest-price", "diversified", "capacity-optimized", "capacity-optimized-prioritized"
20394
+ # resp.fleets[0].spot_options.allocation_strategy #=> String, one of "lowest-price", "diversified", "capacity-optimized", "capacity-optimized-prioritized", "price-capacity-optimized"
20383
20395
  # resp.fleets[0].spot_options.maintenance_strategies.capacity_rebalance.replacement_strategy #=> String, one of "launch", "launch-before-terminate"
20384
20396
  # resp.fleets[0].spot_options.maintenance_strategies.capacity_rebalance.termination_delay #=> Integer
20385
20397
  # resp.fleets[0].spot_options.instance_interruption_behavior #=> String, one of "hibernate", "stop", "terminate"
@@ -29694,7 +29706,7 @@ module Aws::EC2
29694
29706
  # resp.spot_fleet_request_configs #=> Array
29695
29707
  # resp.spot_fleet_request_configs[0].activity_status #=> String, one of "error", "pending_fulfillment", "pending_termination", "fulfilled"
29696
29708
  # resp.spot_fleet_request_configs[0].create_time #=> Time
29697
- # resp.spot_fleet_request_configs[0].spot_fleet_request_config.allocation_strategy #=> String, one of "lowestPrice", "diversified", "capacityOptimized", "capacityOptimizedPrioritized"
29709
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.allocation_strategy #=> String, one of "lowestPrice", "diversified", "capacityOptimized", "capacityOptimizedPrioritized", "priceCapacityOptimized"
29698
29710
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.on_demand_allocation_strategy #=> String, one of "lowestPrice", "prioritized"
29699
29711
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.spot_maintenance_strategies.capacity_rebalance.replacement_strategy #=> String, one of "launch", "launch-before-terminate"
29700
29712
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.spot_maintenance_strategies.capacity_rebalance.termination_delay #=> Integer
@@ -47845,7 +47857,7 @@ module Aws::EC2
47845
47857
  # resp = client.request_spot_fleet({
47846
47858
  # dry_run: false,
47847
47859
  # spot_fleet_request_config: { # required
47848
- # allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified, capacityOptimized, capacityOptimizedPrioritized
47860
+ # allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified, capacityOptimized, capacityOptimizedPrioritized, priceCapacityOptimized
47849
47861
  # on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
47850
47862
  # spot_maintenance_strategies: {
47851
47863
  # capacity_rebalance: {
@@ -52578,7 +52590,7 @@ module Aws::EC2
52578
52590
  params: params,
52579
52591
  config: config)
52580
52592
  context[:gem_name] = 'aws-sdk-ec2'
52581
- context[:gem_version] = '1.348.0'
52593
+ context[:gem_version] = '1.350.0'
52582
52594
  Seahorse::Client::Request.new(handlers, context)
52583
52595
  end
52584
52596
 
@@ -4349,6 +4349,7 @@ module Aws::EC2
4349
4349
  CreateNatGatewayRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
4350
4350
  CreateNatGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
4351
4351
  CreateNatGatewayRequest.add_member(:connectivity_type, Shapes::ShapeRef.new(shape: ConnectivityType, location_name: "ConnectivityType"))
4352
+ CreateNatGatewayRequest.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "PrivateIpAddress"))
4352
4353
  CreateNatGatewayRequest.struct_class = Types::CreateNatGatewayRequest
4353
4354
 
4354
4355
  CreateNatGatewayResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
@@ -705,6 +705,7 @@ module Aws::EC2
705
705
  # },
706
706
  # ],
707
707
  # connectivity_type: "private", # accepts private, public
708
+ # private_ip_address: "String",
708
709
  # })
709
710
  # @param [Hash] options ({})
710
711
  # @option options [String] :allocation_id
@@ -735,6 +736,10 @@ module Aws::EC2
735
736
  # @option options [String] :connectivity_type
736
737
  # Indicates whether the NAT gateway supports public or private
737
738
  # connectivity. The default is public connectivity.
739
+ # @option options [String] :private_ip_address
740
+ # The private IPv4 address to assign to the NAT gateway. If you don't
741
+ # provide an address, a private IPv4 address will be automatically
742
+ # assigned.
738
743
  # @return [NatGateway]
739
744
  def create_nat_gateway(options = {})
740
745
  resp = @client.create_nat_gateway(options)
@@ -8193,7 +8193,7 @@ module Aws::EC2
8193
8193
  # dry_run: false,
8194
8194
  # client_token: "String",
8195
8195
  # spot_options: {
8196
- # allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized, capacity-optimized-prioritized
8196
+ # allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized, capacity-optimized-prioritized, price-capacity-optimized
8197
8197
  # maintenance_strategies: {
8198
8198
  # capacity_rebalance: {
8199
8199
  # replacement_strategy: "launch", # accepts launch, launch-before-terminate
@@ -8561,7 +8561,8 @@ module Aws::EC2
8561
8561
  # The IDs of the resources to monitor. For example, if the resource
8562
8562
  # type is `VPC`, specify the IDs of the VPCs.
8563
8563
  #
8564
- # Constraints: Maximum of 1000 resources
8564
+ # Constraints: Maximum of 25 for transit gateway resource types.
8565
+ # Maximum of 1000 for the other resource types.
8565
8566
  # @return [Array<String>]
8566
8567
  #
8567
8568
  # @!attribute [rw] resource_type
@@ -8570,7 +8571,8 @@ module Aws::EC2
8570
8571
  #
8571
8572
  # @!attribute [rw] traffic_type
8572
8573
  # The type of traffic to monitor (accepted traffic, rejected traffic,
8573
- # or all traffic).
8574
+ # or all traffic). This parameter is not supported for transit gateway
8575
+ # resource types. It is required for the other resource types.
8574
8576
  # @return [String]
8575
8577
  #
8576
8578
  # @!attribute [rw] log_destination_type
@@ -8606,10 +8608,12 @@ module Aws::EC2
8606
8608
  #
8607
8609
  # @!attribute [rw] log_format
8608
8610
  # The fields to include in the flow log record. List the fields in the
8609
- # order in which they should appear. For more information about the
8610
- # available fields, see [Flow log records][1]. If you omit this
8611
- # parameter, the flow log is created using the default format. If you
8612
- # specify this parameter, you must include at least one field.
8611
+ # order in which they should appear. If you omit this parameter, the
8612
+ # flow log is created using the default format. If you specify this
8613
+ # parameter, you must include at least one field. For more information
8614
+ # about the available fields, see [Flow log records][1] in the *Amazon
8615
+ # VPC User Guide* or [Transit Gateway Flow Log records][2] in the
8616
+ # *Amazon Web Services Transit Gateway Guide*.
8613
8617
  #
8614
8618
  # Specify the fields using the `$\{field-id\}` format, separated by
8615
8619
  # spaces. For the CLI, surround this parameter value with single
@@ -8618,6 +8622,7 @@ module Aws::EC2
8618
8622
  #
8619
8623
  #
8620
8624
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
8625
+ # [2]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records
8621
8626
  # @return [String]
8622
8627
  #
8623
8628
  # @!attribute [rw] tag_specifications
@@ -8626,8 +8631,9 @@ module Aws::EC2
8626
8631
  #
8627
8632
  # @!attribute [rw] max_aggregation_interval
8628
8633
  # The maximum interval of time during which a flow of packets is
8629
- # captured and aggregated into a flow log record. You can specify 60
8630
- # seconds (1 minute) or 600 seconds (10 minutes).
8634
+ # captured and aggregated into a flow log record. The possible values
8635
+ # are 60 seconds (1 minute) or 600 seconds (10 minutes). This
8636
+ # parameter must be 60 seconds for transit gateway resource types.
8631
8637
  #
8632
8638
  # When a network interface is attached to a [Nitro-based instance][1],
8633
8639
  # the aggregation interval is always 60 seconds or less, regardless of
@@ -10559,6 +10565,7 @@ module Aws::EC2
10559
10565
  # },
10560
10566
  # ],
10561
10567
  # connectivity_type: "private", # accepts private, public
10568
+ # private_ip_address: "String",
10562
10569
  # }
10563
10570
  #
10564
10571
  # @!attribute [rw] allocation_id
@@ -10604,6 +10611,12 @@ module Aws::EC2
10604
10611
  # connectivity. The default is public connectivity.
10605
10612
  # @return [String]
10606
10613
  #
10614
+ # @!attribute [rw] private_ip_address
10615
+ # The private IPv4 address to assign to the NAT gateway. If you don't
10616
+ # provide an address, a private IPv4 address will be automatically
10617
+ # assigned.
10618
+ # @return [String]
10619
+ #
10607
10620
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGatewayRequest AWS API Documentation
10608
10621
  #
10609
10622
  class CreateNatGatewayRequest < Struct.new(
@@ -10612,7 +10625,8 @@ module Aws::EC2
10612
10625
  :dry_run,
10613
10626
  :subnet_id,
10614
10627
  :tag_specifications,
10615
- :connectivity_type)
10628
+ :connectivity_type,
10629
+ :private_ip_address)
10616
10630
  SENSITIVE = []
10617
10631
  include Aws::Structure
10618
10632
  end
@@ -59095,7 +59109,7 @@ module Aws::EC2
59095
59109
  # {
59096
59110
  # dry_run: false,
59097
59111
  # spot_fleet_request_config: { # required
59098
- # allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified, capacityOptimized, capacityOptimizedPrioritized
59112
+ # allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified, capacityOptimized, capacityOptimizedPrioritized, priceCapacityOptimized
59099
59113
  # on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
59100
59114
  # spot_maintenance_strategies: {
59101
59115
  # capacity_rebalance: {
@@ -65424,7 +65438,7 @@ module Aws::EC2
65424
65438
  # data as a hash:
65425
65439
  #
65426
65440
  # {
65427
- # allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified, capacityOptimized, capacityOptimizedPrioritized
65441
+ # allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified, capacityOptimized, capacityOptimizedPrioritized, priceCapacityOptimized
65428
65442
  # on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
65429
65443
  # spot_maintenance_strategies: {
65430
65444
  # capacity_rebalance: {
@@ -66443,7 +66457,7 @@ module Aws::EC2
66443
66457
  # data as a hash:
66444
66458
  #
66445
66459
  # {
66446
- # allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized, capacity-optimized-prioritized
66460
+ # allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized, capacity-optimized-prioritized, price-capacity-optimized
66447
66461
  # maintenance_strategies: {
66448
66462
  # capacity_rebalance: {
66449
66463
  # replacement_strategy: "launch", # accepts launch, launch-before-terminate
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.348.0'
79
+ GEM_VERSION = '1.350.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.348.0
4
+ version: 1.350.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: 2022-11-09 00:00:00.000000000 Z
11
+ date: 2022-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4