aws-sdk-ec2 1.249.0 → 1.253.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/classic_address.rb +2 -1
- data/lib/aws-sdk-ec2/client.rb +822 -367
- data/lib/aws-sdk-ec2/client_api.rb +168 -3
- data/lib/aws-sdk-ec2/dhcp_options.rb +2 -1
- data/lib/aws-sdk-ec2/instance.rb +2 -1
- data/lib/aws-sdk-ec2/internet_gateway.rb +2 -1
- data/lib/aws-sdk-ec2/network_acl.rb +1 -1
- data/lib/aws-sdk-ec2/network_interface.rb +34 -5
- data/lib/aws-sdk-ec2/placement_group.rb +4 -3
- data/lib/aws-sdk-ec2/resource.rb +120 -61
- data/lib/aws-sdk-ec2/route.rb +2 -2
- data/lib/aws-sdk-ec2/route_table.rb +1 -1
- data/lib/aws-sdk-ec2/snapshot.rb +37 -34
- data/lib/aws-sdk-ec2/subnet.rb +52 -10
- data/lib/aws-sdk-ec2/types.rb +1097 -301
- data/lib/aws-sdk-ec2/volume.rb +14 -13
- data/lib/aws-sdk-ec2/vpc.rb +40 -35
- data/lib/aws-sdk-ec2/vpc_address.rb +2 -1
- metadata +4 -4
@@ -373,6 +373,8 @@ module Aws::EC2
|
|
373
373
|
CreateSpotDatafeedSubscriptionResult = Shapes::StructureShape.new(name: 'CreateSpotDatafeedSubscriptionResult')
|
374
374
|
CreateStoreImageTaskRequest = Shapes::StructureShape.new(name: 'CreateStoreImageTaskRequest')
|
375
375
|
CreateStoreImageTaskResult = Shapes::StructureShape.new(name: 'CreateStoreImageTaskResult')
|
376
|
+
CreateSubnetCidrReservationRequest = Shapes::StructureShape.new(name: 'CreateSubnetCidrReservationRequest')
|
377
|
+
CreateSubnetCidrReservationResult = Shapes::StructureShape.new(name: 'CreateSubnetCidrReservationResult')
|
376
378
|
CreateSubnetRequest = Shapes::StructureShape.new(name: 'CreateSubnetRequest')
|
377
379
|
CreateSubnetResult = Shapes::StructureShape.new(name: 'CreateSubnetResult')
|
378
380
|
CreateTagsRequest = Shapes::StructureShape.new(name: 'CreateTagsRequest')
|
@@ -506,6 +508,8 @@ module Aws::EC2
|
|
506
508
|
DeleteSecurityGroupRequest = Shapes::StructureShape.new(name: 'DeleteSecurityGroupRequest')
|
507
509
|
DeleteSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteSnapshotRequest')
|
508
510
|
DeleteSpotDatafeedSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteSpotDatafeedSubscriptionRequest')
|
511
|
+
DeleteSubnetCidrReservationRequest = Shapes::StructureShape.new(name: 'DeleteSubnetCidrReservationRequest')
|
512
|
+
DeleteSubnetCidrReservationResult = Shapes::StructureShape.new(name: 'DeleteSubnetCidrReservationResult')
|
509
513
|
DeleteSubnetRequest = Shapes::StructureShape.new(name: 'DeleteSubnetRequest')
|
510
514
|
DeleteTagsRequest = Shapes::StructureShape.new(name: 'DeleteTagsRequest')
|
511
515
|
DeleteTrafficMirrorFilterRequest = Shapes::StructureShape.new(name: 'DeleteTrafficMirrorFilterRequest')
|
@@ -1120,6 +1124,9 @@ module Aws::EC2
|
|
1120
1124
|
GetReservedInstancesExchangeQuoteResult = Shapes::StructureShape.new(name: 'GetReservedInstancesExchangeQuoteResult')
|
1121
1125
|
GetSerialConsoleAccessStatusRequest = Shapes::StructureShape.new(name: 'GetSerialConsoleAccessStatusRequest')
|
1122
1126
|
GetSerialConsoleAccessStatusResult = Shapes::StructureShape.new(name: 'GetSerialConsoleAccessStatusResult')
|
1127
|
+
GetSubnetCidrReservationsMaxResults = Shapes::IntegerShape.new(name: 'GetSubnetCidrReservationsMaxResults')
|
1128
|
+
GetSubnetCidrReservationsRequest = Shapes::StructureShape.new(name: 'GetSubnetCidrReservationsRequest')
|
1129
|
+
GetSubnetCidrReservationsResult = Shapes::StructureShape.new(name: 'GetSubnetCidrReservationsResult')
|
1123
1130
|
GetTransitGatewayAttachmentPropagationsRequest = Shapes::StructureShape.new(name: 'GetTransitGatewayAttachmentPropagationsRequest')
|
1124
1131
|
GetTransitGatewayAttachmentPropagationsResult = Shapes::StructureShape.new(name: 'GetTransitGatewayAttachmentPropagationsResult')
|
1125
1132
|
GetTransitGatewayMulticastDomainAssociationsRequest = Shapes::StructureShape.new(name: 'GetTransitGatewayMulticastDomainAssociationsRequest')
|
@@ -1267,10 +1274,14 @@ module Aws::EC2
|
|
1267
1274
|
InstanceIdStringList = Shapes::ListShape.new(name: 'InstanceIdStringList')
|
1268
1275
|
InstanceIdsSet = Shapes::ListShape.new(name: 'InstanceIdsSet')
|
1269
1276
|
InstanceInterruptionBehavior = Shapes::StringShape.new(name: 'InstanceInterruptionBehavior')
|
1277
|
+
InstanceIpv4Prefix = Shapes::StructureShape.new(name: 'InstanceIpv4Prefix')
|
1278
|
+
InstanceIpv4PrefixList = Shapes::ListShape.new(name: 'InstanceIpv4PrefixList')
|
1270
1279
|
InstanceIpv6Address = Shapes::StructureShape.new(name: 'InstanceIpv6Address')
|
1271
1280
|
InstanceIpv6AddressList = Shapes::ListShape.new(name: 'InstanceIpv6AddressList')
|
1272
1281
|
InstanceIpv6AddressListRequest = Shapes::ListShape.new(name: 'InstanceIpv6AddressListRequest')
|
1273
1282
|
InstanceIpv6AddressRequest = Shapes::StructureShape.new(name: 'InstanceIpv6AddressRequest')
|
1283
|
+
InstanceIpv6Prefix = Shapes::StructureShape.new(name: 'InstanceIpv6Prefix')
|
1284
|
+
InstanceIpv6PrefixList = Shapes::ListShape.new(name: 'InstanceIpv6PrefixList')
|
1274
1285
|
InstanceLifecycle = Shapes::StringShape.new(name: 'InstanceLifecycle')
|
1275
1286
|
InstanceLifecycleType = Shapes::StringShape.new(name: 'InstanceLifecycleType')
|
1276
1287
|
InstanceList = Shapes::ListShape.new(name: 'InstanceList')
|
@@ -1329,10 +1340,17 @@ module Aws::EC2
|
|
1329
1340
|
IpAddressList = Shapes::ListShape.new(name: 'IpAddressList')
|
1330
1341
|
IpPermission = Shapes::StructureShape.new(name: 'IpPermission')
|
1331
1342
|
IpPermissionList = Shapes::ListShape.new(name: 'IpPermissionList')
|
1343
|
+
IpPrefixList = Shapes::ListShape.new(name: 'IpPrefixList')
|
1332
1344
|
IpRange = Shapes::StructureShape.new(name: 'IpRange')
|
1333
1345
|
IpRangeList = Shapes::ListShape.new(name: 'IpRangeList')
|
1334
1346
|
IpRanges = Shapes::ListShape.new(name: 'IpRanges')
|
1335
1347
|
Ipv4PoolEc2Id = Shapes::StringShape.new(name: 'Ipv4PoolEc2Id')
|
1348
|
+
Ipv4PrefixList = Shapes::ListShape.new(name: 'Ipv4PrefixList')
|
1349
|
+
Ipv4PrefixListResponse = Shapes::ListShape.new(name: 'Ipv4PrefixListResponse')
|
1350
|
+
Ipv4PrefixSpecification = Shapes::StructureShape.new(name: 'Ipv4PrefixSpecification')
|
1351
|
+
Ipv4PrefixSpecificationRequest = Shapes::StructureShape.new(name: 'Ipv4PrefixSpecificationRequest')
|
1352
|
+
Ipv4PrefixSpecificationResponse = Shapes::StructureShape.new(name: 'Ipv4PrefixSpecificationResponse')
|
1353
|
+
Ipv4PrefixesList = Shapes::ListShape.new(name: 'Ipv4PrefixesList')
|
1336
1354
|
Ipv6Address = Shapes::StringShape.new(name: 'Ipv6Address')
|
1337
1355
|
Ipv6AddressList = Shapes::ListShape.new(name: 'Ipv6AddressList')
|
1338
1356
|
Ipv6CidrAssociation = Shapes::StructureShape.new(name: 'Ipv6CidrAssociation')
|
@@ -1345,6 +1363,12 @@ module Aws::EC2
|
|
1345
1363
|
Ipv6PoolIdList = Shapes::ListShape.new(name: 'Ipv6PoolIdList')
|
1346
1364
|
Ipv6PoolMaxResults = Shapes::IntegerShape.new(name: 'Ipv6PoolMaxResults')
|
1347
1365
|
Ipv6PoolSet = Shapes::ListShape.new(name: 'Ipv6PoolSet')
|
1366
|
+
Ipv6PrefixList = Shapes::ListShape.new(name: 'Ipv6PrefixList')
|
1367
|
+
Ipv6PrefixListResponse = Shapes::ListShape.new(name: 'Ipv6PrefixListResponse')
|
1368
|
+
Ipv6PrefixSpecification = Shapes::StructureShape.new(name: 'Ipv6PrefixSpecification')
|
1369
|
+
Ipv6PrefixSpecificationRequest = Shapes::StructureShape.new(name: 'Ipv6PrefixSpecificationRequest')
|
1370
|
+
Ipv6PrefixSpecificationResponse = Shapes::StructureShape.new(name: 'Ipv6PrefixSpecificationResponse')
|
1371
|
+
Ipv6PrefixesList = Shapes::ListShape.new(name: 'Ipv6PrefixesList')
|
1348
1372
|
Ipv6Range = Shapes::StructureShape.new(name: 'Ipv6Range')
|
1349
1373
|
Ipv6RangeList = Shapes::ListShape.new(name: 'Ipv6RangeList')
|
1350
1374
|
Ipv6SupportValue = Shapes::StringShape.new(name: 'Ipv6SupportValue')
|
@@ -2044,6 +2068,10 @@ module Aws::EC2
|
|
2044
2068
|
SubnetCidrAssociationId = Shapes::StringShape.new(name: 'SubnetCidrAssociationId')
|
2045
2069
|
SubnetCidrBlockState = Shapes::StructureShape.new(name: 'SubnetCidrBlockState')
|
2046
2070
|
SubnetCidrBlockStateCode = Shapes::StringShape.new(name: 'SubnetCidrBlockStateCode')
|
2071
|
+
SubnetCidrReservation = Shapes::StructureShape.new(name: 'SubnetCidrReservation')
|
2072
|
+
SubnetCidrReservationId = Shapes::StringShape.new(name: 'SubnetCidrReservationId')
|
2073
|
+
SubnetCidrReservationList = Shapes::ListShape.new(name: 'SubnetCidrReservationList')
|
2074
|
+
SubnetCidrReservationType = Shapes::StringShape.new(name: 'SubnetCidrReservationType')
|
2047
2075
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
2048
2076
|
SubnetIdStringList = Shapes::ListShape.new(name: 'SubnetIdStringList')
|
2049
2077
|
SubnetIpv6CidrBlockAssociation = Shapes::StructureShape.new(name: 'SubnetIpv6CidrBlockAssociation')
|
@@ -2550,10 +2578,13 @@ module Aws::EC2
|
|
2550
2578
|
|
2551
2579
|
AssignIpv6AddressesRequest.add_member(:ipv_6_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ipv6AddressCount"))
|
2552
2580
|
AssignIpv6AddressesRequest.add_member(:ipv_6_addresses, Shapes::ShapeRef.new(shape: Ipv6AddressList, location_name: "ipv6Addresses"))
|
2581
|
+
AssignIpv6AddressesRequest.add_member(:ipv_6_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "Ipv6PrefixCount"))
|
2582
|
+
AssignIpv6AddressesRequest.add_member(:ipv_6_prefixes, Shapes::ShapeRef.new(shape: IpPrefixList, location_name: "Ipv6Prefix"))
|
2553
2583
|
AssignIpv6AddressesRequest.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, required: true, location_name: "networkInterfaceId"))
|
2554
2584
|
AssignIpv6AddressesRequest.struct_class = Types::AssignIpv6AddressesRequest
|
2555
2585
|
|
2556
2586
|
AssignIpv6AddressesResult.add_member(:assigned_ipv_6_addresses, Shapes::ShapeRef.new(shape: Ipv6AddressList, location_name: "assignedIpv6Addresses"))
|
2587
|
+
AssignIpv6AddressesResult.add_member(:assigned_ipv_6_prefixes, Shapes::ShapeRef.new(shape: IpPrefixList, location_name: "assignedIpv6PrefixSet"))
|
2557
2588
|
AssignIpv6AddressesResult.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: String, location_name: "networkInterfaceId"))
|
2558
2589
|
AssignIpv6AddressesResult.struct_class = Types::AssignIpv6AddressesResult
|
2559
2590
|
|
@@ -2561,10 +2592,13 @@ module Aws::EC2
|
|
2561
2592
|
AssignPrivateIpAddressesRequest.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, required: true, location_name: "networkInterfaceId"))
|
2562
2593
|
AssignPrivateIpAddressesRequest.add_member(:private_ip_addresses, Shapes::ShapeRef.new(shape: PrivateIpAddressStringList, location_name: "privateIpAddress"))
|
2563
2594
|
AssignPrivateIpAddressesRequest.add_member(:secondary_private_ip_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "secondaryPrivateIpAddressCount"))
|
2595
|
+
AssignPrivateIpAddressesRequest.add_member(:ipv_4_prefixes, Shapes::ShapeRef.new(shape: IpPrefixList, location_name: "Ipv4Prefix"))
|
2596
|
+
AssignPrivateIpAddressesRequest.add_member(:ipv_4_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "Ipv4PrefixCount"))
|
2564
2597
|
AssignPrivateIpAddressesRequest.struct_class = Types::AssignPrivateIpAddressesRequest
|
2565
2598
|
|
2566
2599
|
AssignPrivateIpAddressesResult.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: String, location_name: "networkInterfaceId"))
|
2567
2600
|
AssignPrivateIpAddressesResult.add_member(:assigned_private_ip_addresses, Shapes::ShapeRef.new(shape: AssignedPrivateIpAddressList, location_name: "assignedPrivateIpAddressesSet"))
|
2601
|
+
AssignPrivateIpAddressesResult.add_member(:assigned_ipv_4_prefixes, Shapes::ShapeRef.new(shape: Ipv4PrefixesList, location_name: "assignedIpv4PrefixSet"))
|
2568
2602
|
AssignPrivateIpAddressesResult.struct_class = Types::AssignPrivateIpAddressesResult
|
2569
2603
|
|
2570
2604
|
AssignedPrivateIpAddress.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "privateIpAddress"))
|
@@ -3633,6 +3667,10 @@ module Aws::EC2
|
|
3633
3667
|
CreateNetworkInterfaceRequest.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "privateIpAddress"))
|
3634
3668
|
CreateNetworkInterfaceRequest.add_member(:private_ip_addresses, Shapes::ShapeRef.new(shape: PrivateIpAddressSpecificationList, location_name: "privateIpAddresses"))
|
3635
3669
|
CreateNetworkInterfaceRequest.add_member(:secondary_private_ip_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "secondaryPrivateIpAddressCount"))
|
3670
|
+
CreateNetworkInterfaceRequest.add_member(:ipv_4_prefixes, Shapes::ShapeRef.new(shape: Ipv4PrefixList, location_name: "Ipv4Prefix"))
|
3671
|
+
CreateNetworkInterfaceRequest.add_member(:ipv_4_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "Ipv4PrefixCount"))
|
3672
|
+
CreateNetworkInterfaceRequest.add_member(:ipv_6_prefixes, Shapes::ShapeRef.new(shape: Ipv6PrefixList, location_name: "Ipv6Prefix"))
|
3673
|
+
CreateNetworkInterfaceRequest.add_member(:ipv_6_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "Ipv6PrefixCount"))
|
3636
3674
|
CreateNetworkInterfaceRequest.add_member(:interface_type, Shapes::ShapeRef.new(shape: NetworkInterfaceCreationType, location_name: "InterfaceType"))
|
3637
3675
|
CreateNetworkInterfaceRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
|
3638
3676
|
CreateNetworkInterfaceRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
@@ -3756,14 +3794,25 @@ module Aws::EC2
|
|
3756
3794
|
CreateStoreImageTaskResult.add_member(:object_key, Shapes::ShapeRef.new(shape: String, location_name: "objectKey"))
|
3757
3795
|
CreateStoreImageTaskResult.struct_class = Types::CreateStoreImageTaskResult
|
3758
3796
|
|
3797
|
+
CreateSubnetCidrReservationRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3798
|
+
CreateSubnetCidrReservationRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
3799
|
+
CreateSubnetCidrReservationRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Cidr"))
|
3800
|
+
CreateSubnetCidrReservationRequest.add_member(:reservation_type, Shapes::ShapeRef.new(shape: SubnetCidrReservationType, required: true, location_name: "ReservationType"))
|
3801
|
+
CreateSubnetCidrReservationRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
3802
|
+
CreateSubnetCidrReservationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3803
|
+
CreateSubnetCidrReservationRequest.struct_class = Types::CreateSubnetCidrReservationRequest
|
3804
|
+
|
3805
|
+
CreateSubnetCidrReservationResult.add_member(:subnet_cidr_reservation, Shapes::ShapeRef.new(shape: SubnetCidrReservation, location_name: "subnetCidrReservation"))
|
3806
|
+
CreateSubnetCidrReservationResult.struct_class = Types::CreateSubnetCidrReservationResult
|
3807
|
+
|
3759
3808
|
CreateSubnetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3760
3809
|
CreateSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
3761
3810
|
CreateSubnetRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
|
3762
|
-
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
|
3763
3811
|
CreateSubnetRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlock"))
|
3764
3812
|
CreateSubnetRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
|
3765
3813
|
CreateSubnetRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
3766
3814
|
CreateSubnetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
3815
|
+
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
|
3767
3816
|
CreateSubnetRequest.struct_class = Types::CreateSubnetRequest
|
3768
3817
|
|
3769
3818
|
CreateSubnetResult.add_member(:subnet, Shapes::ShapeRef.new(shape: Subnet, location_name: "subnet"))
|
@@ -3954,6 +4003,7 @@ module Aws::EC2
|
|
3954
4003
|
CreateVolumeRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3955
4004
|
CreateVolumeRequest.add_member(:multi_attach_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiAttachEnabled"))
|
3956
4005
|
CreateVolumeRequest.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "Throughput"))
|
4006
|
+
CreateVolumeRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
3957
4007
|
CreateVolumeRequest.struct_class = Types::CreateVolumeRequest
|
3958
4008
|
|
3959
4009
|
CreateVpcEndpointConnectionNotificationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -4304,6 +4354,13 @@ module Aws::EC2
|
|
4304
4354
|
DeleteSpotDatafeedSubscriptionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
4305
4355
|
DeleteSpotDatafeedSubscriptionRequest.struct_class = Types::DeleteSpotDatafeedSubscriptionRequest
|
4306
4356
|
|
4357
|
+
DeleteSubnetCidrReservationRequest.add_member(:subnet_cidr_reservation_id, Shapes::ShapeRef.new(shape: SubnetCidrReservationId, required: true, location_name: "SubnetCidrReservationId"))
|
4358
|
+
DeleteSubnetCidrReservationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
4359
|
+
DeleteSubnetCidrReservationRequest.struct_class = Types::DeleteSubnetCidrReservationRequest
|
4360
|
+
|
4361
|
+
DeleteSubnetCidrReservationResult.add_member(:deleted_subnet_cidr_reservation, Shapes::ShapeRef.new(shape: SubnetCidrReservation, location_name: "deletedSubnetCidrReservation"))
|
4362
|
+
DeleteSubnetCidrReservationResult.struct_class = Types::DeleteSubnetCidrReservationResult
|
4363
|
+
|
4307
4364
|
DeleteSubnetRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
4308
4365
|
DeleteSubnetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
4309
4366
|
DeleteSubnetRequest.struct_class = Types::DeleteSubnetRequest
|
@@ -6793,6 +6850,18 @@ module Aws::EC2
|
|
6793
6850
|
GetSerialConsoleAccessStatusResult.add_member(:serial_console_access_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "serialConsoleAccessEnabled"))
|
6794
6851
|
GetSerialConsoleAccessStatusResult.struct_class = Types::GetSerialConsoleAccessStatusResult
|
6795
6852
|
|
6853
|
+
GetSubnetCidrReservationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
6854
|
+
GetSubnetCidrReservationsRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
6855
|
+
GetSubnetCidrReservationsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6856
|
+
GetSubnetCidrReservationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
6857
|
+
GetSubnetCidrReservationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetSubnetCidrReservationsMaxResults, location_name: "MaxResults"))
|
6858
|
+
GetSubnetCidrReservationsRequest.struct_class = Types::GetSubnetCidrReservationsRequest
|
6859
|
+
|
6860
|
+
GetSubnetCidrReservationsResult.add_member(:subnet_ipv_4_cidr_reservations, Shapes::ShapeRef.new(shape: SubnetCidrReservationList, location_name: "subnetIpv4CidrReservationSet"))
|
6861
|
+
GetSubnetCidrReservationsResult.add_member(:subnet_ipv_6_cidr_reservations, Shapes::ShapeRef.new(shape: SubnetCidrReservationList, location_name: "subnetIpv6CidrReservationSet"))
|
6862
|
+
GetSubnetCidrReservationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
6863
|
+
GetSubnetCidrReservationsResult.struct_class = Types::GetSubnetCidrReservationsResult
|
6864
|
+
|
6796
6865
|
GetTransitGatewayAttachmentPropagationsRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, required: true, location_name: "TransitGatewayAttachmentId"))
|
6797
6866
|
GetTransitGatewayAttachmentPropagationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
6798
6867
|
GetTransitGatewayAttachmentPropagationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: TransitGatewayMaxResults, location_name: "MaxResults"))
|
@@ -7408,6 +7477,11 @@ module Aws::EC2
|
|
7408
7477
|
|
7409
7478
|
InstanceIdsSet.member = Shapes::ShapeRef.new(shape: InstanceId, location_name: "item")
|
7410
7479
|
|
7480
|
+
InstanceIpv4Prefix.add_member(:ipv_4_prefix, Shapes::ShapeRef.new(shape: String, location_name: "ipv4Prefix"))
|
7481
|
+
InstanceIpv4Prefix.struct_class = Types::InstanceIpv4Prefix
|
7482
|
+
|
7483
|
+
InstanceIpv4PrefixList.member = Shapes::ShapeRef.new(shape: InstanceIpv4Prefix, location_name: "item")
|
7484
|
+
|
7411
7485
|
InstanceIpv6Address.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Address"))
|
7412
7486
|
InstanceIpv6Address.struct_class = Types::InstanceIpv6Address
|
7413
7487
|
|
@@ -7418,6 +7492,11 @@ module Aws::EC2
|
|
7418
7492
|
InstanceIpv6AddressRequest.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6Address"))
|
7419
7493
|
InstanceIpv6AddressRequest.struct_class = Types::InstanceIpv6AddressRequest
|
7420
7494
|
|
7495
|
+
InstanceIpv6Prefix.add_member(:ipv_6_prefix, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Prefix"))
|
7496
|
+
InstanceIpv6Prefix.struct_class = Types::InstanceIpv6Prefix
|
7497
|
+
|
7498
|
+
InstanceIpv6PrefixList.member = Shapes::ShapeRef.new(shape: InstanceIpv6Prefix, location_name: "item")
|
7499
|
+
|
7421
7500
|
InstanceList.member = Shapes::ShapeRef.new(shape: Instance, location_name: "item")
|
7422
7501
|
|
7423
7502
|
InstanceMarketOptionsRequest.add_member(:market_type, Shapes::ShapeRef.new(shape: MarketType, location_name: "MarketType"))
|
@@ -7457,6 +7536,8 @@ module Aws::EC2
|
|
7457
7536
|
InstanceNetworkInterface.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
7458
7537
|
InstanceNetworkInterface.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
7459
7538
|
InstanceNetworkInterface.add_member(:interface_type, Shapes::ShapeRef.new(shape: String, location_name: "interfaceType"))
|
7539
|
+
InstanceNetworkInterface.add_member(:ipv_4_prefixes, Shapes::ShapeRef.new(shape: InstanceIpv4PrefixList, location_name: "ipv4PrefixSet"))
|
7540
|
+
InstanceNetworkInterface.add_member(:ipv_6_prefixes, Shapes::ShapeRef.new(shape: InstanceIpv6PrefixList, location_name: "ipv6PrefixSet"))
|
7460
7541
|
InstanceNetworkInterface.struct_class = Types::InstanceNetworkInterface
|
7461
7542
|
|
7462
7543
|
InstanceNetworkInterfaceAssociation.add_member(:carrier_ip, Shapes::ShapeRef.new(shape: String, location_name: "carrierIp"))
|
@@ -7490,6 +7571,10 @@ module Aws::EC2
|
|
7490
7571
|
InstanceNetworkInterfaceSpecification.add_member(:associate_carrier_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "AssociateCarrierIpAddress"))
|
7491
7572
|
InstanceNetworkInterfaceSpecification.add_member(:interface_type, Shapes::ShapeRef.new(shape: String, location_name: "InterfaceType"))
|
7492
7573
|
InstanceNetworkInterfaceSpecification.add_member(:network_card_index, Shapes::ShapeRef.new(shape: Integer, location_name: "NetworkCardIndex"))
|
7574
|
+
InstanceNetworkInterfaceSpecification.add_member(:ipv_4_prefixes, Shapes::ShapeRef.new(shape: Ipv4PrefixList, location_name: "Ipv4Prefix"))
|
7575
|
+
InstanceNetworkInterfaceSpecification.add_member(:ipv_4_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "Ipv4PrefixCount"))
|
7576
|
+
InstanceNetworkInterfaceSpecification.add_member(:ipv_6_prefixes, Shapes::ShapeRef.new(shape: Ipv6PrefixList, location_name: "Ipv6Prefix"))
|
7577
|
+
InstanceNetworkInterfaceSpecification.add_member(:ipv_6_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "Ipv6PrefixCount"))
|
7493
7578
|
InstanceNetworkInterfaceSpecification.struct_class = Types::InstanceNetworkInterfaceSpecification
|
7494
7579
|
|
7495
7580
|
InstanceNetworkInterfaceSpecificationList.member = Shapes::ShapeRef.new(shape: InstanceNetworkInterfaceSpecification, location_name: "item")
|
@@ -7635,6 +7720,8 @@ module Aws::EC2
|
|
7635
7720
|
|
7636
7721
|
IpPermissionList.member = Shapes::ShapeRef.new(shape: IpPermission, location_name: "item")
|
7637
7722
|
|
7723
|
+
IpPrefixList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
7724
|
+
|
7638
7725
|
IpRange.add_member(:cidr_ip, Shapes::ShapeRef.new(shape: String, location_name: "cidrIp"))
|
7639
7726
|
IpRange.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
7640
7727
|
IpRange.struct_class = Types::IpRange
|
@@ -7643,6 +7730,21 @@ module Aws::EC2
|
|
7643
7730
|
|
7644
7731
|
IpRanges.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
7645
7732
|
|
7733
|
+
Ipv4PrefixList.member = Shapes::ShapeRef.new(shape: Ipv4PrefixSpecificationRequest, location_name: "item")
|
7734
|
+
|
7735
|
+
Ipv4PrefixListResponse.member = Shapes::ShapeRef.new(shape: Ipv4PrefixSpecificationResponse, location_name: "item")
|
7736
|
+
|
7737
|
+
Ipv4PrefixSpecification.add_member(:ipv_4_prefix, Shapes::ShapeRef.new(shape: String, location_name: "ipv4Prefix"))
|
7738
|
+
Ipv4PrefixSpecification.struct_class = Types::Ipv4PrefixSpecification
|
7739
|
+
|
7740
|
+
Ipv4PrefixSpecificationRequest.add_member(:ipv_4_prefix, Shapes::ShapeRef.new(shape: String, location_name: "Ipv4Prefix"))
|
7741
|
+
Ipv4PrefixSpecificationRequest.struct_class = Types::Ipv4PrefixSpecificationRequest
|
7742
|
+
|
7743
|
+
Ipv4PrefixSpecificationResponse.add_member(:ipv_4_prefix, Shapes::ShapeRef.new(shape: String, location_name: "ipv4Prefix"))
|
7744
|
+
Ipv4PrefixSpecificationResponse.struct_class = Types::Ipv4PrefixSpecificationResponse
|
7745
|
+
|
7746
|
+
Ipv4PrefixesList.member = Shapes::ShapeRef.new(shape: Ipv4PrefixSpecification, location_name: "item")
|
7747
|
+
|
7646
7748
|
Ipv6AddressList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
7647
7749
|
|
7648
7750
|
Ipv6CidrAssociation.add_member(:ipv_6_cidr, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Cidr"))
|
@@ -7666,6 +7768,21 @@ module Aws::EC2
|
|
7666
7768
|
|
7667
7769
|
Ipv6PoolSet.member = Shapes::ShapeRef.new(shape: Ipv6Pool, location_name: "item")
|
7668
7770
|
|
7771
|
+
Ipv6PrefixList.member = Shapes::ShapeRef.new(shape: Ipv6PrefixSpecificationRequest, location_name: "item")
|
7772
|
+
|
7773
|
+
Ipv6PrefixListResponse.member = Shapes::ShapeRef.new(shape: Ipv6PrefixSpecificationResponse, location_name: "item")
|
7774
|
+
|
7775
|
+
Ipv6PrefixSpecification.add_member(:ipv_6_prefix, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Prefix"))
|
7776
|
+
Ipv6PrefixSpecification.struct_class = Types::Ipv6PrefixSpecification
|
7777
|
+
|
7778
|
+
Ipv6PrefixSpecificationRequest.add_member(:ipv_6_prefix, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6Prefix"))
|
7779
|
+
Ipv6PrefixSpecificationRequest.struct_class = Types::Ipv6PrefixSpecificationRequest
|
7780
|
+
|
7781
|
+
Ipv6PrefixSpecificationResponse.add_member(:ipv_6_prefix, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Prefix"))
|
7782
|
+
Ipv6PrefixSpecificationResponse.struct_class = Types::Ipv6PrefixSpecificationResponse
|
7783
|
+
|
7784
|
+
Ipv6PrefixesList.member = Shapes::ShapeRef.new(shape: Ipv6PrefixSpecification, location_name: "item")
|
7785
|
+
|
7669
7786
|
Ipv6Range.add_member(:cidr_ipv_6, Shapes::ShapeRef.new(shape: String, location_name: "cidrIpv6"))
|
7670
7787
|
Ipv6Range.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
7671
7788
|
Ipv6Range.struct_class = Types::Ipv6Range
|
@@ -7863,6 +7980,10 @@ module Aws::EC2
|
|
7863
7980
|
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:secondary_private_ip_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "secondaryPrivateIpAddressCount"))
|
7864
7981
|
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "subnetId"))
|
7865
7982
|
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:network_card_index, Shapes::ShapeRef.new(shape: Integer, location_name: "networkCardIndex"))
|
7983
|
+
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:ipv_4_prefixes, Shapes::ShapeRef.new(shape: Ipv4PrefixListResponse, location_name: "ipv4PrefixSet"))
|
7984
|
+
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:ipv_4_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ipv4PrefixCount"))
|
7985
|
+
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:ipv_6_prefixes, Shapes::ShapeRef.new(shape: Ipv6PrefixListResponse, location_name: "ipv6PrefixSet"))
|
7986
|
+
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:ipv_6_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ipv6PrefixCount"))
|
7866
7987
|
LaunchTemplateInstanceNetworkInterfaceSpecification.struct_class = Types::LaunchTemplateInstanceNetworkInterfaceSpecification
|
7867
7988
|
|
7868
7989
|
LaunchTemplateInstanceNetworkInterfaceSpecificationList.member = Shapes::ShapeRef.new(shape: LaunchTemplateInstanceNetworkInterfaceSpecification, location_name: "item")
|
@@ -7882,6 +8003,10 @@ module Aws::EC2
|
|
7882
8003
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:secondary_private_ip_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "SecondaryPrivateIpAddressCount"))
|
7883
8004
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
|
7884
8005
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:network_card_index, Shapes::ShapeRef.new(shape: Integer, location_name: "NetworkCardIndex"))
|
8006
|
+
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:ipv_4_prefixes, Shapes::ShapeRef.new(shape: Ipv4PrefixList, location_name: "Ipv4Prefix"))
|
8007
|
+
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:ipv_4_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "Ipv4PrefixCount"))
|
8008
|
+
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:ipv_6_prefixes, Shapes::ShapeRef.new(shape: Ipv6PrefixList, location_name: "Ipv6Prefix"))
|
8009
|
+
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:ipv_6_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "Ipv6PrefixCount"))
|
7885
8010
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.struct_class = Types::LaunchTemplateInstanceNetworkInterfaceSpecificationRequest
|
7886
8011
|
|
7887
8012
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList.member = Shapes::ShapeRef.new(shape: LaunchTemplateInstanceNetworkInterfaceSpecificationRequest, location_name: "InstanceNetworkInterfaceSpecification")
|
@@ -8763,6 +8888,8 @@ module Aws::EC2
|
|
8763
8888
|
NetworkInterface.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "privateDnsName"))
|
8764
8889
|
NetworkInterface.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "privateIpAddress"))
|
8765
8890
|
NetworkInterface.add_member(:private_ip_addresses, Shapes::ShapeRef.new(shape: NetworkInterfacePrivateIpAddressList, location_name: "privateIpAddressesSet"))
|
8891
|
+
NetworkInterface.add_member(:ipv_4_prefixes, Shapes::ShapeRef.new(shape: Ipv4PrefixesList, location_name: "ipv4PrefixSet"))
|
8892
|
+
NetworkInterface.add_member(:ipv_6_prefixes, Shapes::ShapeRef.new(shape: Ipv6PrefixesList, location_name: "ipv6PrefixSet"))
|
8766
8893
|
NetworkInterface.add_member(:requester_id, Shapes::ShapeRef.new(shape: String, location_name: "requesterId"))
|
8767
8894
|
NetworkInterface.add_member(:requester_managed, Shapes::ShapeRef.new(shape: Boolean, location_name: "requesterManaged"))
|
8768
8895
|
NetworkInterface.add_member(:source_dest_check, Shapes::ShapeRef.new(shape: Boolean, location_name: "sourceDestCheck"))
|
@@ -10477,6 +10604,17 @@ module Aws::EC2
|
|
10477
10604
|
SubnetCidrBlockState.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
|
10478
10605
|
SubnetCidrBlockState.struct_class = Types::SubnetCidrBlockState
|
10479
10606
|
|
10607
|
+
SubnetCidrReservation.add_member(:subnet_cidr_reservation_id, Shapes::ShapeRef.new(shape: SubnetCidrReservationId, location_name: "subnetCidrReservationId"))
|
10608
|
+
SubnetCidrReservation.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "subnetId"))
|
10609
|
+
SubnetCidrReservation.add_member(:cidr, Shapes::ShapeRef.new(shape: String, location_name: "cidr"))
|
10610
|
+
SubnetCidrReservation.add_member(:reservation_type, Shapes::ShapeRef.new(shape: SubnetCidrReservationType, location_name: "reservationType"))
|
10611
|
+
SubnetCidrReservation.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
10612
|
+
SubnetCidrReservation.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
10613
|
+
SubnetCidrReservation.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
10614
|
+
SubnetCidrReservation.struct_class = Types::SubnetCidrReservation
|
10615
|
+
|
10616
|
+
SubnetCidrReservationList.member = Shapes::ShapeRef.new(shape: SubnetCidrReservation, location_name: "item")
|
10617
|
+
|
10480
10618
|
SubnetIdStringList.member = Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId")
|
10481
10619
|
|
10482
10620
|
SubnetIpv6CidrBlockAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: SubnetCidrAssociationId, location_name: "associationId"))
|
@@ -10984,16 +11122,19 @@ module Aws::EC2
|
|
10984
11122
|
|
10985
11123
|
TunnelOptionsList.member = Shapes::ShapeRef.new(shape: TunnelOption, location_name: "item")
|
10986
11124
|
|
11125
|
+
UnassignIpv6AddressesRequest.add_member(:ipv_6_addresses, Shapes::ShapeRef.new(shape: Ipv6AddressList, location_name: "ipv6Addresses"))
|
11126
|
+
UnassignIpv6AddressesRequest.add_member(:ipv_6_prefixes, Shapes::ShapeRef.new(shape: IpPrefixList, location_name: "Ipv6Prefix"))
|
10987
11127
|
UnassignIpv6AddressesRequest.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, required: true, location_name: "networkInterfaceId"))
|
10988
|
-
UnassignIpv6AddressesRequest.add_member(:ipv_6_addresses, Shapes::ShapeRef.new(shape: Ipv6AddressList, required: true, location_name: "ipv6Addresses"))
|
10989
11128
|
UnassignIpv6AddressesRequest.struct_class = Types::UnassignIpv6AddressesRequest
|
10990
11129
|
|
10991
11130
|
UnassignIpv6AddressesResult.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: String, location_name: "networkInterfaceId"))
|
10992
11131
|
UnassignIpv6AddressesResult.add_member(:unassigned_ipv_6_addresses, Shapes::ShapeRef.new(shape: Ipv6AddressList, location_name: "unassignedIpv6Addresses"))
|
11132
|
+
UnassignIpv6AddressesResult.add_member(:unassigned_ipv_6_prefixes, Shapes::ShapeRef.new(shape: IpPrefixList, location_name: "unassignedIpv6PrefixSet"))
|
10993
11133
|
UnassignIpv6AddressesResult.struct_class = Types::UnassignIpv6AddressesResult
|
10994
11134
|
|
10995
11135
|
UnassignPrivateIpAddressesRequest.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, required: true, location_name: "networkInterfaceId"))
|
10996
|
-
UnassignPrivateIpAddressesRequest.add_member(:private_ip_addresses, Shapes::ShapeRef.new(shape: PrivateIpAddressStringList,
|
11136
|
+
UnassignPrivateIpAddressesRequest.add_member(:private_ip_addresses, Shapes::ShapeRef.new(shape: PrivateIpAddressStringList, location_name: "privateIpAddress"))
|
11137
|
+
UnassignPrivateIpAddressesRequest.add_member(:ipv_4_prefixes, Shapes::ShapeRef.new(shape: IpPrefixList, location_name: "Ipv4Prefix"))
|
10997
11138
|
UnassignPrivateIpAddressesRequest.struct_class = Types::UnassignPrivateIpAddressesRequest
|
10998
11139
|
|
10999
11140
|
UnmonitorInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, required: true, location_name: "InstanceId"))
|
@@ -12118,6 +12259,14 @@ module Aws::EC2
|
|
12118
12259
|
o.output = Shapes::ShapeRef.new(shape: CreateSubnetResult)
|
12119
12260
|
end)
|
12120
12261
|
|
12262
|
+
api.add_operation(:create_subnet_cidr_reservation, Seahorse::Model::Operation.new.tap do |o|
|
12263
|
+
o.name = "CreateSubnetCidrReservation"
|
12264
|
+
o.http_method = "POST"
|
12265
|
+
o.http_request_uri = "/"
|
12266
|
+
o.input = Shapes::ShapeRef.new(shape: CreateSubnetCidrReservationRequest)
|
12267
|
+
o.output = Shapes::ShapeRef.new(shape: CreateSubnetCidrReservationResult)
|
12268
|
+
end)
|
12269
|
+
|
12121
12270
|
api.add_operation(:create_tags, Seahorse::Model::Operation.new.tap do |o|
|
12122
12271
|
o.name = "CreateTags"
|
12123
12272
|
o.http_method = "POST"
|
@@ -12558,6 +12707,14 @@ module Aws::EC2
|
|
12558
12707
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
12559
12708
|
end)
|
12560
12709
|
|
12710
|
+
api.add_operation(:delete_subnet_cidr_reservation, Seahorse::Model::Operation.new.tap do |o|
|
12711
|
+
o.name = "DeleteSubnetCidrReservation"
|
12712
|
+
o.http_method = "POST"
|
12713
|
+
o.http_request_uri = "/"
|
12714
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteSubnetCidrReservationRequest)
|
12715
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteSubnetCidrReservationResult)
|
12716
|
+
end)
|
12717
|
+
|
12561
12718
|
api.add_operation(:delete_tags, Seahorse::Model::Operation.new.tap do |o|
|
12562
12719
|
o.name = "DeleteTags"
|
12563
12720
|
o.http_method = "POST"
|
@@ -14779,6 +14936,14 @@ module Aws::EC2
|
|
14779
14936
|
o.output = Shapes::ShapeRef.new(shape: GetSerialConsoleAccessStatusResult)
|
14780
14937
|
end)
|
14781
14938
|
|
14939
|
+
api.add_operation(:get_subnet_cidr_reservations, Seahorse::Model::Operation.new.tap do |o|
|
14940
|
+
o.name = "GetSubnetCidrReservations"
|
14941
|
+
o.http_method = "POST"
|
14942
|
+
o.http_request_uri = "/"
|
14943
|
+
o.input = Shapes::ShapeRef.new(shape: GetSubnetCidrReservationsRequest)
|
14944
|
+
o.output = Shapes::ShapeRef.new(shape: GetSubnetCidrReservationsResult)
|
14945
|
+
end)
|
14946
|
+
|
14782
14947
|
api.add_operation(:get_transit_gateway_attachment_propagations, Seahorse::Model::Operation.new.tap do |o|
|
14783
14948
|
o.name = "GetTransitGatewayAttachmentPropagations"
|
14784
14949
|
o.http_method = "POST"
|
@@ -41,7 +41,8 @@ module Aws::EC2
|
|
41
41
|
data[:dhcp_configurations]
|
42
42
|
end
|
43
43
|
|
44
|
-
# The ID of the
|
44
|
+
# The ID of the Amazon Web Services account that owns the DHCP options
|
45
|
+
# set.
|
45
46
|
# @return [String]
|
46
47
|
def owner_id
|
47
48
|
data[:owner_id]
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -1545,7 +1545,8 @@ module Aws::EC2
|
|
1545
1545
|
# * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
|
1546
1546
|
# that the address is associated with, if any.
|
1547
1547
|
#
|
1548
|
-
# * `network-interface-owner-id` - The account ID of
|
1548
|
+
# * `network-interface-owner-id` - The Amazon Web Services account ID of
|
1549
|
+
# the owner.
|
1549
1550
|
#
|
1550
1551
|
# * `private-ip-address` - \[EC2-VPC\] The private IP address associated
|
1551
1552
|
# with the Elastic IP address.
|
@@ -83,7 +83,8 @@ module Aws::EC2
|
|
83
83
|
data[:outpost_arn]
|
84
84
|
end
|
85
85
|
|
86
|
-
# The account ID of the owner of the network
|
86
|
+
# The Amazon Web Services account ID of the owner of the network
|
87
|
+
# interface.
|
87
88
|
# @return [String]
|
88
89
|
def owner_id
|
89
90
|
data[:owner_id]
|
@@ -107,8 +108,22 @@ module Aws::EC2
|
|
107
108
|
data[:private_ip_addresses]
|
108
109
|
end
|
109
110
|
|
110
|
-
# The
|
111
|
-
#
|
111
|
+
# The IPv4 Prefix Delegation prefixes that are assigned to the network
|
112
|
+
# interface.
|
113
|
+
# @return [Array<Types::Ipv4PrefixSpecification>]
|
114
|
+
def ipv_4_prefixes
|
115
|
+
data[:ipv_4_prefixes]
|
116
|
+
end
|
117
|
+
|
118
|
+
# The IPv6 Prefix Delegation prefixes that are assigned to the network
|
119
|
+
# interface.
|
120
|
+
# @return [Array<Types::Ipv6PrefixSpecification>]
|
121
|
+
def ipv_6_prefixes
|
122
|
+
data[:ipv_6_prefixes]
|
123
|
+
end
|
124
|
+
|
125
|
+
# The alias or Amazon Web Services account ID of the principal or
|
126
|
+
# service that created the network interface.
|
112
127
|
# @return [String]
|
113
128
|
def requester_id
|
114
129
|
data[:requester_id]
|
@@ -291,6 +306,8 @@ module Aws::EC2
|
|
291
306
|
# allow_reassignment: false,
|
292
307
|
# private_ip_addresses: ["String"],
|
293
308
|
# secondary_private_ip_address_count: 1,
|
309
|
+
# ipv_4_prefixes: ["String"],
|
310
|
+
# ipv_4_prefix_count: 1,
|
294
311
|
# })
|
295
312
|
# @param [Hash] options ({})
|
296
313
|
# @option options [Boolean] :allow_reassignment
|
@@ -308,6 +325,14 @@ module Aws::EC2
|
|
308
325
|
# The number of secondary IP addresses to assign to the network
|
309
326
|
# interface. You can't specify this parameter when also specifying
|
310
327
|
# private IP addresses.
|
328
|
+
# @option options [Array<String>] :ipv_4_prefixes
|
329
|
+
# One or more IPv4 Prefix Delegation prefixes assigned to the network
|
330
|
+
# interface. You cannot use this option if you use the `Ipv4PrefixCount`
|
331
|
+
# option.
|
332
|
+
# @option options [Integer] :ipv_4_prefix_count
|
333
|
+
# The number of IPv4 Prefix Delegation prefixes that AWS automatically
|
334
|
+
# assigns to the network interface. You cannot use this option if you
|
335
|
+
# use the `Ipv4 Prefixes` option.
|
311
336
|
# @return [Types::AssignPrivateIpAddressesResult]
|
312
337
|
def assign_private_ip_addresses(options = {})
|
313
338
|
options = options.merge(network_interface_id: @id)
|
@@ -573,13 +598,17 @@ module Aws::EC2
|
|
573
598
|
# @example Request syntax with placeholder values
|
574
599
|
#
|
575
600
|
# network_interface.unassign_private_ip_addresses({
|
576
|
-
# private_ip_addresses: ["String"],
|
601
|
+
# private_ip_addresses: ["String"],
|
602
|
+
# ipv_4_prefixes: ["String"],
|
577
603
|
# })
|
578
604
|
# @param [Hash] options ({})
|
579
|
-
# @option options [
|
605
|
+
# @option options [Array<String>] :private_ip_addresses
|
580
606
|
# The secondary private IP addresses to unassign from the network
|
581
607
|
# interface. You can specify this option multiple times to unassign more
|
582
608
|
# than one IP address.
|
609
|
+
# @option options [Array<String>] :ipv_4_prefixes
|
610
|
+
# The IPv4 Prefix Delegation prefixes to unassign from the network
|
611
|
+
# interface.
|
583
612
|
# @return [EmptyStructure]
|
584
613
|
def unassign_private_ip_addresses(options = {})
|
585
614
|
options = options.merge(network_interface_id: @id)
|