aws-sdk-ec2 1.457.0 → 1.458.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: 76014b975628e25477347fdc9e78eea9218c23c15bd67744851b4d391c0d5ceb
4
- data.tar.gz: 3576cf55e624f067382a81324f2054e25d540513991247d8c3584666bfeba22e
3
+ metadata.gz: c6ede5c00f69241cdda68d848d21a8ce2af2694f1b60129c5d6b2e315a0f51f1
4
+ data.tar.gz: c561e7974f36245fab6374c2f5ddf9d8cc4b43d53dab878597553e738d9f5cf9
5
5
  SHA512:
6
- metadata.gz: c3b1de15800a2546ab668d3da93ca2b273e95ff1d7ba7700e53ce5aa40d85c640bea9aff5892d3795d698488fba67993de9ca70e674ce1c0e3d4c1b37e199ddd
7
- data.tar.gz: d77485828755830b932413383795d9c24d91120b7cf4bce363d3e9d8f8ec0570024ab39d60da67f8a56f6f8b8130468d10a3cae3057bdfcc295b0663a67f00f6
6
+ metadata.gz: 8b15432cf981eb4fa1d21b9026fa6c84e1a69262ac265df9524de54a89303f190c3c3c46d33662192156cb722034eedc46408cd768367e61bdc63f3c22a7d3e8
7
+ data.tar.gz: 91807708456c17637255985857565bb758c2be21f6395d51511966a265301742dc46625b82e0b1fa5a577eeb0d562b362d8981ec1f49879d9e63070931b69afb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.458.0 (2024-05-28)
5
+ ------------------
6
+
7
+ * Feature - Providing support to accept BgpAsnExtended attribute
8
+
9
+ 1.457.1 (2024-05-21)
10
+ ------------------
11
+
12
+ * Issue - Fix Aws::EC2::Resource not to set max_results automatically when the options contains the parameter that cannot be used with the parameter max_results.
13
+
4
14
  1.457.0 (2024-05-13)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.457.0
1
+ 1.458.0
@@ -5791,10 +5791,15 @@ module Aws::EC2
5791
5791
  # [1]: https://docs.aws.amazon.com/vpn/latest/s2svpn/cgw-options.html
5792
5792
  #
5793
5793
  # @option params [Integer] :bgp_asn
5794
- # For devices that support BGP, the customer gateway's BGP ASN.
5794
+ # For customer gateway devices that support BGP, specify the device's
5795
+ # ASN. You must specify either `BgpAsn` or `BgpAsnExtended` when
5796
+ # creating the customer gateway. If the ASN is larger than
5797
+ # `2,147,483,647`, you must use `BgpAsnExtended`.
5795
5798
  #
5796
5799
  # Default: 65000
5797
5800
  #
5801
+ # Valid values: `1` to `2,147,483,647`
5802
+ #
5798
5803
  # @option params [String] :public_ip
5799
5804
  # *This member has been deprecated.* The Internet-routable IP address
5800
5805
  # for the customer gateway's outside interface. The address must be
@@ -5817,7 +5822,10 @@ module Aws::EC2
5817
5822
  #
5818
5823
  # @option params [String] :ip_address
5819
5824
  # IPv4 address for the customer gateway device's outside interface. The
5820
- # address must be static.
5825
+ # address must be static. If `OutsideIpAddressType` in your VPN
5826
+ # connection options is set to `PrivateIpv4`, you can use an RFC6598 or
5827
+ # RFC1918 private IPv4 address. If `OutsideIpAddressType` is set to
5828
+ # `PublicIpv4`, you can use a public IPv4 address.
5821
5829
  #
5822
5830
  # @option params [Boolean] :dry_run
5823
5831
  # Checks whether you have the required permissions for the action,
@@ -5825,6 +5833,14 @@ module Aws::EC2
5825
5833
  # If you have the required permissions, the error response is
5826
5834
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
5827
5835
  #
