aws-sdk-ec2 1.263.0 → 1.267.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +634 -105
- data/lib/aws-sdk-ec2/client_api.rb +249 -7
- data/lib/aws-sdk-ec2/instance.rb +31 -3
- data/lib/aws-sdk-ec2/resource.rb +9 -9
- data/lib/aws-sdk-ec2/subnet.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +1105 -102
- data/lib/aws-sdk-ec2/vpc.rb +8 -8
- data/lib/aws-sdk-ec2/waiters.rb +14 -6
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -116,7 +116,7 @@ module Aws::EC2
|
|
116
116
|
# placement: {
|
117
117
|
# availability_zone: "String",
|
118
118
|
# affinity: "String",
|
119
|
-
# group_name: "
|
119
|
+
# group_name: "PlacementGroupName",
|
120
120
|
# partition_number: 1,
|
121
121
|
# host_id: "String",
|
122
122
|
# tenancy: "default", # accepts default, dedicated, host
|
@@ -151,7 +151,7 @@ module Aws::EC2
|
|
151
151
|
# ipv_6_address: "String",
|
152
152
|
# },
|
153
153
|
# ],
|
154
|
-
# network_interface_id: "
|
154
|
+
# network_interface_id: "NetworkInterfaceId",
|
155
155
|
# private_ip_address: "String",
|
156
156
|
# private_ip_addresses: [
|
157
157
|
# {
|
@@ -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)
|
@@ -3059,7 +3059,7 @@ module Aws::EC2
|
|
3059
3059
|
# values: ["String"],
|
3060
3060
|
# },
|
3061
3061
|
# ],
|
3062
|
-
# group_ids: ["
|
3062
|
+
# group_ids: ["SecurityGroupId"],
|
3063
3063
|
# group_names: ["SecurityGroupName"],
|
3064
3064
|
# dry_run: false,
|
3065
3065
|
# })
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -311,7 +311,7 @@ module Aws::EC2
|
|
311
311
|
# placement: {
|
312
312
|
# availability_zone: "String",
|
313
313
|
# affinity: "String",
|
314
|
-
# group_name: "
|
314
|
+
# group_name: "PlacementGroupName",
|
315
315
|
# partition_number: 1,
|
316
316
|
# host_id: "String",
|
317
317
|
# tenancy: "default", # accepts default, dedicated, host
|
@@ -345,7 +345,7 @@ module Aws::EC2
|
|
345
345
|
# ipv_6_address: "String",
|
346
346
|
# },
|
347
347
|
# ],
|
348
|
-
# network_interface_id: "
|
348
|
+
# network_interface_id: "NetworkInterfaceId",
|
349
349
|
# private_ip_address: "String",
|
350
350
|
# private_ip_addresses: [
|
351
351
|
# {
|