aws-sdk-ec2 1.219.0 → 1.220.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 +15 -1
- data/lib/aws-sdk-ec2/client_api.rb +1 -0
- data/lib/aws-sdk-ec2/types.rb +31 -13
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4f4087b1409183391fca886af241901053c42c5d1a1a421e0e86699796b660f
|
4
|
+
data.tar.gz: f57d0c87fc541aa620c66514f1d0930be7186c77ad48fdc6a346a23539a76c26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ddb95475672dd114d3b3c31b342d0b739703601eac5fea28cbcd5d741bc94f7db987f04936a5857b1736e2ba3032a48994469e1eb13813ed6b04c6c2ac62e34
|
7
|
+
data.tar.gz: 483e404e1c6b51049b7ccd7714424299ef85fd784702f5b2000a08fef46c9780b5c63917b04a7d9bf4dfef3eee4868a73cc1418ac720cf37a23ca7b0a19fe806
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -784,6 +784,9 @@ module Aws::EC2
|
|
784
784
|
# If you have the required permissions, the error response is
|
785
785
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
786
786
|
#
|
787
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
788
|
+
# The tags to assign to the Elastic IP address.
|
789
|
+
#
|
787
790
|
# @return [Types::AllocateAddressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
788
791
|
#
|
789
792
|
# * {Types::AllocateAddressResult#public_ip #public_ip} => String
|
@@ -833,6 +836,17 @@ module Aws::EC2
|
|
833
836
|
# network_border_group: "String",
|
834
837
|
# customer_owned_ipv_4_pool: "String",
|
835
838
|
# dry_run: false,
|
839
|
+
# tag_specifications: [
|
840
|
+
# {
|
841
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
842
|
+
# tags: [
|
843
|
+
# {
|
844
|
+
# key: "String",
|
845
|
+
# value: "String",
|
846
|
+
# },
|
847
|
+
# ],
|
848
|
+
# },
|
849
|
+
# ],
|
836
850
|
# })
|
837
851
|
#
|
838
852
|
# @example Response structure
|
@@ -40857,7 +40871,7 @@ module Aws::EC2
|
|
40857
40871
|
params: params,
|
40858
40872
|
config: config)
|
40859
40873
|
context[:gem_name] = 'aws-sdk-ec2'
|
40860
|
-
context[:gem_version] = '1.
|
40874
|
+
context[:gem_version] = '1.220.0'
|
40861
40875
|
Seahorse::Client::Request.new(handlers, context)
|
40862
40876
|
end
|
40863
40877
|
|
@@ -2317,6 +2317,7 @@ module Aws::EC2
|
|
2317
2317
|
AllocateAddressRequest.add_member(:network_border_group, Shapes::ShapeRef.new(shape: String, location_name: "NetworkBorderGroup"))
|
2318
2318
|
AllocateAddressRequest.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: String, location_name: "CustomerOwnedIpv4Pool"))
|
2319
2319
|
AllocateAddressRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
2320
|
+
AllocateAddressRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
2320
2321
|
AllocateAddressRequest.struct_class = Types::AllocateAddressRequest
|
2321
2322
|
|
2322
2323
|
AllocateAddressResult.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "publicIp"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -519,6 +519,17 @@ module Aws::EC2
|
|
519
519
|
# network_border_group: "String",
|
520
520
|
# customer_owned_ipv_4_pool: "String",
|
521
521
|
# dry_run: false,
|
522
|
+
# tag_specifications: [
|
523
|
+
# {
|
524
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
525
|
+
# tags: [
|
526
|
+
# {
|
527
|
+
# key: "String",
|
528
|
+
# value: "String",
|
529
|
+
# },
|
530
|
+
# ],
|
531
|
+
# },
|
532
|
+
# ],
|
522
533
|
# }
|
523
534
|
#
|
524
535
|
# @!attribute [rw] domain
|
@@ -576,6 +587,10 @@ module Aws::EC2
|
|
576
587
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
577
588
|
# @return [Boolean]
|
578
589
|
#
|
590
|
+
# @!attribute [rw] tag_specifications
|
591
|
+
# The tags to assign to the Elastic IP address.
|
592
|
+
# @return [Array<Types::TagSpecification>]
|
593
|
+
#
|
579
594
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddressRequest AWS API Documentation
|
580
595
|
#
|
581
596
|
class AllocateAddressRequest < Struct.new(
|
@@ -584,7 +599,8 @@ module Aws::EC2
|
|
584
599
|
:public_ipv_4_pool,
|
585
600
|
:network_border_group,
|
586
601
|
:customer_owned_ipv_4_pool,
|
587
|
-
:dry_run
|
602
|
+
:dry_run,
|
603
|
+
:tag_specifications)
|
588
604
|
SENSITIVE = []
|
589
605
|
include Aws::Structure
|
590
606
|
end
|
@@ -51183,22 +51199,24 @@ module Aws::EC2
|
|
51183
51199
|
# The type of resource to tag. Currently, the resource types that
|
51184
51200
|
# support tagging on creation are: `capacity-reservation` \|
|
51185
51201
|
# `carrier-gateway` \| `client-vpn-endpoint` \| `customer-gateway` \|
|
51186
|
-
# `dedicated-host` \| `dhcp-options` \| `
|
51202
|
+
# `dedicated-host` \| `dhcp-options` \| `egress-only-internet-gateway`
|
51203
|
+
# \| `elastic-ip` \| `elastic-gpu` \| `export-image-task` \|
|
51187
51204
|
# `export-instance-task` \| `fleet` \| `fpga-image` \|
|
51188
|
-
# `host-reservation` \| `import-image-task` \|
|
51189
|
-
# \| `instance` \| `internet-gateway` \|
|
51190
|
-
# `ipv6pool-ec2` \| `key-pair` \| `launch-template`
|
51191
|
-
#
|
51192
|
-
# \| `
|
51205
|
+
# `host-reservation` \| `image`\| `import-image-task` \|
|
51206
|
+
# `import-snapshot-task` \| `instance` \| `internet-gateway` \|
|
51207
|
+
# `ipv4pool-ec2` \| `ipv6pool-ec2` \| `key-pair` \| `launch-template`
|
51208
|
+
# \| `local-gateway-route-table-vpc-association` \| `placement-group`
|
51209
|
+
# \| `prefix-list` \| `natgateway` \| `network-acl` \|
|
51210
|
+
# `network-interface` \| `reserved-instances` \|`route-table` \|
|
51211
|
+
# `security-group`\| `snapshot` \| `spot-fleet-request` \|
|
51193
51212
|
# `spot-instances-request` \| `snapshot` \| `subnet` \|
|
51194
51213
|
# `traffic-mirror-filter` \| `traffic-mirror-session` \|
|
51195
51214
|
# `traffic-mirror-target` \| `transit-gateway` \|
|
51196
|
-
# `transit-gateway-attachment` \| `transit-gateway-
|
51197
|
-
# `transit-gateway-
|
51198
|
-
#
|
51199
|
-
#
|
51200
|
-
#
|
51201
|
-
# `vpn-gateway`.
|
51215
|
+
# `transit-gateway-attachment` \| `transit-gateway-multicast-domain`
|
51216
|
+
# \| `transit-gateway-route-table` \| `volume` \|`vpc` \| `
|
51217
|
+
# vpc-peering-connection` \| `vpc-endpoint` (for interface and gateway
|
51218
|
+
# endpoints) \| `vpc-endpoint-service` (for AWS PrivateLink) \|
|
51219
|
+
# `vpc-flow-log` \| `vpn-connection` \| `vpn-gateway`.
|
51202
51220
|
#
|
51203
51221
|
# To tag a resource after it has been created, see [CreateTags][1].
|
51204
51222
|
#
|
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.220.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: 2020-12-
|
11
|
+
date: 2020-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|