5836
+ # @option params [Integer] :bgp_asn_extended
5837
+ # For customer gateway devices that support BGP, specify the device's
5838
+ # ASN. You must specify either `BgpAsn` or `BgpAsnExtended` when
5839
+ # creating the customer gateway. If the ASN is larger than
5840
+ # `2,147,483,647`, you must use `BgpAsnExtended`.
5841
+ #
5842
+ # Valid values: `2,147,483,648` to `4,294,967,295`
5843
+ #
5828
5844
  # @return [Types::CreateCustomerGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5829
5845
  #
5830
5846
  # * {Types::CreateCustomerGatewayResult#customer_gateway #customer_gateway} => Types::CustomerGateway
@@ -5872,6 +5888,7 @@ module Aws::EC2
5872
5888
  # device_name: "String",
5873
5889
  # ip_address: "String",
5874
5890
  # dry_run: false,
5891
+ # bgp_asn_extended: 1,
5875
5892
  # })
5876
5893
  #
5877
5894
  # @example Response structure
@@ -5886,6 +5903,7 @@ module Aws::EC2
5886
5903
  # resp.customer_gateway.tags #=> Array
5887
5904
  # resp.customer_gateway.tags[0].key #=> String
5888
5905
  # resp.customer_gateway.tags[0].value #=> String
5906
+ # resp.customer_gateway.bgp_asn_extended #=> String
5889
5907
  #
5890
5908
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCustomerGateway AWS API Documentation
5891
5909
  #
@@ -21461,6 +21479,7 @@ module Aws::EC2
21461
21479
  # resp.customer_gateways[0].tags #=> Array
21462
21480
  # resp.customer_gateways[0].tags[0].key #=> String
21463
21481
  # resp.customer_gateways[0].tags[0].value #=> String
21482
+ # resp.customer_gateways[0].bgp_asn_extended #=> String
21464
21483
  #
21465
21484
  #
21466
21485
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -59357,7 +59376,7 @@ module Aws::EC2
59357
59376
  params: params,
59358
59377
  config: config)
59359
59378
  context[:gem_name] = 'aws-sdk-ec2'
59360
- context[:gem_version] = '1.457.0'
59379
+ context[:gem_version] = '1.458.0'
59361
59380
  Seahorse::Client::Request.new(handlers, context)
59362
59381
  end
59363
59382
 
@@ -4618,6 +4618,7 @@ module Aws::EC2
4618
4618
  CreateCustomerGatewayRequest.add_member(:device_name, Shapes::ShapeRef.new(shape: String, location_name: "DeviceName"))
4619
4619
  CreateCustomerGatewayRequest.add_member(:ip_address, Shapes::ShapeRef.new(shape: String, location_name: "IpAddress"))
4620
4620
  CreateCustomerGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
4621
+ CreateCustomerGatewayRequest.add_member(:bgp_asn_extended, Shapes::ShapeRef.new(shape: Long, location_name: "BgpAsnExtended"))
4621
4622
  CreateCustomerGatewayRequest.struct_class = Types::CreateCustomerGatewayRequest
4622
4623
 
4623
4624
  CreateCustomerGatewayResult.add_member(:customer_gateway, Shapes::ShapeRef.new(shape: CustomerGateway, location_name: "customerGateway"))
@@ -5577,6 +5578,7 @@ module Aws::EC2
5577
5578
  CustomerGateway.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
5578
5579
  CustomerGateway.add_member(:device_name, Shapes::ShapeRef.new(shape: String, location_name: "deviceName"))
5579
5580
  CustomerGateway.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
5581
+ CustomerGateway.add_member(:bgp_asn_extended, Shapes::ShapeRef.new(shape: String, location_name: "bgpAsnExtended"))
5580
5582
  CustomerGateway.struct_class = Types::CustomerGateway
5581
5583
 
5582
5584
  CustomerGatewayIdStringList.member = Shapes::ShapeRef.new(shape: CustomerGatewayId, location_name: "CustomerGatewayId")
@@ -9,22 +9,38 @@ module Aws
9
9
  # to ensure results are paginated.
10
10
  module ResourcePaginationFix
11
11
  def images(options = {})
