aws-sdk-ec2 1.39.0 → 1.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +201 -174
- data/lib/aws-sdk-ec2/client_api.rb +19 -0
- data/lib/aws-sdk-ec2/instance.rb +10 -10
- data/lib/aws-sdk-ec2/placement_group.rb +7 -7
- data/lib/aws-sdk-ec2/resource.rb +82 -72
- data/lib/aws-sdk-ec2/subnet.rb +16 -12
- data/lib/aws-sdk-ec2/types.rb +325 -163
- data/lib/aws-sdk-ec2/volume.rb +5 -5
- data/lib/aws-sdk-ec2/vpc.rb +48 -42
- metadata +2 -2
@@ -530,6 +530,7 @@ module Aws::EC2
|
|
530
530
|
FleetLaunchTemplateOverridesRequest = Shapes::StructureShape.new(name: 'FleetLaunchTemplateOverridesRequest')
|
531
531
|
FleetLaunchTemplateSpecification = Shapes::StructureShape.new(name: 'FleetLaunchTemplateSpecification')
|
532
532
|
FleetLaunchTemplateSpecificationRequest = Shapes::StructureShape.new(name: 'FleetLaunchTemplateSpecificationRequest')
|
533
|
+
FleetOnDemandAllocationStrategy = Shapes::StringShape.new(name: 'FleetOnDemandAllocationStrategy')
|
533
534
|
FleetSet = Shapes::ListShape.new(name: 'FleetSet')
|
534
535
|
FleetStateCode = Shapes::StringShape.new(name: 'FleetStateCode')
|
535
536
|
FleetType = Shapes::StringShape.new(name: 'FleetType')
|
@@ -824,6 +825,9 @@ module Aws::EC2
|
|
824
825
|
OccurrenceDaySet = Shapes::ListShape.new(name: 'OccurrenceDaySet')
|
825
826
|
OfferingClassType = Shapes::StringShape.new(name: 'OfferingClassType')
|
826
827
|
OfferingTypeValues = Shapes::StringShape.new(name: 'OfferingTypeValues')
|
828
|
+
OnDemandAllocationStrategy = Shapes::StringShape.new(name: 'OnDemandAllocationStrategy')
|
829
|
+
OnDemandOptions = Shapes::StructureShape.new(name: 'OnDemandOptions')
|
830
|
+
OnDemandOptionsRequest = Shapes::StructureShape.new(name: 'OnDemandOptionsRequest')
|
827
831
|
OperationType = Shapes::StringShape.new(name: 'OperationType')
|
828
832
|
OwnerStringList = Shapes::ListShape.new(name: 'OwnerStringList')
|
829
833
|
PaymentOption = Shapes::StringShape.new(name: 'PaymentOption')
|
@@ -1690,6 +1694,7 @@ module Aws::EC2
|
|
1690
1694
|
CreateFleetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
1691
1695
|
CreateFleetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
1692
1696
|
CreateFleetRequest.add_member(:spot_options, Shapes::ShapeRef.new(shape: SpotOptionsRequest, location_name: "SpotOptions"))
|
1697
|
+
CreateFleetRequest.add_member(:on_demand_options, Shapes::ShapeRef.new(shape: OnDemandOptionsRequest, location_name: "OnDemandOptions"))
|
1693
1698
|
CreateFleetRequest.add_member(:excess_capacity_termination_policy, Shapes::ShapeRef.new(shape: FleetExcessCapacityTerminationPolicy, location_name: "ExcessCapacityTerminationPolicy"))
|
1694
1699
|
CreateFleetRequest.add_member(:launch_template_configs, Shapes::ShapeRef.new(shape: FleetLaunchTemplateConfigListRequest, required: true, location_name: "LaunchTemplateConfigs"))
|
1695
1700
|
CreateFleetRequest.add_member(:target_capacity_specification, Shapes::ShapeRef.new(shape: TargetCapacitySpecificationRequest, required: true, location_name: "TargetCapacitySpecification"))
|
@@ -3320,6 +3325,7 @@ module Aws::EC2
|
|
3320
3325
|
FleetData.add_member(:valid_until, Shapes::ShapeRef.new(shape: DateTime, location_name: "validUntil"))
|
3321
3326
|
FleetData.add_member(:replace_unhealthy_instances, Shapes::ShapeRef.new(shape: Boolean, location_name: "replaceUnhealthyInstances"))
|
3322
3327
|
FleetData.add_member(:spot_options, Shapes::ShapeRef.new(shape: SpotOptions, location_name: "spotOptions"))
|
3328
|
+
FleetData.add_member(:on_demand_options, Shapes::ShapeRef.new(shape: OnDemandOptions, location_name: "onDemandOptions"))
|
3323
3329
|
FleetData.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
3324
3330
|
FleetData.struct_class = Types::FleetData
|
3325
3331
|
|
@@ -3342,6 +3348,7 @@ module Aws::EC2
|
|
3342
3348
|
FleetLaunchTemplateOverrides.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
3343
3349
|
FleetLaunchTemplateOverrides.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
3344
3350
|
FleetLaunchTemplateOverrides.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "weightedCapacity"))
|
3351
|
+
FleetLaunchTemplateOverrides.add_member(:priority, Shapes::ShapeRef.new(shape: Double, location_name: "priority"))
|
3345
3352
|
FleetLaunchTemplateOverrides.struct_class = Types::FleetLaunchTemplateOverrides
|
3346
3353
|
|
3347
3354
|
FleetLaunchTemplateOverridesList.member = Shapes::ShapeRef.new(shape: FleetLaunchTemplateOverrides, location_name: "item")
|
@@ -3353,6 +3360,7 @@ module Aws::EC2
|
|
3353
3360
|
FleetLaunchTemplateOverridesRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "SubnetId"))
|
3354
3361
|
FleetLaunchTemplateOverridesRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
3355
3362
|
FleetLaunchTemplateOverridesRequest.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "WeightedCapacity"))
|
3363
|
+
FleetLaunchTemplateOverridesRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Double, location_name: "Priority"))
|
3356
3364
|
FleetLaunchTemplateOverridesRequest.struct_class = Types::FleetLaunchTemplateOverridesRequest
|
3357
3365
|
|
3358
3366
|
FleetLaunchTemplateSpecification.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateId"))
|
@@ -4186,6 +4194,7 @@ module Aws::EC2
|
|
4186
4194
|
LaunchTemplateOverrides.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
4187
4195
|
LaunchTemplateOverrides.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
4188
4196
|
LaunchTemplateOverrides.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "weightedCapacity"))
|
4197
|
+
LaunchTemplateOverrides.add_member(:priority, Shapes::ShapeRef.new(shape: Double, location_name: "priority"))
|
4189
4198
|
LaunchTemplateOverrides.struct_class = Types::LaunchTemplateOverrides
|
4190
4199
|
|
4191
4200
|
LaunchTemplateOverridesList.member = Shapes::ShapeRef.new(shape: LaunchTemplateOverrides, location_name: "item")
|
@@ -4658,6 +4667,12 @@ module Aws::EC2
|
|
4658
4667
|
|
4659
4668
|
OccurrenceDaySet.member = Shapes::ShapeRef.new(shape: Integer, location_name: "item")
|
4660
4669
|
|
4670
|
+
OnDemandOptions.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: FleetOnDemandAllocationStrategy, location_name: "allocationStrategy"))
|
4671
|
+
OnDemandOptions.struct_class = Types::OnDemandOptions
|
4672
|
+
|
4673
|
+
OnDemandOptionsRequest.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: FleetOnDemandAllocationStrategy, location_name: "AllocationStrategy"))
|
4674
|
+
OnDemandOptionsRequest.struct_class = Types::OnDemandOptionsRequest
|
4675
|
+
|
4661
4676
|
OwnerStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "Owner")
|
4662
4677
|
|
4663
4678
|
PciId.add_member(:device_id, Shapes::ShapeRef.new(shape: String, location_name: "DeviceId"))
|
@@ -5593,6 +5608,7 @@ module Aws::EC2
|
|
5593
5608
|
SpotFleetRequestConfig.struct_class = Types::SpotFleetRequestConfig
|
5594
5609
|
|
5595
5610
|
SpotFleetRequestConfigData.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: AllocationStrategy, location_name: "allocationStrategy"))
|
5611
|
+
SpotFleetRequestConfigData.add_member(:on_demand_allocation_strategy, Shapes::ShapeRef.new(shape: OnDemandAllocationStrategy, location_name: "onDemandAllocationStrategy"))
|
5596
5612
|
SpotFleetRequestConfigData.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
5597
5613
|
SpotFleetRequestConfigData.add_member(:excess_capacity_termination_policy, Shapes::ShapeRef.new(shape: ExcessCapacityTerminationPolicy, location_name: "excessCapacityTerminationPolicy"))
|
5598
5614
|
SpotFleetRequestConfigData.add_member(:fulfilled_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "fulfilledCapacity"))
|
@@ -5610,6 +5626,7 @@ module Aws::EC2
|
|
5610
5626
|
SpotFleetRequestConfigData.add_member(:replace_unhealthy_instances, Shapes::ShapeRef.new(shape: Boolean, location_name: "replaceUnhealthyInstances"))
|
5611
5627
|
SpotFleetRequestConfigData.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: InstanceInterruptionBehavior, location_name: "instanceInterruptionBehavior"))
|
5612
5628
|
SpotFleetRequestConfigData.add_member(:load_balancers_config, Shapes::ShapeRef.new(shape: LoadBalancersConfig, location_name: "loadBalancersConfig"))
|
5629
|
+
SpotFleetRequestConfigData.add_member(:instance_pools_to_use_count, Shapes::ShapeRef.new(shape: Integer, location_name: "instancePoolsToUseCount"))
|
5613
5630
|
SpotFleetRequestConfigData.struct_class = Types::SpotFleetRequestConfigData
|
5614
5631
|
|
5615
5632
|
SpotFleetRequestConfigSet.member = Shapes::ShapeRef.new(shape: SpotFleetRequestConfig, location_name: "item")
|
@@ -5663,10 +5680,12 @@ module Aws::EC2
|
|
5663
5680
|
|
5664
5681
|
SpotOptions.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotAllocationStrategy, location_name: "allocationStrategy"))
|
5665
5682
|
SpotOptions.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: SpotInstanceInterruptionBehavior, location_name: "instanceInterruptionBehavior"))
|
5683
|
+
SpotOptions.add_member(:instance_pools_to_use_count, Shapes::ShapeRef.new(shape: Integer, location_name: "instancePoolsToUseCount"))
|
5666
5684
|
SpotOptions.struct_class = Types::SpotOptions
|
5667
5685
|
|
5668
5686
|
SpotOptionsRequest.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotAllocationStrategy, location_name: "AllocationStrategy"))
|
5669
5687
|
SpotOptionsRequest.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: SpotInstanceInterruptionBehavior, location_name: "InstanceInterruptionBehavior"))
|
5688
|
+
SpotOptionsRequest.add_member(:instance_pools_to_use_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancePoolsToUseCount"))
|
5670
5689
|
SpotOptionsRequest.struct_class = Types::SpotOptionsRequest
|
5671
5690
|
|
5672
5691
|
SpotPlacement.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -1294,11 +1294,11 @@ module Aws::EC2
|
|
1294
1294
|
# * `status` - The status of the volume (`creating` \| `available` \|
|
1295
1295
|
# `in-use` \| `deleting` \| `deleted` \| `error`).
|
1296
1296
|
#
|
1297
|
-
# * `tag
|
1298
|
-
#
|
1299
|
-
#
|
1300
|
-
#
|
1301
|
-
# filter value.
|
1297
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1298
|
+
# the resource. Use the tag key in the filter name and the tag value
|
1299
|
+
# as the filter value. For example, to find all resources that have a
|
1300
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
1301
|
+
# for the filter name and `TeamA` for the filter value.
|
1302
1302
|
#
|
1303
1303
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1304
1304
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -1389,11 +1389,11 @@ module Aws::EC2
|
|
1389
1389
|
#
|
1390
1390
|
# * `public-ip` - The Elastic IP address.
|
1391
1391
|
#
|
1392
|
-
# * `tag
|
1393
|
-
#
|
1394
|
-
#
|
1395
|
-
#
|
1396
|
-
# filter value.
|
1392
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1393
|
+
# the resource. Use the tag key in the filter name and the tag value
|
1394
|
+
# as the filter value. For example, to find all resources that have a
|
1395
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
1396
|
+
# for the filter name and `TeamA` for the filter value.
|
1397
1397
|
#
|
1398
1398
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1399
1399
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -260,7 +260,7 @@ module Aws::EC2
|
|
260
260
|
# a Scheduled Instance (`spot` \| `scheduled`).
|
261
261
|
#
|
262
262
|
# * `instance-state-code` - The state of the instance, as a 16-bit
|
263
|
-
# unsigned integer. The high byte is
|
263
|
+
# unsigned integer. The high byte is used for internal purposes and
|
264
264
|
# should be ignored. The low byte is set based on the state
|
265
265
|
# represented. The valid values are: 0 (pending), 16 (running), 32
|
266
266
|
# (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).
|
@@ -446,14 +446,14 @@ module Aws::EC2
|
|
446
446
|
#
|
447
447
|
# * `subnet-id` - The ID of the subnet for the instance.
|
448
448
|
#
|
449
|
-
# * `tag
|
450
|
-
#
|
451
|
-
#
|
452
|
-
#
|
453
|
-
# filter value.
|
449
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
450
|
+
# the resource. Use the tag key in the filter name and the tag value
|
451
|
+
# as the filter value. For example, to find all resources that have a
|
452
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
453
|
+
# for the filter name and `TeamA` for the filter value.
|
454
454
|
#
|
455
455
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
456
|
-
# filter to find all resources
|
456
|
+
# filter to find all resources that have a tag with a specific key,
|
457
457
|
# regardless of the tag value.
|
458
458
|
#
|
459
459
|
# * `tenancy` - The tenancy of an instance (`dedicated` \| `default` \|
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -354,6 +354,10 @@ module Aws::EC2
|
|
354
354
|
# template, but not both.
|
355
355
|
# @option options [Types::InstanceMarketOptionsRequest] :instance_market_options
|
356
356
|
# The market (purchasing) option for the instances.
|
357
|
+
#
|
358
|
+
# For RunInstances, persistent Spot Instance requests are only supported
|
359
|
+
# when **InstanceInterruptionBehavior** is set to either `hibernate` or
|
360
|
+
# `stop`.
|
357
361
|
# @option options [Types::CreditSpecificationRequest] :credit_specification
|
358
362
|
# The credit option for CPU usage of the instance. Valid values are
|
359
363
|
# `standard` and `unlimited`. To change this attribute after launch, use
|
@@ -1121,11 +1125,11 @@ module Aws::EC2
|
|
1121
1125
|
#
|
1122
1126
|
# * `public-ip` - The Elastic IP address.
|
1123
1127
|
#
|
1124
|
-
# * `tag
|
1125
|
-
#
|
1126
|
-
#
|
1127
|
-
#
|
1128
|
-
# filter value.
|
1128
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1129
|
+
# the resource. Use the tag key in the filter name and the tag value
|
1130
|
+
# as the filter value. For example, to find all resources that have a
|
1131
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
1132
|
+
# for the filter name and `TeamA` for the filter value.
|
1129
1133
|
#
|
1130
1134
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1131
1135
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -1199,11 +1203,11 @@ module Aws::EC2
|
|
1199
1203
|
#
|
1200
1204
|
# * `value` - The value for one of the options.
|
1201
1205
|
#
|
1202
|
-
# * `tag
|
1203
|
-
#
|
1204
|
-
#
|
1205
|
-
#
|
1206
|
-
# filter value.
|
1206
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1207
|
+
# the resource. Use the tag key in the filter name and the tag value
|
1208
|
+
# as the filter value. For example, to find all resources that have a
|
1209
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
1210
|
+
# for the filter name and `TeamA` for the filter value.
|
1207
1211
|
#
|
1208
1212
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1209
1213
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -1332,11 +1336,11 @@ module Aws::EC2
|
|
1332
1336
|
# * `sriov-net-support` - A value of `simple` indicates that enhanced
|
1333
1337
|
# networking with the Intel 82599 VF interface is enabled.
|
1334
1338
|
#
|
1335
|
-
# * `tag
|
1336
|
-
#
|
1337
|
-
#
|
1338
|
-
#
|
1339
|
-
# filter value.
|
1339
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1340
|
+
# the resource. Use the tag key in the filter name and the tag value
|
1341
|
+
# as the filter value. For example, to find all resources that have a
|
1342
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
1343
|
+
# for the filter name and `TeamA` for the filter value.
|
1340
1344
|
#
|
1341
1345
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1342
1346
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -1450,7 +1454,7 @@ module Aws::EC2
|
|
1450
1454
|
# a Scheduled Instance (`spot` \| `scheduled`).
|
1451
1455
|
#
|
1452
1456
|
# * `instance-state-code` - The state of the instance, as a 16-bit
|
1453
|
-
# unsigned integer. The high byte is
|
1457
|
+
# unsigned integer. The high byte is used for internal purposes and
|
1454
1458
|
# should be ignored. The low byte is set based on the state
|
1455
1459
|
# represented. The valid values are: 0 (pending), 16 (running), 32
|
1456
1460
|
# (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).
|
@@ -1636,14 +1640,14 @@ module Aws::EC2
|
|
1636
1640
|
#
|
1637
1641
|
# * `subnet-id` - The ID of the subnet for the instance.
|
1638
1642
|
#
|
1639
|
-
# * `tag
|
1640
|
-
#
|
1641
|
-
#
|
1642
|
-
#
|
1643
|
-
# filter value.
|
1643
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1644
|
+
# the resource. Use the tag key in the filter name and the tag value
|
1645
|
+
# as the filter value. For example, to find all resources that have a
|
1646
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
1647
|
+
# for the filter name and `TeamA` for the filter value.
|
1644
1648
|
#
|
1645
1649
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1646
|
-
# filter to find all resources
|
1650
|
+
# filter to find all resources that have a tag with a specific key,
|
1647
1651
|
# regardless of the tag value.
|
1648
1652
|
#
|
1649
1653
|
# * `tenancy` - The tenancy of an instance (`dedicated` \| `default` \|
|
@@ -1716,11 +1720,11 @@ module Aws::EC2
|
|
1716
1720
|
#
|
1717
1721
|
# * `internet-gateway-id` - The ID of the Internet gateway.
|
1718
1722
|
#
|
1719
|
-
# * `tag
|
1720
|
-
#
|
1721
|
-
#
|
1722
|
-
#
|
1723
|
-
# filter value.
|
1723
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1724
|
+
# the resource. Use the tag key in the filter name and the tag value
|
1725
|
+
# as the filter value. For example, to find all resources that have a
|
1726
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
1727
|
+
# for the filter name and `TeamA` for the filter value.
|
1724
1728
|
#
|
1725
1729
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1726
1730
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -1870,11 +1874,11 @@ module Aws::EC2
|
|
1870
1874
|
#
|
1871
1875
|
# * `network-acl-id` - The ID of the network ACL.
|
1872
1876
|
#
|
1873
|
-
# * `tag
|
1874
|
-
#
|
1875
|
-
#
|
1876
|
-
#
|
1877
|
-
# filter value.
|
1877
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1878
|
+
# the resource. Use the tag key in the filter name and the tag value
|
1879
|
+
# as the filter value. For example, to find all resources that have a
|
1880
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
1881
|
+
# for the filter name and `TeamA` for the filter value.
|
1878
1882
|
#
|
1879
1883
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1880
1884
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -2030,11 +2034,11 @@ module Aws::EC2
|
|
2030
2034
|
#
|
2031
2035
|
# * `subnet-id` - The ID of the subnet for the network interface.
|
2032
2036
|
#
|
2033
|
-
# * `tag
|
2034
|
-
#
|
2035
|
-
#
|
2036
|
-
#
|
2037
|
-
# filter value.
|
2037
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
2038
|
+
# the resource. Use the tag key in the filter name and the tag value
|
2039
|
+
# as the filter value. For example, to find all resources that have a
|
2040
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
2041
|
+
# for the filter name and `TeamA` for the filter value.
|
2038
2042
|
#
|
2039
2043
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2040
2044
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -2211,11 +2215,11 @@ module Aws::EC2
|
|
2211
2215
|
# * `route.vpc-peering-connection-id` - The ID of a VPC peering
|
2212
2216
|
# connection specified in a route in the table.
|
2213
2217
|
#
|
2214
|
-
# * `tag
|
2215
|
-
#
|
2216
|
-
#
|
2217
|
-
#
|
2218
|
-
# filter value.
|
2218
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
2219
|
+
# the resource. Use the tag key in the filter name and the tag value
|
2220
|
+
# as the filter value. For example, to find all resources that have a
|
2221
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
2222
|
+
# for the filter name and `TeamA` for the filter value.
|
2219
2223
|
#
|
2220
2224
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2221
2225
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -2340,6 +2344,12 @@ module Aws::EC2
|
|
2340
2344
|
#
|
2341
2345
|
# * `owner-id` - The AWS account ID of the owner of the security group.
|
2342
2346
|
#
|
2347
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
2348
|
+
# the resource. Use the tag key in the filter name and the tag value
|
2349
|
+
# as the filter value. For example, to find all resources that have a
|
2350
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
2351
|
+
# for the filter name and `TeamA` for the filter value.
|
2352
|
+
#
|
2343
2353
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2344
2354
|
# filter to find all resources assigned a tag with a specific key,
|
2345
2355
|
# regardless of the tag value.
|
@@ -2433,11 +2443,11 @@ module Aws::EC2
|
|
2433
2443
|
# * `status` - The status of the snapshot (`pending` \| `completed` \|
|
2434
2444
|
# `error`).
|
2435
2445
|
#
|
2436
|
-
# * `tag
|
2437
|
-
#
|
2438
|
-
#
|
2439
|
-
#
|
2440
|
-
# filter value.
|
2446
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
2447
|
+
# the resource. Use the tag key in the filter name and the tag value
|
2448
|
+
# as the filter value. For example, to find all resources that have a
|
2449
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
2450
|
+
# for the filter name and `TeamA` for the filter value.
|
2441
2451
|
#
|
2442
2452
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2443
2453
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -2533,11 +2543,11 @@ module Aws::EC2
|
|
2533
2543
|
#
|
2534
2544
|
# * `subnet-id` - The ID of the subnet.
|
2535
2545
|
#
|
2536
|
-
# * `tag
|
2537
|
-
#
|
2538
|
-
#
|
2539
|
-
#
|
2540
|
-
# filter value.
|
2546
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
2547
|
+
# the resource. Use the tag key in the filter name and the tag value
|
2548
|
+
# as the filter value. For example, to find all resources that have a
|
2549
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
2550
|
+
# for the filter name and `TeamA` for the filter value.
|
2541
2551
|
#
|
2542
2552
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2543
2553
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -2624,11 +2634,11 @@ module Aws::EC2
|
|
2624
2634
|
# * `status` - The status of the volume (`creating` \| `available` \|
|
2625
2635
|
# `in-use` \| `deleting` \| `deleted` \| `error`).
|
2626
2636
|
#
|
2627
|
-
# * `tag
|
2628
|
-
#
|
2629
|
-
#
|
2630
|
-
#
|
2631
|
-
# filter value.
|
2637
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
2638
|
+
# the resource. Use the tag key in the filter name and the tag value
|
2639
|
+
# as the filter value. For example, to find all resources that have a
|
2640
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
2641
|
+
# for the filter name and `TeamA` for the filter value.
|
2632
2642
|
#
|
2633
2643
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2634
2644
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -2712,11 +2722,11 @@ module Aws::EC2
|
|
2712
2722
|
#
|
2713
2723
|
# * `public-ip` - The Elastic IP address.
|
2714
2724
|
#
|
2715
|
-
# * `tag
|
2716
|
-
#
|
2717
|
-
#
|
2718
|
-
#
|
2719
|
-
# filter value.
|
2725
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
2726
|
+
# the resource. Use the tag key in the filter name and the tag value
|
2727
|
+
# as the filter value. For example, to find all resources that have a
|
2728
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
2729
|
+
# for the filter name and `TeamA` for the filter value.
|
2720
2730
|
#
|
2721
2731
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2722
2732
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -2806,11 +2816,11 @@ module Aws::EC2
|
|
2806
2816
|
# * `status-message` - A message that provides more information about
|
2807
2817
|
# the status of the VPC peering connection, if applicable.
|
2808
2818
|
#
|
2809
|
-
# * `tag
|
2810
|
-
#
|
2811
|
-
#
|
2812
|
-
#
|
2813
|
-
# filter value.
|
2819
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
2820
|
+
# the resource. Use the tag key in the filter name and the tag value
|
2821
|
+
# as the filter value. For example, to find all resources that have a
|
2822
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
2823
|
+
# for the filter name and `TeamA` for the filter value.
|
2814
2824
|
#
|
2815
2825
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2816
2826
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -2888,11 +2898,11 @@ module Aws::EC2
|
|
2888
2898
|
#
|
2889
2899
|
# * `state` - The state of the VPC (`pending` \| `available`).
|
2890
2900
|
#
|
2891
|
-
# * `tag
|
2892
|
-
#
|
2893
|
-
#
|
2894
|
-
#
|
2895
|
-
# filter value.
|
2901
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
2902
|
+
# the resource. Use the tag key in the filter name and the tag value
|
2903
|
+
# as the filter value. For example, to find all resources that have a
|
2904
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
2905
|
+
# for the filter name and `TeamA` for the filter value.
|
2896
2906
|
#
|
2897
2907
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2898
2908
|
# filter to find all resources assigned a tag with a specific key,
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -530,6 +530,10 @@ module Aws::EC2
|
|
530
530
|
# template, but not both.
|
531
531
|
# @option options [Types::InstanceMarketOptionsRequest] :instance_market_options
|
532
532
|
# The market (purchasing) option for the instances.
|
533
|
+
#
|
534
|
+
# For RunInstances, persistent Spot Instance requests are only supported
|
535
|
+
# when **InstanceInterruptionBehavior** is set to either `hibernate` or
|
536
|
+
# `stop`.
|
533
537
|
# @option options [Types::CreditSpecificationRequest] :credit_specification
|
534
538
|
# The credit option for CPU usage of the instance. Valid values are
|
535
539
|
# `standard` and `unlimited`. To change this attribute after launch, use
|
@@ -761,7 +765,7 @@ module Aws::EC2
|
|
761
765
|
# a Scheduled Instance (`spot` \| `scheduled`).
|
762
766
|
#
|
763
767
|
# * `instance-state-code` - The state of the instance, as a 16-bit
|
764
|
-
# unsigned integer. The high byte is
|
768
|
+
# unsigned integer. The high byte is used for internal purposes and
|
765
769
|
# should be ignored. The low byte is set based on the state
|
766
770
|
# represented. The valid values are: 0 (pending), 16 (running), 32
|
767
771
|
# (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).
|
@@ -947,14 +951,14 @@ module Aws::EC2
|
|
947
951
|
#
|
948
952
|
# * `subnet-id` - The ID of the subnet for the instance.
|
949
953
|
#
|
950
|
-
# * `tag
|
951
|
-
#
|
952
|
-
#
|
953
|
-
#
|
954
|
-
# filter value.
|
954
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
955
|
+
# the resource. Use the tag key in the filter name and the tag value
|
956
|
+
# as the filter value. For example, to find all resources that have a
|
957
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
958
|
+
# for the filter name and `TeamA` for the filter value.
|
955
959
|
#
|
956
960
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
957
|
-
# filter to find all resources
|
961
|
+
# filter to find all resources that have a tag with a specific key,
|
958
962
|
# regardless of the tag value.
|
959
963
|
#
|
960
964
|
# * `tenancy` - The tenancy of an instance (`dedicated` \| `default` \|
|
@@ -1112,11 +1116,11 @@ module Aws::EC2
|
|
1112
1116
|
#
|
1113
1117
|
# * `subnet-id` - The ID of the subnet for the network interface.
|
1114
1118
|
#
|
1115
|
-
# * `tag
|
1116
|
-
#
|
1117
|
-
#
|
1118
|
-
#
|
1119
|
-
# filter value.
|
1119
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1120
|
+
# the resource. Use the tag key in the filter name and the tag value
|
1121
|
+
# as the filter value. For example, to find all resources that have a
|
1122
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
1123
|
+
# for the filter name and `TeamA` for the filter value.
|
1120
1124
|
#
|
1121
1125
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1122
1126
|
# filter to find all resources assigned a tag with a specific key,
|