aws-sdk-ec2 1.110.0 → 1.111.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 -2
- data/lib/aws-sdk-ec2/client_api.rb +43 -0
- data/lib/aws-sdk-ec2/types.rb +112 -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: c9a1d91b3402d59cc98a2e7fac6c3641b809c27b
|
4
|
+
data.tar.gz: 1863aecdcef89f589a4552ca3d5f0c9c021e7c57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6d48cde267f5bfdfac5d4707096a31d92f45e10f9f52361bb844c0ef820ed0b593817e6a225af7c99b972163eeb33f6484dde8d7e6776ed5cd79f2637c9bbda
|
7
|
+
data.tar.gz: 58755979298be02fe037e8ec460e2ee6180d24677c270821fb90faaf17c0cf54c4a6247d49b706809dba67adb038c2c28acf2e5640f7069fbd0752eff3294497
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -9581,6 +9581,47 @@ module Aws::EC2
|
|
9581
9581
|
req.send_request(options)
|
9582
9582
|
end
|
9583
9583
|
|
9584
|
+
# Deletes the queued purchases for the specified Reserved Instances.
|
9585
|
+
#
|
9586
|
+
# @option params [Boolean] :dry_run
|
9587
|
+
# Checks whether you have the required permissions for the action,
|
9588
|
+
# without actually making the request, and provides an error response.
|
9589
|
+
# If you have the required permissions, the error response is
|
9590
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
9591
|
+
#
|
9592
|
+
# @option params [required, Array<String>] :reserved_instances_ids
|
9593
|
+
# The IDs of the Reserved Instances.
|
9594
|
+
#
|
9595
|
+
# @return [Types::DeleteQueuedReservedInstancesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9596
|
+
#
|
9597
|
+
# * {Types::DeleteQueuedReservedInstancesResult#successful_queued_purchase_deletions #successful_queued_purchase_deletions} => Array<Types::SuccessfulQueuedPurchaseDeletion>
|
9598
|
+
# * {Types::DeleteQueuedReservedInstancesResult#failed_queued_purchase_deletions #failed_queued_purchase_deletions} => Array<Types::FailedQueuedPurchaseDeletion>
|
9599
|
+
#
|
9600
|
+
# @example Request syntax with placeholder values
|
9601
|
+
#
|
9602
|
+
# resp = client.delete_queued_reserved_instances({
|
9603
|
+
# dry_run: false,
|
9604
|
+
# reserved_instances_ids: ["String"], # required
|
9605
|
+
# })
|
9606
|
+
#
|
9607
|
+
# @example Response structure
|
9608
|
+
#
|
9609
|
+
# resp.successful_queued_purchase_deletions #=> Array
|
9610
|
+
# resp.successful_queued_purchase_deletions[0].reserved_instances_id #=> String
|
9611
|
+
# resp.failed_queued_purchase_deletions #=> Array
|
9612
|
+
# resp.failed_queued_purchase_deletions[0].error.code #=> String, one of "reserved-instances-id-invalid", "reserved-instances-not-in-queued-state", "unexpected-error"
|
9613
|
+
# resp.failed_queued_purchase_deletions[0].error.message #=> String
|
9614
|
+
# resp.failed_queued_purchase_deletions[0].reserved_instances_id #=> String
|
9615
|
+
#
|
9616
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteQueuedReservedInstances AWS API Documentation
|
9617
|
+
#
|
9618
|
+
# @overload delete_queued_reserved_instances(params = {})
|
9619
|
+
# @param [Hash] params ({})
|
9620
|
+
def delete_queued_reserved_instances(params = {}, options = {})
|
9621
|
+
req = build_request(:delete_queued_reserved_instances, params)
|
9622
|
+
req.send_request(options)
|
9623
|
+
end
|
9624
|
+
|
9584
9625
|
# Deletes the specified route from the specified route table.
|
9585
9626
|
#
|
9586
9627
|
# @option params [String] :destination_cidr_block
|
@@ -16852,7 +16893,7 @@ module Aws::EC2
|
|
16852
16893
|
# resp.reserved_instances[0].product_description #=> String, one of "Linux/UNIX", "Linux/UNIX (Amazon VPC)", "Windows", "Windows (Amazon VPC)"
|
16853
16894
|
# resp.reserved_instances[0].reserved_instances_id #=> String
|
16854
16895
|
# resp.reserved_instances[0].start #=> Time
|
16855
|
-
# resp.reserved_instances[0].state #=> String, one of "payment-pending", "active", "payment-failed", "retired"
|
16896
|
+
# resp.reserved_instances[0].state #=> String, one of "payment-pending", "active", "payment-failed", "retired", "queued", "queued-deleted"
|
16856
16897
|
# resp.reserved_instances[0].usage_price #=> Float
|
16857
16898
|
# resp.reserved_instances[0].currency_code #=> String, one of "USD"
|
16858
16899
|
# resp.reserved_instances[0].instance_tenancy #=> String, one of "default", "dedicated", "host"
|
@@ -28318,6 +28359,10 @@ module Aws::EC2
|
|
28318
28359
|
# purchased a Reserved Instance, you can check for your new Reserved
|
28319
28360
|
# Instance with DescribeReservedInstances.
|
28320
28361
|
#
|
28362
|
+
# To queue a purchase for a future date and time, specify a purchase
|
28363
|
+
# time. If you do not specify a purchase time, the default is the
|
28364
|
+
# current time.
|
28365
|
+
#
|
28321
28366
|
# For more information, see [Reserved Instances][1] and [Reserved
|
28322
28367
|
# Instance Marketplace][2] in the *Amazon Elastic Compute Cloud User
|
28323
28368
|
# Guide*.
|
@@ -28344,6 +28389,9 @@ module Aws::EC2
|
|
28344
28389
|
# total order and ensure that the Reserved Instances are not purchased
|
28345
28390
|
# at unexpected prices.
|
28346
28391
|
#
|
28392
|
+
# @option params [Time,DateTime,Date,Integer,String] :purchase_time
|
28393
|
+
# The time at which to purchase the Reserved Instance.
|
28394
|
+
#
|
28347
28395
|
# @return [Types::PurchaseReservedInstancesOfferingResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
28348
28396
|
#
|
28349
28397
|
# * {Types::PurchaseReservedInstancesOfferingResult#reserved_instances_id #reserved_instances_id} => String
|
@@ -28358,6 +28406,7 @@ module Aws::EC2
|
|
28358
28406
|
# amount: 1.0,
|
28359
28407
|
# currency_code: "USD", # accepts USD
|
28360
28408
|
# },
|
28409
|
+
# purchase_time: Time.now,
|
28361
28410
|
# })
|
28362
28411
|
#
|
28363
28412
|
# @example Response structure
|
@@ -29930,6 +29979,10 @@ module Aws::EC2
|
|
29930
29979
|
# If the request is persistent, the request becomes active at this date
|
29931
29980
|
# and time and remains active until it expires or is canceled.
|
29932
29981
|
#
|
29982
|
+
# The specified start date and time cannot be equal to the current date
|
29983
|
+
# and time. You must specify a start date and time that occurs after the
|
29984
|
+
# current date and time.
|
29985
|
+
#
|
29933
29986
|
# @option params [Time,DateTime,Date,Integer,String] :valid_until
|
29934
29987
|
# The end date of the request. If this is a one-time request, the
|
29935
29988
|
# request remains active until all instances launch, the request is
|
@@ -32639,7 +32692,7 @@ module Aws::EC2
|
|
32639
32692
|
params: params,
|
32640
32693
|
config: config)
|
32641
32694
|
context[:gem_name] = 'aws-sdk-ec2'
|
32642
|
-
context[:gem_version] = '1.
|
32695
|
+
context[:gem_version] = '1.111.0'
|
32643
32696
|
Seahorse::Client::Request.new(handlers, context)
|
32644
32697
|
end
|
32645
32698
|
|
@@ -353,6 +353,11 @@ module Aws::EC2
|
|
353
353
|
DeleteNetworkInterfacePermissionResult = Shapes::StructureShape.new(name: 'DeleteNetworkInterfacePermissionResult')
|
354
354
|
DeleteNetworkInterfaceRequest = Shapes::StructureShape.new(name: 'DeleteNetworkInterfaceRequest')
|
355
355
|
DeletePlacementGroupRequest = Shapes::StructureShape.new(name: 'DeletePlacementGroupRequest')
|
356
|
+
DeleteQueuedReservedInstancesError = Shapes::StructureShape.new(name: 'DeleteQueuedReservedInstancesError')
|
357
|
+
DeleteQueuedReservedInstancesErrorCode = Shapes::StringShape.new(name: 'DeleteQueuedReservedInstancesErrorCode')
|
358
|
+
DeleteQueuedReservedInstancesIdList = Shapes::ListShape.new(name: 'DeleteQueuedReservedInstancesIdList')
|
359
|
+
DeleteQueuedReservedInstancesRequest = Shapes::StructureShape.new(name: 'DeleteQueuedReservedInstancesRequest')
|
360
|
+
DeleteQueuedReservedInstancesResult = Shapes::StructureShape.new(name: 'DeleteQueuedReservedInstancesResult')
|
356
361
|
DeleteRouteRequest = Shapes::StructureShape.new(name: 'DeleteRouteRequest')
|
357
362
|
DeleteRouteTableRequest = Shapes::StructureShape.new(name: 'DeleteRouteTableRequest')
|
358
363
|
DeleteSecurityGroupRequest = Shapes::StructureShape.new(name: 'DeleteSecurityGroupRequest')
|
@@ -738,6 +743,8 @@ module Aws::EC2
|
|
738
743
|
ExportToS3TaskSpecification = Shapes::StructureShape.new(name: 'ExportToS3TaskSpecification')
|
739
744
|
ExportTransitGatewayRoutesRequest = Shapes::StructureShape.new(name: 'ExportTransitGatewayRoutesRequest')
|
740
745
|
ExportTransitGatewayRoutesResult = Shapes::StructureShape.new(name: 'ExportTransitGatewayRoutesResult')
|
746
|
+
FailedQueuedPurchaseDeletion = Shapes::StructureShape.new(name: 'FailedQueuedPurchaseDeletion')
|
747
|
+
FailedQueuedPurchaseDeletionSet = Shapes::ListShape.new(name: 'FailedQueuedPurchaseDeletionSet')
|
741
748
|
Filter = Shapes::StructureShape.new(name: 'Filter')
|
742
749
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
743
750
|
FleetActivityStatus = Shapes::StringShape.new(name: 'FleetActivityStatus')
|
@@ -1421,6 +1428,8 @@ module Aws::EC2
|
|
1421
1428
|
SubnetState = Shapes::StringShape.new(name: 'SubnetState')
|
1422
1429
|
SuccessfulInstanceCreditSpecificationItem = Shapes::StructureShape.new(name: 'SuccessfulInstanceCreditSpecificationItem')
|
1423
1430
|
SuccessfulInstanceCreditSpecificationSet = Shapes::ListShape.new(name: 'SuccessfulInstanceCreditSpecificationSet')
|
1431
|
+
SuccessfulQueuedPurchaseDeletion = Shapes::StructureShape.new(name: 'SuccessfulQueuedPurchaseDeletion')
|
1432
|
+
SuccessfulQueuedPurchaseDeletionSet = Shapes::ListShape.new(name: 'SuccessfulQueuedPurchaseDeletionSet')
|
1424
1433
|
SummaryStatus = Shapes::StringShape.new(name: 'SummaryStatus')
|
1425
1434
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
1426
1435
|
TagDescription = Shapes::StructureShape.new(name: 'TagDescription')
|
@@ -3022,6 +3031,20 @@ module Aws::EC2
|
|
3022
3031
|
DeletePlacementGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "groupName"))
|
3023
3032
|
DeletePlacementGroupRequest.struct_class = Types::DeletePlacementGroupRequest
|
3024
3033
|
|
3034
|
+
DeleteQueuedReservedInstancesError.add_member(:code, Shapes::ShapeRef.new(shape: DeleteQueuedReservedInstancesErrorCode, location_name: "code"))
|
3035
|
+
DeleteQueuedReservedInstancesError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
3036
|
+
DeleteQueuedReservedInstancesError.struct_class = Types::DeleteQueuedReservedInstancesError
|
3037
|
+
|
3038
|
+
DeleteQueuedReservedInstancesIdList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
3039
|
+
|
3040
|
+
DeleteQueuedReservedInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3041
|
+
DeleteQueuedReservedInstancesRequest.add_member(:reserved_instances_ids, Shapes::ShapeRef.new(shape: DeleteQueuedReservedInstancesIdList, required: true, location_name: "ReservedInstancesId"))
|
3042
|
+
DeleteQueuedReservedInstancesRequest.struct_class = Types::DeleteQueuedReservedInstancesRequest
|
3043
|
+
|
3044
|
+
DeleteQueuedReservedInstancesResult.add_member(:successful_queued_purchase_deletions, Shapes::ShapeRef.new(shape: SuccessfulQueuedPurchaseDeletionSet, location_name: "successfulQueuedPurchaseDeletionSet"))
|
3045
|
+
DeleteQueuedReservedInstancesResult.add_member(:failed_queued_purchase_deletions, Shapes::ShapeRef.new(shape: FailedQueuedPurchaseDeletionSet, location_name: "failedQueuedPurchaseDeletionSet"))
|
3046
|
+
DeleteQueuedReservedInstancesResult.struct_class = Types::DeleteQueuedReservedInstancesResult
|
3047
|
+
|
3025
3048
|
DeleteRouteRequest.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "destinationCidrBlock"))
|
3026
3049
|
DeleteRouteRequest.add_member(:destination_ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "destinationIpv6CidrBlock"))
|
3027
3050
|
DeleteRouteRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
@@ -4587,6 +4610,12 @@ module Aws::EC2
|
|
4587
4610
|
ExportTransitGatewayRoutesResult.add_member(:s3_location, Shapes::ShapeRef.new(shape: String, location_name: "s3Location"))
|
4588
4611
|
ExportTransitGatewayRoutesResult.struct_class = Types::ExportTransitGatewayRoutesResult
|
4589
4612
|
|
4613
|
+
FailedQueuedPurchaseDeletion.add_member(:error, Shapes::ShapeRef.new(shape: DeleteQueuedReservedInstancesError, location_name: "error"))
|
4614
|
+
FailedQueuedPurchaseDeletion.add_member(:reserved_instances_id, Shapes::ShapeRef.new(shape: String, location_name: "reservedInstancesId"))
|
4615
|
+
FailedQueuedPurchaseDeletion.struct_class = Types::FailedQueuedPurchaseDeletion
|
4616
|
+
|
4617
|
+
FailedQueuedPurchaseDeletionSet.member = Shapes::ShapeRef.new(shape: FailedQueuedPurchaseDeletion, location_name: "item")
|
4618
|
+
|
4590
4619
|
Filter.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
4591
4620
|
Filter.add_member(:values, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "Value"))
|
4592
4621
|
Filter.struct_class = Types::Filter
|
@@ -6527,6 +6556,7 @@ module Aws::EC2
|
|
6527
6556
|
PurchaseReservedInstancesOfferingRequest.add_member(:reserved_instances_offering_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReservedInstancesOfferingId"))
|
6528
6557
|
PurchaseReservedInstancesOfferingRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
6529
6558
|
PurchaseReservedInstancesOfferingRequest.add_member(:limit_price, Shapes::ShapeRef.new(shape: ReservedInstanceLimitPrice, location_name: "limitPrice"))
|
6559
|
+
PurchaseReservedInstancesOfferingRequest.add_member(:purchase_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "PurchaseTime"))
|
6530
6560
|
PurchaseReservedInstancesOfferingRequest.struct_class = Types::PurchaseReservedInstancesOfferingRequest
|
6531
6561
|
|
6532
6562
|
PurchaseReservedInstancesOfferingResult.add_member(:reserved_instances_id, Shapes::ShapeRef.new(shape: String, location_name: "reservedInstancesId"))
|
@@ -7585,6 +7615,11 @@ module Aws::EC2
|
|
7585
7615
|
|
7586
7616
|
SuccessfulInstanceCreditSpecificationSet.member = Shapes::ShapeRef.new(shape: SuccessfulInstanceCreditSpecificationItem, location_name: "item")
|
7587
7617
|
|
7618
|
+
SuccessfulQueuedPurchaseDeletion.add_member(:reserved_instances_id, Shapes::ShapeRef.new(shape: String, location_name: "reservedInstancesId"))
|
7619
|
+
SuccessfulQueuedPurchaseDeletion.struct_class = Types::SuccessfulQueuedPurchaseDeletion
|
7620
|
+
|
7621
|
+
SuccessfulQueuedPurchaseDeletionSet.member = Shapes::ShapeRef.new(shape: SuccessfulQueuedPurchaseDeletion, location_name: "item")
|
7622
|
+
|
7588
7623
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
|
7589
7624
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
7590
7625
|
Tag.struct_class = Types::Tag
|
@@ -9127,6 +9162,14 @@ module Aws::EC2
|
|
9127
9162
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
9128
9163
|
end)
|
9129
9164
|
|
9165
|
+
api.add_operation(:delete_queued_reserved_instances, Seahorse::Model::Operation.new.tap do |o|
|
9166
|
+
o.name = "DeleteQueuedReservedInstances"
|
9167
|
+
o.http_method = "POST"
|
9168
|
+
o.http_request_uri = "/"
|
9169
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteQueuedReservedInstancesRequest)
|
9170
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteQueuedReservedInstancesResult)
|
9171
|
+
end)
|
9172
|
+
|
9130
9173
|
api.add_operation(:delete_route, Seahorse::Model::Operation.new.tap do |o|
|
9131
9174
|
o.name = "DeleteRoute"
|
9132
9175
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -9166,6 +9166,69 @@ module Aws::EC2
|
|
9166
9166
|
include Aws::Structure
|
9167
9167
|
end
|
9168
9168
|
|
9169
|
+
# Describes the error for a Reserved Instance whose queued purchase
|
9170
|
+
# could not be deleted.
|
9171
|
+
#
|
9172
|
+
# @!attribute [rw] code
|
9173
|
+
# The error code.
|
9174
|
+
# @return [String]
|
9175
|
+
#
|
9176
|
+
# @!attribute [rw] message
|
9177
|
+
# The error message.
|
9178
|
+
# @return [String]
|
9179
|
+
#
|
9180
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteQueuedReservedInstancesError AWS API Documentation
|
9181
|
+
#
|
9182
|
+
class DeleteQueuedReservedInstancesError < Struct.new(
|
9183
|
+
:code,
|
9184
|
+
:message)
|
9185
|
+
include Aws::Structure
|
9186
|
+
end
|
9187
|
+
|
9188
|
+
# @note When making an API call, you may pass DeleteQueuedReservedInstancesRequest
|
9189
|
+
# data as a hash:
|
9190
|
+
#
|
9191
|
+
# {
|
9192
|
+
# dry_run: false,
|
9193
|
+
# reserved_instances_ids: ["String"], # required
|
9194
|
+
# }
|
9195
|
+
#
|
9196
|
+
# @!attribute [rw] dry_run
|
9197
|
+
# Checks whether you have the required permissions for the action,
|
9198
|
+
# without actually making the request, and provides an error response.
|
9199
|
+
# If you have the required permissions, the error response is
|
9200
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
9201
|
+
# @return [Boolean]
|
9202
|
+
#
|
9203
|
+
# @!attribute [rw] reserved_instances_ids
|
9204
|
+
# The IDs of the Reserved Instances.
|
9205
|
+
# @return [Array<String>]
|
9206
|
+
#
|
9207
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteQueuedReservedInstancesRequest AWS API Documentation
|
9208
|
+
#
|
9209
|
+
class DeleteQueuedReservedInstancesRequest < Struct.new(
|
9210
|
+
:dry_run,
|
9211
|
+
:reserved_instances_ids)
|
9212
|
+
include Aws::Structure
|
9213
|
+
end
|
9214
|
+
|
9215
|
+
# @!attribute [rw] successful_queued_purchase_deletions
|
9216
|
+
# Information about the queued purchases that were successfully
|
9217
|
+
# deleted.
|
9218
|
+
# @return [Array<Types::SuccessfulQueuedPurchaseDeletion>]
|
9219
|
+
#
|
9220
|
+
# @!attribute [rw] failed_queued_purchase_deletions
|
9221
|
+
# Information about the queued purchases that could not be deleted.
|
9222
|
+
# @return [Array<Types::FailedQueuedPurchaseDeletion>]
|
9223
|
+
#
|
9224
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteQueuedReservedInstancesResult AWS API Documentation
|
9225
|
+
#
|
9226
|
+
class DeleteQueuedReservedInstancesResult < Struct.new(
|
9227
|
+
:successful_queued_purchase_deletions,
|
9228
|
+
:failed_queued_purchase_deletions)
|
9229
|
+
include Aws::Structure
|
9230
|
+
end
|
9231
|
+
|
9169
9232
|
# @note When making an API call, you may pass DeleteRouteRequest
|
9170
9233
|
# data as a hash:
|
9171
9234
|
#
|
@@ -19654,6 +19717,12 @@ module Aws::EC2
|
|
19654
19717
|
#
|
19655
19718
|
# @!attribute [rw] delete_on_termination
|
19656
19719
|
# Indicates whether the EBS volume is deleted on instance termination.
|
19720
|
+
# For more information, see [Preserving Amazon EBS Volumes on Instance
|
19721
|
+
# Termination][1] in the Amazon Elastic Compute Cloud User Guide.
|
19722
|
+
#
|
19723
|
+
#
|
19724
|
+
#
|
19725
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#preserving-volumes-on-termination
|
19657
19726
|
# @return [Boolean]
|
19658
19727
|
#
|
19659
19728
|
# @!attribute [rw] iops
|
@@ -20779,6 +20848,24 @@ module Aws::EC2
|
|
20779
20848
|
include Aws::Structure
|
20780
20849
|
end
|
20781
20850
|
|
20851
|
+
# Describes a Reserved Instance whose queued purchase was not deleted.
|
20852
|
+
#
|
20853
|
+
# @!attribute [rw] error
|
20854
|
+
# The error.
|
20855
|
+
# @return [Types::DeleteQueuedReservedInstancesError]
|
20856
|
+
#
|
20857
|
+
# @!attribute [rw] reserved_instances_id
|
20858
|
+
# The ID of the Reserved Instance.
|
20859
|
+
# @return [String]
|
20860
|
+
#
|
20861
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FailedQueuedPurchaseDeletion AWS API Documentation
|
20862
|
+
#
|
20863
|
+
class FailedQueuedPurchaseDeletion < Struct.new(
|
20864
|
+
:error,
|
20865
|
+
:reserved_instances_id)
|
20866
|
+
include Aws::Structure
|
20867
|
+
end
|
20868
|
+
|
20782
20869
|
# A filter name and value pair that is used to return a more specific
|
20783
20870
|
# list of results from a describe operation. Filters can be used to
|
20784
20871
|
# match a set of resources by specific criteria, such as tags,
|
@@ -31487,6 +31574,7 @@ module Aws::EC2
|
|
31487
31574
|
# amount: 1.0,
|
31488
31575
|
# currency_code: "USD", # accepts USD
|
31489
31576
|
# },
|
31577
|
+
# purchase_time: Time.now,
|
31490
31578
|
# }
|
31491
31579
|
#
|
31492
31580
|
# @!attribute [rw] instance_count
|
@@ -31510,13 +31598,18 @@ module Aws::EC2
|
|
31510
31598
|
# at unexpected prices.
|
31511
31599
|
# @return [Types::ReservedInstanceLimitPrice]
|
31512
31600
|
#
|
31601
|
+
# @!attribute [rw] purchase_time
|
31602
|
+
# The time at which to purchase the Reserved Instance.
|
31603
|
+
# @return [Time]
|
31604
|
+
#
|
31513
31605
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseReservedInstancesOfferingRequest AWS API Documentation
|
31514
31606
|
#
|
31515
31607
|
class PurchaseReservedInstancesOfferingRequest < Struct.new(
|
31516
31608
|
:instance_count,
|
31517
31609
|
:reserved_instances_offering_id,
|
31518
31610
|
:dry_run,
|
31519
|
-
:limit_price
|
31611
|
+
:limit_price,
|
31612
|
+
:purchase_time)
|
31520
31613
|
include Aws::Structure
|
31521
31614
|
end
|
31522
31615
|
|
@@ -33176,6 +33269,10 @@ module Aws::EC2
|
|
33176
33269
|
# canceled. If the request is persistent, the request becomes active
|
33177
33270
|
# at this date and time and remains active until it expires or is
|
33178
33271
|
# canceled.
|
33272
|
+
#
|
33273
|
+
# The specified start date and time cannot be equal to the current
|
33274
|
+
# date and time. You must specify a start date and time that occurs
|
33275
|
+
# after the current date and time.
|
33179
33276
|
# @return [Time]
|
33180
33277
|
#
|
33181
33278
|
# @!attribute [rw] valid_until
|
@@ -38625,6 +38722,20 @@ module Aws::EC2
|
|
38625
38722
|
include Aws::Structure
|
38626
38723
|
end
|
38627
38724
|
|
38725
|
+
# Describes a Reserved Instance whose queued purchase was successfully
|
38726
|
+
# deleted.
|
38727
|
+
#
|
38728
|
+
# @!attribute [rw] reserved_instances_id
|
38729
|
+
# The ID of the Reserved Instance.
|
38730
|
+
# @return [String]
|
38731
|
+
#
|
38732
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SuccessfulQueuedPurchaseDeletion AWS API Documentation
|
38733
|
+
#
|
38734
|
+
class SuccessfulQueuedPurchaseDeletion < Struct.new(
|
38735
|
+
:reserved_instances_id)
|
38736
|
+
include Aws::Structure
|
38737
|
+
end
|
38738
|
+
|
38628
38739
|
# Describes a tag.
|
38629
38740
|
#
|
38630
38741
|
# @note When making an API call, you may pass Tag
|
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.111.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: 2019-
|
11
|
+
date: 2019-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|