aws-sdk-ec2 1.140.0 → 1.141.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 +55 -27
- data/lib/aws-sdk-ec2/client_api.rb +3 -1
- data/lib/aws-sdk-ec2/image.rb +10 -8
- data/lib/aws-sdk-ec2/instance.rb +4 -0
- data/lib/aws-sdk-ec2/resource.rb +8 -10
- data/lib/aws-sdk-ec2/types.rb +96 -31
- 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: 73ab68e70a18b13300810a2f668653113f3476f4
|
|
4
|
+
data.tar.gz: fb8eb613cc519843dc5d5cc355dc561b6f52388a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 874afcc64bd2de856f434fd9fda626c9f16c223482d92b07bfb4c721829f7663418be0dc5b3965066d0df4f0093d4dd48d01b7ab7e88a9424b43a16ce7efa415
|
|
7
|
+
data.tar.gz: b8d045b920acf0ed15ecffed3b33bb247041e079e67bd68456a46d2fc7d40323c9bf8835ce66eef43dad90fa8651f38f24708acefdb1f588d9d759e82819d29e
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -4629,9 +4629,9 @@ module Aws::EC2
|
|
|
4629
4629
|
# captured and aggregated into a flow log record. You can specify 60
|
|
4630
4630
|
# seconds (1 minute) or 600 seconds (10 minutes).
|
|
4631
4631
|
#
|
|
4632
|
-
#
|
|
4633
|
-
# aggregation interval is always 60 seconds, regardless of
|
|
4634
|
-
# that you specify.
|
|
4632
|
+
# When a network interface is attached to a [Nitro-based instance][1],
|
|
4633
|
+
# the aggregation interval is always 60 seconds or less, regardless of
|
|
4634
|
+
# the value that you specify.
|
|
4635
4635
|
#
|
|
4636
4636
|
# Default: 600
|
|
4637
4637
|
#
|
|
@@ -8371,7 +8371,8 @@ module Aws::EC2
|
|
|
8371
8371
|
# The Amazon Resource Name (ARN) of the Outpost.
|
|
8372
8372
|
#
|
|
8373
8373
|
# @option params [Integer] :size
|
|
8374
|
-
# The size of the volume, in GiBs.
|
|
8374
|
+
# The size of the volume, in GiBs. You must specify either a snapshot ID
|
|
8375
|
+
# or a volume size.
|
|
8375
8376
|
#
|
|
8376
8377
|
# Constraints: 1-16,384 for `gp2`, 4-16,384 for `io1`, 500-16,384 for
|
|
8377
8378
|
# `st1`, 500-16,384 for `sc1`, and 1-1,024 for `standard`. If you
|
|
@@ -8381,16 +8382,9 @@ module Aws::EC2
|
|
|
8381
8382
|
# Default: If you're creating the volume from a snapshot and don't
|
|
8382
8383
|
# specify a volume size, the default is the snapshot size.
|
|
8383
8384
|
#
|
|
8384
|
-
# <note markdown="1"> At least one of Size or SnapshotId is required.
|
|
8385
|
-
#
|
|
8386
|
-
# </note>
|
|
8387
|
-
#
|
|
8388
8385
|
# @option params [String] :snapshot_id
|
|
8389
|
-
# The snapshot from which to create the volume.
|
|
8390
|
-
#
|
|
8391
|
-
# <note markdown="1"> At least one of Size or SnapshotId are required.
|
|
8392
|
-
#
|
|
8393
|
-
# </note>
|
|
8386
|
+
# The snapshot from which to create the volume. You must specify either
|
|
8387
|
+
# a snapshot ID or a volume size.
|
|
8394
8388
|
#
|
|
8395
8389
|
# @option params [String] :volume_type
|
|
8396
8390
|
# The volume type. This can be `gp2` for General Purpose SSD, `io1` for
|
|
@@ -20183,7 +20177,7 @@ module Aws::EC2
|
|
|
20183
20177
|
# * *implicit*\: An AWS account has implicit create volume permissions
|
|
20184
20178
|
# for all snapshots it owns.
|
|
20185
20179
|
#
|
|
20186
|
-
# The list of snapshots returned can be
|
|
20180
|
+
# The list of snapshots returned can be filtered by specifying snapshot
|
|
20187
20181
|
# IDs, snapshot owners, or AWS accounts with create volume permissions.
|
|
20188
20182
|
# If no options are specified, Amazon EC2 returns all snapshots for
|
|
20189
20183
|
# which you have create volume permissions.
|
|
@@ -20212,6 +20206,9 @@ module Aws::EC2
|
|
|
20212
20206
|
# to a subsequent `DescribeSnapshots` request to retrieve the remaining
|
|
20213
20207
|
# results.
|
|
20214
20208
|
#
|
|
20209
|
+
# To get the state of fast snapshot restores for a snapshot, use
|
|
20210
|
+
# DescribeFastSnapshotRestores.
|
|
20211
|
+
#
|
|
20215
20212
|
# For more information about EBS snapshots, see [Amazon EBS
|
|
20216
20213
|
# Snapshots][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
|
20217
20214
|
#
|
|
@@ -20856,8 +20853,16 @@ module Aws::EC2
|
|
|
20856
20853
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.target_groups_config.target_groups #=> Array
|
|
20857
20854
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.target_groups_config.target_groups[0].arn #=> String
|
|
20858
20855
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.instance_pools_to_use_count #=> Integer
|
|
20856
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications #=> Array
|
|
20857
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].resource_type #=> String, one of "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"
|
|
20858
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags #=> Array
|
|
20859
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].key #=> String
|
|
20860
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].value #=> String
|
|
20859
20861
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_id #=> String
|
|
20860
20862
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_state #=> String, one of "submitted", "active", "cancelled", "failed", "cancelled_running", "cancelled_terminating", "modifying"
|
|
20863
|
+
# resp.spot_fleet_request_configs[0].tags #=> Array
|
|
20864
|
+
# resp.spot_fleet_request_configs[0].tags[0].key #=> String
|
|
20865
|
+
# resp.spot_fleet_request_configs[0].tags[0].value #=> String
|
|
20861
20866
|
#
|
|
20862
20867
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequests AWS API Documentation
|
|
20863
20868
|
#
|
|
@@ -22813,6 +22818,10 @@ module Aws::EC2
|
|
|
22813
22818
|
# * `encrypted` - Indicates whether the volume is encrypted (`true` \|
|
|
22814
22819
|
# `false`)
|
|
22815
22820
|
#
|
|
22821
|
+
# * `fast-restored` - Indicates whether the volume was created from a
|
|
22822
|
+
# snapshot that is enabled for fast snapshot restore (`true` \|
|
|
22823
|
+
# `false`).
|
|
22824
|
+
#
|
|
22816
22825
|
# * `size` - The size of the volume, in GiB.
|
|
22817
22826
|
#
|
|
22818
22827
|
# * `snapshot-id` - The snapshot from which the volume was created.
|
|
@@ -25327,6 +25336,13 @@ module Aws::EC2
|
|
|
25327
25336
|
# restores, use DescribeFastSnapshotRestores. To disable fast snapshot
|
|
25328
25337
|
# restores, use DisableFastSnapshotRestores.
|
|
25329
25338
|
#
|
|
25339
|
+
# For more information, see [Amazon EBS Fast Snapshot Restore][1] in the
|
|
25340
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
|
25341
|
+
#
|
|
25342
|
+
#
|
|
25343
|
+
#
|
|
25344
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-fast-snapshot-restore.html
|
|
25345
|
+
#
|
|
25330
25346
|
# @option params [required, Array<String>] :availability_zones
|
|
25331
25347
|
# One or more Availability Zones. For example, `us-east-2a`.
|
|
25332
25348
|
#
|
|
@@ -31432,9 +31448,8 @@ module Aws::EC2
|
|
|
31432
31448
|
# (RHEL) and SUSE Linux Enterprise Server (SLES), use the EC2 billing
|
|
31433
31449
|
# product code associated with an AMI to verify the subscription status
|
|
31434
31450
|
# for package updates. To create a new AMI for operating systems that
|
|
31435
|
-
# require a billing product code, instead of
|
|
31436
|
-
#
|
|
31437
|
-
# association:
|
|
31451
|
+
# require a billing product code, instead of registering the AMI, do the
|
|
31452
|
+
# following to preserve the billing product code association:
|
|
31438
31453
|
#
|
|
31439
31454
|
# 1. Launch an instance from an existing AMI with that billing product
|
|
31440
31455
|
# code.
|
|
@@ -31448,7 +31463,9 @@ module Aws::EC2
|
|
|
31448
31463
|
# that the Reserved Instance has the matching billing product code. If
|
|
31449
31464
|
# you purchase a Reserved Instance without the matching billing product
|
|
31450
31465
|
# code, the Reserved Instance will not be applied to the On-Demand
|
|
31451
|
-
# Instance.
|
|
31466
|
+
# Instance. For information about how to obtain the platform details and
|
|
31467
|
+
# billing information of an AMI, see [Obtaining Billing Information][3]
|
|
31468
|
+
# in the *Amazon Elastic Compute Cloud User Guide*.
|
|
31452
31469
|
#
|
|
31453
31470
|
# If needed, you can deregister an AMI at any time. Any modifications
|
|
31454
31471
|
# you make to an AMI backed by an instance store volume invalidates its
|
|
@@ -31459,6 +31476,7 @@ module Aws::EC2
|
|
|
31459
31476
|
#
|
|
31460
31477
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami.html
|
|
31461
31478
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-launch-snapshot.html
|
|
31479
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html
|
|
31462
31480
|
#
|
|
31463
31481
|
# @option params [String] :image_location
|
|
31464
31482
|
# The full path to your AMI manifest in Amazon S3 storage. The specified
|
|
@@ -32562,9 +32580,9 @@ module Aws::EC2
|
|
|
32562
32580
|
# are in different Spot pools, you can improve the availability of your
|
|
32563
32581
|
# fleet.
|
|
32564
32582
|
#
|
|
32565
|
-
# You can specify tags for the Spot Instances. You cannot
|
|
32566
|
-
# resource types in a Spot Fleet request because only the
|
|
32567
|
-
# resource
|
|
32583
|
+
# You can specify tags for the Spot Fleet and Spot Instances. You cannot
|
|
32584
|
+
# tag other resource types in a Spot Fleet request because only the
|
|
32585
|
+
# `spot-fleet-request` and `instance` resource types are supported.
|
|
32568
32586
|
#
|
|
32569
32587
|
# For more information, see [Spot Fleet Requests][1] in the *Amazon EC2
|
|
32570
32588
|
# User Guide for Linux Instances*.
|
|
@@ -32882,6 +32900,17 @@ module Aws::EC2
|
|
|
32882
32900
|
# },
|
|
32883
32901
|
# },
|
|
32884
32902
|
# instance_pools_to_use_count: 1,
|
|
32903
|
+
# tag_specifications: [
|
|
32904
|
+
# {
|
|
32905
|
+
# 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
|
|
32906
|
+
# tags: [
|
|
32907
|
+
# {
|
|
32908
|
+
# key: "String",
|
|
32909
|
+
# value: "String",
|
|
32910
|
+
# },
|
|
32911
|
+
# ],
|
|
32912
|
+
# },
|
|
32913
|
+
# ],
|
|
32885
32914
|
# },
|
|
32886
32915
|
# })
|
|
32887
32916
|
#
|
|
@@ -35237,11 +35266,10 @@ module Aws::EC2
|
|
|
35237
35266
|
# EC2 charges a one-minute minimum for instance usage, and thereafter
|
|
35238
35267
|
# charges per second for instance usage.
|
|
35239
35268
|
#
|
|
35240
|
-
# You can't
|
|
35241
|
-
#
|
|
35242
|
-
#
|
|
35243
|
-
#
|
|
35244
|
-
# User Guide*.
|
|
35269
|
+
# You can't hibernate Spot Instances, and you can't stop or hibernate
|
|
35270
|
+
# instance store-backed instances. For information about using
|
|
35271
|
+
# hibernation for Spot Instances, see [Hibernating Interrupted Spot
|
|
35272
|
+
# Instances][4] in the *Amazon Elastic Compute Cloud User Guide*.
|
|
35245
35273
|
#
|
|
35246
35274
|
# When you stop or hibernate an instance, we shut it down. You can
|
|
35247
35275
|
# restart your instance at any time. Before stopping or hibernating an
|
|
@@ -35926,7 +35954,7 @@ module Aws::EC2
|
|
|
35926
35954
|
params: params,
|
|
35927
35955
|
config: config)
|
|
35928
35956
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
35929
|
-
context[:gem_version] = '1.
|
|
35957
|
+
context[:gem_version] = '1.141.0'
|
|
35930
35958
|
Seahorse::Client::Request.new(handlers, context)
|
|
35931
35959
|
end
|
|
35932
35960
|
|
|
@@ -8584,10 +8584,11 @@ module Aws::EC2
|
|
|
8584
8584
|
SpotFleetMonitoring.struct_class = Types::SpotFleetMonitoring
|
|
8585
8585
|
|
|
8586
8586
|
SpotFleetRequestConfig.add_member(:activity_status, Shapes::ShapeRef.new(shape: ActivityStatus, location_name: "activityStatus"))
|
|
8587
|
-
SpotFleetRequestConfig.add_member(:create_time, Shapes::ShapeRef.new(shape:
|
|
8587
|
+
SpotFleetRequestConfig.add_member(:create_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "createTime"))
|
|
8588
8588
|
SpotFleetRequestConfig.add_member(:spot_fleet_request_config, Shapes::ShapeRef.new(shape: SpotFleetRequestConfigData, location_name: "spotFleetRequestConfig"))
|
|
8589
8589
|
SpotFleetRequestConfig.add_member(:spot_fleet_request_id, Shapes::ShapeRef.new(shape: String, location_name: "spotFleetRequestId"))
|
|
8590
8590
|
SpotFleetRequestConfig.add_member(:spot_fleet_request_state, Shapes::ShapeRef.new(shape: BatchState, location_name: "spotFleetRequestState"))
|
|
8591
|
+
SpotFleetRequestConfig.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
|
8591
8592
|
SpotFleetRequestConfig.struct_class = Types::SpotFleetRequestConfig
|
|
8592
8593
|
|
|
8593
8594
|
SpotFleetRequestConfigData.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: AllocationStrategy, location_name: "allocationStrategy"))
|
|
@@ -8612,6 +8613,7 @@ module Aws::EC2
|
|
|
8612
8613
|
SpotFleetRequestConfigData.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: InstanceInterruptionBehavior, location_name: "instanceInterruptionBehavior"))
|
|
8613
8614
|
SpotFleetRequestConfigData.add_member(:load_balancers_config, Shapes::ShapeRef.new(shape: LoadBalancersConfig, location_name: "loadBalancersConfig"))
|
|
8614
8615
|
SpotFleetRequestConfigData.add_member(:instance_pools_to_use_count, Shapes::ShapeRef.new(shape: Integer, location_name: "instancePoolsToUseCount"))
|
|
8616
|
+
SpotFleetRequestConfigData.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
|
8615
8617
|
SpotFleetRequestConfigData.struct_class = Types::SpotFleetRequestConfigData
|
|
8616
8618
|
|
|
8617
8619
|
SpotFleetRequestConfigSet.member = Shapes::ShapeRef.new(shape: SpotFleetRequestConfig, location_name: "item")
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
|
@@ -85,27 +85,29 @@ module Aws::EC2
|
|
|
85
85
|
end
|
|
86
86
|
|
|
87
87
|
# The platform details associated with the billing code of the AMI. For
|
|
88
|
-
# more information, see [
|
|
89
|
-
# Elastic Compute Cloud User Guide*.
|
|
88
|
+
# more information, see [Obtaining Billing Information][1] in the
|
|
89
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
|
90
90
|
#
|
|
91
91
|
#
|
|
92
92
|
#
|
|
93
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info.html
|
|
93
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html
|
|
94
94
|
# @return [String]
|
|
95
95
|
def platform_details
|
|
96
96
|
data[:platform_details]
|
|
97
97
|
end
|
|
98
98
|
|
|
99
|
-
# The operation of the Amazon EC2 instance and the billing code
|
|
99
|
+
# The operation of the Amazon EC2 instance and the billing code that is
|
|
100
100
|
# associated with the AMI. `usageOperation` corresponds to the
|
|
101
|
-
# [lineitem/Operation][1] column on your AWS Cost and Usage Report
|
|
102
|
-
#
|
|
103
|
-
#
|
|
101
|
+
# [lineitem/Operation][1] column on your AWS Cost and Usage Report and
|
|
102
|
+
# in the [AWS Price List API][2]. For the list of `UsageOperation`
|
|
103
|
+
# codes, see [Platform Details and Usage Operation Billing Codes][3] in
|
|
104
|
+
# the *Amazon Elastic Compute Cloud User Guide*.
|
|
104
105
|
#
|
|
105
106
|
#
|
|
106
107
|
#
|
|
107
108
|
# [1]: https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation
|
|
108
|
-
# [2]: https://docs.aws.amazon.com/
|
|
109
|
+
# [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html
|
|
110
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html#billing-info
|
|
109
111
|
# @return [String]
|
|
110
112
|
def usage_operation
|
|
111
113
|
data[:usage_operation]
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
|
@@ -1344,6 +1344,10 @@ module Aws::EC2
|
|
|
1344
1344
|
# * `encrypted` - Indicates whether the volume is encrypted (`true` \|
|
|
1345
1345
|
# `false`)
|
|
1346
1346
|
#
|
|
1347
|
+
# * `fast-restored` - Indicates whether the volume was created from a
|
|
1348
|
+
# snapshot that is enabled for fast snapshot restore (`true` \|
|
|
1349
|
+
# `false`).
|
|
1350
|
+
#
|
|
1347
1351
|
# * `size` - The size of the volume, in GiB.
|
|
1348
1352
|
#
|
|
1349
1353
|
# * `snapshot-id` - The snapshot from which the volume was created.
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
|
@@ -990,7 +990,8 @@ module Aws::EC2
|
|
|
990
990
|
# @option options [String] :outpost_arn
|
|
991
991
|
# The Amazon Resource Name (ARN) of the Outpost.
|
|
992
992
|
# @option options [Integer] :size
|
|
993
|
-
# The size of the volume, in GiBs.
|
|
993
|
+
# The size of the volume, in GiBs. You must specify either a snapshot ID
|
|
994
|
+
# or a volume size.
|
|
994
995
|
#
|
|
995
996
|
# Constraints: 1-16,384 for `gp2`, 4-16,384 for `io1`, 500-16,384 for
|
|
996
997
|
# `st1`, 500-16,384 for `sc1`, and 1-1,024 for `standard`. If you
|
|
@@ -999,16 +1000,9 @@ module Aws::EC2
|
|
|
999
1000
|
#
|
|
1000
1001
|
# Default: If you're creating the volume from a snapshot and don't
|
|
1001
1002
|
# specify a volume size, the default is the snapshot size.
|
|
1002
|
-
#
|
|
1003
|
-
# <note markdown="1"> At least one of Size or SnapshotId is required.
|
|
1004
|
-
#
|
|
1005
|
-
# </note>
|
|
1006
1003
|
# @option options [String] :snapshot_id
|
|
1007
|
-
# The snapshot from which to create the volume.
|
|
1008
|
-
#
|
|
1009
|
-
# <note markdown="1"> At least one of Size or SnapshotId are required.
|
|
1010
|
-
#
|
|
1011
|
-
# </note>
|
|
1004
|
+
# The snapshot from which to create the volume. You must specify either
|
|
1005
|
+
# a snapshot ID or a volume size.
|
|
1012
1006
|
# @option options [String] :volume_type
|
|
1013
1007
|
# The volume type. This can be `gp2` for General Purpose SSD, `io1` for
|
|
1014
1008
|
# Provisioned IOPS SSD, `st1` for Throughput Optimized HDD, `sc1` for
|
|
@@ -2939,6 +2933,10 @@ module Aws::EC2
|
|
|
2939
2933
|
# * `encrypted` - Indicates whether the volume is encrypted (`true` \|
|
|
2940
2934
|
# `false`)
|
|
2941
2935
|
#
|
|
2936
|
+
# * `fast-restored` - Indicates whether the volume was created from a
|
|
2937
|
+
# snapshot that is enabled for fast snapshot restore (`true` \|
|
|
2938
|
+
# `false`).
|
|
2939
|
+
#
|
|
2942
2940
|
# * `size` - The size of the volume, in GiB.
|
|
2943
2941
|
#
|
|
2944
2942
|
# * `snapshot-id` - The snapshot from which the volume was created.
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -5512,9 +5512,9 @@ module Aws::EC2
|
|
|
5512
5512
|
# captured and aggregated into a flow log record. You can specify 60
|
|
5513
5513
|
# seconds (1 minute) or 600 seconds (10 minutes).
|
|
5514
5514
|
#
|
|
5515
|
-
#
|
|
5516
|
-
# aggregation interval is always 60 seconds, regardless of
|
|
5517
|
-
# that you specify.
|
|
5515
|
+
# When a network interface is attached to a [Nitro-based instance][1],
|
|
5516
|
+
# the aggregation interval is always 60 seconds or less, regardless of
|
|
5517
|
+
# the value that you specify.
|
|
5518
5518
|
#
|
|
5519
5519
|
# Default: 600
|
|
5520
5520
|
#
|
|
@@ -8379,7 +8379,8 @@ module Aws::EC2
|
|
|
8379
8379
|
# @return [String]
|
|
8380
8380
|
#
|
|
8381
8381
|
# @!attribute [rw] size
|
|
8382
|
-
# The size of the volume, in GiBs.
|
|
8382
|
+
# The size of the volume, in GiBs. You must specify either a snapshot
|
|
8383
|
+
# ID or a volume size.
|
|
8383
8384
|
#
|
|
8384
8385
|
# Constraints: 1-16,384 for `gp2`, 4-16,384 for `io1`, 500-16,384 for
|
|
8385
8386
|
# `st1`, 500-16,384 for `sc1`, and 1-1,024 for `standard`. If you
|
|
@@ -8388,18 +8389,11 @@ module Aws::EC2
|
|
|
8388
8389
|
#
|
|
8389
8390
|
# Default: If you're creating the volume from a snapshot and don't
|
|
8390
8391
|
# specify a volume size, the default is the snapshot size.
|
|
8391
|
-
#
|
|
8392
|
-
# <note markdown="1"> At least one of Size or SnapshotId is required.
|
|
8393
|
-
#
|
|
8394
|
-
# </note>
|
|
8395
8392
|
# @return [Integer]
|
|
8396
8393
|
#
|
|
8397
8394
|
# @!attribute [rw] snapshot_id
|
|
8398
|
-
# The snapshot from which to create the volume.
|
|
8399
|
-
#
|
|
8400
|
-
# <note markdown="1"> At least one of Size or SnapshotId are required.
|
|
8401
|
-
#
|
|
8402
|
-
# </note>
|
|
8395
|
+
# The snapshot from which to create the volume. You must specify
|
|
8396
|
+
# either a snapshot ID or a volume size.
|
|
8403
8397
|
# @return [String]
|
|
8404
8398
|
#
|
|
8405
8399
|
# @!attribute [rw] volume_type
|
|
@@ -19857,6 +19851,10 @@ module Aws::EC2
|
|
|
19857
19851
|
# * `encrypted` - Indicates whether the volume is encrypted (`true` \|
|
|
19858
19852
|
# `false`)
|
|
19859
19853
|
#
|
|
19854
|
+
# * `fast-restored` - Indicates whether the volume was created from a
|
|
19855
|
+
# snapshot that is enabled for fast snapshot restore (`true` \|
|
|
19856
|
+
# `false`).
|
|
19857
|
+
#
|
|
19860
19858
|
# * `size` - The size of the volume, in GiB.
|
|
19861
19859
|
#
|
|
19862
19860
|
# * `snapshot-id` - The snapshot from which the volume was created.
|
|
@@ -22318,6 +22316,8 @@ module Aws::EC2
|
|
|
22318
22316
|
# Amazon EBS encryption. For more information, see [Supported Instance
|
|
22319
22317
|
# Types][2].
|
|
22320
22318
|
#
|
|
22319
|
+
# This parameter is not returned by .
|
|
22320
|
+
#
|
|
22321
22321
|
#
|
|
22322
22322
|
#
|
|
22323
22323
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-parameters
|
|
@@ -23967,7 +23967,10 @@ module Aws::EC2
|
|
|
23967
23967
|
# @return [String]
|
|
23968
23968
|
#
|
|
23969
23969
|
# @!attribute [rw] subnet_id
|
|
23970
|
-
# The
|
|
23970
|
+
# The IDs of the subnets in which to launch the instances. Separate
|
|
23971
|
+
# multiple subnet IDs using commas (for example,
|
|
23972
|
+
# `subnet-1234abcdeexample1, subnet-0987cdef6example2`). A request of
|
|
23973
|
+
# type `instant` can have only one subnet ID.
|
|
23971
23974
|
# @return [String]
|
|
23972
23975
|
#
|
|
23973
23976
|
# @!attribute [rw] availability_zone
|
|
@@ -24142,9 +24145,11 @@ module Aws::EC2
|
|
|
24142
24145
|
# The maximum interval of time, in seconds, during which a flow of
|
|
24143
24146
|
# packets is captured and aggregated into a flow log record.
|
|
24144
24147
|
#
|
|
24145
|
-
#
|
|
24146
|
-
# aggregation interval is always 60 seconds (1 minute)
|
|
24147
|
-
# the specified value.
|
|
24148
|
+
# When a network interface is attached to a [Nitro-based instance][1],
|
|
24149
|
+
# the aggregation interval is always 60 seconds (1 minute) or less,
|
|
24150
|
+
# regardless of the specified value.
|
|
24151
|
+
#
|
|
24152
|
+
# Valid Values: `60` \| `600`
|
|
24148
24153
|
#
|
|
24149
24154
|
#
|
|
24150
24155
|
#
|
|
@@ -26085,25 +26090,27 @@ module Aws::EC2
|
|
|
26085
26090
|
#
|
|
26086
26091
|
# @!attribute [rw] platform_details
|
|
26087
26092
|
# The platform details associated with the billing code of the AMI.
|
|
26088
|
-
# For more information, see [
|
|
26093
|
+
# For more information, see [Obtaining Billing Information][1] in the
|
|
26089
26094
|
# *Amazon Elastic Compute Cloud User Guide*.
|
|
26090
26095
|
#
|
|
26091
26096
|
#
|
|
26092
26097
|
#
|
|
26093
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info.html
|
|
26098
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html
|
|
26094
26099
|
# @return [String]
|
|
26095
26100
|
#
|
|
26096
26101
|
# @!attribute [rw] usage_operation
|
|
26097
|
-
# The operation of the Amazon EC2 instance and the billing code
|
|
26098
|
-
# associated with the AMI. `usageOperation` corresponds to the
|
|
26099
|
-
# [lineitem/Operation][1] column on your AWS Cost and Usage Report
|
|
26100
|
-
#
|
|
26101
|
-
#
|
|
26102
|
+
# The operation of the Amazon EC2 instance and the billing code that
|
|
26103
|
+
# is associated with the AMI. `usageOperation` corresponds to the
|
|
26104
|
+
# [lineitem/Operation][1] column on your AWS Cost and Usage Report and
|
|
26105
|
+
# in the [AWS Price List API][2]. For the list of `UsageOperation`
|
|
26106
|
+
# codes, see [Platform Details and Usage Operation Billing Codes][3]
|
|
26107
|
+
# in the *Amazon Elastic Compute Cloud User Guide*.
|
|
26102
26108
|
#
|
|
26103
26109
|
#
|
|
26104
26110
|
#
|
|
26105
26111
|
# [1]: https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation
|
|
26106
|
-
# [2]: https://docs.aws.amazon.com/
|
|
26112
|
+
# [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html
|
|
26113
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html#billing-info
|
|
26107
26114
|
# @return [String]
|
|
26108
26115
|
#
|
|
26109
26116
|
# @!attribute [rw] product_codes
|
|
@@ -28353,6 +28360,9 @@ module Aws::EC2
|
|
|
28353
28360
|
#
|
|
28354
28361
|
# @!attribute [rw] network_interface_id
|
|
28355
28362
|
# The ID of the network interface.
|
|
28363
|
+
#
|
|
28364
|
+
# If you are creating a Spot Fleet, omit this parameter because you
|
|
28365
|
+
# can’t specify a network interface ID in a launch specification.
|
|
28356
28366
|
# @return [String]
|
|
28357
28367
|
#
|
|
28358
28368
|
# @!attribute [rw] private_ip_address
|
|
@@ -35338,11 +35348,15 @@ module Aws::EC2
|
|
|
35338
35348
|
#
|
|
35339
35349
|
# If not specified, an Availability Zone will be automatically chosen
|
|
35340
35350
|
# for you based on the load balancing criteria for the Region.
|
|
35351
|
+
#
|
|
35352
|
+
# This parameter is not supported by .
|
|
35341
35353
|
# @return [String]
|
|
35342
35354
|
#
|
|
35343
35355
|
# @!attribute [rw] affinity
|
|
35344
35356
|
# The affinity setting for the instance on the Dedicated Host. This
|
|
35345
35357
|
# parameter is not supported for the ImportInstance command.
|
|
35358
|
+
#
|
|
35359
|
+
# This parameter is not supported by .
|
|
35346
35360
|
# @return [String]
|
|
35347
35361
|
#
|
|
35348
35362
|
# @!attribute [rw] group_name
|
|
@@ -35352,11 +35366,15 @@ module Aws::EC2
|
|
|
35352
35366
|
# @!attribute [rw] partition_number
|
|
35353
35367
|
# The number of the partition the instance is in. Valid only if the
|
|
35354
35368
|
# placement group strategy is set to `partition`.
|
|
35369
|
+
#
|
|
35370
|
+
# This parameter is not supported by .
|
|
35355
35371
|
# @return [Integer]
|
|
35356
35372
|
#
|
|
35357
35373
|
# @!attribute [rw] host_id
|
|
35358
35374
|
# The ID of the Dedicated Host on which the instance resides. This
|
|
35359
35375
|
# parameter is not supported for the ImportInstance command.
|
|
35376
|
+
#
|
|
35377
|
+
# This parameter is not supported by .
|
|
35360
35378
|
# @return [String]
|
|
35361
35379
|
#
|
|
35362
35380
|
# @!attribute [rw] tenancy
|
|
@@ -35364,16 +35382,22 @@ module Aws::EC2
|
|
|
35364
35382
|
# An instance with a tenancy of `dedicated` runs on single-tenant
|
|
35365
35383
|
# hardware. The `host` tenancy is not supported for the ImportInstance
|
|
35366
35384
|
# command.
|
|
35385
|
+
#
|
|
35386
|
+
# This parameter is not supported by .
|
|
35367
35387
|
# @return [String]
|
|
35368
35388
|
#
|
|
35369
35389
|
# @!attribute [rw] spread_domain
|
|
35370
35390
|
# Reserved for future use.
|
|
35391
|
+
#
|
|
35392
|
+
# This parameter is not supported by .
|
|
35371
35393
|
# @return [String]
|
|
35372
35394
|
#
|
|
35373
35395
|
# @!attribute [rw] host_resource_group_arn
|
|
35374
35396
|
# The ARN of the host resource group in which to launch the instances.
|
|
35375
35397
|
# If you specify a host resource group ARN, omit the **Tenancy**
|
|
35376
35398
|
# parameter or set it to `host`.
|
|
35399
|
+
#
|
|
35400
|
+
# This parameter is not supported by .
|
|
35377
35401
|
# @return [String]
|
|
35378
35402
|
#
|
|
35379
35403
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Placement AWS API Documentation
|
|
@@ -37832,6 +37856,17 @@ module Aws::EC2
|
|
|
37832
37856
|
# },
|
|
37833
37857
|
# },
|
|
37834
37858
|
# instance_pools_to_use_count: 1,
|
|
37859
|
+
# tag_specifications: [
|
|
37860
|
+
# {
|
|
37861
|
+
# 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
|
|
37862
|
+
# tags: [
|
|
37863
|
+
# {
|
|
37864
|
+
# key: "String",
|
|
37865
|
+
# value: "String",
|
|
37866
|
+
# },
|
|
37867
|
+
# ],
|
|
37868
|
+
# },
|
|
37869
|
+
# ],
|
|
37835
37870
|
# },
|
|
37836
37871
|
# }
|
|
37837
37872
|
#
|
|
@@ -42451,6 +42486,10 @@ module Aws::EC2
|
|
|
42451
42486
|
# The state of the Spot Fleet request.
|
|
42452
42487
|
# @return [String]
|
|
42453
42488
|
#
|
|
42489
|
+
# @!attribute [rw] tags
|
|
42490
|
+
# The tags for a Spot Fleet resource.
|
|
42491
|
+
# @return [Array<Types::Tag>]
|
|
42492
|
+
#
|
|
42454
42493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetRequestConfig AWS API Documentation
|
|
42455
42494
|
#
|
|
42456
42495
|
class SpotFleetRequestConfig < Struct.new(
|
|
@@ -42458,7 +42497,8 @@ module Aws::EC2
|
|
|
42458
42497
|
:create_time,
|
|
42459
42498
|
:spot_fleet_request_config,
|
|
42460
42499
|
:spot_fleet_request_id,
|
|
42461
|
-
:spot_fleet_request_state
|
|
42500
|
+
:spot_fleet_request_state,
|
|
42501
|
+
:tags)
|
|
42462
42502
|
include Aws::Structure
|
|
42463
42503
|
end
|
|
42464
42504
|
|
|
@@ -42608,6 +42648,17 @@ module Aws::EC2
|
|
|
42608
42648
|
# },
|
|
42609
42649
|
# },
|
|
42610
42650
|
# instance_pools_to_use_count: 1,
|
|
42651
|
+
# tag_specifications: [
|
|
42652
|
+
# {
|
|
42653
|
+
# 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
|
|
42654
|
+
# tags: [
|
|
42655
|
+
# {
|
|
42656
|
+
# key: "String",
|
|
42657
|
+
# value: "String",
|
|
42658
|
+
# },
|
|
42659
|
+
# ],
|
|
42660
|
+
# },
|
|
42661
|
+
# ],
|
|
42611
42662
|
# }
|
|
42612
42663
|
#
|
|
42613
42664
|
# @!attribute [rw] allocation_strategy
|
|
@@ -42796,6 +42847,19 @@ module Aws::EC2
|
|
|
42796
42847
|
# pools that you specify.
|
|
42797
42848
|
# @return [Integer]
|
|
42798
42849
|
#
|
|
42850
|
+
# @!attribute [rw] tag_specifications
|
|
42851
|
+
# The key-value pair for tagging the Spot Fleet request on creation.
|
|
42852
|
+
# The value for `ResourceType` must be `spot-fleet-request`, otherwise
|
|
42853
|
+
# the Spot Fleet request fails. To tag instances at launch, specify
|
|
42854
|
+
# the tags in the [launch template][1]. For information about tagging
|
|
42855
|
+
# after launch, see [Tagging Your Resources][2].
|
|
42856
|
+
#
|
|
42857
|
+
#
|
|
42858
|
+
#
|
|
42859
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template
|
|
42860
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources
|
|
42861
|
+
# @return [Array<Types::TagSpecification>]
|
|
42862
|
+
#
|
|
42799
42863
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetRequestConfigData AWS API Documentation
|
|
42800
42864
|
#
|
|
42801
42865
|
class SpotFleetRequestConfigData < Struct.new(
|
|
@@ -42820,7 +42884,8 @@ module Aws::EC2
|
|
|
42820
42884
|
:replace_unhealthy_instances,
|
|
42821
42885
|
:instance_interruption_behavior,
|
|
42822
42886
|
:load_balancers_config,
|
|
42823
|
-
:instance_pools_to_use_count
|
|
42887
|
+
:instance_pools_to_use_count,
|
|
42888
|
+
:tag_specifications)
|
|
42824
42889
|
include Aws::Structure
|
|
42825
42890
|
end
|
|
42826
42891
|
|
|
@@ -42840,8 +42905,8 @@ module Aws::EC2
|
|
|
42840
42905
|
# }
|
|
42841
42906
|
#
|
|
42842
42907
|
# @!attribute [rw] resource_type
|
|
42843
|
-
# The type of resource. Currently, the only resource
|
|
42844
|
-
# supported
|
|
42908
|
+
# The type of resource. Currently, the only resource types that are
|
|
42909
|
+
# supported are `spot-fleet-request` and `instance`.
|
|
42845
42910
|
# @return [String]
|
|
42846
42911
|
#
|
|
42847
42912
|
# @!attribute [rw] tags
|
|
@@ -45403,7 +45468,7 @@ module Aws::EC2
|
|
|
45403
45468
|
# @return [String]
|
|
45404
45469
|
#
|
|
45405
45470
|
# @!attribute [rw] ipv_6_support
|
|
45406
|
-
# Indicates whether IPv6 support is
|
|
45471
|
+
# Indicates whether IPv6 support is disabled.
|
|
45407
45472
|
# @return [String]
|
|
45408
45473
|
#
|
|
45409
45474
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TransitGatewayVpcAttachmentOptions AWS API Documentation
|
|
@@ -47160,7 +47225,7 @@ module Aws::EC2
|
|
|
47160
47225
|
include Aws::Structure
|
|
47161
47226
|
end
|
|
47162
47227
|
|
|
47163
|
-
# The tunnel options for a VPN
|
|
47228
|
+
# The tunnel options for a single VPN tunnel.
|
|
47164
47229
|
#
|
|
47165
47230
|
# @note When making an API call, you may pass VpnTunnelOptionsSpecification
|
|
47166
47231
|
# data as a hash:
|
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.141.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-02-
|
|
11
|
+
date: 2020-02-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sigv4
|