12
- options[:max_results] ||= 1000
12
+ # Prevent the error:
13
+ # The parameter imageIdsSet cannot be used with the parameter maxResults
14
+ if options[:image_ids].nil? || options[:image_ids].empty?
15
+ options[:max_results] ||= 1000
16
+ end
13
17
  super(options)
14
18
  end
15
19
 
16
20
  def instances(options = {})
17
- options[:max_results] ||= 1000
21
+ # Prevent the error:
22
+ # The parameter instancesSet cannot be used with the parameter maxResults
23
+ if options[:instance_ids].nil? || options[:instance_ids].empty?
24
+ options[:max_results] ||= 1000
25
+ end
18
26
  super(options)
19
27
  end
20
28
 
21
29
  def snapshots(options = {})
22
- options[:max_results] ||= 1000
30
+ # Prevent the error:
31
+ # The parameter snapshotSet cannot be used with the parameter maxResults
32
+ if options[:snapshot_ids].nil? || options[:snapshot_ids].empty?
33
+ options[:max_results] ||= 1000
34
+ end
23
35
  super(options)
24
36
  end
25
37
 
26
38
  def volumes(options = {})
27
- options[:max_results] ||= 1000
39
+ # Prevent the error:
40
+ # The parameter volumeIdsSet cannot be used with the parameter maxResults
41
+ if options[:volume_ids].nil? || options[:volume_ids].empty?
42
+ options[:max_results] ||= 1000
43
+ end
28
44
  super(options)
29
45
  end
30
46
  end
@@ -7437,9 +7437,14 @@ module Aws::EC2
7437
7437
  # Contains the parameters for CreateCustomerGateway.
7438
7438
  #
7439
7439
  # @!attribute [rw] bgp_asn
7440
- # For devices that support BGP, the customer gateway's BGP ASN.
7440
+ # For customer gateway devices that support BGP, specify the device's
7441
+ # ASN. You must specify either `BgpAsn` or `BgpAsnExtended` when
7442
+ # creating the customer gateway. If the ASN is larger than
7443
+ # `2,147,483,647`, you must use `BgpAsnExtended`.
7441
7444
  #
7442
7445
  # Default: 65000
7446
+ #
7447
+ # Valid values: `1` to `2,147,483,647`
7443
7448
  # @return [Integer]
7444
7449
  #
7445
7450
  # @!attribute [rw] public_ip
@@ -7469,7 +7474,10 @@ module Aws::EC2
7469
7474
  #
7470
7475
  # @!attribute [rw] ip_address
7471
7476
  # IPv4 address for the customer gateway device's outside interface.
7472
- # The address must be static.
7477
+ # The address must be static. If `OutsideIpAddressType` in your VPN
7478
+ # connection options is set to `PrivateIpv4`, you can use an RFC6598
7479
+ # or RFC1918 private IPv4 address. If `OutsideIpAddressType` is set to
7480
+ # `PublicIpv4`, you can use a public IPv4 address.
7473
7481
  # @return [String]
7474
7482
  #
7475
7483
  # @!attribute [rw] dry_run
@@ -7479,6 +7487,15 @@ module Aws::EC2
7479
7487
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
7480
7488
  # @return [Boolean]
7481
7489
  #
7490
+ # @!attribute [rw] bgp_asn_extended
7491
+ # For customer gateway devices that support BGP, specify the device's
7492
+ # ASN. You must specify either `BgpAsn` or `BgpAsnExtended` when
7493
+ # creating the customer gateway. If the ASN is larger than
7494
+ # `2,147,483,647`, you must use `BgpAsnExtended`.
7495
+ #
7496
+ # Valid values: `2,147,483,648` to `4,294,967,295`
7497
+ # @return [Integer]
7498
+ #
7482
7499
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCustomerGatewayRequest AWS API Documentation
7483
7500
  #
7484
7501
  class CreateCustomerGatewayRequest < Struct.new(
@@ -7489,7 +7506,8 @@ module Aws::EC2
7489
7506
  :tag_specifications,
7490
7507
  :device_name,
7491
7508
  :ip_address,
7492
- :dry_run)
7509
+ :dry_run,
7510
+ :bgp_asn_extended)
7493
7511
  SENSITIVE = []
