aws-sdk-ec2 1.266.0 → 1.270.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/classic_address.rb +8 -15
- data/lib/aws-sdk-ec2/client.rb +139 -133
- data/lib/aws-sdk-ec2/client_api.rb +20 -3
- data/lib/aws-sdk-ec2/resource.rb +6 -6
- data/lib/aws-sdk-ec2/types.rb +273 -210
- data/lib/aws-sdk-ec2/vpc.rb +6 -6
- data/lib/aws-sdk-ec2/vpc_address.rb +8 -15
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
@@ -874,6 +874,9 @@ module Aws::EC2
|
|
874
874
|
DescribeVpnConnectionsResult = Shapes::StructureShape.new(name: 'DescribeVpnConnectionsResult')
|
875
875
|
DescribeVpnGatewaysRequest = Shapes::StructureShape.new(name: 'DescribeVpnGatewaysRequest')
|
876
876
|
DescribeVpnGatewaysResult = Shapes::StructureShape.new(name: 'DescribeVpnGatewaysResult')
|
877
|
+
DestinationFileFormat = Shapes::StringShape.new(name: 'DestinationFileFormat')
|
878
|
+
DestinationOptionsRequest = Shapes::StructureShape.new(name: 'DestinationOptionsRequest')
|
879
|
+
DestinationOptionsResponse = Shapes::StructureShape.new(name: 'DestinationOptionsResponse')
|
877
880
|
DetachClassicLinkVpcRequest = Shapes::StructureShape.new(name: 'DetachClassicLinkVpcRequest')
|
878
881
|
DetachClassicLinkVpcResult = Shapes::StructureShape.new(name: 'DetachClassicLinkVpcResult')
|
879
882
|
DetachInternetGatewayRequest = Shapes::StructureShape.new(name: 'DetachInternetGatewayRequest')
|
@@ -1344,6 +1347,7 @@ module Aws::EC2
|
|
1344
1347
|
InstanceStatusEventList = Shapes::ListShape.new(name: 'InstanceStatusEventList')
|
1345
1348
|
InstanceStatusList = Shapes::ListShape.new(name: 'InstanceStatusList')
|
1346
1349
|
InstanceStatusSummary = Shapes::StructureShape.new(name: 'InstanceStatusSummary')
|
1350
|
+
InstanceStorageEncryptionSupport = Shapes::StringShape.new(name: 'InstanceStorageEncryptionSupport')
|
1347
1351
|
InstanceStorageFlag = Shapes::BooleanShape.new(name: 'InstanceStorageFlag')
|
1348
1352
|
InstanceStorageInfo = Shapes::StructureShape.new(name: 'InstanceStorageInfo')
|
1349
1353
|
InstanceTagKeySet = Shapes::ListShape.new(name: 'InstanceTagKeySet')
|
@@ -3588,6 +3592,7 @@ module Aws::EC2
|
|
3588
3592
|
CreateFlowLogsRequest.add_member(:log_format, Shapes::ShapeRef.new(shape: String, location_name: "LogFormat"))
|
3589
3593
|
CreateFlowLogsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3590
3594
|
CreateFlowLogsRequest.add_member(:max_aggregation_interval, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxAggregationInterval"))
|
3595
|
+
CreateFlowLogsRequest.add_member(:destination_options, Shapes::ShapeRef.new(shape: DestinationOptionsRequest, location_name: "DestinationOptions"))
|
3591
3596
|
CreateFlowLogsRequest.struct_class = Types::CreateFlowLogsRequest
|
3592
3597
|
|
3593
3598
|
CreateFlowLogsResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
@@ -3680,8 +3685,8 @@ module Aws::EC2
|
|
3680
3685
|
|
3681
3686
|
CreateLocalGatewayRouteRequest.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DestinationCidrBlock"))
|
3682
3687
|
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
3688
|
CreateLocalGatewayRouteRequest.add_member(:local_gateway_virtual_interface_group_id, Shapes::ShapeRef.new(shape: LocalGatewayVirtualInterfaceGroupId, required: true, location_name: "LocalGatewayVirtualInterfaceGroupId"))
|
3689
|
+
CreateLocalGatewayRouteRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3685
3690
|
CreateLocalGatewayRouteRequest.struct_class = Types::CreateLocalGatewayRouteRequest
|
3686
3691
|
|
3687
3692
|
CreateLocalGatewayRouteResult.add_member(:route, Shapes::ShapeRef.new(shape: LocalGatewayRoute, location_name: "route"))
|
@@ -3913,11 +3918,11 @@ module Aws::EC2
|
|
3913
3918
|
CreateSubnetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3914
3919
|
CreateSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
3915
3920
|
CreateSubnetRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
|
3921
|
+
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
|
3916
3922
|
CreateSubnetRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlock"))
|
3917
3923
|
CreateSubnetRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
|
3918
3924
|
CreateSubnetRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
3919
3925
|
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
3926
|
CreateSubnetRequest.struct_class = Types::CreateSubnetRequest
|
3922
3927
|
|
3923
3928
|
CreateSubnetResult.add_member(:subnet, Shapes::ShapeRef.new(shape: Subnet, location_name: "subnet"))
|
@@ -6019,6 +6024,16 @@ module Aws::EC2
|
|
6019
6024
|
DescribeVpnGatewaysResult.add_member(:vpn_gateways, Shapes::ShapeRef.new(shape: VpnGatewayList, location_name: "vpnGatewaySet"))
|
6020
6025
|
DescribeVpnGatewaysResult.struct_class = Types::DescribeVpnGatewaysResult
|
6021
6026
|
|
6027
|
+
DestinationOptionsRequest.add_member(:file_format, Shapes::ShapeRef.new(shape: DestinationFileFormat, location_name: "FileFormat"))
|
6028
|
+
DestinationOptionsRequest.add_member(:hive_compatible_partitions, Shapes::ShapeRef.new(shape: Boolean, location_name: "HiveCompatiblePartitions"))
|
6029
|
+
DestinationOptionsRequest.add_member(:per_hour_partition, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerHourPartition"))
|
6030
|
+
DestinationOptionsRequest.struct_class = Types::DestinationOptionsRequest
|
6031
|
+
|
6032
|
+
DestinationOptionsResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: DestinationFileFormat, location_name: "fileFormat"))
|
6033
|
+
DestinationOptionsResponse.add_member(:hive_compatible_partitions, Shapes::ShapeRef.new(shape: Boolean, location_name: "hiveCompatiblePartitions"))
|
6034
|
+
DestinationOptionsResponse.add_member(:per_hour_partition, Shapes::ShapeRef.new(shape: Boolean, location_name: "perHourPartition"))
|
6035
|
+
DestinationOptionsResponse.struct_class = Types::DestinationOptionsResponse
|
6036
|
+
|
6022
6037
|
DetachClassicLinkVpcRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
6023
6038
|
DetachClassicLinkVpcRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "instanceId"))
|
6024
6039
|
DetachClassicLinkVpcRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
|
@@ -6762,6 +6777,7 @@ module Aws::EC2
|
|
6762
6777
|
FlowLog.add_member(:log_format, Shapes::ShapeRef.new(shape: String, location_name: "logFormat"))
|
6763
6778
|
FlowLog.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
6764
6779
|
FlowLog.add_member(:max_aggregation_interval, Shapes::ShapeRef.new(shape: Integer, location_name: "maxAggregationInterval"))
|
6780
|
+
FlowLog.add_member(:destination_options, Shapes::ShapeRef.new(shape: DestinationOptionsResponse, location_name: "destinationOptions"))
|
6765
6781
|
FlowLog.struct_class = Types::FlowLog
|
6766
6782
|
|
6767
6783
|
FlowLogIdList.member = Shapes::ShapeRef.new(shape: VpcFlowLogId, location_name: "item")
|
@@ -7802,6 +7818,7 @@ module Aws::EC2
|
|
7802
7818
|
InstanceStorageInfo.add_member(:total_size_in_gb, Shapes::ShapeRef.new(shape: DiskSize, location_name: "totalSizeInGB"))
|
7803
7819
|
InstanceStorageInfo.add_member(:disks, Shapes::ShapeRef.new(shape: DiskInfoList, location_name: "disks"))
|
7804
7820
|
InstanceStorageInfo.add_member(:nvme_support, Shapes::ShapeRef.new(shape: EphemeralNvmeSupport, location_name: "nvmeSupport"))
|
7821
|
+
InstanceStorageInfo.add_member(:encryption_support, Shapes::ShapeRef.new(shape: InstanceStorageEncryptionSupport, location_name: "encryptionSupport"))
|
7805
7822
|
InstanceStorageInfo.struct_class = Types::InstanceStorageInfo
|
7806
7823
|
|
7807
7824
|
InstanceTagKeySet.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
@@ -10314,10 +10331,10 @@ module Aws::EC2
|
|
10314
10331
|
ScheduledInstancesSecurityGroupIdSet.member = Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "SecurityGroupId")
|
10315
10332
|
|
10316
10333
|
SearchLocalGatewayRoutesRequest.add_member(:local_gateway_route_table_id, Shapes::ShapeRef.new(shape: LocalGatewayRoutetableId, required: true, location_name: "LocalGatewayRouteTableId"))
|
10334
|
+
SearchLocalGatewayRoutesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
10317
10335
|
SearchLocalGatewayRoutesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
10318
10336
|
SearchLocalGatewayRoutesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
10319
10337
|
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
10338
|
SearchLocalGatewayRoutesRequest.struct_class = Types::SearchLocalGatewayRoutesRequest
|
10322
10339
|
|
10323
10340
|
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)
|