aws-sdk-ec2 1.142.0 → 1.147.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 +7 -4
- data/lib/aws-sdk-ec2/classic_address.rb +1 -0
- data/lib/aws-sdk-ec2/client.rb +459 -352
- data/lib/aws-sdk-ec2/client_api.rb +472 -257
- data/lib/aws-sdk-ec2/dhcp_options.rb +1 -0
- data/lib/aws-sdk-ec2/errors.rb +26 -0
- data/lib/aws-sdk-ec2/image.rb +1 -0
- data/lib/aws-sdk-ec2/instance.rb +5 -1
- data/lib/aws-sdk-ec2/internet_gateway.rb +1 -0
- data/lib/aws-sdk-ec2/key_pair.rb +1 -0
- data/lib/aws-sdk-ec2/key_pair_info.rb +1 -0
- data/lib/aws-sdk-ec2/nat_gateway.rb +1 -0
- data/lib/aws-sdk-ec2/network_acl.rb +1 -0
- data/lib/aws-sdk-ec2/network_interface.rb +3 -2
- data/lib/aws-sdk-ec2/network_interface_association.rb +1 -0
- data/lib/aws-sdk-ec2/placement_group.rb +2 -1
- data/lib/aws-sdk-ec2/resource.rb +55 -33
- data/lib/aws-sdk-ec2/route.rb +3 -2
- data/lib/aws-sdk-ec2/route_table.rb +5 -4
- data/lib/aws-sdk-ec2/route_table_association.rb +1 -0
- data/lib/aws-sdk-ec2/security_group.rb +4 -3
- data/lib/aws-sdk-ec2/snapshot.rb +4 -3
- data/lib/aws-sdk-ec2/subnet.rb +12 -11
- data/lib/aws-sdk-ec2/tag.rb +1 -0
- data/lib/aws-sdk-ec2/types.rb +565 -419
- data/lib/aws-sdk-ec2/volume.rb +11 -3
- data/lib/aws-sdk-ec2/vpc.rb +10 -9
- data/lib/aws-sdk-ec2/vpc_address.rb +1 -0
- data/lib/aws-sdk-ec2/vpc_peering_connection.rb +1 -0
- metadata +2 -2
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::EC2
|
9
|
+
|
9
10
|
class Volume
|
10
11
|
|
11
12
|
extend Aws::Deprecations
|
@@ -134,6 +135,12 @@ module Aws::EC2
|
|
134
135
|
data[:fast_restored]
|
135
136
|
end
|
136
137
|
|
138
|
+
# Indicates whether Amazon EBS Multi-Attach is enabled.
|
139
|
+
# @return [Boolean]
|
140
|
+
def multi_attach_enabled
|
141
|
+
data[:multi_attach_enabled]
|
142
|
+
end
|
143
|
+
|
137
144
|
# @!endgroup
|
138
145
|
|
139
146
|
# @return [Client]
|
@@ -296,7 +303,7 @@ module Aws::EC2
|
|
296
303
|
# description: "String",
|
297
304
|
# tag_specifications: [
|
298
305
|
# {
|
299
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
306
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
300
307
|
# tags: [
|
301
308
|
# {
|
302
309
|
# key: "String",
|
@@ -544,7 +551,8 @@ module Aws::EC2
|
|
544
551
|
# you use this option, you must perform file system check and repair
|
545
552
|
# procedures.
|
546
553
|
# @option options [String] :instance_id
|
547
|
-
# The ID of the instance.
|
554
|
+
# The ID of the instance. If you are detaching a Multi-Attach enabled
|
555
|
+
# volume, you must specify an instance ID.
|
548
556
|
# @option options [Boolean] :dry_run
|
549
557
|
# Checks whether you have the required permissions for the action,
|
550
558
|
# without actually making the request, and provides an error response.
|
@@ -612,7 +620,7 @@ module Aws::EC2
|
|
612
620
|
# ],
|
613
621
|
# owner_ids: ["String"],
|
614
622
|
# restorable_by_user_ids: ["String"],
|
615
|
-
# snapshot_ids: ["
|
623
|
+
# snapshot_ids: ["SnapshotId"],
|
616
624
|
# dry_run: false,
|
617
625
|
# })
|
618
626
|
# @param [Hash] options ({})
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::EC2
|
9
|
+
|
9
10
|
class Vpc
|
10
11
|
|
11
12
|
extend Aws::Deprecations
|
@@ -755,7 +756,7 @@ module Aws::EC2
|
|
755
756
|
# },
|
756
757
|
# ],
|
757
758
|
# dry_run: false,
|
758
|
-
# vpc_peering_connection_ids: ["
|
759
|
+
# vpc_peering_connection_ids: ["VpcPeeringConnectionId"],
|
759
760
|
# })
|
760
761
|
# @param [Hash] options ({})
|
761
762
|
# @option options [Array<Types::Filter>] :filters
|
@@ -851,7 +852,7 @@ module Aws::EC2
|
|
851
852
|
# values: ["String"],
|
852
853
|
# },
|
853
854
|
# ],
|
854
|
-
# instance_ids: ["
|
855
|
+
# instance_ids: ["InstanceId"],
|
855
856
|
# dry_run: false,
|
856
857
|
# })
|
857
858
|
# @param [Hash] options ({})
|
@@ -1172,7 +1173,7 @@ module Aws::EC2
|
|
1172
1173
|
# },
|
1173
1174
|
# ],
|
1174
1175
|
# dry_run: false,
|
1175
|
-
# internet_gateway_ids: ["
|
1176
|
+
# internet_gateway_ids: ["InternetGatewayId"],
|
1176
1177
|
# })
|
1177
1178
|
# @param [Hash] options ({})
|
1178
1179
|
# @option options [Array<Types::Filter>] :filters
|
@@ -1240,7 +1241,7 @@ module Aws::EC2
|
|
1240
1241
|
# },
|
1241
1242
|
# ],
|
1242
1243
|
# dry_run: false,
|
1243
|
-
# network_acl_ids: ["
|
1244
|
+
# network_acl_ids: ["NetworkAclId"],
|
1244
1245
|
# })
|
1245
1246
|
# @param [Hash] options ({})
|
1246
1247
|
# @option options [Array<Types::Filter>] :filters
|
@@ -1338,7 +1339,7 @@ module Aws::EC2
|
|
1338
1339
|
# },
|
1339
1340
|
# ],
|
1340
1341
|
# dry_run: false,
|
1341
|
-
# network_interface_ids: ["
|
1342
|
+
# network_interface_ids: ["NetworkInterfaceId"],
|
1342
1343
|
# })
|
1343
1344
|
# @param [Hash] options ({})
|
1344
1345
|
# @option options [Array<Types::Filter>] :filters
|
@@ -1495,7 +1496,7 @@ module Aws::EC2
|
|
1495
1496
|
# },
|
1496
1497
|
# ],
|
1497
1498
|
# dry_run: false,
|
1498
|
-
# vpc_peering_connection_ids: ["
|
1499
|
+
# vpc_peering_connection_ids: ["VpcPeeringConnectionId"],
|
1499
1500
|
# })
|
1500
1501
|
# @param [Hash] options ({})
|
1501
1502
|
# @option options [Array<Types::Filter>] :filters
|
@@ -1580,7 +1581,7 @@ module Aws::EC2
|
|
1580
1581
|
# },
|
1581
1582
|
# ],
|
1582
1583
|
# dry_run: false,
|
1583
|
-
# route_table_ids: ["
|
1584
|
+
# route_table_ids: ["RouteTableId"],
|
1584
1585
|
# })
|
1585
1586
|
# @param [Hash] options ({})
|
1586
1587
|
# @option options [Array<Types::Filter>] :filters
|
@@ -1696,7 +1697,7 @@ module Aws::EC2
|
|
1696
1697
|
# },
|
1697
1698
|
# ],
|
1698
1699
|
# group_ids: ["String"],
|
1699
|
-
# group_names: ["
|
1700
|
+
# group_names: ["SecurityGroupName"],
|
1700
1701
|
# dry_run: false,
|
1701
1702
|
# })
|
1702
1703
|
# @param [Hash] options ({})
|
@@ -1828,7 +1829,7 @@ module Aws::EC2
|
|
1828
1829
|
# values: ["String"],
|
1829
1830
|
# },
|
1830
1831
|
# ],
|
1831
|
-
# subnet_ids: ["
|
1832
|
+
# subnet_ids: ["SubnetId"],
|
1832
1833
|
# dry_run: false,
|
1833
1834
|
# })
|
1834
1835
|
# @param [Hash] options ({})
|
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.147.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-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|