aws-sdk-ec2 1.60.0 → 1.61.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 +52 -9
- data/lib/aws-sdk-ec2/client_api.rb +9 -0
- data/lib/aws-sdk-ec2/dhcp_options.rb +6 -0
- data/lib/aws-sdk-ec2/internet_gateway.rb +6 -0
- data/lib/aws-sdk-ec2/network_acl.rb +6 -0
- data/lib/aws-sdk-ec2/resource.rb +30 -8
- data/lib/aws-sdk-ec2/route_table.rb +6 -0
- data/lib/aws-sdk-ec2/subnet.rb +18 -0
- data/lib/aws-sdk-ec2/types.rb +75 -10
- data/lib/aws-sdk-ec2/vpc.rb +30 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9375b6a08abed627e625fa2cbc951f10dbf233e
|
4
|
+
data.tar.gz: 47f7a22ac85c7fb93f7377d1682f6301c96e08d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d62fda66c70b58ed981c2ceb9e154c4dcef240f1d0b6ed6ac19355f97593b98db5ed4ff7bb8bb4d31ee4c0899dcb5eefa017587a6e9d017a43a0a8de6fb20630
|
7
|
+
data.tar.gz: a36c721c05648f1e3e5c870d6d97d88aa47e272525d31dc353af6cb50ab1d905d82224249be09d752fdd9ed3b74f4f5d478bd5c4a6824cb9b488efe206014b43
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -3284,6 +3284,7 @@ module Aws::EC2
|
|
3284
3284
|
# @example Response structure
|
3285
3285
|
#
|
3286
3286
|
# resp.subnet.availability_zone #=> String
|
3287
|
+
# resp.subnet.availability_zone_id #=> String
|
3287
3288
|
# resp.subnet.available_ip_address_count #=> Integer
|
3288
3289
|
# resp.subnet.cidr_block #=> String
|
3289
3290
|
# resp.subnet.default_for_az #=> Boolean
|
@@ -3291,6 +3292,7 @@ module Aws::EC2
|
|
3291
3292
|
# resp.subnet.state #=> String, one of "pending", "available"
|
3292
3293
|
# resp.subnet.subnet_id #=> String
|
3293
3294
|
# resp.subnet.vpc_id #=> String
|
3295
|
+
# resp.subnet.owner_id #=> String
|
3294
3296
|
# resp.subnet.assign_ipv_6_address_on_creation #=> Boolean
|
3295
3297
|
# resp.subnet.ipv_6_cidr_block_association_set #=> Array
|
3296
3298
|
# resp.subnet.ipv_6_cidr_block_association_set[0].association_id #=> String
|
@@ -3300,6 +3302,7 @@ module Aws::EC2
|
|
3300
3302
|
# resp.subnet.tags #=> Array
|
3301
3303
|
# resp.subnet.tags[0].key #=> String
|
3302
3304
|
# resp.subnet.tags[0].value #=> String
|
3305
|
+
# resp.subnet.subnet_arn #=> String
|
3303
3306
|
#
|
3304
3307
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnet AWS API Documentation
|
3305
3308
|
#
|
@@ -3352,6 +3355,7 @@ module Aws::EC2
|
|
3352
3355
|
# resp.vpc.dhcp_options_id #=> String
|
3353
3356
|
# resp.vpc.state #=> String, one of "pending", "available"
|
3354
3357
|
# resp.vpc.vpc_id #=> String
|
3358
|
+
# resp.vpc.owner_id #=> String
|
3355
3359
|
# resp.vpc.instance_tenancy #=> String, one of "default", "dedicated", "host"
|
3356
3360
|
# resp.vpc.ipv_6_cidr_block_association_set #=> Array
|
3357
3361
|
# resp.vpc.ipv_6_cidr_block_association_set[0].association_id #=> String
|
@@ -3496,6 +3500,7 @@ module Aws::EC2
|
|
3496
3500
|
# resp.dhcp_options.dhcp_configurations[0].values #=> Array
|
3497
3501
|
# resp.dhcp_options.dhcp_configurations[0].values[0] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
3498
3502
|
# resp.dhcp_options.dhcp_options_id #=> String
|
3503
|
+
# resp.dhcp_options.owner_id #=> String
|
3499
3504
|
# resp.dhcp_options.tags #=> Array
|
3500
3505
|
# resp.dhcp_options.tags[0].key #=> String
|
3501
3506
|
# resp.dhcp_options.tags[0].value #=> String
|
@@ -4208,6 +4213,7 @@ module Aws::EC2
|
|
4208
4213
|
# resp.internet_gateway.attachments[0].state #=> String, one of "attaching", "attached", "detaching", "detached"
|
4209
4214
|
# resp.internet_gateway.attachments[0].vpc_id #=> String
|
4210
4215
|
# resp.internet_gateway.internet_gateway_id #=> String
|
4216
|
+
# resp.internet_gateway.owner_id #=> String
|
4211
4217
|
# resp.internet_gateway.tags #=> Array
|
4212
4218
|
# resp.internet_gateway.tags[0].key #=> String
|
4213
4219
|
# resp.internet_gateway.tags[0].value #=> String
|
@@ -4999,6 +5005,7 @@ module Aws::EC2
|
|
4999
5005
|
# resp.network_acl.tags[0].key #=> String
|
5000
5006
|
# resp.network_acl.tags[0].value #=> String
|
5001
5007
|
# resp.network_acl.vpc_id #=> String
|
5008
|
+
# resp.network_acl.owner_id #=> String
|
5002
5009
|
#
|
5003
5010
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAcl AWS API Documentation
|
5004
5011
|
#
|
@@ -5751,6 +5758,7 @@ module Aws::EC2
|
|
5751
5758
|
# resp.route_table.tags[0].key #=> String
|
5752
5759
|
# resp.route_table.tags[0].value #=> String
|
5753
5760
|
# resp.route_table.vpc_id #=> String
|
5761
|
+
# resp.route_table.owner_id #=> String
|
5754
5762
|
#
|
5755
5763
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTable AWS API Documentation
|
5756
5764
|
#
|
@@ -6120,6 +6128,9 @@ module Aws::EC2
|
|
6120
6128
|
# in your VPC, we may not necessarily select a different zone for each
|
6121
6129
|
# subnet.
|
6122
6130
|
#
|
6131
|
+
# @option params [String] :availability_zone_id
|
6132
|
+
# The AZ ID of the subnet.
|
6133
|
+
#
|
6123
6134
|
# @option params [required, String] :cidr_block
|
6124
6135
|
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
6125
6136
|
# `10.0.0.0/24`.
|
@@ -6168,6 +6179,7 @@ module Aws::EC2
|
|
6168
6179
|
#
|
6169
6180
|
# resp = client.create_subnet({
|
6170
6181
|
# availability_zone: "String",
|
6182
|
+
# availability_zone_id: "String",
|
6171
6183
|
# cidr_block: "String", # required
|
6172
6184
|
# ipv_6_cidr_block: "String",
|
6173
6185
|
# vpc_id: "String", # required
|
@@ -6177,6 +6189,7 @@ module Aws::EC2
|
|
6177
6189
|
# @example Response structure
|
6178
6190
|
#
|
6179
6191
|
# resp.subnet.availability_zone #=> String
|
6192
|
+
# resp.subnet.availability_zone_id #=> String
|
6180
6193
|
# resp.subnet.available_ip_address_count #=> Integer
|
6181
6194
|
# resp.subnet.cidr_block #=> String
|
6182
6195
|
# resp.subnet.default_for_az #=> Boolean
|
@@ -6184,6 +6197,7 @@ module Aws::EC2
|
|
6184
6197
|
# resp.subnet.state #=> String, one of "pending", "available"
|
6185
6198
|
# resp.subnet.subnet_id #=> String
|
6186
6199
|
# resp.subnet.vpc_id #=> String
|
6200
|
+
# resp.subnet.owner_id #=> String
|
6187
6201
|
# resp.subnet.assign_ipv_6_address_on_creation #=> Boolean
|
6188
6202
|
# resp.subnet.ipv_6_cidr_block_association_set #=> Array
|
6189
6203
|
# resp.subnet.ipv_6_cidr_block_association_set[0].association_id #=> String
|
@@ -6193,6 +6207,7 @@ module Aws::EC2
|
|
6193
6207
|
# resp.subnet.tags #=> Array
|
6194
6208
|
# resp.subnet.tags[0].key #=> String
|
6195
6209
|
# resp.subnet.tags[0].value #=> String
|
6210
|
+
# resp.subnet.subnet_arn #=> String
|
6196
6211
|
#
|
6197
6212
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnet AWS API Documentation
|
6198
6213
|
#
|
@@ -6914,6 +6929,7 @@ module Aws::EC2
|
|
6914
6929
|
# resp.vpc.dhcp_options_id #=> String
|
6915
6930
|
# resp.vpc.state #=> String, one of "pending", "available"
|
6916
6931
|
# resp.vpc.vpc_id #=> String
|
6932
|
+
# resp.vpc.owner_id #=> String
|
6917
6933
|
# resp.vpc.instance_tenancy #=> String, one of "default", "dedicated", "host"
|
6918
6934
|
# resp.vpc.ipv_6_cidr_block_association_set #=> Array
|
6919
6935
|
# resp.vpc.ipv_6_cidr_block_association_set[0].association_id #=> String
|
@@ -10286,12 +10302,15 @@ module Aws::EC2
|
|
10286
10302
|
# @option params [Array<Types::Filter>] :filters
|
10287
10303
|
# One or more filters.
|
10288
10304
|
#
|
10289
|
-
# * `dhcp-options-id` - The ID of a
|
10305
|
+
# * `dhcp-options-id` - The ID of a DHCP options set.
|
10290
10306
|
#
|
10291
10307
|
# * `key` - The key for one of the options (for example, `domain-name`).
|
10292
10308
|
#
|
10293
10309
|
# * `value` - The value for one of the options.
|
10294
10310
|
#
|
10311
|
+
# * `owner-id` - The ID of the AWS account that owns the DHCP options
|
10312
|
+
# set.
|
10313
|
+
#
|
10295
10314
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
10296
10315
|
# the resource. Use the tag key in the filter name and the tag value
|
10297
10316
|
# as the filter value. For example, to find all resources that have a
|
@@ -10366,6 +10385,7 @@ module Aws::EC2
|
|
10366
10385
|
# resp.dhcp_options[0].dhcp_configurations[0].values #=> Array
|
10367
10386
|
# resp.dhcp_options[0].dhcp_configurations[0].values[0] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
10368
10387
|
# resp.dhcp_options[0].dhcp_options_id #=> String
|
10388
|
+
# resp.dhcp_options[0].owner_id #=> String
|
10369
10389
|
# resp.dhcp_options[0].tags #=> Array
|
10370
10390
|
# resp.dhcp_options[0].tags[0].key #=> String
|
10371
10391
|
# resp.dhcp_options[0].tags[0].value #=> String
|
@@ -13007,6 +13027,9 @@ module Aws::EC2
|
|
13007
13027
|
#
|
13008
13028
|
# * `internet-gateway-id` - The ID of the Internet gateway.
|
13009
13029
|
#
|
13030
|
+
# * `owner-id` - The ID of the AWS account that owns the internet
|
13031
|
+
# gateway.
|
13032
|
+
#
|
13010
13033
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
13011
13034
|
# the resource. Use the tag key in the filter name and the tag value
|
13012
13035
|
# as the filter value. For example, to find all resources that have a
|
@@ -13085,6 +13108,7 @@ module Aws::EC2
|
|
13085
13108
|
# resp.internet_gateways[0].attachments[0].state #=> String, one of "attaching", "attached", "detaching", "detached"
|
13086
13109
|
# resp.internet_gateways[0].attachments[0].vpc_id #=> String
|
13087
13110
|
# resp.internet_gateways[0].internet_gateway_id #=> String
|
13111
|
+
# resp.internet_gateways[0].owner_id #=> String
|
13088
13112
|
# resp.internet_gateways[0].tags #=> Array
|
13089
13113
|
# resp.internet_gateways[0].tags[0].key #=> String
|
13090
13114
|
# resp.internet_gateways[0].tags[0].value #=> String
|
@@ -13782,6 +13806,8 @@ module Aws::EC2
|
|
13782
13806
|
#
|
13783
13807
|
# * `network-acl-id` - The ID of the network ACL.
|
13784
13808
|
#
|
13809
|
+
# * `owner-id` - The ID of the AWS account that owns the network ACL.
|
13810
|
+
#
|
13785
13811
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
13786
13812
|
# the resource. Use the tag key in the filter name and the tag value
|
13787
13813
|
# as the filter value. For example, to find all resources that have a
|
@@ -13893,6 +13919,7 @@ module Aws::EC2
|
|
13893
13919
|
# resp.network_acls[0].tags[0].key #=> String
|
13894
13920
|
# resp.network_acls[0].tags[0].value #=> String
|
13895
13921
|
# resp.network_acls[0].vpc_id #=> String
|
13922
|
+
# resp.network_acls[0].owner_id #=> String
|
13896
13923
|
#
|
13897
13924
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkAcls AWS API Documentation
|
13898
13925
|
#
|
@@ -15331,6 +15358,8 @@ module Aws::EC2
|
|
15331
15358
|
# route table for the VPC (`true` \| `false`). Route tables that do
|
15332
15359
|
# not have an association ID are not returned in the response.
|
15333
15360
|
#
|
15361
|
+
# * `owner-id` - The ID of the AWS account that owns the route table.
|
15362
|
+
#
|
15334
15363
|
# * `route-table-id` - The ID of the route table.
|
15335
15364
|
#
|
15336
15365
|
# * `route.destination-cidr-block` - The IPv4 CIDR range specified in a
|
@@ -15492,6 +15521,7 @@ module Aws::EC2
|
|
15492
15521
|
# resp.route_tables[0].tags[0].key #=> String
|
15493
15522
|
# resp.route_tables[0].tags[0].value #=> String
|
15494
15523
|
# resp.route_tables[0].vpc_id #=> String
|
15524
|
+
# resp.route_tables[0].owner_id #=> String
|
15495
15525
|
# resp.next_token #=> String
|
15496
15526
|
#
|
15497
15527
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRouteTables AWS API Documentation
|
@@ -17423,20 +17453,23 @@ module Aws::EC2
|
|
17423
17453
|
# @option params [Array<Types::Filter>] :filters
|
17424
17454
|
# One or more filters.
|
17425
17455
|
#
|
17426
|
-
# * `
|
17427
|
-
# also use `
|
17456
|
+
# * `availability-zone` - The Availability Zone for the subnet. You can
|
17457
|
+
# also use `availabilityZone` as the filter name.
|
17458
|
+
#
|
17459
|
+
# * `availability-zone-id` - The ID of the Availability Zone for the
|
17460
|
+
# subnet. You can also use `availabilityZoneId` as the filter name.
|
17428
17461
|
#
|
17429
17462
|
# * `available-ip-address-count` - The number of IPv4 addresses in the
|
17430
17463
|
# subnet that are available.
|
17431
17464
|
#
|
17432
|
-
# * `
|
17465
|
+
# * `cidr-block` - The IPv4 CIDR block of the subnet. The CIDR block you
|
17433
17466
|
# specify must exactly match the subnet's CIDR block for information
|
17434
17467
|
# to be returned for the subnet. You can also use `cidr` or
|
17435
|
-
# `
|
17468
|
+
# `cidrBlock` as the filter names.
|
17436
17469
|
#
|
17437
|
-
# * `
|
17438
|
-
# the Availability Zone. You can also use `
|
17439
|
-
#
|
17470
|
+
# * `default-for-az` - Indicates whether this is the default subnet for
|
17471
|
+
# the Availability Zone. You can also use `defaultForAz` as the filter
|
17472
|
+
# name.
|
17440
17473
|
#
|
17441
17474
|
# * `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
|
17442
17475
|
# associated with the subnet.
|
@@ -17447,8 +17480,12 @@ module Aws::EC2
|
|
17447
17480
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
17448
17481
|
# block associated with the subnet.
|
17449
17482
|
#
|
17483
|
+
# * `owner-id` - The ID of the AWS account that owns the subnet.
|
17484
|
+
#
|
17450
17485
|
# * `state` - The state of the subnet (`pending` \| `available`).
|
17451
17486
|
#
|
17487
|
+
# * `subnet-arn` - The Amazon Resource Name (ARN) of the subnet.
|
17488
|
+
#
|
17452
17489
|
# * `subnet-id` - The ID of the subnet.
|
17453
17490
|
#
|
17454
17491
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
@@ -17527,6 +17564,7 @@ module Aws::EC2
|
|
17527
17564
|
#
|
17528
17565
|
# resp.subnets #=> Array
|
17529
17566
|
# resp.subnets[0].availability_zone #=> String
|
17567
|
+
# resp.subnets[0].availability_zone_id #=> String
|
17530
17568
|
# resp.subnets[0].available_ip_address_count #=> Integer
|
17531
17569
|
# resp.subnets[0].cidr_block #=> String
|
17532
17570
|
# resp.subnets[0].default_for_az #=> Boolean
|
@@ -17534,6 +17572,7 @@ module Aws::EC2
|
|
17534
17572
|
# resp.subnets[0].state #=> String, one of "pending", "available"
|
17535
17573
|
# resp.subnets[0].subnet_id #=> String
|
17536
17574
|
# resp.subnets[0].vpc_id #=> String
|
17575
|
+
# resp.subnets[0].owner_id #=> String
|
17537
17576
|
# resp.subnets[0].assign_ipv_6_address_on_creation #=> Boolean
|
17538
17577
|
# resp.subnets[0].ipv_6_cidr_block_association_set #=> Array
|
17539
17578
|
# resp.subnets[0].ipv_6_cidr_block_association_set[0].association_id #=> String
|
@@ -17543,6 +17582,7 @@ module Aws::EC2
|
|
17543
17582
|
# resp.subnets[0].tags #=> Array
|
17544
17583
|
# resp.subnets[0].tags[0].key #=> String
|
17545
17584
|
# resp.subnets[0].tags[0].value #=> String
|
17585
|
+
# resp.subnets[0].subnet_arn #=> String
|
17546
17586
|
#
|
17547
17587
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSubnets AWS API Documentation
|
17548
17588
|
#
|
@@ -19441,6 +19481,8 @@ module Aws::EC2
|
|
19441
19481
|
#
|
19442
19482
|
# * `isDefault` - Indicates whether the VPC is the default VPC.
|
19443
19483
|
#
|
19484
|
+
# * `owner-id` - The ID of the AWS account that owns the VPC.
|
19485
|
+
#
|
19444
19486
|
# * `state` - The state of the VPC (`pending` \| `available`).
|
19445
19487
|
#
|
19446
19488
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
@@ -19521,6 +19563,7 @@ module Aws::EC2
|
|
19521
19563
|
# resp.vpcs[0].dhcp_options_id #=> String
|
19522
19564
|
# resp.vpcs[0].state #=> String, one of "pending", "available"
|
19523
19565
|
# resp.vpcs[0].vpc_id #=> String
|
19566
|
+
# resp.vpcs[0].owner_id #=> String
|
19524
19567
|
# resp.vpcs[0].instance_tenancy #=> String, one of "default", "dedicated", "host"
|
19525
19568
|
# resp.vpcs[0].ipv_6_cidr_block_association_set #=> Array
|
19526
19569
|
# resp.vpcs[0].ipv_6_cidr_block_association_set[0].association_id #=> String
|
@@ -28418,7 +28461,7 @@ module Aws::EC2
|
|
28418
28461
|
params: params,
|
28419
28462
|
config: config)
|
28420
28463
|
context[:gem_name] = 'aws-sdk-ec2'
|
28421
|
-
context[:gem_version] = '1.
|
28464
|
+
context[:gem_version] = '1.61.0'
|
28422
28465
|
Seahorse::Client::Request.new(handlers, context)
|
28423
28466
|
end
|
28424
28467
|
|
@@ -2175,6 +2175,7 @@ module Aws::EC2
|
|
2175
2175
|
CreateSpotDatafeedSubscriptionResult.struct_class = Types::CreateSpotDatafeedSubscriptionResult
|
2176
2176
|
|
2177
2177
|
CreateSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
2178
|
+
CreateSubnetRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
|
2178
2179
|
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
|
2179
2180
|
CreateSubnetRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlock"))
|
2180
2181
|
CreateSubnetRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VpcId"))
|
@@ -3562,6 +3563,7 @@ module Aws::EC2
|
|
3562
3563
|
|
3563
3564
|
DhcpOptions.add_member(:dhcp_configurations, Shapes::ShapeRef.new(shape: DhcpConfigurationList, location_name: "dhcpConfigurationSet"))
|
3564
3565
|
DhcpOptions.add_member(:dhcp_options_id, Shapes::ShapeRef.new(shape: String, location_name: "dhcpOptionsId"))
|
3566
|
+
DhcpOptions.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
3565
3567
|
DhcpOptions.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
3566
3568
|
DhcpOptions.struct_class = Types::DhcpOptions
|
3567
3569
|
|
@@ -4536,6 +4538,7 @@ module Aws::EC2
|
|
4536
4538
|
|
4537
4539
|
InternetGateway.add_member(:attachments, Shapes::ShapeRef.new(shape: InternetGatewayAttachmentList, location_name: "attachmentSet"))
|
4538
4540
|
InternetGateway.add_member(:internet_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "internetGatewayId"))
|
4541
|
+
InternetGateway.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
4539
4542
|
InternetGateway.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
4540
4543
|
InternetGateway.struct_class = Types::InternetGateway
|
4541
4544
|
|
@@ -5142,6 +5145,7 @@ module Aws::EC2
|
|
5142
5145
|
NetworkAcl.add_member(:network_acl_id, Shapes::ShapeRef.new(shape: String, location_name: "networkAclId"))
|
5143
5146
|
NetworkAcl.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
5144
5147
|
NetworkAcl.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
5148
|
+
NetworkAcl.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
5145
5149
|
NetworkAcl.struct_class = Types::NetworkAcl
|
5146
5150
|
|
5147
5151
|
NetworkAclAssociation.add_member(:network_acl_association_id, Shapes::ShapeRef.new(shape: String, location_name: "networkAclAssociationId"))
|
@@ -5904,6 +5908,7 @@ module Aws::EC2
|
|
5904
5908
|
RouteTable.add_member(:routes, Shapes::ShapeRef.new(shape: RouteList, location_name: "routeSet"))
|
5905
5909
|
RouteTable.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
5906
5910
|
RouteTable.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
5911
|
+
RouteTable.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
5907
5912
|
RouteTable.struct_class = Types::RouteTable
|
5908
5913
|
|
5909
5914
|
RouteTableAssociation.add_member(:main, Shapes::ShapeRef.new(shape: Boolean, location_name: "main"))
|
@@ -6404,6 +6409,7 @@ module Aws::EC2
|
|
6404
6409
|
StorageLocation.struct_class = Types::StorageLocation
|
6405
6410
|
|
6406
6411
|
Subnet.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
6412
|
+
Subnet.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
6407
6413
|
Subnet.add_member(:available_ip_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "availableIpAddressCount"))
|
6408
6414
|
Subnet.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "cidrBlock"))
|
6409
6415
|
Subnet.add_member(:default_for_az, Shapes::ShapeRef.new(shape: Boolean, location_name: "defaultForAz"))
|
@@ -6411,9 +6417,11 @@ module Aws::EC2
|
|
6411
6417
|
Subnet.add_member(:state, Shapes::ShapeRef.new(shape: SubnetState, location_name: "state"))
|
6412
6418
|
Subnet.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
6413
6419
|
Subnet.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
6420
|
+
Subnet.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
6414
6421
|
Subnet.add_member(:assign_ipv_6_address_on_creation, Shapes::ShapeRef.new(shape: Boolean, location_name: "assignIpv6AddressOnCreation"))
|
6415
6422
|
Subnet.add_member(:ipv_6_cidr_block_association_set, Shapes::ShapeRef.new(shape: SubnetIpv6CidrBlockAssociationSet, location_name: "ipv6CidrBlockAssociationSet"))
|
6416
6423
|
Subnet.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
6424
|
+
Subnet.add_member(:subnet_arn, Shapes::ShapeRef.new(shape: String, location_name: "subnetArn"))
|
6417
6425
|
Subnet.struct_class = Types::Subnet
|
6418
6426
|
|
6419
6427
|
SubnetCidrBlockState.add_member(:state, Shapes::ShapeRef.new(shape: SubnetCidrBlockStateCode, location_name: "state"))
|
@@ -6821,6 +6829,7 @@ module Aws::EC2
|
|
6821
6829
|
Vpc.add_member(:dhcp_options_id, Shapes::ShapeRef.new(shape: String, location_name: "dhcpOptionsId"))
|
6822
6830
|
Vpc.add_member(:state, Shapes::ShapeRef.new(shape: VpcState, location_name: "state"))
|
6823
6831
|
Vpc.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
6832
|
+
Vpc.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
6824
6833
|
Vpc.add_member(:instance_tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "instanceTenancy"))
|
6825
6834
|
Vpc.add_member(:ipv_6_cidr_block_association_set, Shapes::ShapeRef.new(shape: VpcIpv6CidrBlockAssociationSet, location_name: "ipv6CidrBlockAssociationSet"))
|
6826
6835
|
Vpc.add_member(:cidr_block_association_set, Shapes::ShapeRef.new(shape: VpcCidrBlockAssociationSet, location_name: "cidrBlockAssociationSet"))
|
@@ -37,6 +37,12 @@ module Aws::EC2
|
|
37
37
|
data[:dhcp_configurations]
|
38
38
|
end
|
39
39
|
|
40
|
+
# The ID of the AWS account that owns the DHCP options set.
|
41
|
+
# @return [String]
|
42
|
+
def owner_id
|
43
|
+
data[:owner_id]
|
44
|
+
end
|
45
|
+
|
40
46
|
# Any tags assigned to the DHCP options set.
|
41
47
|
# @return [Array<Types::Tag>]
|
42
48
|
def tags
|
@@ -37,6 +37,12 @@ module Aws::EC2
|
|
37
37
|
data[:attachments]
|
38
38
|
end
|
39
39
|
|
40
|
+
# The ID of the AWS account that owns the internet gateway.
|
41
|
+
# @return [String]
|
42
|
+
def owner_id
|
43
|
+
data[:owner_id]
|
44
|
+
end
|
45
|
+
|
40
46
|
# Any tags assigned to the internet gateway.
|
41
47
|
# @return [Array<Types::Tag>]
|
42
48
|
def tags
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -688,6 +688,7 @@ module Aws::EC2
|
|
688
688
|
#
|
689
689
|
# subnet = ec2.create_subnet({
|
690
690
|
# availability_zone: "String",
|
691
|
+
# availability_zone_id: "String",
|
691
692
|
# cidr_block: "String", # required
|
692
693
|
# ipv_6_cidr_block: "String",
|
693
694
|
# vpc_id: "String", # required
|
@@ -700,6 +701,8 @@ module Aws::EC2
|
|
700
701
|
# Default: AWS selects one for you. If you create more than one subnet
|
701
702
|
# in your VPC, we may not necessarily select a different zone for each
|
702
703
|
# subnet.
|
704
|
+
# @option options [String] :availability_zone_id
|
705
|
+
# The AZ ID of the subnet.
|
703
706
|
# @option options [required, String] :cidr_block
|
704
707
|
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
705
708
|
# `10.0.0.0/24`.
|
@@ -1210,12 +1213,15 @@ module Aws::EC2
|
|
1210
1213
|
# @option options [Array<Types::Filter>] :filters
|
1211
1214
|
# One or more filters.
|
1212
1215
|
#
|
1213
|
-
# * `dhcp-options-id` - The ID of a
|
1216
|
+
# * `dhcp-options-id` - The ID of a DHCP options set.
|
1214
1217
|
#
|
1215
1218
|
# * `key` - The key for one of the options (for example, `domain-name`).
|
1216
1219
|
#
|
1217
1220
|
# * `value` - The value for one of the options.
|
1218
1221
|
#
|
1222
|
+
# * `owner-id` - The ID of the AWS account that owns the DHCP options
|
1223
|
+
# set.
|
1224
|
+
#
|
1219
1225
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1220
1226
|
# the resource. Use the tag key in the filter name and the tag value
|
1221
1227
|
# as the filter value. For example, to find all resources that have a
|
@@ -1733,6 +1739,9 @@ module Aws::EC2
|
|
1733
1739
|
#
|
1734
1740
|
# * `internet-gateway-id` - The ID of the Internet gateway.
|
1735
1741
|
#
|
1742
|
+
# * `owner-id` - The ID of the AWS account that owns the internet
|
1743
|
+
# gateway.
|
1744
|
+
#
|
1736
1745
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1737
1746
|
# the resource. Use the tag key in the filter name and the tag value
|
1738
1747
|
# as the filter value. For example, to find all resources that have a
|
@@ -1884,6 +1893,8 @@ module Aws::EC2
|
|
1884
1893
|
#
|
1885
1894
|
# * `network-acl-id` - The ID of the network ACL.
|
1886
1895
|
#
|
1896
|
+
# * `owner-id` - The ID of the AWS account that owns the network ACL.
|
1897
|
+
#
|
1887
1898
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1888
1899
|
# the resource. Use the tag key in the filter name and the tag value
|
1889
1900
|
# as the filter value. For example, to find all resources that have a
|
@@ -2189,6 +2200,8 @@ module Aws::EC2
|
|
2189
2200
|
# route table for the VPC (`true` \| `false`). Route tables that do
|
2190
2201
|
# not have an association ID are not returned in the response.
|
2191
2202
|
#
|
2203
|
+
# * `owner-id` - The ID of the AWS account that owns the route table.
|
2204
|
+
#
|
2192
2205
|
# * `route-table-id` - The ID of the route table.
|
2193
2206
|
#
|
2194
2207
|
# * `route.destination-cidr-block` - The IPv4 CIDR range specified in a
|
@@ -2526,20 +2539,23 @@ module Aws::EC2
|
|
2526
2539
|
# @option options [Array<Types::Filter>] :filters
|
2527
2540
|
# One or more filters.
|
2528
2541
|
#
|
2529
|
-
# * `
|
2530
|
-
# also use `
|
2542
|
+
# * `availability-zone` - The Availability Zone for the subnet. You can
|
2543
|
+
# also use `availabilityZone` as the filter name.
|
2544
|
+
#
|
2545
|
+
# * `availability-zone-id` - The ID of the Availability Zone for the
|
2546
|
+
# subnet. You can also use `availabilityZoneId` as the filter name.
|
2531
2547
|
#
|
2532
2548
|
# * `available-ip-address-count` - The number of IPv4 addresses in the
|
2533
2549
|
# subnet that are available.
|
2534
2550
|
#
|
2535
|
-
# * `
|
2551
|
+
# * `cidr-block` - The IPv4 CIDR block of the subnet. The CIDR block you
|
2536
2552
|
# specify must exactly match the subnet's CIDR block for information
|
2537
2553
|
# to be returned for the subnet. You can also use `cidr` or
|
2538
|
-
# `
|
2554
|
+
# `cidrBlock` as the filter names.
|
2539
2555
|
#
|
2540
|
-
# * `
|
2541
|
-
# the Availability Zone. You can also use `
|
2542
|
-
#
|
2556
|
+
# * `default-for-az` - Indicates whether this is the default subnet for
|
2557
|
+
# the Availability Zone. You can also use `defaultForAz` as the filter
|
2558
|
+
# name.
|
2543
2559
|
#
|
2544
2560
|
# * `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
|
2545
2561
|
# associated with the subnet.
|
@@ -2550,8 +2566,12 @@ module Aws::EC2
|
|
2550
2566
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
2551
2567
|
# block associated with the subnet.
|
2552
2568
|
#
|
2569
|
+
# * `owner-id` - The ID of the AWS account that owns the subnet.
|
2570
|
+
#
|
2553
2571
|
# * `state` - The state of the subnet (`pending` \| `available`).
|
2554
2572
|
#
|
2573
|
+
# * `subnet-arn` - The Amazon Resource Name (ARN) of the subnet.
|
2574
|
+
#
|
2555
2575
|
# * `subnet-id` - The ID of the subnet.
|
2556
2576
|
#
|
2557
2577
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
@@ -2907,6 +2927,8 @@ module Aws::EC2
|
|
2907
2927
|
#
|
2908
2928
|
# * `isDefault` - Indicates whether the VPC is the default VPC.
|
2909
2929
|
#
|
2930
|
+
# * `owner-id` - The ID of the AWS account that owns the VPC.
|
2931
|
+
#
|
2910
2932
|
# * `state` - The state of the VPC (`pending` \| `available`).
|
2911
2933
|
#
|
2912
2934
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -37,6 +37,12 @@ module Aws::EC2
|
|
37
37
|
data[:availability_zone]
|
38
38
|
end
|
39
39
|
|
40
|
+
# The AZ ID of the subnet.
|
41
|
+
# @return [String]
|
42
|
+
def availability_zone_id
|
43
|
+
data[:availability_zone_id]
|
44
|
+
end
|
45
|
+
|
40
46
|
# The number of unused private IPv4 addresses in the subnet. The IPv4
|
41
47
|
# addresses for any stopped instances are considered unavailable.
|
42
48
|
# @return [Integer]
|
@@ -76,6 +82,12 @@ module Aws::EC2
|
|
76
82
|
data[:vpc_id]
|
77
83
|
end
|
78
84
|
|
85
|
+
# The ID of the AWS account that owns the subnet.
|
86
|
+
# @return [String]
|
87
|
+
def owner_id
|
88
|
+
data[:owner_id]
|
89
|
+
end
|
90
|
+
|
79
91
|
# Indicates whether a network interface created in this subnet
|
80
92
|
# (including a network interface created by RunInstances) receives an
|
81
93
|
# IPv6 address.
|
@@ -96,6 +108,12 @@ module Aws::EC2
|
|
96
108
|
data[:tags]
|
97
109
|
end
|
98
110
|
|
111
|
+
# The Amazon Resource Name (ARN) of the subnet.
|
112
|
+
# @return [String]
|
113
|
+
def subnet_arn
|
114
|
+
data[:subnet_arn]
|
115
|
+
end
|
116
|
+
|
99
117
|
# @!endgroup
|
100
118
|
|
101
119
|
# @return [Client]
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -5374,6 +5374,7 @@ module Aws::EC2
|
|
5374
5374
|
#
|
5375
5375
|
# {
|
5376
5376
|
# availability_zone: "String",
|
5377
|
+
# availability_zone_id: "String",
|
5377
5378
|
# cidr_block: "String", # required
|
5378
5379
|
# ipv_6_cidr_block: "String",
|
5379
5380
|
# vpc_id: "String", # required
|
@@ -5388,6 +5389,10 @@ module Aws::EC2
|
|
5388
5389
|
# subnet.
|
5389
5390
|
# @return [String]
|
5390
5391
|
#
|
5392
|
+
# @!attribute [rw] availability_zone_id
|
5393
|
+
# The AZ ID of the subnet.
|
5394
|
+
# @return [String]
|
5395
|
+
#
|
5391
5396
|
# @!attribute [rw] cidr_block
|
5392
5397
|
# The IPv4 network range for the subnet, in CIDR notation. For
|
5393
5398
|
# example, `10.0.0.0/24`.
|
@@ -5413,6 +5418,7 @@ module Aws::EC2
|
|
5413
5418
|
#
|
5414
5419
|
class CreateSubnetRequest < Struct.new(
|
5415
5420
|
:availability_zone,
|
5421
|
+
:availability_zone_id,
|
5416
5422
|
:cidr_block,
|
5417
5423
|
:ipv_6_cidr_block,
|
5418
5424
|
:vpc_id,
|
@@ -8721,13 +8727,16 @@ module Aws::EC2
|
|
8721
8727
|
# @!attribute [rw] filters
|
8722
8728
|
# One or more filters.
|
8723
8729
|
#
|
8724
|
-
# * `dhcp-options-id` - The ID of a
|
8730
|
+
# * `dhcp-options-id` - The ID of a DHCP options set.
|
8725
8731
|
#
|
8726
8732
|
# * `key` - The key for one of the options (for example,
|
8727
8733
|
# `domain-name`).
|
8728
8734
|
#
|
8729
8735
|
# * `value` - The value for one of the options.
|
8730
8736
|
#
|
8737
|
+
# * `owner-id` - The ID of the AWS account that owns the DHCP options
|
8738
|
+
# set.
|
8739
|
+
#
|
8731
8740
|
# * `tag`\:<key> - The key/value combination of a tag assigned
|
8732
8741
|
# to the resource. Use the tag key in the filter name and the tag
|
8733
8742
|
# value as the filter value. For example, to find all resources that
|
@@ -10873,6 +10882,9 @@ module Aws::EC2
|
|
10873
10882
|
#
|
10874
10883
|
# * `internet-gateway-id` - The ID of the Internet gateway.
|
10875
10884
|
#
|
10885
|
+
# * `owner-id` - The ID of the AWS account that owns the internet
|
10886
|
+
# gateway.
|
10887
|
+
#
|
10876
10888
|
# * `tag`\:<key> - The key/value combination of a tag assigned
|
10877
10889
|
# to the resource. Use the tag key in the filter name and the tag
|
10878
10890
|
# value as the filter value. For example, to find all resources that
|
@@ -11389,6 +11401,8 @@ module Aws::EC2
|
|
11389
11401
|
#
|
11390
11402
|
# * `network-acl-id` - The ID of the network ACL.
|
11391
11403
|
#
|
11404
|
+
# * `owner-id` - The ID of the AWS account that owns the network ACL.
|
11405
|
+
#
|
11392
11406
|
# * `tag`\:<key> - The key/value combination of a tag assigned
|
11393
11407
|
# to the resource. Use the tag key in the filter name and the tag
|
11394
11408
|
# value as the filter value. For example, to find all resources that
|
@@ -12589,6 +12603,8 @@ module Aws::EC2
|
|
12589
12603
|
# route table for the VPC (`true` \| `false`). Route tables that do
|
12590
12604
|
# not have an association ID are not returned in the response.
|
12591
12605
|
#
|
12606
|
+
# * `owner-id` - The ID of the AWS account that owns the route table.
|
12607
|
+
#
|
12592
12608
|
# * `route-table-id` - The ID of the route table.
|
12593
12609
|
#
|
12594
12610
|
# * `route.destination-cidr-block` - The IPv4 CIDR range specified in
|
@@ -13938,19 +13954,22 @@ module Aws::EC2
|
|
13938
13954
|
# @!attribute [rw] filters
|
13939
13955
|
# One or more filters.
|
13940
13956
|
#
|
13941
|
-
# * `
|
13942
|
-
# also use `
|
13957
|
+
# * `availability-zone` - The Availability Zone for the subnet. You
|
13958
|
+
# can also use `availabilityZone` as the filter name.
|
13959
|
+
#
|
13960
|
+
# * `availability-zone-id` - The ID of the Availability Zone for the
|
13961
|
+
# subnet. You can also use `availabilityZoneId` as the filter name.
|
13943
13962
|
#
|
13944
13963
|
# * `available-ip-address-count` - The number of IPv4 addresses in the
|
13945
13964
|
# subnet that are available.
|
13946
13965
|
#
|
13947
|
-
# * `
|
13966
|
+
# * `cidr-block` - The IPv4 CIDR block of the subnet. The CIDR block
|
13948
13967
|
# you specify must exactly match the subnet's CIDR block for
|
13949
13968
|
# information to be returned for the subnet. You can also use `cidr`
|
13950
|
-
# or `
|
13969
|
+
# or `cidrBlock` as the filter names.
|
13951
13970
|
#
|
13952
|
-
# * `
|
13953
|
-
# the Availability Zone. You can also use `
|
13971
|
+
# * `default-for-az` - Indicates whether this is the default subnet
|
13972
|
+
# for the Availability Zone. You can also use `defaultForAz` as the
|
13954
13973
|
# filter name.
|
13955
13974
|
#
|
13956
13975
|
# * `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
|
@@ -13962,8 +13981,12 @@ module Aws::EC2
|
|
13962
13981
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
13963
13982
|
# block associated with the subnet.
|
13964
13983
|
#
|
13984
|
+
# * `owner-id` - The ID of the AWS account that owns the subnet.
|
13985
|
+
#
|
13965
13986
|
# * `state` - The state of the subnet (`pending` \| `available`).
|
13966
13987
|
#
|
13988
|
+
# * `subnet-arn` - The Amazon Resource Name (ARN) of the subnet.
|
13989
|
+
#
|
13967
13990
|
# * `subnet-id` - The ID of the subnet.
|
13968
13991
|
#
|
13969
13992
|
# * `tag`\:<key> - The key/value combination of a tag assigned
|
@@ -15616,6 +15639,8 @@ module Aws::EC2
|
|
15616
15639
|
#
|
15617
15640
|
# * `isDefault` - Indicates whether the VPC is the default VPC.
|
15618
15641
|
#
|
15642
|
+
# * `owner-id` - The ID of the AWS account that owns the VPC.
|
15643
|
+
#
|
15619
15644
|
# * `state` - The state of the VPC (`pending` \| `available`).
|
15620
15645
|
#
|
15621
15646
|
# * `tag`\:<key> - The key/value combination of a tag assigned
|
@@ -16071,6 +16096,10 @@ module Aws::EC2
|
|
16071
16096
|
# The ID of the set of DHCP options.
|
16072
16097
|
# @return [String]
|
16073
16098
|
#
|
16099
|
+
# @!attribute [rw] owner_id
|
16100
|
+
# The ID of the AWS account that owns the DHCP options set.
|
16101
|
+
# @return [String]
|
16102
|
+
#
|
16074
16103
|
# @!attribute [rw] tags
|
16075
16104
|
# Any tags assigned to the DHCP options set.
|
16076
16105
|
# @return [Array<Types::Tag>]
|
@@ -16080,6 +16109,7 @@ module Aws::EC2
|
|
16080
16109
|
class DhcpOptions < Struct.new(
|
16081
16110
|
:dhcp_configurations,
|
16082
16111
|
:dhcp_options_id,
|
16112
|
+
:owner_id,
|
16083
16113
|
:tags)
|
16084
16114
|
include Aws::Structure
|
16085
16115
|
end
|
@@ -21249,6 +21279,10 @@ module Aws::EC2
|
|
21249
21279
|
# The ID of the internet gateway.
|
21250
21280
|
# @return [String]
|
21251
21281
|
#
|
21282
|
+
# @!attribute [rw] owner_id
|
21283
|
+
# The ID of the AWS account that owns the internet gateway.
|
21284
|
+
# @return [String]
|
21285
|
+
#
|
21252
21286
|
# @!attribute [rw] tags
|
21253
21287
|
# Any tags assigned to the internet gateway.
|
21254
21288
|
# @return [Array<Types::Tag>]
|
@@ -21258,6 +21292,7 @@ module Aws::EC2
|
|
21258
21292
|
class InternetGateway < Struct.new(
|
21259
21293
|
:attachments,
|
21260
21294
|
:internet_gateway_id,
|
21295
|
+
:owner_id,
|
21261
21296
|
:tags)
|
21262
21297
|
include Aws::Structure
|
21263
21298
|
end
|
@@ -24977,6 +25012,10 @@ module Aws::EC2
|
|
24977
25012
|
# The ID of the VPC for the network ACL.
|
24978
25013
|
# @return [String]
|
24979
25014
|
#
|
25015
|
+
# @!attribute [rw] owner_id
|
25016
|
+
# The ID of the AWS account that owns the network ACL.
|
25017
|
+
# @return [String]
|
25018
|
+
#
|
24980
25019
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkAcl AWS API Documentation
|
24981
25020
|
#
|
24982
25021
|
class NetworkAcl < Struct.new(
|
@@ -24985,7 +25024,8 @@ module Aws::EC2
|
|
24985
25024
|
:is_default,
|
24986
25025
|
:network_acl_id,
|
24987
25026
|
:tags,
|
24988
|
-
:vpc_id
|
25027
|
+
:vpc_id,
|
25028
|
+
:owner_id)
|
24989
25029
|
include Aws::Structure
|
24990
25030
|
end
|
24991
25031
|
|
@@ -29355,6 +29395,10 @@ module Aws::EC2
|
|
29355
29395
|
# The ID of the VPC.
|
29356
29396
|
# @return [String]
|
29357
29397
|
#
|
29398
|
+
# @!attribute [rw] owner_id
|
29399
|
+
# The ID of the AWS account that owns the route table.
|
29400
|
+
# @return [String]
|
29401
|
+
#
|
29358
29402
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RouteTable AWS API Documentation
|
29359
29403
|
#
|
29360
29404
|
class RouteTable < Struct.new(
|
@@ -29363,7 +29407,8 @@ module Aws::EC2
|
|
29363
29407
|
:route_table_id,
|
29364
29408
|
:routes,
|
29365
29409
|
:tags,
|
29366
|
-
:vpc_id
|
29410
|
+
:vpc_id,
|
29411
|
+
:owner_id)
|
29367
29412
|
include Aws::Structure
|
29368
29413
|
end
|
29369
29414
|
|
@@ -32752,6 +32797,10 @@ module Aws::EC2
|
|
32752
32797
|
# The Availability Zone of the subnet.
|
32753
32798
|
# @return [String]
|
32754
32799
|
#
|
32800
|
+
# @!attribute [rw] availability_zone_id
|
32801
|
+
# The AZ ID of the subnet.
|
32802
|
+
# @return [String]
|
32803
|
+
#
|
32755
32804
|
# @!attribute [rw] available_ip_address_count
|
32756
32805
|
# The number of unused private IPv4 addresses in the subnet. The IPv4
|
32757
32806
|
# addresses for any stopped instances are considered unavailable.
|
@@ -32783,6 +32832,10 @@ module Aws::EC2
|
|
32783
32832
|
# The ID of the VPC the subnet is in.
|
32784
32833
|
# @return [String]
|
32785
32834
|
#
|
32835
|
+
# @!attribute [rw] owner_id
|
32836
|
+
# The ID of the AWS account that owns the subnet.
|
32837
|
+
# @return [String]
|
32838
|
+
#
|
32786
32839
|
# @!attribute [rw] assign_ipv_6_address_on_creation
|
32787
32840
|
# Indicates whether a network interface created in this subnet
|
32788
32841
|
# (including a network interface created by RunInstances) receives an
|
@@ -32797,10 +32850,15 @@ module Aws::EC2
|
|
32797
32850
|
# Any tags assigned to the subnet.
|
32798
32851
|
# @return [Array<Types::Tag>]
|
32799
32852
|
#
|
32853
|
+
# @!attribute [rw] subnet_arn
|
32854
|
+
# The Amazon Resource Name (ARN) of the subnet.
|
32855
|
+
# @return [String]
|
32856
|
+
#
|
32800
32857
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Subnet AWS API Documentation
|
32801
32858
|
#
|
32802
32859
|
class Subnet < Struct.new(
|
32803
32860
|
:availability_zone,
|
32861
|
+
:availability_zone_id,
|
32804
32862
|
:available_ip_address_count,
|
32805
32863
|
:cidr_block,
|
32806
32864
|
:default_for_az,
|
@@ -32808,9 +32866,11 @@ module Aws::EC2
|
|
32808
32866
|
:state,
|
32809
32867
|
:subnet_id,
|
32810
32868
|
:vpc_id,
|
32869
|
+
:owner_id,
|
32811
32870
|
:assign_ipv_6_address_on_creation,
|
32812
32871
|
:ipv_6_cidr_block_association_set,
|
32813
|
-
:tags
|
32872
|
+
:tags,
|
32873
|
+
:subnet_arn)
|
32814
32874
|
include Aws::Structure
|
32815
32875
|
end
|
32816
32876
|
|
@@ -34656,6 +34716,10 @@ module Aws::EC2
|
|
34656
34716
|
# The ID of the VPC.
|
34657
34717
|
# @return [String]
|
34658
34718
|
#
|
34719
|
+
# @!attribute [rw] owner_id
|
34720
|
+
# The ID of the AWS account that owns the VPC.
|
34721
|
+
# @return [String]
|
34722
|
+
#
|
34659
34723
|
# @!attribute [rw] instance_tenancy
|
34660
34724
|
# The allowed tenancy of instances launched into the VPC.
|
34661
34725
|
# @return [String]
|
@@ -34683,6 +34747,7 @@ module Aws::EC2
|
|
34683
34747
|
:dhcp_options_id,
|
34684
34748
|
:state,
|
34685
34749
|
:vpc_id,
|
34750
|
+
:owner_id,
|
34686
34751
|
:instance_tenancy,
|
34687
34752
|
:ipv_6_cidr_block_association_set,
|
34688
34753
|
:cidr_block_association_set,
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -50,6 +50,12 @@ module Aws::EC2
|
|
50
50
|
data[:state]
|
51
51
|
end
|
52
52
|
|
53
|
+
# The ID of the AWS account that owns the VPC.
|
54
|
+
# @return [String]
|
55
|
+
def owner_id
|
56
|
+
data[:owner_id]
|
57
|
+
end
|
58
|
+
|
53
59
|
# The allowed tenancy of instances launched into the VPC.
|
54
60
|
# @return [String]
|
55
61
|
def instance_tenancy
|
@@ -418,6 +424,7 @@ module Aws::EC2
|
|
418
424
|
#
|
419
425
|
# subnet = vpc.create_subnet({
|
420
426
|
# availability_zone: "String",
|
427
|
+
# availability_zone_id: "String",
|
421
428
|
# cidr_block: "String", # required
|
422
429
|
# ipv_6_cidr_block: "String",
|
423
430
|
# dry_run: false,
|
@@ -429,6 +436,8 @@ module Aws::EC2
|
|
429
436
|
# Default: AWS selects one for you. If you create more than one subnet
|
430
437
|
# in your VPC, we may not necessarily select a different zone for each
|
431
438
|
# subnet.
|
439
|
+
# @option options [String] :availability_zone_id
|
440
|
+
# The AZ ID of the subnet.
|
432
441
|
# @option options [required, String] :cidr_block
|
433
442
|
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
434
443
|
# `10.0.0.0/24`.
|
@@ -1101,6 +1110,9 @@ module Aws::EC2
|
|
1101
1110
|
#
|
1102
1111
|
# * `internet-gateway-id` - The ID of the Internet gateway.
|
1103
1112
|
#
|
1113
|
+
# * `owner-id` - The ID of the AWS account that owns the internet
|
1114
|
+
# gateway.
|
1115
|
+
#
|
1104
1116
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1105
1117
|
# the resource. Use the tag key in the filter name and the tag value
|
1106
1118
|
# as the filter value. For example, to find all resources that have a
|
@@ -1193,6 +1205,8 @@ module Aws::EC2
|
|
1193
1205
|
#
|
1194
1206
|
# * `network-acl-id` - The ID of the network ACL.
|
1195
1207
|
#
|
1208
|
+
# * `owner-id` - The ID of the AWS account that owns the network ACL.
|
1209
|
+
#
|
1196
1210
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1197
1211
|
# the resource. Use the tag key in the filter name and the tag value
|
1198
1212
|
# as the filter value. For example, to find all resources that have a
|
@@ -1503,6 +1517,8 @@ module Aws::EC2
|
|
1503
1517
|
# route table for the VPC (`true` \| `false`). Route tables that do
|
1504
1518
|
# not have an association ID are not returned in the response.
|
1505
1519
|
#
|
1520
|
+
# * `owner-id` - The ID of the AWS account that owns the route table.
|
1521
|
+
#
|
1506
1522
|
# * `route-table-id` - The ID of the route table.
|
1507
1523
|
#
|
1508
1524
|
# * `route.destination-cidr-block` - The IPv4 CIDR range specified in a
|
@@ -1737,20 +1753,23 @@ module Aws::EC2
|
|
1737
1753
|
# @option options [Array<Types::Filter>] :filters
|
1738
1754
|
# One or more filters.
|
1739
1755
|
#
|
1740
|
-
# * `
|
1741
|
-
# also use `
|
1756
|
+
# * `availability-zone` - The Availability Zone for the subnet. You can
|
1757
|
+
# also use `availabilityZone` as the filter name.
|
1758
|
+
#
|
1759
|
+
# * `availability-zone-id` - The ID of the Availability Zone for the
|
1760
|
+
# subnet. You can also use `availabilityZoneId` as the filter name.
|
1742
1761
|
#
|
1743
1762
|
# * `available-ip-address-count` - The number of IPv4 addresses in the
|
1744
1763
|
# subnet that are available.
|
1745
1764
|
#
|
1746
|
-
# * `
|
1765
|
+
# * `cidr-block` - The IPv4 CIDR block of the subnet. The CIDR block you
|
1747
1766
|
# specify must exactly match the subnet's CIDR block for information
|
1748
1767
|
# to be returned for the subnet. You can also use `cidr` or
|
1749
|
-
# `
|
1768
|
+
# `cidrBlock` as the filter names.
|
1750
1769
|
#
|
1751
|
-
# * `
|
1752
|
-
# the Availability Zone. You can also use `
|
1753
|
-
#
|
1770
|
+
# * `default-for-az` - Indicates whether this is the default subnet for
|
1771
|
+
# the Availability Zone. You can also use `defaultForAz` as the filter
|
1772
|
+
# name.
|
1754
1773
|
#
|
1755
1774
|
# * `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
|
1756
1775
|
# associated with the subnet.
|
@@ -1761,8 +1780,12 @@ module Aws::EC2
|
|
1761
1780
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
1762
1781
|
# block associated with the subnet.
|
1763
1782
|
#
|
1783
|
+
# * `owner-id` - The ID of the AWS account that owns the subnet.
|
1784
|
+
#
|
1764
1785
|
# * `state` - The state of the subnet (`pending` \| `available`).
|
1765
1786
|
#
|
1787
|
+
# * `subnet-arn` - The Amazon Resource Name (ARN) of the subnet.
|
1788
|
+
#
|
1766
1789
|
# * `subnet-id` - The ID of the subnet.
|
1767
1790
|
#
|
1768
1791
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
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.61.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: 2018-11-
|
11
|
+
date: 2018-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|