aws-sdk-ec2 1.122.0 → 1.123.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,6 +21,7 @@ module Aws::EC2
21
21
  @id = extract_id(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -63,6 +64,12 @@ module Aws::EC2
63
64
  data[:kms_key_id]
64
65
  end
65
66
 
67
+ # The Amazon Resource Name (ARN) of the Outpost.
68
+ # @return [String]
69
+ def outpost_arn
70
+ data[:outpost_arn]
71
+ end
72
+
66
73
  # The size of the volume, in GiBs.
67
74
  # @return [Integer]
68
75
  def size
@@ -289,7 +296,7 @@ module Aws::EC2
289
296
  # description: "String",
290
297
  # tag_specifications: [
291
298
  # {
292
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
299
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
293
300
  # tags: [
294
301
  # {
295
302
  # key: "String",
@@ -21,6 +21,7 @@ module Aws::EC2
21
21
  @id = extract_id(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -427,23 +428,35 @@ module Aws::EC2
427
428
  # availability_zone_id: "String",
428
429
  # cidr_block: "String", # required
429
430
  # ipv_6_cidr_block: "String",
431
+ # outpost_arn: "String",
430
432
  # dry_run: false,
431
433
  # })
432
434
  # @param [Hash] options ({})
433
435
  # @option options [String] :availability_zone
434
- # The Availability Zone for the subnet.
436
+ # The Availability Zone or Local Zone for the subnet.
435
437
  #
436
438
  # Default: AWS selects one for you. If you create more than one subnet
437
- # in your VPC, we may not necessarily select a different zone for each
439
+ # in your VPC, we do not necessarily select a different zone for each
438
440
  # subnet.
441
+ #
442
+ # To create a subnet in a Local Zone, set this value to the Local Zone
443
+ # ID, for example `us-west-2-lax-1a`. For information about the Regions
444
+ # that support Local Zones, see [Available Regions][1] in the *Amazon
445
+ # Elastic Compute Cloud User Guide*.
446
+ #
447
+ #
448
+ #
449
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
439
450
  # @option options [String] :availability_zone_id
440
- # The AZ ID of the subnet.
451
+ # The AZ ID or the Local Zone ID of the subnet.
441
452
  # @option options [required, String] :cidr_block
442
453
  # The IPv4 network range for the subnet, in CIDR notation. For example,
443
454
  # `10.0.0.0/24`.
444
455
  # @option options [String] :ipv_6_cidr_block
445
456
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
446
457
  # size must use a /64 prefix length.
458
+ # @option options [String] :outpost_arn
459
+ # The Amazon Resource Name (ARN) of the Outpost.
447
460
  # @option options [Boolean] :dry_run
448
461
  # Checks whether you have the required permissions for the action,
449
462
  # without actually making the request, and provides an error response.
@@ -21,6 +21,7 @@ module Aws::EC2
21
21
  @allocation_id = extract_allocation_id(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -86,6 +87,24 @@ module Aws::EC2
86
87
  data[:public_ipv_4_pool]
87
88
  end
88
89
 
90
+ # The name of the location from which the IP address is advertised.
91
+ # @return [String]
92
+ def network_border_group
93
+ data[:network_border_group]
94
+ end
95
+
96
+ # The customer-owned IP address.
97
+ # @return [String]
98
+ def customer_owned_ip
99
+ data[:customer_owned_ip]
100
+ end
101
+
102
+ # The ID of the customer-owned address pool.
103
+ # @return [String]
104
+ def customer_owned_ipv_4_pool
105
+ data[:customer_owned_ipv_4_pool]
106
+ end
107
+
89
108
  # @!endgroup
90
109
 
91
110
  # @return [Client]
@@ -272,11 +291,29 @@ module Aws::EC2
272
291
  #
273
292
  # vpc_address.release({
274
293
  # public_ip: "String",
294
+ # network_border_group: "String",
275
295
  # dry_run: false,
276
296
  # })
277
297
  # @param [Hash] options ({})
278
298
  # @option options [String] :public_ip
279
299
  # \[EC2-Classic\] The Elastic IP address. Required for EC2-Classic.
300
+ # @option options [String] :network_border_group
301
+ # The location that the IP address is released from.
302
+ #
303
+ # If you provide an incorrect network border group, you will receive an
304
+ # `InvalidAddress.NotFound` error. For more information, see [Error
305
+ # Codes][1].
306
+ #
307
+ # <note markdown="1"> You cannot use a network border group with EC2 Classic. If you attempt
308
+ # this operation on EC2 classic, you will receive an
309
+ # `InvalidParameterCombination` error. For more information, see [Error
310
+ # Codes][1].
311
+ #
312
+ # </note>
313
+ #
314
+ #
315
+ #
316
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
280
317
  # @option options [Boolean] :dry_run
281
318
  # Checks whether you have the required permissions for the action,
282
319
  # without actually making the request, and provides an error response.
@@ -21,6 +21,7 @@ module Aws::EC2
21
21
  @id = extract_id(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
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.122.0
4
+ version: 1.123.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: 2019-12-02 00:00:00.000000000 Z
11
+ date: 2019-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4