aws-sdk-ec2 1.46.0 → 1.47.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 +34 -20
- data/lib/aws-sdk-ec2/client_api.rb +1 -0
- data/lib/aws-sdk-ec2/resource.rb +3 -3
- data/lib/aws-sdk-ec2/subnet.rb +1 -1
- data/lib/aws-sdk-ec2/types.rb +42 -24
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36092de0185c686b88197a196564c81ba1094728
|
4
|
+
data.tar.gz: bb6cbe7d596478fe4742bd60d0591d8d9b690915
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d856f58a1b5f5a8c059b6f65af3b58b61e79b2295cb499597b21a629032832feaa745d4e4ce0f01afee2d563e491043233b79894d2229a901514410da2ebea71
|
7
|
+
data.tar.gz: 3b59a57ed8124e820fba790c6a3d232dc3c9901f94d9d346f07ee06762c0951751d1b0a11877caf07e4f18a03c8c90476095be4d19e75bdf390b9bebc03e74c4
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -468,6 +468,9 @@ module Aws::EC2
|
|
468
468
|
# The number of Dedicated Hosts to allocate to your account with these
|
469
469
|
# parameters.
|
470
470
|
#
|
471
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
472
|
+
# The tags to apply to the Dedicated Host during creation.
|
473
|
+
#
|
471
474
|
# @return [Types::AllocateHostsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
472
475
|
#
|
473
476
|
# * {Types::AllocateHostsResult#host_ids #host_ids} => Array<String>
|
@@ -480,6 +483,17 @@ module Aws::EC2
|
|
480
483
|
# client_token: "String",
|
481
484
|
# instance_type: "String", # required
|
482
485
|
# quantity: 1, # required
|
486
|
+
# tag_specifications: [
|
487
|
+
# {
|
488
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
489
|
+
# tags: [
|
490
|
+
# {
|
491
|
+
# key: "String",
|
492
|
+
# value: "String",
|
493
|
+
# },
|
494
|
+
# ],
|
495
|
+
# },
|
496
|
+
# ],
|
483
497
|
# })
|
484
498
|
#
|
485
499
|
# @example Response structure
|
@@ -3241,7 +3255,7 @@ module Aws::EC2
|
|
3241
3255
|
# replace_unhealthy_instances: false,
|
3242
3256
|
# tag_specifications: [
|
3243
3257
|
# {
|
3244
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
3258
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
3245
3259
|
# tags: [
|
3246
3260
|
# {
|
3247
3261
|
# key: "String",
|
@@ -3930,7 +3944,7 @@ module Aws::EC2
|
|
3930
3944
|
# user_data: "String",
|
3931
3945
|
# tag_specifications: [
|
3932
3946
|
# {
|
3933
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
3947
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
3934
3948
|
# tags: [
|
3935
3949
|
# {
|
3936
3950
|
# key: "String",
|
@@ -4155,7 +4169,7 @@ module Aws::EC2
|
|
4155
4169
|
# user_data: "String",
|
4156
4170
|
# tag_specifications: [
|
4157
4171
|
# {
|
4158
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
4172
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
4159
4173
|
# tags: [
|
4160
4174
|
# {
|
4161
4175
|
# key: "String",
|
@@ -4247,7 +4261,7 @@ module Aws::EC2
|
|
4247
4261
|
# resp.launch_template_version.launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
|
4248
4262
|
# resp.launch_template_version.launch_template_data.user_data #=> String
|
4249
4263
|
# resp.launch_template_version.launch_template_data.tag_specifications #=> Array
|
4250
|
-
# resp.launch_template_version.launch_template_data.tag_specifications[0].resource_type #=> String, one of "customer-gateway", "dhcp-options", "image", "instance", "internet-gateway", "network-acl", "network-interface", "reserved-instances", "route-table", "snapshot", "spot-instances-request", "subnet", "security-group", "volume", "vpc", "vpn-connection", "vpn-gateway"
|
4264
|
+
# resp.launch_template_version.launch_template_data.tag_specifications[0].resource_type #=> String, one of "customer-gateway", "dedicated-host", "dhcp-options", "image", "instance", "internet-gateway", "network-acl", "network-interface", "reserved-instances", "route-table", "snapshot", "spot-instances-request", "subnet", "security-group", "volume", "vpc", "vpn-connection", "vpn-gateway"
|
4251
4265
|
# resp.launch_template_version.launch_template_data.tag_specifications[0].tags #=> Array
|
4252
4266
|
# resp.launch_template_version.launch_template_data.tag_specifications[0].tags[0].key #=> String
|
4253
4267
|
# resp.launch_template_version.launch_template_data.tag_specifications[0].tags[0].value #=> String
|
@@ -5436,7 +5450,7 @@ module Aws::EC2
|
|
5436
5450
|
# volume_id: "String", # required
|
5437
5451
|
# tag_specifications: [
|
5438
5452
|
# {
|
5439
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
5453
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
5440
5454
|
# tags: [
|
5441
5455
|
# {
|
5442
5456
|
# key: "String",
|
@@ -5946,7 +5960,7 @@ module Aws::EC2
|
|
5946
5960
|
# dry_run: false,
|
5947
5961
|
# tag_specifications: [
|
5948
5962
|
# {
|
5949
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
5963
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
5950
5964
|
# tags: [
|
5951
5965
|
# {
|
5952
5966
|
# key: "String",
|
@@ -12123,7 +12137,7 @@ module Aws::EC2
|
|
12123
12137
|
# resp.launch_template_versions[0].launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
|
12124
12138
|
# resp.launch_template_versions[0].launch_template_data.user_data #=> String
|
12125
12139
|
# resp.launch_template_versions[0].launch_template_data.tag_specifications #=> Array
|
12126
|
-
# resp.launch_template_versions[0].launch_template_data.tag_specifications[0].resource_type #=> String, one of "customer-gateway", "dhcp-options", "image", "instance", "internet-gateway", "network-acl", "network-interface", "reserved-instances", "route-table", "snapshot", "spot-instances-request", "subnet", "security-group", "volume", "vpc", "vpn-connection", "vpn-gateway"
|
12140
|
+
# resp.launch_template_versions[0].launch_template_data.tag_specifications[0].resource_type #=> String, one of "customer-gateway", "dedicated-host", "dhcp-options", "image", "instance", "internet-gateway", "network-acl", "network-interface", "reserved-instances", "route-table", "snapshot", "spot-instances-request", "subnet", "security-group", "volume", "vpc", "vpn-connection", "vpn-gateway"
|
12127
12141
|
# resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags #=> Array
|
12128
12142
|
# resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags[0].key #=> String
|
12129
12143
|
# resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags[0].value #=> String
|
@@ -15517,7 +15531,7 @@ module Aws::EC2
|
|
15517
15531
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].user_data #=> String
|
15518
15532
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].weighted_capacity #=> Float
|
15519
15533
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications #=> Array
|
15520
|
-
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].resource_type #=> String, one of "customer-gateway", "dhcp-options", "image", "instance", "internet-gateway", "network-acl", "network-interface", "reserved-instances", "route-table", "snapshot", "spot-instances-request", "subnet", "security-group", "volume", "vpc", "vpn-connection", "vpn-gateway"
|
15534
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].resource_type #=> String, one of "customer-gateway", "dedicated-host", "dhcp-options", "image", "instance", "internet-gateway", "network-acl", "network-interface", "reserved-instances", "route-table", "snapshot", "spot-instances-request", "subnet", "security-group", "volume", "vpc", "vpn-connection", "vpn-gateway"
|
15521
15535
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags #=> Array
|
15522
15536
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags[0].key #=> String
|
15523
15537
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags[0].value #=> String
|
@@ -16254,13 +16268,13 @@ module Aws::EC2
|
|
16254
16268
|
# * `resource-id` - The ID of the resource.
|
16255
16269
|
#
|
16256
16270
|
# * `resource-type` - The resource type (`customer-gateway` \|
|
16257
|
-
# `dhcp-options` \| `elastic-ip` \| `fleet` \|
|
16258
|
-
# \| `
|
16259
|
-
# `
|
16260
|
-
# `
|
16261
|
-
# `snapshot` \| `spot-instances-request` \|
|
16262
|
-
# `
|
16263
|
-
# `vpn-gateway`).
|
16271
|
+
# `dedicated-host` \| `dhcp-options` \| `elastic-ip` \| `fleet` \|
|
16272
|
+
# `fpga-image` \| `image` \| `instance` \| `internet-gateway` \|
|
16273
|
+
# `launch-template` \| `natgateway` \| `network-acl` \|
|
16274
|
+
# `network-interface` \| `reserved-instances` \| `route-table` \|
|
16275
|
+
# `security-group` \| `snapshot` \| `spot-instances-request` \|
|
16276
|
+
# `subnet` \| `volume` \| `vpc` \| `vpc-peering-connection` \|
|
16277
|
+
# `vpn-connection` \| `vpn-gateway`).
|
16264
16278
|
#
|
16265
16279
|
# * `tag`\:<key> - The key/value combination of the tag. For
|
16266
16280
|
# example, specify "tag:Owner" for the filter name and "TeamA" for
|
@@ -16335,7 +16349,7 @@ module Aws::EC2
|
|
16335
16349
|
# resp.tags #=> Array
|
16336
16350
|
# resp.tags[0].key #=> String
|
16337
16351
|
# resp.tags[0].resource_id #=> String
|
16338
|
-
# resp.tags[0].resource_type #=> String, one of "customer-gateway", "dhcp-options", "image", "instance", "internet-gateway", "network-acl", "network-interface", "reserved-instances", "route-table", "snapshot", "spot-instances-request", "subnet", "security-group", "volume", "vpc", "vpn-connection", "vpn-gateway"
|
16352
|
+
# resp.tags[0].resource_type #=> String, one of "customer-gateway", "dedicated-host", "dhcp-options", "image", "instance", "internet-gateway", "network-acl", "network-interface", "reserved-instances", "route-table", "snapshot", "spot-instances-request", "subnet", "security-group", "volume", "vpc", "vpn-connection", "vpn-gateway"
|
16339
16353
|
# resp.tags[0].value #=> String
|
16340
16354
|
#
|
16341
16355
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTags AWS API Documentation
|
@@ -19173,7 +19187,7 @@ module Aws::EC2
|
|
19173
19187
|
# resp.launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
|
19174
19188
|
# resp.launch_template_data.user_data #=> String
|
19175
19189
|
# resp.launch_template_data.tag_specifications #=> Array
|
19176
|
-
# resp.launch_template_data.tag_specifications[0].resource_type #=> String, one of "customer-gateway", "dhcp-options", "image", "instance", "internet-gateway", "network-acl", "network-interface", "reserved-instances", "route-table", "snapshot", "spot-instances-request", "subnet", "security-group", "volume", "vpc", "vpn-connection", "vpn-gateway"
|
19190
|
+
# resp.launch_template_data.tag_specifications[0].resource_type #=> String, one of "customer-gateway", "dedicated-host", "dhcp-options", "image", "instance", "internet-gateway", "network-acl", "network-interface", "reserved-instances", "route-table", "snapshot", "spot-instances-request", "subnet", "security-group", "volume", "vpc", "vpn-connection", "vpn-gateway"
|
19177
19191
|
# resp.launch_template_data.tag_specifications[0].tags #=> Array
|
19178
19192
|
# resp.launch_template_data.tag_specifications[0].tags[0].key #=> String
|
19179
19193
|
# resp.launch_template_data.tag_specifications[0].tags[0].value #=> String
|
@@ -23329,7 +23343,7 @@ module Aws::EC2
|
|
23329
23343
|
# weighted_capacity: 1.0,
|
23330
23344
|
# tag_specifications: [
|
23331
23345
|
# {
|
23332
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
23346
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
23333
23347
|
# tags: [
|
23334
23348
|
# {
|
23335
23349
|
# key: "String",
|
@@ -24718,7 +24732,7 @@ module Aws::EC2
|
|
24718
24732
|
# ],
|
24719
24733
|
# tag_specifications: [
|
24720
24734
|
# {
|
24721
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
24735
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
24722
24736
|
# tags: [
|
24723
24737
|
# {
|
24724
24738
|
# key: "String",
|
@@ -25743,7 +25757,7 @@ module Aws::EC2
|
|
25743
25757
|
params: params,
|
25744
25758
|
config: config)
|
25745
25759
|
context[:gem_name] = 'aws-sdk-ec2'
|
25746
|
-
context[:gem_version] = '1.
|
25760
|
+
context[:gem_version] = '1.47.0'
|
25747
25761
|
Seahorse::Client::Request.new(handlers, context)
|
25748
25762
|
end
|
25749
25763
|
|
@@ -1269,6 +1269,7 @@ module Aws::EC2
|
|
1269
1269
|
AllocateHostsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
1270
1270
|
AllocateHostsRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "instanceType"))
|
1271
1271
|
AllocateHostsRequest.add_member(:quantity, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "quantity"))
|
1272
|
+
AllocateHostsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
1272
1273
|
AllocateHostsRequest.struct_class = Types::AllocateHostsRequest
|
1273
1274
|
|
1274
1275
|
AllocateHostsResult.add_member(:host_ids, Shapes::ShapeRef.new(shape: ResponseHostIdList, location_name: "hostIdSet"))
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -140,7 +140,7 @@ module Aws::EC2
|
|
140
140
|
# ],
|
141
141
|
# tag_specifications: [
|
142
142
|
# {
|
143
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
143
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
144
144
|
# tags: [
|
145
145
|
# {
|
146
146
|
# key: "String",
|
@@ -643,7 +643,7 @@ module Aws::EC2
|
|
643
643
|
# volume_id: "String", # required
|
644
644
|
# tag_specifications: [
|
645
645
|
# {
|
646
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
646
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
647
647
|
# tags: [
|
648
648
|
# {
|
649
649
|
# key: "String",
|
@@ -758,7 +758,7 @@ module Aws::EC2
|
|
758
758
|
# dry_run: false,
|
759
759
|
# tag_specifications: [
|
760
760
|
# {
|
761
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
761
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
762
762
|
# tags: [
|
763
763
|
# {
|
764
764
|
# key: "String",
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -317,7 +317,7 @@ module Aws::EC2
|
|
317
317
|
# ],
|
318
318
|
# tag_specifications: [
|
319
319
|
# {
|
320
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
320
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
321
321
|
# tags: [
|
322
322
|
# {
|
323
323
|
# key: "String",
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -337,6 +337,17 @@ module Aws::EC2
|
|
337
337
|
# client_token: "String",
|
338
338
|
# instance_type: "String", # required
|
339
339
|
# quantity: 1, # required
|
340
|
+
# tag_specifications: [
|
341
|
+
# {
|
342
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
343
|
+
# tags: [
|
344
|
+
# {
|
345
|
+
# key: "String",
|
346
|
+
# value: "String",
|
347
|
+
# },
|
348
|
+
# ],
|
349
|
+
# },
|
350
|
+
# ],
|
340
351
|
# }
|
341
352
|
#
|
342
353
|
# @!attribute [rw] auto_placement
|
@@ -372,6 +383,10 @@ module Aws::EC2
|
|
372
383
|
# parameters.
|
373
384
|
# @return [Integer]
|
374
385
|
#
|
386
|
+
# @!attribute [rw] tag_specifications
|
387
|
+
# The tags to apply to the Dedicated Host during creation.
|
388
|
+
# @return [Array<Types::TagSpecification>]
|
389
|
+
#
|
375
390
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHostsRequest AWS API Documentation
|
376
391
|
#
|
377
392
|
class AllocateHostsRequest < Struct.new(
|
@@ -379,10 +394,13 @@ module Aws::EC2
|
|
379
394
|
:availability_zone,
|
380
395
|
:client_token,
|
381
396
|
:instance_type,
|
382
|
-
:quantity
|
397
|
+
:quantity,
|
398
|
+
:tag_specifications)
|
383
399
|
include Aws::Structure
|
384
400
|
end
|
385
401
|
|
402
|
+
# Contains the output of AllocateHosts.
|
403
|
+
#
|
386
404
|
# @!attribute [rw] host_ids
|
387
405
|
# The ID of the allocated Dedicated Host. This is used to launch an
|
388
406
|
# instance onto a specific host.
|
@@ -2911,7 +2929,7 @@ module Aws::EC2
|
|
2911
2929
|
# replace_unhealthy_instances: false,
|
2912
2930
|
# tag_specifications: [
|
2913
2931
|
# {
|
2914
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
2932
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
2915
2933
|
# tags: [
|
2916
2934
|
# {
|
2917
2935
|
# key: "String",
|
@@ -3523,7 +3541,7 @@ module Aws::EC2
|
|
3523
3541
|
# user_data: "String",
|
3524
3542
|
# tag_specifications: [
|
3525
3543
|
# {
|
3526
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
3544
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
3527
3545
|
# tags: [
|
3528
3546
|
# {
|
3529
3547
|
# key: "String",
|
@@ -3688,7 +3706,7 @@ module Aws::EC2
|
|
3688
3706
|
# user_data: "String",
|
3689
3707
|
# tag_specifications: [
|
3690
3708
|
# {
|
3691
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
3709
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
3692
3710
|
# tags: [
|
3693
3711
|
# {
|
3694
3712
|
# key: "String",
|
@@ -4471,7 +4489,7 @@ module Aws::EC2
|
|
4471
4489
|
# volume_id: "String", # required
|
4472
4490
|
# tag_specifications: [
|
4473
4491
|
# {
|
4474
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
4492
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
4475
4493
|
# tags: [
|
4476
4494
|
# {
|
4477
4495
|
# key: "String",
|
@@ -4745,7 +4763,7 @@ module Aws::EC2
|
|
4745
4763
|
# dry_run: false,
|
4746
4764
|
# tag_specifications: [
|
4747
4765
|
# {
|
4748
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
4766
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
4749
4767
|
# tags: [
|
4750
4768
|
# {
|
4751
4769
|
# key: "String",
|
@@ -12482,13 +12500,13 @@ module Aws::EC2
|
|
12482
12500
|
# * `resource-id` - The ID of the resource.
|
12483
12501
|
#
|
12484
12502
|
# * `resource-type` - The resource type (`customer-gateway` \|
|
12485
|
-
# `dhcp-options` \| `elastic-ip` \| `fleet` \|
|
12486
|
-
# `image` \| `instance` \| `internet-gateway` \|
|
12487
|
-
#
|
12488
|
-
# `
|
12489
|
-
# `snapshot` \| `spot-instances-request` \|
|
12490
|
-
# `
|
12491
|
-
# `vpn-gateway`).
|
12503
|
+
# `dedicated-host` \| `dhcp-options` \| `elastic-ip` \| `fleet` \|
|
12504
|
+
# `fpga-image` \| `image` \| `instance` \| `internet-gateway` \|
|
12505
|
+
# `launch-template` \| `natgateway` \| `network-acl` \|
|
12506
|
+
# `network-interface` \| `reserved-instances` \| `route-table` \|
|
12507
|
+
# `security-group` \| `snapshot` \| `spot-instances-request` \|
|
12508
|
+
# `subnet` \| `volume` \| `vpc` \| `vpc-peering-connection` \|
|
12509
|
+
# `vpn-connection` \| `vpn-gateway`).
|
12492
12510
|
#
|
12493
12511
|
# * `tag`\:<key> - The key/value combination of the tag. For
|
12494
12512
|
# example, specify "tag:Owner" for the filter name and "TeamA"
|
@@ -20048,7 +20066,7 @@ module Aws::EC2
|
|
20048
20066
|
# data as a hash:
|
20049
20067
|
#
|
20050
20068
|
# {
|
20051
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
20069
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
20052
20070
|
# tags: [
|
20053
20071
|
# {
|
20054
20072
|
# key: "String",
|
@@ -24247,7 +24265,7 @@ module Aws::EC2
|
|
24247
24265
|
# user_data: "String",
|
24248
24266
|
# tag_specifications: [
|
24249
24267
|
# {
|
24250
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
24268
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
24251
24269
|
# tags: [
|
24252
24270
|
# {
|
24253
24271
|
# key: "String",
|
@@ -24548,7 +24566,7 @@ module Aws::EC2
|
|
24548
24566
|
# weighted_capacity: 1.0,
|
24549
24567
|
# tag_specifications: [
|
24550
24568
|
# {
|
24551
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
24569
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
24552
24570
|
# tags: [
|
24553
24571
|
# {
|
24554
24572
|
# key: "String",
|
@@ -26427,7 +26445,7 @@ module Aws::EC2
|
|
26427
26445
|
# ],
|
26428
26446
|
# tag_specifications: [
|
26429
26447
|
# {
|
26430
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
26448
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
26431
26449
|
# tags: [
|
26432
26450
|
# {
|
26433
26451
|
# key: "String",
|
@@ -28342,7 +28360,7 @@ module Aws::EC2
|
|
28342
28360
|
# weighted_capacity: 1.0,
|
28343
28361
|
# tag_specifications: [
|
28344
28362
|
# {
|
28345
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
28363
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
28346
28364
|
# tags: [
|
28347
28365
|
# {
|
28348
28366
|
# key: "String",
|
@@ -28624,7 +28642,7 @@ module Aws::EC2
|
|
28624
28642
|
# weighted_capacity: 1.0,
|
28625
28643
|
# tag_specifications: [
|
28626
28644
|
# {
|
28627
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
28645
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
28628
28646
|
# tags: [
|
28629
28647
|
# {
|
28630
28648
|
# key: "String",
|
@@ -28849,7 +28867,7 @@ module Aws::EC2
|
|
28849
28867
|
# data as a hash:
|
28850
28868
|
#
|
28851
28869
|
# {
|
28852
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
28870
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
28853
28871
|
# tags: [
|
28854
28872
|
# {
|
28855
28873
|
# key: "String",
|
@@ -29728,7 +29746,7 @@ module Aws::EC2
|
|
29728
29746
|
# data as a hash:
|
29729
29747
|
#
|
29730
29748
|
# {
|
29731
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
29749
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
29732
29750
|
# tags: [
|
29733
29751
|
# {
|
29734
29752
|
# key: "String",
|
@@ -29739,9 +29757,9 @@ module Aws::EC2
|
|
29739
29757
|
#
|
29740
29758
|
# @!attribute [rw] resource_type
|
29741
29759
|
# The type of resource to tag. Currently, the resource types that
|
29742
|
-
# support tagging on creation are `fleet`, `
|
29743
|
-
# `volume`. To tag a resource after it has
|
29744
|
-
# CreateTags.
|
29760
|
+
# support tagging on creation are `fleet`, `dedicated-host`,
|
29761
|
+
# `instance`, `snapshot`, and `volume`. To tag a resource after it has
|
29762
|
+
# been created, see CreateTags.
|
29745
29763
|
# @return [String]
|
29746
29764
|
#
|
29747
29765
|
# @!attribute [rw] tags
|
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -281,7 +281,7 @@ module Aws::EC2
|
|
281
281
|
# description: "String",
|
282
282
|
# tag_specifications: [
|
283
283
|
# {
|
284
|
-
# resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
284
|
+
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
|
285
285
|
# tags: [
|
286
286
|
# {
|
287
287
|
# key: "String",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.47.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|