aws-sdk-ec2 1.266.0 → 1.267.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +19 -19
- data/lib/aws-sdk-ec2/client_api.rb +3 -3
- data/lib/aws-sdk-ec2/resource.rb +6 -6
- data/lib/aws-sdk-ec2/types.rb +27 -27
- data/lib/aws-sdk-ec2/vpc.rb +6 -6
- data/lib/aws-sdk-ec2.rb +1 -1
- 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: 030210e5379790a3130d50c1d942d4f340133008b5691ca6116454ea9b2442d7
|
4
|
+
data.tar.gz: a605214ca4f543c3ac769ad1c9f975957dcba846cb22c673d2fb19b6b4644f3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63978c0c6e341d80c95bffff4687c32798e38aeacd039bdf0a74c8fd08f57c17840b0543ee453f3c0a5c8b453738c4c266f0cd0e9930e89bfb00a81392fa78ca
|
7
|
+
data.tar.gz: c73a056949ca9bf046dbac821c0a438ae06f3547f70e31fff55194c2bab7f3b29ede08e7581913a08e1e9e56614cdbe4b24237b061f89698f08b8c1861dfce12
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.267.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -7023,15 +7023,15 @@ module Aws::EC2
|
|
7023
7023
|
# @option params [required, String] :local_gateway_route_table_id
|
7024
7024
|
# The ID of the local gateway route table.
|
7025
7025
|
#
|
7026
|
+
# @option params [required, String] :local_gateway_virtual_interface_group_id
|
7027
|
+
# The ID of the virtual interface group.
|
7028
|
+
#
|
7026
7029
|
# @option params [Boolean] :dry_run
|
7027
7030
|
# Checks whether you have the required permissions for the action,
|
7028
7031
|
# without actually making the request, and provides an error response.
|
7029
7032
|
# If you have the required permissions, the error response is
|
7030
7033
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
7031
7034
|
#
|
7032
|
-
# @option params [required, String] :local_gateway_virtual_interface_group_id
|
7033
|
-
# The ID of the virtual interface group.
|
7034
|
-
#
|
7035
7035
|
# @return [Types::CreateLocalGatewayRouteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7036
7036
|
#
|
7037
7037
|
# * {Types::CreateLocalGatewayRouteResult#route #route} => Types::LocalGatewayRoute
|
@@ -7041,8 +7041,8 @@ module Aws::EC2
|
|
7041
7041
|
# resp = client.create_local_gateway_route({
|
7042
7042
|
# destination_cidr_block: "String", # required
|
7043
7043
|
# local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
|
7044
|
-
# dry_run: false,
|
7045
7044
|
# local_gateway_virtual_interface_group_id: "LocalGatewayVirtualInterfaceGroupId", # required
|
7045
|
+
# dry_run: false,
|
7046
7046
|
# })
|
7047
7047
|
#
|
7048
7048
|
# @example Response structure
|
@@ -9274,6 +9274,12 @@ module Aws::EC2
|
|
9274
9274
|
# @option params [String] :availability_zone_id
|
9275
9275
|
# The AZ ID or the Local Zone ID of the subnet.
|
9276
9276
|
#
|
9277
|
+
# @option params [required, String] :cidr_block
|
9278
|
+
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
9279
|
+
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
9280
|
+
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
9281
|
+
# `100.68.0.0/18`.
|
9282
|
+
#
|
9277
9283
|
# @option params [String] :ipv_6_cidr_block
|
9278
9284
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
9279
9285
|
# size must use a /64 prefix length.
|
@@ -9292,12 +9298,6 @@ module Aws::EC2
|
|
9292
9298
|
# If you have the required permissions, the error response is
|
9293
9299
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
9294
9300
|
#
|
9295
|
-
# @option params [required, String] :cidr_block
|
9296
|
-
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
9297
|
-
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
9298
|
-
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
9299
|
-
# `100.68.0.0/18`.
|
9300
|
-
#
|
9301
9301
|
# @return [Types::CreateSubnetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9302
9302
|
#
|
9303
9303
|
# * {Types::CreateSubnetResult#subnet #subnet} => Types::Subnet
|
@@ -9341,11 +9341,11 @@ module Aws::EC2
|
|
9341
9341
|
# ],
|
9342
9342
|
# availability_zone: "String",
|
9343
9343
|
# availability_zone_id: "String",
|
9344
|
+
# cidr_block: "String", # required
|
9344
9345
|
# ipv_6_cidr_block: "String",
|
9345
9346
|
# outpost_arn: "String",
|
9346
9347
|
# vpc_id: "VpcId", # required
|
9347
9348
|
# dry_run: false,
|
9348
|
-
# cidr_block: "String", # required
|
9349
9349
|
# })
|
9350
9350
|
#
|
9351
9351
|
# @example Response structure
|
@@ -42658,6 +42658,9 @@ module Aws::EC2
|
|
42658
42658
|
# @option params [required, String] :local_gateway_route_table_id
|
42659
42659
|
# The ID of the local gateway route table.
|
42660
42660
|
#
|
42661
|
+
# @option params [Array<Types::Filter>] :filters
|
42662
|
+
# One or more filters.
|
42663
|
+
#
|
42661
42664
|
# @option params [Integer] :max_results
|
42662
42665
|
# The maximum number of results to return with a single call. To
|
42663
42666
|
# retrieve the remaining results, make another call with the returned
|
@@ -42672,9 +42675,6 @@ module Aws::EC2
|
|
42672
42675
|
# If you have the required permissions, the error response is
|
42673
42676
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
42674
42677
|
#
|
42675
|
-
# @option params [required, Array<Types::Filter>] :filters
|
42676
|
-
# One or more filters.
|
42677
|
-
#
|
42678
42678
|
# @return [Types::SearchLocalGatewayRoutesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
42679
42679
|
#
|
42680
42680
|
# * {Types::SearchLocalGatewayRoutesResult#routes #routes} => Array<Types::LocalGatewayRoute>
|
@@ -42686,15 +42686,15 @@ module Aws::EC2
|
|
42686
42686
|
#
|
42687
42687
|
# resp = client.search_local_gateway_routes({
|
42688
42688
|
# local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
|
42689
|
-
#
|
42690
|
-
# next_token: "String",
|
42691
|
-
# dry_run: false,
|
42692
|
-
# filters: [ # required
|
42689
|
+
# filters: [
|
42693
42690
|
# {
|
42694
42691
|
# name: "String",
|
42695
42692
|
# values: ["String"],
|
42696
42693
|
# },
|
42697
42694
|
# ],
|
42695
|
+
# max_results: 1,
|
42696
|
+
# next_token: "String",
|
42697
|
+
# dry_run: false,
|
42698
42698
|
# })
|
42699
42699
|
#
|
42700
42700
|
# @example Response structure
|
@@ -44169,7 +44169,7 @@ module Aws::EC2
|
|
44169
44169
|
params: params,
|
44170
44170
|
config: config)
|
44171
44171
|
context[:gem_name] = 'aws-sdk-ec2'
|
44172
|
-
context[:gem_version] = '1.
|
44172
|
+
context[:gem_version] = '1.267.0'
|
44173
44173
|
Seahorse::Client::Request.new(handlers, context)
|
44174
44174
|
end
|
44175
44175
|
|
@@ -3680,8 +3680,8 @@ module Aws::EC2
|
|
3680
3680
|
|
3681
3681
|
CreateLocalGatewayRouteRequest.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DestinationCidrBlock"))
|
3682
3682
|
CreateLocalGatewayRouteRequest.add_member(:local_gateway_route_table_id, Shapes::ShapeRef.new(shape: LocalGatewayRoutetableId, required: true, location_name: "LocalGatewayRouteTableId"))
|
3683
|
-
CreateLocalGatewayRouteRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3684
3683
|
CreateLocalGatewayRouteRequest.add_member(:local_gateway_virtual_interface_group_id, Shapes::ShapeRef.new(shape: LocalGatewayVirtualInterfaceGroupId, required: true, location_name: "LocalGatewayVirtualInterfaceGroupId"))
|
3684
|
+
CreateLocalGatewayRouteRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3685
3685
|
CreateLocalGatewayRouteRequest.struct_class = Types::CreateLocalGatewayRouteRequest
|
3686
3686
|
|
3687
3687
|
CreateLocalGatewayRouteResult.add_member(:route, Shapes::ShapeRef.new(shape: LocalGatewayRoute, location_name: "route"))
|
@@ -3913,11 +3913,11 @@ module Aws::EC2
|
|
3913
3913
|
CreateSubnetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3914
3914
|
CreateSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
3915
3915
|
CreateSubnetRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
|
3916
|
+
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
|
3916
3917
|
CreateSubnetRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlock"))
|
3917
3918
|
CreateSubnetRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
|
3918
3919
|
CreateSubnetRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
3919
3920
|
CreateSubnetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
3920
|
-
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
|
3921
3921
|
CreateSubnetRequest.struct_class = Types::CreateSubnetRequest
|
3922
3922
|
|
3923
3923
|
CreateSubnetResult.add_member(:subnet, Shapes::ShapeRef.new(shape: Subnet, location_name: "subnet"))
|
@@ -10314,10 +10314,10 @@ module Aws::EC2
|
|
10314
10314
|
ScheduledInstancesSecurityGroupIdSet.member = Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "SecurityGroupId")
|
10315
10315
|
|
10316
10316
|
SearchLocalGatewayRoutesRequest.add_member(:local_gateway_route_table_id, Shapes::ShapeRef.new(shape: LocalGatewayRoutetableId, required: true, location_name: "LocalGatewayRouteTableId"))
|
10317
|
+
SearchLocalGatewayRoutesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
10317
10318
|
SearchLocalGatewayRoutesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
10318
10319
|
SearchLocalGatewayRoutesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
10319
10320
|
SearchLocalGatewayRoutesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
10320
|
-
SearchLocalGatewayRoutesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, required: true, location_name: "Filter"))
|
10321
10321
|
SearchLocalGatewayRoutesRequest.struct_class = Types::SearchLocalGatewayRoutesRequest
|
10322
10322
|
|
10323
10323
|
SearchLocalGatewayRoutesResult.add_member(:routes, Shapes::ShapeRef.new(shape: LocalGatewayRouteList, location_name: "routeSet"))
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -1096,11 +1096,11 @@ module Aws::EC2
|
|
1096
1096
|
# ],
|
1097
1097
|
# availability_zone: "String",
|
1098
1098
|
# availability_zone_id: "String",
|
1099
|
+
# cidr_block: "String", # required
|
1099
1100
|
# ipv_6_cidr_block: "String",
|
1100
1101
|
# outpost_arn: "String",
|
1101
1102
|
# vpc_id: "VpcId", # required
|
1102
1103
|
# dry_run: false,
|
1103
|
-
# cidr_block: "String", # required
|
1104
1104
|
# })
|
1105
1105
|
# @param [Hash] options ({})
|
1106
1106
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -1125,6 +1125,11 @@ module Aws::EC2
|
|
1125
1125
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
|
1126
1126
|
# @option options [String] :availability_zone_id
|
1127
1127
|
# The AZ ID or the Local Zone ID of the subnet.
|
1128
|
+
# @option options [required, String] :cidr_block
|
1129
|
+
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
1130
|
+
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
1131
|
+
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
1132
|
+
# `100.68.0.0/18`.
|
1128
1133
|
# @option options [String] :ipv_6_cidr_block
|
1129
1134
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
1130
1135
|
# size must use a /64 prefix length.
|
@@ -1139,11 +1144,6 @@ module Aws::EC2
|
|
1139
1144
|
# without actually making the request, and provides an error response.
|
1140
1145
|
# If you have the required permissions, the error response is
|
1141
1146
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1142
|
-
# @option options [required, String] :cidr_block
|
1143
|
-
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
1144
|
-
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
1145
|
-
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
1146
|
-
# `100.68.0.0/18`.
|
1147
1147
|
# @return [Subnet]
|
1148
1148
|
def create_subnet(options = {})
|
1149
1149
|
resp = @client.create_subnet(options)
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -8455,8 +8455,8 @@ module Aws::EC2
|
|
8455
8455
|
# {
|
8456
8456
|
# destination_cidr_block: "String", # required
|
8457
8457
|
# local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
|
8458
|
-
# dry_run: false,
|
8459
8458
|
# local_gateway_virtual_interface_group_id: "LocalGatewayVirtualInterfaceGroupId", # required
|
8459
|
+
# dry_run: false,
|
8460
8460
|
# }
|
8461
8461
|
#
|
8462
8462
|
# @!attribute [rw] destination_cidr_block
|
@@ -8468,6 +8468,10 @@ module Aws::EC2
|
|
8468
8468
|
# The ID of the local gateway route table.
|
8469
8469
|
# @return [String]
|
8470
8470
|
#
|
8471
|
+
# @!attribute [rw] local_gateway_virtual_interface_group_id
|
8472
|
+
# The ID of the virtual interface group.
|
8473
|
+
# @return [String]
|
8474
|
+
#
|
8471
8475
|
# @!attribute [rw] dry_run
|
8472
8476
|
# Checks whether you have the required permissions for the action,
|
8473
8477
|
# without actually making the request, and provides an error response.
|
@@ -8475,17 +8479,13 @@ module Aws::EC2
|
|
8475
8479
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
8476
8480
|
# @return [Boolean]
|
8477
8481
|
#
|
8478
|
-
# @!attribute [rw] local_gateway_virtual_interface_group_id
|
8479
|
-
# The ID of the virtual interface group.
|
8480
|
-
# @return [String]
|
8481
|
-
#
|
8482
8482
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLocalGatewayRouteRequest AWS API Documentation
|
8483
8483
|
#
|
8484
8484
|
class CreateLocalGatewayRouteRequest < Struct.new(
|
8485
8485
|
:destination_cidr_block,
|
8486
8486
|
:local_gateway_route_table_id,
|
8487
|
-
:
|
8488
|
-
:
|
8487
|
+
:local_gateway_virtual_interface_group_id,
|
8488
|
+
:dry_run)
|
8489
8489
|
SENSITIVE = []
|
8490
8490
|
include Aws::Structure
|
8491
8491
|
end
|
@@ -10269,11 +10269,11 @@ module Aws::EC2
|
|
10269
10269
|
# ],
|
10270
10270
|
# availability_zone: "String",
|
10271
10271
|
# availability_zone_id: "String",
|
10272
|
+
# cidr_block: "String", # required
|
10272
10273
|
# ipv_6_cidr_block: "String",
|
10273
10274
|
# outpost_arn: "String",
|
10274
10275
|
# vpc_id: "VpcId", # required
|
10275
10276
|
# dry_run: false,
|
10276
|
-
# cidr_block: "String", # required
|
10277
10277
|
# }
|
10278
10278
|
#
|
10279
10279
|
# @!attribute [rw] tag_specifications
|
@@ -10304,6 +10304,13 @@ module Aws::EC2
|
|
10304
10304
|
# The AZ ID or the Local Zone ID of the subnet.
|
10305
10305
|
# @return [String]
|
10306
10306
|
#
|
10307
|
+
# @!attribute [rw] cidr_block
|
10308
|
+
# The IPv4 network range for the subnet, in CIDR notation. For
|
10309
|
+
# example, `10.0.0.0/24`. We modify the specified CIDR block to its
|
10310
|
+
# canonical form; for example, if you specify `100.68.0.18/18`, we
|
10311
|
+
# modify it to `100.68.0.0/18`.
|
10312
|
+
# @return [String]
|
10313
|
+
#
|
10307
10314
|
# @!attribute [rw] ipv_6_cidr_block
|
10308
10315
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
10309
10316
|
# size must use a /64 prefix length.
|
@@ -10326,24 +10333,17 @@ module Aws::EC2
|
|
10326
10333
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
10327
10334
|
# @return [Boolean]
|
10328
10335
|
#
|
10329
|
-
# @!attribute [rw] cidr_block
|
10330
|
-
# The IPv4 network range for the subnet, in CIDR notation. For
|
10331
|
-
# example, `10.0.0.0/24`. We modify the specified CIDR block to its
|
10332
|
-
# canonical form; for example, if you specify `100.68.0.18/18`, we
|
10333
|
-
# modify it to `100.68.0.0/18`.
|
10334
|
-
# @return [String]
|
10335
|
-
#
|
10336
10336
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetRequest AWS API Documentation
|
10337
10337
|
#
|
10338
10338
|
class CreateSubnetRequest < Struct.new(
|
10339
10339
|
:tag_specifications,
|
10340
10340
|
:availability_zone,
|
10341
10341
|
:availability_zone_id,
|
10342
|
+
:cidr_block,
|
10342
10343
|
:ipv_6_cidr_block,
|
10343
10344
|
:outpost_arn,
|
10344
10345
|
:vpc_id,
|
10345
|
-
:dry_run
|
10346
|
-
:cidr_block)
|
10346
|
+
:dry_run)
|
10347
10347
|
SENSITIVE = []
|
10348
10348
|
include Aws::Structure
|
10349
10349
|
end
|
@@ -52572,21 +52572,25 @@ module Aws::EC2
|
|
52572
52572
|
#
|
52573
52573
|
# {
|
52574
52574
|
# local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
|
52575
|
-
#
|
52576
|
-
# next_token: "String",
|
52577
|
-
# dry_run: false,
|
52578
|
-
# filters: [ # required
|
52575
|
+
# filters: [
|
52579
52576
|
# {
|
52580
52577
|
# name: "String",
|
52581
52578
|
# values: ["String"],
|
52582
52579
|
# },
|
52583
52580
|
# ],
|
52581
|
+
# max_results: 1,
|
52582
|
+
# next_token: "String",
|
52583
|
+
# dry_run: false,
|
52584
52584
|
# }
|
52585
52585
|
#
|
52586
52586
|
# @!attribute [rw] local_gateway_route_table_id
|
52587
52587
|
# The ID of the local gateway route table.
|
52588
52588
|
# @return [String]
|
52589
52589
|
#
|
52590
|
+
# @!attribute [rw] filters
|
52591
|
+
# One or more filters.
|
52592
|
+
# @return [Array<Types::Filter>]
|
52593
|
+
#
|
52590
52594
|
# @!attribute [rw] max_results
|
52591
52595
|
# The maximum number of results to return with a single call. To
|
52592
52596
|
# retrieve the remaining results, make another call with the returned
|
@@ -52604,18 +52608,14 @@ module Aws::EC2
|
|
52604
52608
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
52605
52609
|
# @return [Boolean]
|
52606
52610
|
#
|
52607
|
-
# @!attribute [rw] filters
|
52608
|
-
# One or more filters.
|
52609
|
-
# @return [Array<Types::Filter>]
|
52610
|
-
#
|
52611
52611
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SearchLocalGatewayRoutesRequest AWS API Documentation
|
52612
52612
|
#
|
52613
52613
|
class SearchLocalGatewayRoutesRequest < Struct.new(
|
52614
52614
|
:local_gateway_route_table_id,
|
52615
|
+
:filters,
|
52615
52616
|
:max_results,
|
52616
52617
|
:next_token,
|
52617
|
-
:dry_run
|
52618
|
-
:filters)
|
52618
|
+
:dry_run)
|
52619
52619
|
SENSITIVE = []
|
52620
52620
|
include Aws::Structure
|
52621
52621
|
end
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -480,10 +480,10 @@ module Aws::EC2
|
|
480
480
|
# ],
|
481
481
|
# availability_zone: "String",
|
482
482
|
# availability_zone_id: "String",
|
483
|
+
# cidr_block: "String", # required
|
483
484
|
# ipv_6_cidr_block: "String",
|
484
485
|
# outpost_arn: "String",
|
485
486
|
# dry_run: false,
|
486
|
-
# cidr_block: "String", # required
|
487
487
|
# })
|
488
488
|
# @param [Hash] options ({})
|
489
489
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -508,6 +508,11 @@ module Aws::EC2
|
|
508
508
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
|
509
509
|
# @option options [String] :availability_zone_id
|
510
510
|
# The AZ ID or the Local Zone ID of the subnet.
|
511
|
+
# @option options [required, String] :cidr_block
|
512
|
+
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
513
|
+
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
514
|
+
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
515
|
+
# `100.68.0.0/18`.
|
511
516
|
# @option options [String] :ipv_6_cidr_block
|
512
517
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
513
518
|
# size must use a /64 prefix length.
|
@@ -520,11 +525,6 @@ module Aws::EC2
|
|
520
525
|
# without actually making the request, and provides an error response.
|
521
526
|
# If you have the required permissions, the error response is
|
522
527
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
523
|
-
# @option options [required, String] :cidr_block
|
524
|
-
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
525
|
-
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
526
|
-
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
527
|
-
# `100.68.0.0/18`.
|
528
528
|
# @return [Subnet]
|
529
529
|
def create_subnet(options = {})
|
530
530
|
options = options.merge(vpc_id: @id)
|
data/lib/aws-sdk-ec2.rb
CHANGED
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.267.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: 2021-10-
|
11
|
+
date: 2021-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|