7494
7512
  include Aws::Structure
7495
7513
  end
@@ -13242,8 +13260,10 @@ module Aws::EC2
13242
13260
  # Describes a customer gateway.
13243
13261
  #
13244
13262
  # @!attribute [rw] bgp_asn
13245
- # The customer gateway's Border Gateway Protocol (BGP) Autonomous
13246
- # System Number (ASN).
13263
+ # The customer gateway device's Border Gateway Protocol (BGP)
13264
+ # Autonomous System Number (ASN).
13265
+ #
13266
+ # Valid values: `1` to `2,147,483,647`
13247
13267
  # @return [String]
13248
13268
  #
13249
13269
  # @!attribute [rw] customer_gateway_id
@@ -13251,7 +13271,11 @@ module Aws::EC2
13251
13271
  # @return [String]
13252
13272
  #
13253
13273
  # @!attribute [rw] ip_address
13254
- # The IP address of the customer gateway device's outside interface.
13274
+ # IPv4 address for the customer gateway device's outside interface.
13275
+ # The address must be static. If `OutsideIpAddressType` in your VPN
13276
+ # connection options is set to `PrivateIpv4`, you can use an RFC6598
13277
+ # or RFC1918 private IPv4 address. If `OutsideIpAddressType` is set to
13278
+ # `PublicIpv4`, you can use a public IPv4 address.
13255
13279
  # @return [String]
13256
13280
  #
13257
13281
  # @!attribute [rw] certificate_arn
@@ -13276,6 +13300,13 @@ module Aws::EC2
13276
13300
  # Any tags assigned to the customer gateway.
13277
13301
  # @return [Array<Types::Tag>]
13278
13302
  #
13303
+ # @!attribute [rw] bgp_asn_extended
13304
+ # The customer gateway device's Border Gateway Protocol (BGP)
13305
+ # Autonomous System Number (ASN).
13306
+ #
13307
+ # Valid values: `2,147,483,648` to `4,294,967,295`
13308
+ # @return [String]
13309
+ #
13279
13310
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CustomerGateway AWS API Documentation
13280
13311
  #
13281
13312
  class CustomerGateway < Struct.new(
@@ -13286,7 +13317,8 @@ module Aws::EC2
13286
13317
  :state,
13287
13318
  :type,
13288
13319
  :device_name,
13289
- :tags)
13320
+ :tags,
13321
+ :bgp_asn_extended)
13290
13322
  SENSITIVE = []
13291
13323
  include Aws::Structure
13292
13324
  end
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.457.0'
79
+ GEM_VERSION = '1.458.0'
80
80
 
81
81
  end
data/sig/client.rbs CHANGED
@@ -1253,7 +1253,8 @@ module Aws
1253
1253
  ],
1254
1254
  ?device_name: ::String,
1255
1255
  ?ip_address: ::String,
1256
- ?dry_run: bool
1256
+ ?dry_run: bool,
1257
+ ?bgp_asn_extended: ::Integer
1257
1258
  ) -> _CreateCustomerGatewayResponseSuccess
1258
1259
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCustomerGatewayResponseSuccess
1259
1260
 
data/sig/types.rbs CHANGED
@@ -1728,6 +1728,7 @@ module Aws::EC2
1728
1728
  attr_accessor device_name: ::String
1729
1729
  attr_accessor ip_address: ::String
1730
1730
  attr_accessor dry_run: bool
1731
+ attr_accessor bgp_asn_extended: ::Integer
1731
1732
  SENSITIVE: []
1732
1733
  end
1733
1734
 
@@ -2995,6 +2996,7 @@ module Aws::EC2
2995
2996
  attr_accessor type: ::String
2996
2997
  attr_accessor device_name: ::String
2997
2998
  attr_accessor tags: ::Array[Types::Tag]
2999
+ attr_accessor bgp_asn_extended: ::String
2998
3000
  SENSITIVE: []
2999
3001
  end
3000
3002
 
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.457.0
4
+ version: 1.458.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-05-13 00:00:00.000000000 Z
11
+ date: 2024-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core