aws-sdk-ec2 1.173.0 → 1.178.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 +133 -46
- data/lib/aws-sdk-ec2/client_api.rb +15 -4
- data/lib/aws-sdk-ec2/resource.rb +36 -12
- data/lib/aws-sdk-ec2/types.rb +181 -70
- data/lib/aws-sdk-ec2/vpc.rb +26 -2
- metadata +2 -2
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -380,6 +380,17 @@ module Aws::EC2
|
|
380
380
|
#
|
381
381
|
# routetable = vpc.create_route_table({
|
382
382
|
# dry_run: false,
|
383
|
+
# tag_specifications: [
|
384
|
+
# {
|
385
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, 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, 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-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
386
|
+
# tags: [
|
387
|
+
# {
|
388
|
+
# key: "String",
|
389
|
+
# value: "String",
|
390
|
+
# },
|
391
|
+
# ],
|
392
|
+
# },
|
393
|
+
# ],
|
383
394
|
# })
|
384
395
|
# @param [Hash] options ({})
|
385
396
|
# @option options [Boolean] :dry_run
|
@@ -387,6 +398,8 @@ module Aws::EC2
|
|
387
398
|
# without actually making the request, and provides an error response.
|
388
399
|
# If you have the required permissions, the error response is
|
389
400
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
401
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
402
|
+
# The tags to assign to the route table.
|
390
403
|
# @return [RouteTable]
|
391
404
|
def create_route_table(options = {})
|
392
405
|
options = options.merge(vpc_id: @id)
|
@@ -764,6 +777,17 @@ module Aws::EC2
|
|
764
777
|
# peer_owner_id: "String",
|
765
778
|
# peer_vpc_id: "String",
|
766
779
|
# peer_region: "String",
|
780
|
+
# tag_specifications: [
|
781
|
+
# {
|
782
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, 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, 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-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
783
|
+
# tags: [
|
784
|
+
# {
|
785
|
+
# key: "String",
|
786
|
+
# value: "String",
|
787
|
+
# },
|
788
|
+
# ],
|
789
|
+
# },
|
790
|
+
# ],
|
767
791
|
# })
|
768
792
|
# @param [Hash] options ({})
|
769
793
|
# @option options [Boolean] :dry_run
|
@@ -783,6 +807,8 @@ module Aws::EC2
|
|
783
807
|
# in a Region other than the Region in which you make the request.
|
784
808
|
#
|
785
809
|
# Default: The Region in which you make the request.
|
810
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
811
|
+
# The tags to assign to the peering connection.
|
786
812
|
# @return [VpcPeeringConnection]
|
787
813
|
def request_vpc_peering_connection(options = {})
|
788
814
|
options = options.merge(vpc_id: @id)
|
@@ -1700,8 +1726,6 @@ module Aws::EC2
|
|
1700
1726
|
# filter to find all resources assigned a tag with a specific key,
|
1701
1727
|
# regardless of the tag value.
|
1702
1728
|
#
|
1703
|
-
# * `transit-gateway-id` - The ID of a transit gateway.
|
1704
|
-
#
|
1705
1729
|
# * `vpc-id` - The ID of the VPC for the route table.
|
1706
1730
|
# @option options [Boolean] :dry_run
|
1707
1731
|
# Checks whether you have the required permissions for the action,
|
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.178.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-
|
11
|
+
date: 2020-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|