aws-sdk-ec2 1.155.0 → 1.156.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +31 -3
- data/lib/aws-sdk-ec2/client_api.rb +4 -0
- data/lib/aws-sdk-ec2/resource.rb +3 -0
- data/lib/aws-sdk-ec2/subnet.rb +14 -0
- data/lib/aws-sdk-ec2/types.rb +41 -3
- data/lib/aws-sdk-ec2/vpc.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f19d3eaeac934e19a5128d3385fba3567403cbd10b5affb744206376082d06a
|
4
|
+
data.tar.gz: 5a485a9fc94d7fcbe98e28f59100807c53ece6447f5049de5b152b7fd5b5b95d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de95db0bd08867460ee9a8871be976c755610b4695b5ac5018c8ff009946e3b9eddc58bf5f6e1642a84862cd2092b37b12d8c1cd15b298222af54cff51991a68
|
7
|
+
data.tar.gz: 5569aef6f0caecaee3524adb3729512d3a458f17d066371442e046b24280952b4ac3157558f3e930ac57c6f5e141bdf706fe2f20f82b23f29ab669012206ef58
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4090,6 +4090,8 @@ module Aws::EC2
|
|
4090
4090
|
# resp.subnet.cidr_block #=> String
|
4091
4091
|
# resp.subnet.default_for_az #=> Boolean
|
4092
4092
|
# resp.subnet.map_public_ip_on_launch #=> Boolean
|
4093
|
+
# resp.subnet.map_customer_owned_ip_on_launch #=> Boolean
|
4094
|
+
# resp.subnet.customer_owned_ipv_4_pool #=> String
|
4093
4095
|
# resp.subnet.state #=> String, one of "pending", "available"
|
4094
4096
|
# resp.subnet.subnet_id #=> String
|
4095
4097
|
# resp.subnet.vpc_id #=> String
|
@@ -7372,6 +7374,9 @@ module Aws::EC2
|
|
7372
7374
|
# that support Local Zones, see [Available Regions][1] in the *Amazon
|
7373
7375
|
# Elastic Compute Cloud User Guide*.
|
7374
7376
|
#
|
7377
|
+
# To create a subnet in an Outpost, set this value to the Availability
|
7378
|
+
# Zone for the Outpost and specify the Outpost ARN.
|
7379
|
+
#
|
7375
7380
|
#
|
7376
7381
|
#
|
7377
7382
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
|
@@ -7446,6 +7451,8 @@ module Aws::EC2
|
|
7446
7451
|
# resp.subnet.cidr_block #=> String
|
7447
7452
|
# resp.subnet.default_for_az #=> Boolean
|
7448
7453
|
# resp.subnet.map_public_ip_on_launch #=> Boolean
|
7454
|
+
# resp.subnet.map_customer_owned_ip_on_launch #=> Boolean
|
7455
|
+
# resp.subnet.customer_owned_ipv_4_pool #=> String
|
7449
7456
|
# resp.subnet.state #=> String, one of "pending", "available"
|
7450
7457
|
# resp.subnet.subnet_id #=> String
|
7451
7458
|
# resp.subnet.vpc_id #=> String
|
@@ -22166,6 +22173,8 @@ module Aws::EC2
|
|
22166
22173
|
# resp.subnets[0].cidr_block #=> String
|
22167
22174
|
# resp.subnets[0].default_for_az #=> Boolean
|
22168
22175
|
# resp.subnets[0].map_public_ip_on_launch #=> Boolean
|
22176
|
+
# resp.subnets[0].map_customer_owned_ip_on_launch #=> Boolean
|
22177
|
+
# resp.subnets[0].customer_owned_ipv_4_pool #=> String
|
22169
22178
|
# resp.subnets[0].state #=> String, one of "pending", "available"
|
22170
22179
|
# resp.subnets[0].subnet_id #=> String
|
22171
22180
|
# resp.subnets[0].vpc_id #=> String
|
@@ -30307,12 +30316,27 @@ module Aws::EC2
|
|
30307
30316
|
# created using version `2016-11-15` or later of the Amazon EC2 API.
|
30308
30317
|
#
|
30309
30318
|
# @option params [Types::AttributeBooleanValue] :map_public_ip_on_launch
|
30310
|
-
# Specify `true` to indicate that
|
30311
|
-
# the specified subnet should be assigned a public
|
30319
|
+
# Specify `true` to indicate that network interfaces attached to
|
30320
|
+
# instances created in the specified subnet should be assigned a public
|
30321
|
+
# IPv4 address.
|
30312
30322
|
#
|
30313
30323
|
# @option params [required, String] :subnet_id
|
30314
30324
|
# The ID of the subnet.
|
30315
30325
|
#
|
30326
|
+
# @option params [Types::AttributeBooleanValue] :map_customer_owned_ip_on_launch
|
30327
|
+
# Specify `true` to indicate that network interfaces attached to
|
30328
|
+
# instances created in the specified subnet should be assigned a
|
30329
|
+
# customer-owned IPv4 address.
|
30330
|
+
#
|
30331
|
+
# When this value is `true`, you must specify the customer-owned IP pool
|
30332
|
+
# using `CustomerOwnedIpv4Pool`.
|
30333
|
+
#
|
30334
|
+
# @option params [String] :customer_owned_ipv_4_pool
|
30335
|
+
# The customer-owned IPv4 address pool associated with the subnet.
|
30336
|
+
#
|
30337
|
+
# You must set this value when you specify `true` for
|
30338
|
+
# `MapCustomerOwnedIpOnLaunch`.
|
30339
|
+
#
|
30316
30340
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
30317
30341
|
#
|
30318
30342
|
#
|
@@ -30338,6 +30362,10 @@ module Aws::EC2
|
|
30338
30362
|
# value: false,
|
30339
30363
|
# },
|
30340
30364
|
# subnet_id: "SubnetId", # required
|
30365
|
+
# map_customer_owned_ip_on_launch: {
|
30366
|
+
# value: false,
|
30367
|
+
# },
|
30368
|
+
# customer_owned_ipv_4_pool: "CoipPoolId",
|
30341
30369
|
# })
|
30342
30370
|
#
|
30343
30371
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttribute AWS API Documentation
|
@@ -36826,7 +36854,7 @@ module Aws::EC2
|
|
36826
36854
|
params: params,
|
36827
36855
|
config: config)
|
36828
36856
|
context[:gem_name] = 'aws-sdk-ec2'
|
36829
|
-
context[:gem_version] = '1.
|
36857
|
+
context[:gem_version] = '1.156.0'
|
36830
36858
|
Seahorse::Client::Request.new(handlers, context)
|
36831
36859
|
end
|
36832
36860
|
|
@@ -7154,6 +7154,8 @@ module Aws::EC2
|
|
7154
7154
|
ModifySubnetAttributeRequest.add_member(:assign_ipv_6_address_on_creation, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "AssignIpv6AddressOnCreation"))
|
7155
7155
|
ModifySubnetAttributeRequest.add_member(:map_public_ip_on_launch, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "MapPublicIpOnLaunch"))
|
7156
7156
|
ModifySubnetAttributeRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
|
7157
|
+
ModifySubnetAttributeRequest.add_member(:map_customer_owned_ip_on_launch, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "MapCustomerOwnedIpOnLaunch"))
|
7158
|
+
ModifySubnetAttributeRequest.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: CoipPoolId, location_name: "CustomerOwnedIpv4Pool"))
|
7157
7159
|
ModifySubnetAttributeRequest.struct_class = Types::ModifySubnetAttributeRequest
|
7158
7160
|
|
7159
7161
|
ModifyTrafficMirrorFilterNetworkServicesRequest.add_member(:traffic_mirror_filter_id, Shapes::ShapeRef.new(shape: TrafficMirrorFilterId, required: true, location_name: "TrafficMirrorFilterId"))
|
@@ -8933,6 +8935,8 @@ module Aws::EC2
|
|
8933
8935
|
Subnet.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "cidrBlock"))
|
8934
8936
|
Subnet.add_member(:default_for_az, Shapes::ShapeRef.new(shape: Boolean, location_name: "defaultForAz"))
|
8935
8937
|
Subnet.add_member(:map_public_ip_on_launch, Shapes::ShapeRef.new(shape: Boolean, location_name: "mapPublicIpOnLaunch"))
|
8938
|
+
Subnet.add_member(:map_customer_owned_ip_on_launch, Shapes::ShapeRef.new(shape: Boolean, location_name: "mapCustomerOwnedIpOnLaunch"))
|
8939
|
+
Subnet.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: CoipPoolId, location_name: "customerOwnedIpv4Pool"))
|
8936
8940
|
Subnet.add_member(:state, Shapes::ShapeRef.new(shape: SubnetState, location_name: "state"))
|
8937
8941
|
Subnet.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
8938
8942
|
Subnet.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -906,6 +906,9 @@ module Aws::EC2
|
|
906
906
|
# that support Local Zones, see [Available Regions][1] in the *Amazon
|
907
907
|
# Elastic Compute Cloud User Guide*.
|
908
908
|
#
|
909
|
+
# To create a subnet in an Outpost, set this value to the Availability
|
910
|
+
# Zone for the Outpost and specify the Outpost ARN.
|
911
|
+
#
|
909
912
|
#
|
910
913
|
#
|
911
914
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -72,6 +72,20 @@ module Aws::EC2
|
|
72
72
|
data[:map_public_ip_on_launch]
|
73
73
|
end
|
74
74
|
|
75
|
+
# Indicates whether a network interface created in this subnet
|
76
|
+
# (including a network interface created by RunInstances) receives a
|
77
|
+
# customer-owned IPv4 address.
|
78
|
+
# @return [Boolean]
|
79
|
+
def map_customer_owned_ip_on_launch
|
80
|
+
data[:map_customer_owned_ip_on_launch]
|
81
|
+
end
|
82
|
+
|
83
|
+
# The customer-owned IPv4 address pool associated with the subnet.
|
84
|
+
# @return [String]
|
85
|
+
def customer_owned_ipv_4_pool
|
86
|
+
data[:customer_owned_ipv_4_pool]
|
87
|
+
end
|
88
|
+
|
75
89
|
# The current state of the subnet.
|
76
90
|
# @return [String]
|
77
91
|
def state
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -7386,6 +7386,9 @@ module Aws::EC2
|
|
7386
7386
|
# Regions that support Local Zones, see [Available Regions][1] in the
|
7387
7387
|
# *Amazon Elastic Compute Cloud User Guide*.
|
7388
7388
|
#
|
7389
|
+
# To create a subnet in an Outpost, set this value to the Availability
|
7390
|
+
# Zone for the Outpost and specify the Outpost ARN.
|
7391
|
+
#
|
7389
7392
|
#
|
7390
7393
|
#
|
7391
7394
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
|
@@ -33334,6 +33337,10 @@ module Aws::EC2
|
|
33334
33337
|
# value: false,
|
33335
33338
|
# },
|
33336
33339
|
# subnet_id: "SubnetId", # required
|
33340
|
+
# map_customer_owned_ip_on_launch: {
|
33341
|
+
# value: false,
|
33342
|
+
# },
|
33343
|
+
# customer_owned_ipv_4_pool: "CoipPoolId",
|
33337
33344
|
# }
|
33338
33345
|
#
|
33339
33346
|
# @!attribute [rw] assign_ipv_6_address_on_creation
|
@@ -33348,20 +33355,39 @@ module Aws::EC2
|
|
33348
33355
|
# @return [Types::AttributeBooleanValue]
|
33349
33356
|
#
|
33350
33357
|
# @!attribute [rw] map_public_ip_on_launch
|
33351
|
-
# Specify `true` to indicate that
|
33352
|
-
# in the specified subnet should be assigned a
|
33358
|
+
# Specify `true` to indicate that network interfaces attached to
|
33359
|
+
# instances created in the specified subnet should be assigned a
|
33360
|
+
# public IPv4 address.
|
33353
33361
|
# @return [Types::AttributeBooleanValue]
|
33354
33362
|
#
|
33355
33363
|
# @!attribute [rw] subnet_id
|
33356
33364
|
# The ID of the subnet.
|
33357
33365
|
# @return [String]
|
33358
33366
|
#
|
33367
|
+
# @!attribute [rw] map_customer_owned_ip_on_launch
|
33368
|
+
# Specify `true` to indicate that network interfaces attached to
|
33369
|
+
# instances created in the specified subnet should be assigned a
|
33370
|
+
# customer-owned IPv4 address.
|
33371
|
+
#
|
33372
|
+
# When this value is `true`, you must specify the customer-owned IP
|
33373
|
+
# pool using `CustomerOwnedIpv4Pool`.
|
33374
|
+
# @return [Types::AttributeBooleanValue]
|
33375
|
+
#
|
33376
|
+
# @!attribute [rw] customer_owned_ipv_4_pool
|
33377
|
+
# The customer-owned IPv4 address pool associated with the subnet.
|
33378
|
+
#
|
33379
|
+
# You must set this value when you specify `true` for
|
33380
|
+
# `MapCustomerOwnedIpOnLaunch`.
|
33381
|
+
# @return [String]
|
33382
|
+
#
|
33359
33383
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttributeRequest AWS API Documentation
|
33360
33384
|
#
|
33361
33385
|
class ModifySubnetAttributeRequest < Struct.new(
|
33362
33386
|
:assign_ipv_6_address_on_creation,
|
33363
33387
|
:map_public_ip_on_launch,
|
33364
|
-
:subnet_id
|
33388
|
+
:subnet_id,
|
33389
|
+
:map_customer_owned_ip_on_launch,
|
33390
|
+
:customer_owned_ipv_4_pool)
|
33365
33391
|
include Aws::Structure
|
33366
33392
|
end
|
33367
33393
|
|
@@ -44415,6 +44441,16 @@ module Aws::EC2
|
|
44415
44441
|
# IPv4 address.
|
44416
44442
|
# @return [Boolean]
|
44417
44443
|
#
|
44444
|
+
# @!attribute [rw] map_customer_owned_ip_on_launch
|
44445
|
+
# Indicates whether a network interface created in this subnet
|
44446
|
+
# (including a network interface created by RunInstances) receives a
|
44447
|
+
# customer-owned IPv4 address.
|
44448
|
+
# @return [Boolean]
|
44449
|
+
#
|
44450
|
+
# @!attribute [rw] customer_owned_ipv_4_pool
|
44451
|
+
# The customer-owned IPv4 address pool associated with the subnet.
|
44452
|
+
# @return [String]
|
44453
|
+
#
|
44418
44454
|
# @!attribute [rw] state
|
44419
44455
|
# The current state of the subnet.
|
44420
44456
|
# @return [String]
|
@@ -44462,6 +44498,8 @@ module Aws::EC2
|
|
44462
44498
|
:cidr_block,
|
44463
44499
|
:default_for_az,
|
44464
44500
|
:map_public_ip_on_launch,
|
44501
|
+
:map_customer_owned_ip_on_launch,
|
44502
|
+
:customer_owned_ipv_4_pool,
|
44465
44503
|
:state,
|
44466
44504
|
:subnet_id,
|
44467
44505
|
:vpc_id,
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -447,6 +447,9 @@ module Aws::EC2
|
|
447
447
|
# that support Local Zones, see [Available Regions][1] in the *Amazon
|
448
448
|
# Elastic Compute Cloud User Guide*.
|
449
449
|
#
|
450
|
+
# To create a subnet in an Outpost, set this value to the Availability
|
451
|
+
# Zone for the Outpost and specify the Outpost ARN.
|
452
|
+
#
|
450
453
|
#
|
451
454
|
#
|
452
455
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
|
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.
|
4
|
+
version: 1.156.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: 2020-05-
|
11
|
+
date: 2020-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|