aws-sdk-ec2 1.36.0 → 1.37.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/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +1255 -268
- data/lib/aws-sdk-ec2/client_api.rb +1 -0
- data/lib/aws-sdk-ec2/instance.rb +6 -17
- data/lib/aws-sdk-ec2/placement_group.rb +3 -10
- data/lib/aws-sdk-ec2/resource.rb +49 -140
- data/lib/aws-sdk-ec2/subnet.rb +10 -23
- data/lib/aws-sdk-ec2/types.rb +142 -275
- data/lib/aws-sdk-ec2/volume.rb +3 -10
- data/lib/aws-sdk-ec2/vpc.rb +27 -83
- metadata +2 -2
@@ -3509,6 +3509,7 @@ module Aws::EC2
|
|
3509
3509
|
Host.add_member(:state, Shapes::ShapeRef.new(shape: AllocationState, location_name: "state"))
|
3510
3510
|
Host.add_member(:allocation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "allocationTime"))
|
3511
3511
|
Host.add_member(:release_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "releaseTime"))
|
3512
|
+
Host.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
3512
3513
|
Host.struct_class = Types::Host
|
3513
3514
|
|
3514
3515
|
HostInstance.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -1300,16 +1300,9 @@ module Aws::EC2
|
|
1300
1300
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
1301
1301
|
# filter value.
|
1302
1302
|
#
|
1303
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
1304
|
-
#
|
1305
|
-
#
|
1306
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
1307
|
-
# of what the tag's value is), and the tag value X (regardless of
|
1308
|
-
# what the tag's key is). If you want to list only resources where
|
1309
|
-
# Purpose is X, see the `tag`\:*key*=*value* filter.
|
1310
|
-
#
|
1311
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
1312
|
-
# filter is independent of the `tag-key` filter.
|
1303
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1304
|
+
# filter to find all resources assigned a tag with a specific key,
|
1305
|
+
# regardless of the tag value.
|
1313
1306
|
#
|
1314
1307
|
# * `volume-id` - The volume ID.
|
1315
1308
|
#
|
@@ -1402,13 +1395,9 @@ module Aws::EC2
|
|
1402
1395
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
1403
1396
|
# filter value.
|
1404
1397
|
#
|
1405
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
1406
|
-
#
|
1407
|
-
#
|
1408
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
1409
|
-
# of what the tag's value is), and the tag value X (regardless of the
|
1410
|
-
# tag's key). If you want to list only resources where Purpose is X,
|
1411
|
-
# see the `tag`\:*key*=*value* filter.
|
1398
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1399
|
+
# filter to find all resources assigned a tag with a specific key,
|
1400
|
+
# regardless of the tag value.
|
1412
1401
|
# @option options [Array<String>] :public_ips
|
1413
1402
|
# \[EC2-Classic\] One or more Elastic IP addresses.
|
1414
1403
|
#
|
@@ -452,16 +452,9 @@ module Aws::EC2
|
|
452
452
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
453
453
|
# filter value.
|
454
454
|
#
|
455
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
456
|
-
#
|
457
|
-
#
|
458
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
459
|
-
# of what the tag's value is), and the tag value X (regardless of the
|
460
|
-
# tag's key). If you want to list only resources where Purpose is X,
|
461
|
-
# see the `tag`\:*key*=*value* filter.
|
462
|
-
#
|
463
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
464
|
-
# filter is independent of the `tag-key` filter.
|
455
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
456
|
+
# filter to find all resources assigned a tag with a specific key,
|
457
|
+
# regardless of the tag value.
|
465
458
|
#
|
466
459
|
# * `tenancy` - The tenancy of an instance (`dedicated` \| `default` \|
|
467
460
|
# `host`).
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -343,9 +343,10 @@ module Aws::EC2
|
|
343
343
|
# @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
|
344
344
|
# An elastic GPU to associate with the instance.
|
345
345
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
346
|
-
# The tags to apply to the resources during launch. You can tag
|
347
|
-
# instances and volumes. The specified tags are applied to all
|
348
|
-
# or volumes that are created during launch.
|
346
|
+
# The tags to apply to the resources during launch. You can only tag
|
347
|
+
# instances and volumes on launch. The specified tags are applied to all
|
348
|
+
# instances or volumes that are created during launch. To tag a resource
|
349
|
+
# after it has been created, see CreateTags.
|
349
350
|
# @option options [Types::LaunchTemplateSpecification] :launch_template
|
350
351
|
# The launch template to use to launch the instances. Any parameters
|
351
352
|
# that you specify in RunInstances override the same parameters in the
|
@@ -1126,13 +1127,9 @@ module Aws::EC2
|
|
1126
1127
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
1127
1128
|
# filter value.
|
1128
1129
|
#
|
1129
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
1130
|
-
#
|
1131
|
-
#
|
1132
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
1133
|
-
# of what the tag's value is), and the tag value X (regardless of the
|
1134
|
-
# tag's key). If you want to list only resources where Purpose is X,
|
1135
|
-
# see the `tag`\:*key*=*value* filter.
|
1130
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1131
|
+
# filter to find all resources assigned a tag with a specific key,
|
1132
|
+
# regardless of the tag value.
|
1136
1133
|
# @option options [Array<String>] :public_ips
|
1137
1134
|
# \[EC2-Classic\] One or more Elastic IP addresses.
|
1138
1135
|
#
|
@@ -1208,16 +1205,9 @@ module Aws::EC2
|
|
1208
1205
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
1209
1206
|
# filter value.
|
1210
1207
|
#
|
1211
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
1212
|
-
#
|
1213
|
-
#
|
1214
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
1215
|
-
# of what the tag's value is), and the tag value X (regardless of
|
1216
|
-
# what the tag's key is). If you want to list only resources where
|
1217
|
-
# Purpose is X, see the `tag`\:*key*=*value* filter.
|
1218
|
-
#
|
1219
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
1220
|
-
# filter is independent of the `tag-key` filter.
|
1208
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1209
|
+
# filter to find all resources assigned a tag with a specific key,
|
1210
|
+
# regardless of the tag value.
|
1221
1211
|
# @option options [Boolean] :dry_run
|
1222
1212
|
# Checks whether you have the required permissions for the action,
|
1223
1213
|
# without actually making the request, and provides an error response.
|
@@ -1348,16 +1338,9 @@ module Aws::EC2
|
|
1348
1338
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
1349
1339
|
# filter value.
|
1350
1340
|
#
|
1351
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
1352
|
-
#
|
1353
|
-
#
|
1354
|
-
# get any resources assigned both the tag key Purpose (regardless of
|
1355
|
-
# what the tag's value is), and the tag value X (regardless of what
|
1356
|
-
# the tag's key is). If you want to list only resources where Purpose
|
1357
|
-
# is X, see the `tag`\:*key*=*value* filter.
|
1358
|
-
#
|
1359
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
1360
|
-
# filter is independent of the `tag-key` filter.
|
1341
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1342
|
+
# filter to find all resources assigned a tag with a specific key,
|
1343
|
+
# regardless of the tag value.
|
1361
1344
|
#
|
1362
1345
|
# * `virtualization-type` - The virtualization type (`paravirtual` \|
|
1363
1346
|
# `hvm`).
|
@@ -1659,16 +1642,9 @@ module Aws::EC2
|
|
1659
1642
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
1660
1643
|
# filter value.
|
1661
1644
|
#
|
1662
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
1663
|
-
#
|
1664
|
-
#
|
1665
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
1666
|
-
# of what the tag's value is), and the tag value X (regardless of the
|
1667
|
-
# tag's key). If you want to list only resources where Purpose is X,
|
1668
|
-
# see the `tag`\:*key*=*value* filter.
|
1669
|
-
#
|
1670
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
1671
|
-
# filter is independent of the `tag-key` filter.
|
1645
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1646
|
+
# filter to find all resources assigned a tag with a specific key,
|
1647
|
+
# regardless of the tag value.
|
1672
1648
|
#
|
1673
1649
|
# * `tenancy` - The tenancy of an instance (`dedicated` \| `default` \|
|
1674
1650
|
# `host`).
|
@@ -1746,16 +1722,9 @@ module Aws::EC2
|
|
1746
1722
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
1747
1723
|
# filter value.
|
1748
1724
|
#
|
1749
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
1750
|
-
#
|
1751
|
-
#
|
1752
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
1753
|
-
# of what the tag's value is), and the tag value X (regardless of
|
1754
|
-
# what the tag's key is). If you want to list only resources where
|
1755
|
-
# Purpose is X, see the `tag`\:*key*=*value* filter.
|
1756
|
-
#
|
1757
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
1758
|
-
# filter is independent of the `tag-key` filter.
|
1725
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1726
|
+
# filter to find all resources assigned a tag with a specific key,
|
1727
|
+
# regardless of the tag value.
|
1759
1728
|
# @option options [Boolean] :dry_run
|
1760
1729
|
# Checks whether you have the required permissions for the action,
|
1761
1730
|
# without actually making the request, and provides an error response.
|
@@ -1907,16 +1876,9 @@ module Aws::EC2
|
|
1907
1876
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
1908
1877
|
# filter value.
|
1909
1878
|
#
|
1910
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
1911
|
-
#
|
1912
|
-
#
|
1913
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
1914
|
-
# of what the tag's value is), and the tag value X (regardless of
|
1915
|
-
# what the tag's key is). If you want to list only resources where
|
1916
|
-
# Purpose is X, see the `tag`\:*key*=*value* filter.
|
1917
|
-
#
|
1918
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
1919
|
-
# filter is independent of the `tag-key` filter.
|
1879
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1880
|
+
# filter to find all resources assigned a tag with a specific key,
|
1881
|
+
# regardless of the tag value.
|
1920
1882
|
#
|
1921
1883
|
# * `vpc-id` - The ID of the VPC for the network ACL.
|
1922
1884
|
# @option options [Boolean] :dry_run
|
@@ -2074,16 +2036,9 @@ module Aws::EC2
|
|
2074
2036
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
2075
2037
|
# filter value.
|
2076
2038
|
#
|
2077
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
2078
|
-
#
|
2079
|
-
#
|
2080
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
2081
|
-
# of what the tag's value is), and the tag value X (regardless of
|
2082
|
-
# what the tag's key is). If you want to list only resources where
|
2083
|
-
# Purpose is X, see the `tag`\:*key*=*value* filter.
|
2084
|
-
#
|
2085
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
2086
|
-
# filter is independent of the `tag-key` filter.
|
2039
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2040
|
+
# filter to find all resources assigned a tag with a specific key,
|
2041
|
+
# regardless of the tag value.
|
2087
2042
|
#
|
2088
2043
|
# * `vpc-id` - The ID of the VPC for the network interface.
|
2089
2044
|
# @option options [Boolean] :dry_run
|
@@ -2262,16 +2217,9 @@ module Aws::EC2
|
|
2262
2217
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
2263
2218
|
# filter value.
|
2264
2219
|
#
|
2265
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
2266
|
-
#
|
2267
|
-
#
|
2268
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
2269
|
-
# of what the tag's value is), and the tag value X (regardless of
|
2270
|
-
# what the tag's key is). If you want to list only resources where
|
2271
|
-
# Purpose is X, see the `tag`\:*key*=*value* filter.
|
2272
|
-
#
|
2273
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
2274
|
-
# filter is independent of the `tag-key` filter.
|
2220
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2221
|
+
# filter to find all resources assigned a tag with a specific key,
|
2222
|
+
# regardless of the tag value.
|
2275
2223
|
#
|
2276
2224
|
# * `vpc-id` - The ID of the VPC for the route table.
|
2277
2225
|
# @option options [Boolean] :dry_run
|
@@ -2392,9 +2340,9 @@ module Aws::EC2
|
|
2392
2340
|
#
|
2393
2341
|
# * `owner-id` - The AWS account ID of the owner of the security group.
|
2394
2342
|
#
|
2395
|
-
# * `tag-key` - The key of a tag assigned to the
|
2396
|
-
#
|
2397
|
-
#
|
2343
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2344
|
+
# filter to find all resources assigned a tag with a specific key,
|
2345
|
+
# regardless of the tag value.
|
2398
2346
|
#
|
2399
2347
|
# * `vpc-id` - The ID of the VPC specified when the security group was
|
2400
2348
|
# created.
|
@@ -2491,16 +2439,9 @@ module Aws::EC2
|
|
2491
2439
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
2492
2440
|
# filter value.
|
2493
2441
|
#
|
2494
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
2495
|
-
#
|
2496
|
-
#
|
2497
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
2498
|
-
# of what the tag's value is), and the tag value X (regardless of
|
2499
|
-
# what the tag's key is). If you want to list only resources where
|
2500
|
-
# Purpose is X, see the `tag`\:*key*=*value* filter.
|
2501
|
-
#
|
2502
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
2503
|
-
# filter is independent of the `tag-key` filter.
|
2442
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2443
|
+
# filter to find all resources assigned a tag with a specific key,
|
2444
|
+
# regardless of the tag value.
|
2504
2445
|
#
|
2505
2446
|
# * `volume-id` - The ID of the volume the snapshot is for.
|
2506
2447
|
#
|
@@ -2598,16 +2539,9 @@ module Aws::EC2
|
|
2598
2539
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
2599
2540
|
# filter value.
|
2600
2541
|
#
|
2601
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
2602
|
-
#
|
2603
|
-
#
|
2604
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
2605
|
-
# of what the tag's value is), and the tag value X (regardless of
|
2606
|
-
# what the tag's key is). If you want to list only resources where
|
2607
|
-
# Purpose is X, see the `tag`\:*key*=*value* filter.
|
2608
|
-
#
|
2609
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
2610
|
-
# filter is independent of the `tag-key` filter.
|
2542
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2543
|
+
# filter to find all resources assigned a tag with a specific key,
|
2544
|
+
# regardless of the tag value.
|
2611
2545
|
#
|
2612
2546
|
# * `vpc-id` - The ID of the VPC for the subnet.
|
2613
2547
|
# @option options [Array<String>] :subnet_ids
|
@@ -2696,16 +2630,9 @@ module Aws::EC2
|
|
2696
2630
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
2697
2631
|
# filter value.
|
2698
2632
|
#
|
2699
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
2700
|
-
#
|
2701
|
-
#
|
2702
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
2703
|
-
# of what the tag's value is), and the tag value X (regardless of
|
2704
|
-
# what the tag's key is). If you want to list only resources where
|
2705
|
-
# Purpose is X, see the `tag`\:*key*=*value* filter.
|
2706
|
-
#
|
2707
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
2708
|
-
# filter is independent of the `tag-key` filter.
|
2633
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2634
|
+
# filter to find all resources assigned a tag with a specific key,
|
2635
|
+
# regardless of the tag value.
|
2709
2636
|
#
|
2710
2637
|
# * `volume-id` - The volume ID.
|
2711
2638
|
#
|
@@ -2791,13 +2718,9 @@ module Aws::EC2
|
|
2791
2718
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
2792
2719
|
# filter value.
|
2793
2720
|
#
|
2794
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
2795
|
-
#
|
2796
|
-
#
|
2797
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
2798
|
-
# of what the tag's value is), and the tag value X (regardless of the
|
2799
|
-
# tag's key). If you want to list only resources where Purpose is X,
|
2800
|
-
# see the `tag`\:*key*=*value* filter.
|
2721
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2722
|
+
# filter to find all resources assigned a tag with a specific key,
|
2723
|
+
# regardless of the tag value.
|
2801
2724
|
# @option options [Array<String>] :public_ips
|
2802
2725
|
# \[EC2-Classic\] One or more Elastic IP addresses.
|
2803
2726
|
#
|
@@ -2889,16 +2812,9 @@ module Aws::EC2
|
|
2889
2812
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
2890
2813
|
# filter value.
|
2891
2814
|
#
|
2892
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
2893
|
-
#
|
2894
|
-
#
|
2895
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
2896
|
-
# of what the tag's value is), and the tag value X (regardless of
|
2897
|
-
# what the tag's key is). If you want to list only resources where
|
2898
|
-
# Purpose is X, see the `tag`\:*key*=*value* filter.
|
2899
|
-
#
|
2900
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
2901
|
-
# filter is independent of the `tag-key` filter.
|
2815
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2816
|
+
# filter to find all resources assigned a tag with a specific key,
|
2817
|
+
# regardless of the tag value.
|
2902
2818
|
#
|
2903
2819
|
# * `vpc-peering-connection-id` - The ID of the VPC peering connection.
|
2904
2820
|
# @option options [Boolean] :dry_run
|
@@ -2978,16 +2894,9 @@ module Aws::EC2
|
|
2978
2894
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
2979
2895
|
# filter value.
|
2980
2896
|
#
|
2981
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
2982
|
-
#
|
2983
|
-
#
|
2984
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
2985
|
-
# of what the tag's value is), and the tag value X (regardless of
|
2986
|
-
# what the tag's key is). If you want to list only resources where
|
2987
|
-
# Purpose is X, see the `tag`\:*key*=*value* filter.
|
2988
|
-
#
|
2989
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
2990
|
-
# filter is independent of the `tag-key` filter.
|
2897
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2898
|
+
# filter to find all resources assigned a tag with a specific key,
|
2899
|
+
# regardless of the tag value.
|
2991
2900
|
#
|
2992
2901
|
# * `vpc-id` - The ID of the VPC.
|
2993
2902
|
# @option options [Array<String>] :vpc_ids
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -519,9 +519,10 @@ module Aws::EC2
|
|
519
519
|
# @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
|
520
520
|
# An elastic GPU to associate with the instance.
|
521
521
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
522
|
-
# The tags to apply to the resources during launch. You can tag
|
523
|
-
# instances and volumes. The specified tags are applied to all
|
524
|
-
# or volumes that are created during launch.
|
522
|
+
# The tags to apply to the resources during launch. You can only tag
|
523
|
+
# instances and volumes on launch. The specified tags are applied to all
|
524
|
+
# instances or volumes that are created during launch. To tag a resource
|
525
|
+
# after it has been created, see CreateTags.
|
525
526
|
# @option options [Types::LaunchTemplateSpecification] :launch_template
|
526
527
|
# The launch template to use to launch the instances. Any parameters
|
527
528
|
# that you specify in RunInstances override the same parameters in the
|
@@ -952,16 +953,9 @@ module Aws::EC2
|
|
952
953
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
953
954
|
# filter value.
|
954
955
|
#
|
955
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
956
|
-
#
|
957
|
-
#
|
958
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
959
|
-
# of what the tag's value is), and the tag value X (regardless of the
|
960
|
-
# tag's key). If you want to list only resources where Purpose is X,
|
961
|
-
# see the `tag`\:*key*=*value* filter.
|
962
|
-
#
|
963
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
964
|
-
# filter is independent of the `tag-key` filter.
|
956
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
957
|
+
# filter to find all resources assigned a tag with a specific key,
|
958
|
+
# regardless of the tag value.
|
965
959
|
#
|
966
960
|
# * `tenancy` - The tenancy of an instance (`dedicated` \| `default` \|
|
967
961
|
# `host`).
|
@@ -1124,16 +1118,9 @@ module Aws::EC2
|
|
1124
1118
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
1125
1119
|
# filter value.
|
1126
1120
|
#
|
1127
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
1128
|
-
#
|
1129
|
-
#
|
1130
|
-
# you get any resources assigned both the tag key Purpose (regardless
|
1131
|
-
# of what the tag's value is), and the tag value X (regardless of
|
1132
|
-
# what the tag's key is). If you want to list only resources where
|
1133
|
-
# Purpose is X, see the `tag`\:*key*=*value* filter.
|
1134
|
-
#
|
1135
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
1136
|
-
# filter is independent of the `tag-key` filter.
|
1121
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1122
|
+
# filter to find all resources assigned a tag with a specific key,
|
1123
|
+
# regardless of the tag value.
|
1137
1124
|
#
|
1138
1125
|
# * `vpc-id` - The ID of the VPC for the network interface.
|
1139
1126
|
# @option options [Boolean] :dry_run
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -358,8 +358,8 @@ module Aws::EC2
|
|
358
358
|
# @return [String]
|
359
359
|
#
|
360
360
|
# @!attribute [rw] client_token
|
361
|
-
# Unique, case-sensitive identifier you provide to ensure
|
362
|
-
# of the request. For more information, see [How to Ensure
|
361
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
362
|
+
# idempotency of the request. For more information, see [How to Ensure
|
363
363
|
# Idempotency][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
364
364
|
#
|
365
365
|
#
|
@@ -368,14 +368,14 @@ module Aws::EC2
|
|
368
368
|
# @return [String]
|
369
369
|
#
|
370
370
|
# @!attribute [rw] instance_type
|
371
|
-
# Specify the instance type
|
372
|
-
#
|
373
|
-
#
|
371
|
+
# Specify the instance type for which to configure your Dedicated
|
372
|
+
# Hosts. When you specify the instance type, that is the only instance
|
373
|
+
# type that you can launch onto that host.
|
374
374
|
# @return [String]
|
375
375
|
#
|
376
376
|
# @!attribute [rw] quantity
|
377
|
-
# The number of Dedicated Hosts
|
378
|
-
#
|
377
|
+
# The number of Dedicated Hosts to allocate to your account with these
|
378
|
+
# parameters.
|
379
379
|
# @return [Integer]
|
380
380
|
#
|
381
381
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHostsRequest AWS API Documentation
|
@@ -392,8 +392,8 @@ module Aws::EC2
|
|
392
392
|
# Contains the output of AllocateHosts.
|
393
393
|
#
|
394
394
|
# @!attribute [rw] host_ids
|
395
|
-
# The ID of the allocated Dedicated Host. This is used
|
396
|
-
#
|
395
|
+
# The ID of the allocated Dedicated Host. This is used to launch an
|
396
|
+
# instance onto a specific host.
|
397
397
|
# @return [Array<String>]
|
398
398
|
#
|
399
399
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHostsResult AWS API Documentation
|
@@ -3017,7 +3017,16 @@ module Aws::EC2
|
|
3017
3017
|
# @return [Boolean]
|
3018
3018
|
#
|
3019
3019
|
# @!attribute [rw] tag_specifications
|
3020
|
-
# The
|
3020
|
+
# The key-value pair for tagging the EC2 Fleet request on creation.
|
3021
|
+
# The value for `ResourceType` must be `fleet`, otherwise the fleet
|
3022
|
+
# request fails. To tag instances at launch, specify the tags in the
|
3023
|
+
# [launch template][1]. For information about tagging after launch,
|
3024
|
+
# see [Tagging Your Resources][2].
|
3025
|
+
#
|
3026
|
+
#
|
3027
|
+
#
|
3028
|
+
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template
|
3029
|
+
# [2]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources
|
3021
3030
|
# @return [Array<Types::TagSpecification>]
|
3022
3031
|
#
|
3023
3032
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFleetRequest AWS API Documentation
|
@@ -6864,13 +6873,9 @@ module Aws::EC2
|
|
6864
6873
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
6865
6874
|
# the filter value.
|
6866
6875
|
#
|
6867
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
6868
|
-
#
|
6869
|
-
#
|
6870
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
6871
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
6872
|
-
# value X (regardless of the tag's key). If you want to list only
|
6873
|
-
# resources where Purpose is X, see the `tag`\:*key*=*value* filter.
|
6876
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
6877
|
+
# filter to find all resources assigned a tag with a specific key,
|
6878
|
+
# regardless of the tag value.
|
6874
6879
|
# @return [Array<Types::Filter>]
|
6875
6880
|
#
|
6876
6881
|
# @!attribute [rw] public_ips
|
@@ -7126,17 +7131,9 @@ module Aws::EC2
|
|
7126
7131
|
# * `tag`\:*key*=*value* - The key/value combination of a tag assigned
|
7127
7132
|
# to the resource.
|
7128
7133
|
#
|
7129
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
7130
|
-
#
|
7131
|
-
#
|
7132
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
7133
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
7134
|
-
# value X (regardless of what the tag's key is). If you want to
|
7135
|
-
# list only resources where Purpose is X, see the
|
7136
|
-
# `tag`\:*key*=*value* filter.
|
7137
|
-
#
|
7138
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
7139
|
-
# filter is independent of the `tag-key` filter.
|
7134
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
7135
|
+
# filter to find all resources assigned a tag with a specific key,
|
7136
|
+
# regardless of the tag value.
|
7140
7137
|
#
|
7141
7138
|
# * `vpc-id` - The ID of the VPC that the instance is linked to.
|
7142
7139
|
# @return [Array<Types::Filter>]
|
@@ -7286,17 +7283,9 @@ module Aws::EC2
|
|
7286
7283
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
7287
7284
|
# the filter value.
|
7288
7285
|
#
|
7289
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
7290
|
-
#
|
7291
|
-
#
|
7292
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
7293
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
7294
|
-
# value X (regardless of what the tag's key is). If you want to
|
7295
|
-
# list only resources where Purpose is X, see the
|
7296
|
-
# `tag`\:*key*=*value* filter.
|
7297
|
-
#
|
7298
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
7299
|
-
# filter is independent of the `tag-key` filter.
|
7286
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
7287
|
+
# filter to find all resources assigned a tag with a specific key,
|
7288
|
+
# regardless of the tag value.
|
7300
7289
|
# @return [Array<Types::Filter>]
|
7301
7290
|
#
|
7302
7291
|
# @!attribute [rw] dry_run
|
@@ -7366,17 +7355,9 @@ module Aws::EC2
|
|
7366
7355
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
7367
7356
|
# the filter value.
|
7368
7357
|
#
|
7369
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
7370
|
-
#
|
7371
|
-
#
|
7372
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
7373
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
7374
|
-
# value X (regardless of what the tag's key is). If you want to
|
7375
|
-
# list only resources where Purpose is X, see the
|
7376
|
-
# `tag`\:*key*=*value* filter.
|
7377
|
-
#
|
7378
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
7379
|
-
# filter is independent of the `tag-key` filter.
|
7358
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
7359
|
+
# filter to find all resources assigned a tag with a specific key,
|
7360
|
+
# regardless of the tag value.
|
7380
7361
|
# @return [Array<Types::Filter>]
|
7381
7362
|
#
|
7382
7363
|
# @!attribute [rw] dry_run
|
@@ -7724,6 +7705,10 @@ module Aws::EC2
|
|
7724
7705
|
#
|
7725
7706
|
# @!attribute [rw] filters
|
7726
7707
|
# One or more filters.
|
7708
|
+
#
|
7709
|
+
# * `instance-type` - The instance type.
|
7710
|
+
#
|
7711
|
+
# ^
|
7727
7712
|
# @return [Array<Types::Filter>]
|
7728
7713
|
#
|
7729
7714
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFleetInstancesRequest AWS API Documentation
|
@@ -7799,6 +7784,22 @@ module Aws::EC2
|
|
7799
7784
|
#
|
7800
7785
|
# @!attribute [rw] filters
|
7801
7786
|
# One or more filters.
|
7787
|
+
#
|
7788
|
+
# * `activity-status` - The progress of the EC2 Fleet ( `error` \|
|
7789
|
+
# `pending-fulfillment` \| `pending-termination` \| `fulfilled`).
|
7790
|
+
#
|
7791
|
+
# * `excess-capacity-termination-policy` - Indicates whether to
|
7792
|
+
# terminate running instances if the target capacity is decreased
|
7793
|
+
# below the current EC2 Fleet size (`true` \| `false`).
|
7794
|
+
#
|
7795
|
+
# * `fleet-state` - The state of the EC2 Fleet (`submitted` \|
|
7796
|
+
# `active` \| `deleted` \| `failed` \| `deleted-running` \|
|
7797
|
+
# `deleted-terminating` \| `modifying`).
|
7798
|
+
#
|
7799
|
+
# * `replace-unhealthy-instances` - Indicates whether EC2 Fleet should
|
7800
|
+
# replace unhealthy instances (`true` \| `false`).
|
7801
|
+
#
|
7802
|
+
# * `type` - The type of request (`request` \| `maintain`).
|
7802
7803
|
# @return [Array<Types::Filter>]
|
7803
7804
|
#
|
7804
7805
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFleetsRequest AWS API Documentation
|
@@ -7817,7 +7818,7 @@ module Aws::EC2
|
|
7817
7818
|
# @return [String]
|
7818
7819
|
#
|
7819
7820
|
# @!attribute [rw] fleets
|
7820
|
-
#
|
7821
|
+
# Information about the EC2 Fleets.
|
7821
7822
|
# @return [Array<Types::FleetData>]
|
7822
7823
|
#
|
7823
7824
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFleetsResult AWS API Documentation
|
@@ -8013,17 +8014,9 @@ module Aws::EC2
|
|
8013
8014
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
8014
8015
|
# the filter value.
|
8015
8016
|
#
|
8016
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
8017
|
-
#
|
8018
|
-
#
|
8019
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
8020
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
8021
|
-
# value X (regardless of what the tag's key is). If you want to
|
8022
|
-
# list only resources where Purpose is X, see the
|
8023
|
-
# `tag`\:*key*=*value* filter.
|
8024
|
-
#
|
8025
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
8026
|
-
# filter is independent of the `tag-key` filter.
|
8017
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
8018
|
+
# filter to find all resources assigned a tag with a specific key,
|
8019
|
+
# regardless of the tag value.
|
8027
8020
|
#
|
8028
8021
|
# * `update-time` - The time of the most recent update.
|
8029
8022
|
# @return [Array<Types::Filter>]
|
@@ -8262,6 +8255,10 @@ module Aws::EC2
|
|
8262
8255
|
# * `state` - The allocation state of the Dedicated Host (`available`
|
8263
8256
|
# \| `under-assessment` \| `permanent-failure` \| `released` \|
|
8264
8257
|
# `released-permanent-failure`).
|
8258
|
+
#
|
8259
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
8260
|
+
# filter to find all resources assigned a tag with a specific key,
|
8261
|
+
# regardless of the tag value.
|
8265
8262
|
# @return [Array<Types::Filter>]
|
8266
8263
|
#
|
8267
8264
|
# @!attribute [rw] host_ids
|
@@ -8613,17 +8610,9 @@ module Aws::EC2
|
|
8613
8610
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
8614
8611
|
# the filter value.
|
8615
8612
|
#
|
8616
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
8617
|
-
#
|
8618
|
-
#
|
8619
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
8620
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
8621
|
-
# value X (regardless of what the tag's key is). If you want to
|
8622
|
-
# list only resources where Purpose is X, see the
|
8623
|
-
# `tag`\:*key*=*value* filter.
|
8624
|
-
#
|
8625
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
8626
|
-
# filter is independent of the `tag-key` filter.
|
8613
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
8614
|
+
# filter to find all resources assigned a tag with a specific key,
|
8615
|
+
# regardless of the tag value.
|
8627
8616
|
#
|
8628
8617
|
# * `virtualization-type` - The virtualization type (`paravirtual` \|
|
8629
8618
|
# `hvm`).
|
@@ -9336,16 +9325,9 @@ module Aws::EC2
|
|
9336
9325
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
9337
9326
|
# the filter value.
|
9338
9327
|
#
|
9339
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
9340
|
-
#
|
9341
|
-
#
|
9342
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
9343
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
9344
|
-
# value X (regardless of the tag's key). If you want to list only
|
9345
|
-
# resources where Purpose is X, see the `tag`\:*key*=*value* filter.
|
9346
|
-
#
|
9347
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
9348
|
-
# filter is independent of the `tag-key` filter.
|
9328
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
9329
|
+
# filter to find all resources assigned a tag with a specific key,
|
9330
|
+
# regardless of the tag value.
|
9349
9331
|
#
|
9350
9332
|
# * `tenancy` - The tenancy of an instance (`dedicated` \| `default`
|
9351
9333
|
# \| `host`).
|
@@ -9444,17 +9426,9 @@ module Aws::EC2
|
|
9444
9426
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
9445
9427
|
# the filter value.
|
9446
9428
|
#
|
9447
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
9448
|
-
#
|
9449
|
-
#
|
9450
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
9451
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
9452
|
-
# value X (regardless of what the tag's key is). If you want to
|
9453
|
-
# list only resources where Purpose is X, see the
|
9454
|
-
# `tag`\:*key*=*value* filter.
|
9455
|
-
#
|
9456
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
9457
|
-
# filter is independent of the `tag-key` filter.
|
9429
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
9430
|
+
# filter to find all resources assigned a tag with a specific key,
|
9431
|
+
# regardless of the tag value.
|
9458
9432
|
# @return [Array<Types::Filter>]
|
9459
9433
|
#
|
9460
9434
|
# @!attribute [rw] dry_run
|
@@ -9607,7 +9581,7 @@ module Aws::EC2
|
|
9607
9581
|
# @!attribute [rw] max_results
|
9608
9582
|
# The maximum number of results to return in a single call. To
|
9609
9583
|
# retrieve the remaining results, make another call with the returned
|
9610
|
-
# `NextToken` value. This value can be between
|
9584
|
+
# `NextToken` value. This value can be between 1 and 200.
|
9611
9585
|
# @return [Integer]
|
9612
9586
|
#
|
9613
9587
|
# @!attribute [rw] filters
|
@@ -9709,13 +9683,9 @@ module Aws::EC2
|
|
9709
9683
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
9710
9684
|
# the filter value.
|
9711
9685
|
#
|
9712
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
9713
|
-
#
|
9714
|
-
#
|
9715
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
9716
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
9717
|
-
# value X (regardless of the tag's key). If you want to list only
|
9718
|
-
# resources where Purpose is X, see the `tag`\:*key*=*value* filter.
|
9686
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
9687
|
+
# filter to find all resources assigned a tag with a specific key,
|
9688
|
+
# regardless of the tag value.
|
9719
9689
|
# @return [Array<Types::Filter>]
|
9720
9690
|
#
|
9721
9691
|
# @!attribute [rw] next_token
|
@@ -9873,17 +9843,9 @@ module Aws::EC2
|
|
9873
9843
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
9874
9844
|
# the filter value.
|
9875
9845
|
#
|
9876
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
9877
|
-
#
|
9878
|
-
#
|
9879
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
9880
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
9881
|
-
# value X (regardless of what the tag's key is). If you want to
|
9882
|
-
# list only resources where Purpose is X, see the
|
9883
|
-
# `tag`\:*key*=*value* filter.
|
9884
|
-
#
|
9885
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
9886
|
-
# filter is independent of the `tag-key` filter.
|
9846
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
9847
|
+
# filter to find all resources assigned a tag with a specific key,
|
9848
|
+
# regardless of the tag value.
|
9887
9849
|
#
|
9888
9850
|
# * `vpc-id` - The ID of the VPC in which the NAT gateway resides.
|
9889
9851
|
# @return [Array<Types::Filter>]
|
@@ -9999,17 +9961,9 @@ module Aws::EC2
|
|
9999
9961
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
10000
9962
|
# the filter value.
|
10001
9963
|
#
|
10002
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
10003
|
-
#
|
10004
|
-
#
|
10005
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
10006
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
10007
|
-
# value X (regardless of what the tag's key is). If you want to
|
10008
|
-
# list only resources where Purpose is X, see the
|
10009
|
-
# `tag`\:*key*=*value* filter.
|
10010
|
-
#
|
10011
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
10012
|
-
# filter is independent of the `tag-key` filter.
|
9964
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
9965
|
+
# filter to find all resources assigned a tag with a specific key,
|
9966
|
+
# regardless of the tag value.
|
10013
9967
|
#
|
10014
9968
|
# * `vpc-id` - The ID of the VPC for the network ACL.
|
10015
9969
|
# @return [Array<Types::Filter>]
|
@@ -10319,17 +10273,9 @@ module Aws::EC2
|
|
10319
10273
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
10320
10274
|
# the filter value.
|
10321
10275
|
#
|
10322
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
10323
|
-
#
|
10324
|
-
#
|
10325
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
10326
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
10327
|
-
# value X (regardless of what the tag's key is). If you want to
|
10328
|
-
# list only resources where Purpose is X, see the
|
10329
|
-
# `tag`\:*key*=*value* filter.
|
10330
|
-
#
|
10331
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
10332
|
-
# filter is independent of the `tag-key` filter.
|
10276
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
10277
|
+
# filter to find all resources assigned a tag with a specific key,
|
10278
|
+
# regardless of the tag value.
|
10333
10279
|
#
|
10334
10280
|
# * `vpc-id` - The ID of the VPC for the network interface.
|
10335
10281
|
# @return [Array<Types::Filter>]
|
@@ -11062,17 +11008,9 @@ module Aws::EC2
|
|
11062
11008
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
11063
11009
|
# the filter value.
|
11064
11010
|
#
|
11065
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
11066
|
-
#
|
11067
|
-
#
|
11068
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
11069
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
11070
|
-
# value X (regardless of what the tag's key is). If you want to
|
11071
|
-
# list only resources where Purpose is X, see the
|
11072
|
-
# `tag`\:*key*=*value* filter.
|
11073
|
-
#
|
11074
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
11075
|
-
# filter is independent of the `tag-key` filter.
|
11011
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
11012
|
+
# filter to find all resources assigned a tag with a specific key,
|
11013
|
+
# regardless of the tag value.
|
11076
11014
|
#
|
11077
11015
|
# * `usage-price` - The usage price of the Reserved Instance, per hour
|
11078
11016
|
# (for example, 0.84).
|
@@ -11202,17 +11140,9 @@ module Aws::EC2
|
|
11202
11140
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
11203
11141
|
# the filter value.
|
11204
11142
|
#
|
11205
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
11206
|
-
#
|
11207
|
-
#
|
11208
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
11209
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
11210
|
-
# value X (regardless of what the tag's key is). If you want to
|
11211
|
-
# list only resources where Purpose is X, see the
|
11212
|
-
# `tag`\:*key*=*value* filter.
|
11213
|
-
#
|
11214
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
11215
|
-
# filter is independent of the `tag-key` filter.
|
11143
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
11144
|
+
# filter to find all resources assigned a tag with a specific key,
|
11145
|
+
# regardless of the tag value.
|
11216
11146
|
#
|
11217
11147
|
# * `vpc-id` - The ID of the VPC for the route table.
|
11218
11148
|
# @return [Array<Types::Filter>]
|
@@ -11587,9 +11517,9 @@ module Aws::EC2
|
|
11587
11517
|
# * `owner-id` - The AWS account ID of the owner of the security
|
11588
11518
|
# group.
|
11589
11519
|
#
|
11590
|
-
# * `tag-key` - The key of a tag assigned to the
|
11591
|
-
#
|
11592
|
-
#
|
11520
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
11521
|
+
# filter to find all resources assigned a tag with a specific key,
|
11522
|
+
# regardless of the tag value.
|
11593
11523
|
#
|
11594
11524
|
# * `vpc-id` - The ID of the VPC specified when the security group was
|
11595
11525
|
# created.
|
@@ -11766,17 +11696,9 @@ module Aws::EC2
|
|
11766
11696
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
11767
11697
|
# the filter value.
|
11768
11698
|
#
|
11769
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
11770
|
-
#
|
11771
|
-
#
|
11772
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
11773
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
11774
|
-
# value X (regardless of what the tag's key is). If you want to
|
11775
|
-
# list only resources where Purpose is X, see the
|
11776
|
-
# `tag`\:*key*=*value* filter.
|
11777
|
-
#
|
11778
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
11779
|
-
# filter is independent of the `tag-key` filter.
|
11699
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
11700
|
+
# filter to find all resources assigned a tag with a specific key,
|
11701
|
+
# regardless of the tag value.
|
11780
11702
|
#
|
11781
11703
|
# * `volume-id` - The ID of the volume the snapshot is for.
|
11782
11704
|
#
|
@@ -12254,17 +12176,9 @@ module Aws::EC2
|
|
12254
12176
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
12255
12177
|
# the filter value.
|
12256
12178
|
#
|
12257
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
12258
|
-
#
|
12259
|
-
#
|
12260
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
12261
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
12262
|
-
# value X (regardless of what the tag's key is). If you want to
|
12263
|
-
# list only resources where Purpose is X, see the
|
12264
|
-
# `tag`\:*key*=*value* filter.
|
12265
|
-
#
|
12266
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
12267
|
-
# filter is independent of the `tag-key` filter.
|
12179
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
12180
|
+
# filter to find all resources assigned a tag with a specific key,
|
12181
|
+
# regardless of the tag value.
|
12268
12182
|
#
|
12269
12183
|
# * `type` - The type of Spot Instance request (`one-time` \|
|
12270
12184
|
# `persistent`).
|
@@ -12543,17 +12457,9 @@ module Aws::EC2
|
|
12543
12457
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
12544
12458
|
# the filter value.
|
12545
12459
|
#
|
12546
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
12547
|
-
#
|
12548
|
-
#
|
12549
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
12550
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
12551
|
-
# value X (regardless of what the tag's key is). If you want to
|
12552
|
-
# list only resources where Purpose is X, see the
|
12553
|
-
# `tag`\:*key*=*value* filter.
|
12554
|
-
#
|
12555
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
12556
|
-
# filter is independent of the `tag-key` filter.
|
12460
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
12461
|
+
# filter to find all resources assigned a tag with a specific key,
|
12462
|
+
# regardless of the tag value.
|
12557
12463
|
#
|
12558
12464
|
# * `vpc-id` - The ID of the VPC for the subnet.
|
12559
12465
|
# @return [Array<Types::Filter>]
|
@@ -12625,9 +12531,9 @@ module Aws::EC2
|
|
12625
12531
|
# * `resource-id` - The resource ID.
|
12626
12532
|
#
|
12627
12533
|
# * `resource-type` - The resource type (`customer-gateway` \|
|
12628
|
-
# `dhcp-options` \| `elastic-ip` \| `
|
12629
|
-
# `instance` \| `internet-gateway` \| `launch-template`
|
12630
|
-
# `natgateway` \| `network-acl` \| `network-interface` \|
|
12534
|
+
# `dhcp-options` \| `elastic-ip` \| `fleet` \| `fpga-image` \|
|
12535
|
+
# `image` \| `instance` \| `internet-gateway` \| `launch-template`
|
12536
|
+
# \| `natgateway` \| `network-acl` \| `network-interface` \|
|
12631
12537
|
# `reserved-instances` \| `route-table` \| `security-group` \|
|
12632
12538
|
# `snapshot` \| `spot-instances-request` \| `subnet` \| `volume` \|
|
12633
12539
|
# `vpc` \| `vpc-peering-connection` \| `vpn-connection` \|
|
@@ -12977,17 +12883,9 @@ module Aws::EC2
|
|
12977
12883
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
12978
12884
|
# the filter value.
|
12979
12885
|
#
|
12980
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
12981
|
-
#
|
12982
|
-
#
|
12983
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
12984
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
12985
|
-
# value X (regardless of what the tag's key is). If you want to
|
12986
|
-
# list only resources where Purpose is X, see the
|
12987
|
-
# `tag`\:*key*=*value* filter.
|
12988
|
-
#
|
12989
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
12990
|
-
# filter is independent of the `tag-key` filter.
|
12886
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
12887
|
+
# filter to find all resources assigned a tag with a specific key,
|
12888
|
+
# regardless of the tag value.
|
12991
12889
|
#
|
12992
12890
|
# * `volume-id` - The volume ID.
|
12993
12891
|
#
|
@@ -13207,17 +13105,9 @@ module Aws::EC2
|
|
13207
13105
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
13208
13106
|
# the filter value.
|
13209
13107
|
#
|
13210
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
13211
|
-
#
|
13212
|
-
#
|
13213
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
13214
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
13215
|
-
# value X (regardless of what the tag's key is). If you want to
|
13216
|
-
# list only resources where Purpose is X, see the
|
13217
|
-
# `tag`\:*key*=*value* filter.
|
13218
|
-
#
|
13219
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
13220
|
-
# filter is independent of the `tag-key` filter.
|
13108
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
13109
|
+
# filter to find all resources assigned a tag with a specific key,
|
13110
|
+
# regardless of the tag value.
|
13221
13111
|
# @return [Array<Types::Filter>]
|
13222
13112
|
#
|
13223
13113
|
# @!attribute [rw] dry_run
|
@@ -13791,17 +13681,9 @@ module Aws::EC2
|
|
13791
13681
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
13792
13682
|
# the filter value.
|
13793
13683
|
#
|
13794
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
13795
|
-
#
|
13796
|
-
#
|
13797
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
13798
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
13799
|
-
# value X (regardless of what the tag's key is). If you want to
|
13800
|
-
# list only resources where Purpose is X, see the
|
13801
|
-
# `tag`\:*key*=*value* filter.
|
13802
|
-
#
|
13803
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
13804
|
-
# filter is independent of the `tag-key` filter.
|
13684
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
13685
|
+
# filter to find all resources assigned a tag with a specific key,
|
13686
|
+
# regardless of the tag value.
|
13805
13687
|
#
|
13806
13688
|
# * `vpc-peering-connection-id` - The ID of the VPC peering
|
13807
13689
|
# connection.
|
@@ -13896,17 +13778,9 @@ module Aws::EC2
|
|
13896
13778
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
13897
13779
|
# the filter value.
|
13898
13780
|
#
|
13899
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
13900
|
-
#
|
13901
|
-
#
|
13902
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
13903
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
13904
|
-
# value X (regardless of what the tag's key is). If you want to
|
13905
|
-
# list only resources where Purpose is X, see the
|
13906
|
-
# `tag`\:*key*=*value* filter.
|
13907
|
-
#
|
13908
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
13909
|
-
# filter is independent of the `tag-key` filter.
|
13781
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
13782
|
+
# filter to find all resources assigned a tag with a specific key,
|
13783
|
+
# regardless of the tag value.
|
13910
13784
|
#
|
13911
13785
|
# * `vpc-id` - The ID of the VPC.
|
13912
13786
|
# @return [Array<Types::Filter>]
|
@@ -13990,17 +13864,9 @@ module Aws::EC2
|
|
13990
13864
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
13991
13865
|
# the filter value.
|
13992
13866
|
#
|
13993
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
13994
|
-
#
|
13995
|
-
#
|
13996
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
13997
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
13998
|
-
# value X (regardless of what the tag's key is). If you want to
|
13999
|
-
# list only resources where Purpose is X, see the
|
14000
|
-
# `tag`\:*key*=*value* filter.
|
14001
|
-
#
|
14002
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
14003
|
-
# filter is independent of the `tag-key` filter.
|
13867
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
13868
|
+
# filter to find all resources assigned a tag with a specific key,
|
13869
|
+
# regardless of the tag value.
|
14004
13870
|
#
|
14005
13871
|
# * `type` - The type of VPN connection. Currently the only supported
|
14006
13872
|
# type is `ipsec.1`.
|
@@ -14086,17 +13952,9 @@ module Aws::EC2
|
|
14086
13952
|
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
14087
13953
|
# the filter value.
|
14088
13954
|
#
|
14089
|
-
# * `tag-key` - The key of a tag assigned to the resource.
|
14090
|
-
#
|
14091
|
-
#
|
14092
|
-
# "tag-value=X", you get any resources assigned both the tag key
|
14093
|
-
# Purpose (regardless of what the tag's value is), and the tag
|
14094
|
-
# value X (regardless of what the tag's key is). If you want to
|
14095
|
-
# list only resources where Purpose is X, see the
|
14096
|
-
# `tag`\:*key*=*value* filter.
|
14097
|
-
#
|
14098
|
-
# * `tag-value` - The value of a tag assigned to the resource. This
|
14099
|
-
# filter is independent of the `tag-key` filter.
|
13955
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
13956
|
+
# filter to find all resources assigned a tag with a specific key,
|
13957
|
+
# regardless of the tag value.
|
14100
13958
|
#
|
14101
13959
|
# * `type` - The type of virtual private gateway. Currently the only
|
14102
13960
|
# supported type is `ipsec.1`.
|
@@ -14870,8 +14728,8 @@ module Aws::EC2
|
|
14870
14728
|
# Identifier (key ID, key alias, ID ARN, or alias ARN) for a
|
14871
14729
|
# user-managed CMK under which the EBS volume is encrypted.
|
14872
14730
|
#
|
14873
|
-
#
|
14874
|
-
#
|
14731
|
+
# This parameter is only supported on `BlockDeviceMapping` objects
|
14732
|
+
# called by [RunInstances][1], [RequestSpotFleet][2], and
|
14875
14733
|
# [RequestSpotInstances][3].
|
14876
14734
|
#
|
14877
14735
|
#
|
@@ -16432,7 +16290,7 @@ module Aws::EC2
|
|
16432
16290
|
include Aws::Structure
|
16433
16291
|
end
|
16434
16292
|
|
16435
|
-
# Describes an event in the history of
|
16293
|
+
# Describes an event in the history of an EC2 Fleet.
|
16436
16294
|
#
|
16437
16295
|
# @!attribute [rw] event_information
|
16438
16296
|
# Information about the event.
|
@@ -16512,6 +16370,10 @@ module Aws::EC2
|
|
16512
16370
|
# The time that the Dedicated Host was released.
|
16513
16371
|
# @return [Time]
|
16514
16372
|
#
|
16373
|
+
# @!attribute [rw] tags
|
16374
|
+
# Any tags assigned to the Dedicated Host.
|
16375
|
+
# @return [Array<Types::Tag>]
|
16376
|
+
#
|
16515
16377
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Host AWS API Documentation
|
16516
16378
|
#
|
16517
16379
|
class Host < Struct.new(
|
@@ -16525,7 +16387,8 @@ module Aws::EC2
|
|
16525
16387
|
:instances,
|
16526
16388
|
:state,
|
16527
16389
|
:allocation_time,
|
16528
|
-
:release_time
|
16390
|
+
:release_time,
|
16391
|
+
:tags)
|
16529
16392
|
include Aws::Structure
|
16530
16393
|
end
|
16531
16394
|
|
@@ -20185,7 +20048,8 @@ module Aws::EC2
|
|
20185
20048
|
#
|
20186
20049
|
# @!attribute [rw] resource_type
|
20187
20050
|
# The type of resource to tag. Currently, the resource types that
|
20188
|
-
# support tagging on creation are `instance` and `volume`.
|
20051
|
+
# support tagging on creation are `instance` and `volume`. To tag a
|
20052
|
+
# resource after it has been created, see CreateTags.
|
20189
20053
|
# @return [String]
|
20190
20054
|
#
|
20191
20055
|
# @!attribute [rw] tags
|
@@ -24510,9 +24374,10 @@ module Aws::EC2
|
|
24510
24374
|
# @return [String]
|
24511
24375
|
#
|
24512
24376
|
# @!attribute [rw] tag_specifications
|
24513
|
-
# The tags to apply to the resources during launch. You can tag
|
24514
|
-
# instances and volumes. The specified tags are applied to
|
24515
|
-
# instances or volumes that are created during launch.
|
24377
|
+
# The tags to apply to the resources during launch. You can only tag
|
24378
|
+
# instances and volumes on launch. The specified tags are applied to
|
24379
|
+
# all instances or volumes that are created during launch. To tag a
|
24380
|
+
# resource after it has been created, see CreateTags.
|
24516
24381
|
# @return [Array<Types::LaunchTemplateTagSpecificationRequest>]
|
24517
24382
|
#
|
24518
24383
|
# @!attribute [rw] elastic_gpu_specifications
|
@@ -26782,9 +26647,10 @@ module Aws::EC2
|
|
26782
26647
|
# @return [Array<Types::ElasticGpuSpecification>]
|
26783
26648
|
#
|
26784
26649
|
# @!attribute [rw] tag_specifications
|
26785
|
-
# The tags to apply to the resources during launch. You can tag
|
26786
|
-
# instances and volumes. The specified tags are applied to
|
26787
|
-
# instances or volumes that are created during launch.
|
26650
|
+
# The tags to apply to the resources during launch. You can only tag
|
26651
|
+
# instances and volumes on launch. The specified tags are applied to
|
26652
|
+
# all instances or volumes that are created during launch. To tag a
|
26653
|
+
# resource after it has been created, see CreateTags.
|
26788
26654
|
# @return [Array<Types::TagSpecification>]
|
26789
26655
|
#
|
26790
26656
|
# @!attribute [rw] launch_template
|
@@ -29787,8 +29653,9 @@ module Aws::EC2
|
|
29787
29653
|
#
|
29788
29654
|
# @!attribute [rw] resource_type
|
29789
29655
|
# The type of resource to tag. Currently, the resource types that
|
29790
|
-
# support tagging on creation are `instance`, `snapshot`, and
|
29791
|
-
# `volume`.
|
29656
|
+
# support tagging on creation are `fleet`, `instance`, `snapshot`, and
|
29657
|
+
# `volume`. To tag a resource after it has been created, see
|
29658
|
+
# CreateTags.
|
29792
29659
|
# @return [String]
|
29793
29660
|
#
|
29794
29661
|
# @!attribute [rw] tags
|