aws-sdk-ec2 1.101.0 → 1.102.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 +60 -3
- data/lib/aws-sdk-ec2/client_api.rb +39 -1
- data/lib/aws-sdk-ec2/types.rb +98 -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: 4e4583627a9a1978a99518ab8d486a42b3312f2f
|
4
|
+
data.tar.gz: 1f89d814c20b6b3bb2fa94e36ae2fe9099f88261
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09723cd4b5905174daf2002a1c266e118a8f53d126859b6d6e3bf50849328b22361cbc93367b5fa490ff8c51df6e802ca43f4c52df2fc96065b6874bb519bfb9'
|
7
|
+
data.tar.gz: 48e9e0dfd61dc79e5f28b31f1b1c8a09604647b27ce6191471c4a95b4052872830f8b0cae624a11ab6f3b773a423bf45d8bba3000d938b2c4000681c70b1fe74
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -3249,9 +3249,11 @@ module Aws::EC2
|
|
3249
3249
|
# @option params [required, String] :instance_platform
|
3250
3250
|
# The type of operating system for which to reserve capacity.
|
3251
3251
|
#
|
3252
|
-
# @option params [
|
3252
|
+
# @option params [String] :availability_zone
|
3253
3253
|
# The Availability Zone in which to create the Capacity Reservation.
|
3254
3254
|
#
|
3255
|
+
# @option params [String] :availability_zone_id
|
3256
|
+
#
|
3255
3257
|
# @option params [String] :tenancy
|
3256
3258
|
# Indicates the tenancy of the Capacity Reservation. A Capacity
|
3257
3259
|
# Reservation can have one of the following tenancy settings:
|
@@ -3340,7 +3342,8 @@ module Aws::EC2
|
|
3340
3342
|
# client_token: "String",
|
3341
3343
|
# instance_type: "String", # required
|
3342
3344
|
# instance_platform: "Linux/UNIX", # required, accepts Linux/UNIX, Red Hat Enterprise Linux, SUSE Linux, Windows, Windows with SQL Server, Windows with SQL Server Enterprise, Windows with SQL Server Standard, Windows with SQL Server Web, Linux with SQL Server Standard, Linux with SQL Server Web, Linux with SQL Server Enterprise
|
3343
|
-
# availability_zone: "String",
|
3345
|
+
# availability_zone: "String",
|
3346
|
+
# availability_zone_id: "String",
|
3344
3347
|
# tenancy: "default", # accepts default, dedicated
|
3345
3348
|
# instance_count: 1, # required
|
3346
3349
|
# ebs_optimized: false,
|
@@ -3365,6 +3368,9 @@ module Aws::EC2
|
|
3365
3368
|
# @example Response structure
|
3366
3369
|
#
|
3367
3370
|
# resp.capacity_reservation.capacity_reservation_id #=> String
|
3371
|
+
# resp.capacity_reservation.owner_id #=> String
|
3372
|
+
# resp.capacity_reservation.capacity_reservation_arn #=> String
|
3373
|
+
# resp.capacity_reservation.availability_zone_id #=> String
|
3368
3374
|
# resp.capacity_reservation.instance_type #=> String
|
3369
3375
|
# resp.capacity_reservation.instance_platform #=> String, one of "Linux/UNIX", "Red Hat Enterprise Linux", "SUSE Linux", "Windows", "Windows with SQL Server", "Windows with SQL Server Enterprise", "Windows with SQL Server Standard", "Windows with SQL Server Web", "Linux with SQL Server Standard", "Linux with SQL Server Web", "Linux with SQL Server Enterprise"
|
3370
3376
|
# resp.capacity_reservation.availability_zone #=> String
|
@@ -11314,6 +11320,9 @@ module Aws::EC2
|
|
11314
11320
|
# resp.next_token #=> String
|
11315
11321
|
# resp.capacity_reservations #=> Array
|
11316
11322
|
# resp.capacity_reservations[0].capacity_reservation_id #=> String
|
11323
|
+
# resp.capacity_reservations[0].owner_id #=> String
|
11324
|
+
# resp.capacity_reservations[0].capacity_reservation_arn #=> String
|
11325
|
+
# resp.capacity_reservations[0].availability_zone_id #=> String
|
11317
11326
|
# resp.capacity_reservations[0].instance_type #=> String
|
11318
11327
|
# resp.capacity_reservations[0].instance_platform #=> String, one of "Linux/UNIX", "Red Hat Enterprise Linux", "SUSE Linux", "Windows", "Windows with SQL Server", "Windows with SQL Server Enterprise", "Windows with SQL Server Standard", "Windows with SQL Server Web", "Linux with SQL Server Standard", "Linux with SQL Server Web", "Linux with SQL Server Enterprise"
|
11319
11328
|
# resp.capacity_reservations[0].availability_zone #=> String
|
@@ -23192,6 +23201,54 @@ module Aws::EC2
|
|
23192
23201
|
req.send_request(options)
|
23193
23202
|
end
|
23194
23203
|
|
23204
|
+
# @option params [required, String] :capacity_reservation_id
|
23205
|
+
#
|
23206
|
+
# @option params [String] :next_token
|
23207
|
+
#
|
23208
|
+
# @option params [Integer] :max_results
|
23209
|
+
#
|
23210
|
+
# @option params [Boolean] :dry_run
|
23211
|
+
#
|
23212
|
+
# @return [Types::GetCapacityReservationUsageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
23213
|
+
#
|
23214
|
+
# * {Types::GetCapacityReservationUsageResult#next_token #next_token} => String
|
23215
|
+
# * {Types::GetCapacityReservationUsageResult#capacity_reservation_id #capacity_reservation_id} => String
|
23216
|
+
# * {Types::GetCapacityReservationUsageResult#instance_type #instance_type} => String
|
23217
|
+
# * {Types::GetCapacityReservationUsageResult#total_instance_count #total_instance_count} => Integer
|
23218
|
+
# * {Types::GetCapacityReservationUsageResult#available_instance_count #available_instance_count} => Integer
|
23219
|
+
# * {Types::GetCapacityReservationUsageResult#state #state} => String
|
23220
|
+
# * {Types::GetCapacityReservationUsageResult#instance_usages #instance_usages} => Array<Types::InstanceUsage>
|
23221
|
+
#
|
23222
|
+
# @example Request syntax with placeholder values
|
23223
|
+
#
|
23224
|
+
# resp = client.get_capacity_reservation_usage({
|
23225
|
+
# capacity_reservation_id: "String", # required
|
23226
|
+
# next_token: "String",
|
23227
|
+
# max_results: 1,
|
23228
|
+
# dry_run: false,
|
23229
|
+
# })
|
23230
|
+
#
|
23231
|
+
# @example Response structure
|
23232
|
+
#
|
23233
|
+
# resp.next_token #=> String
|
23234
|
+
# resp.capacity_reservation_id #=> String
|
23235
|
+
# resp.instance_type #=> String
|
23236
|
+
# resp.total_instance_count #=> Integer
|
23237
|
+
# resp.available_instance_count #=> Integer
|
23238
|
+
# resp.state #=> String, one of "active", "expired", "cancelled", "pending", "failed"
|
23239
|
+
# resp.instance_usages #=> Array
|
23240
|
+
# resp.instance_usages[0].account_id #=> String
|
23241
|
+
# resp.instance_usages[0].used_instance_count #=> Integer
|
23242
|
+
#
|
23243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityReservationUsage AWS API Documentation
|
23244
|
+
#
|
23245
|
+
# @overload get_capacity_reservation_usage(params = {})
|
23246
|
+
# @param [Hash] params ({})
|
23247
|
+
def get_capacity_reservation_usage(params = {}, options = {})
|
23248
|
+
req = build_request(:get_capacity_reservation_usage, params)
|
23249
|
+
req.send_request(options)
|
23250
|
+
end
|
23251
|
+
|
23195
23252
|
# Gets the console output for the specified instance. For Linux
|
23196
23253
|
# instances, the instance console output displays the exact console
|
23197
23254
|
# output that would normally be displayed on a physical monitor attached
|
@@ -31929,7 +31986,7 @@ module Aws::EC2
|
|
31929
31986
|
params: params,
|
31930
31987
|
config: config)
|
31931
31988
|
context[:gem_name] = 'aws-sdk-ec2'
|
31932
|
-
context[:gem_version] = '1.
|
31989
|
+
context[:gem_version] = '1.102.0'
|
31933
31990
|
Seahorse::Client::Request.new(handlers, context)
|
31934
31991
|
end
|
31935
31992
|
|
@@ -762,6 +762,9 @@ module Aws::EC2
|
|
762
762
|
FpgaImageState = Shapes::StructureShape.new(name: 'FpgaImageState')
|
763
763
|
FpgaImageStateCode = Shapes::StringShape.new(name: 'FpgaImageStateCode')
|
764
764
|
GatewayType = Shapes::StringShape.new(name: 'GatewayType')
|
765
|
+
GetCapacityReservationUsageRequest = Shapes::StructureShape.new(name: 'GetCapacityReservationUsageRequest')
|
766
|
+
GetCapacityReservationUsageRequestMaxResults = Shapes::IntegerShape.new(name: 'GetCapacityReservationUsageRequestMaxResults')
|
767
|
+
GetCapacityReservationUsageResult = Shapes::StructureShape.new(name: 'GetCapacityReservationUsageResult')
|
765
768
|
GetConsoleOutputRequest = Shapes::StructureShape.new(name: 'GetConsoleOutputRequest')
|
766
769
|
GetConsoleOutputResult = Shapes::StructureShape.new(name: 'GetConsoleOutputResult')
|
767
770
|
GetConsoleScreenshotRequest = Shapes::StructureShape.new(name: 'GetConsoleScreenshotRequest')
|
@@ -903,6 +906,8 @@ module Aws::EC2
|
|
903
906
|
InstanceStatusSummary = Shapes::StructureShape.new(name: 'InstanceStatusSummary')
|
904
907
|
InstanceType = Shapes::StringShape.new(name: 'InstanceType')
|
905
908
|
InstanceTypeList = Shapes::ListShape.new(name: 'InstanceTypeList')
|
909
|
+
InstanceUsage = Shapes::StructureShape.new(name: 'InstanceUsage')
|
910
|
+
InstanceUsageSet = Shapes::ListShape.new(name: 'InstanceUsageSet')
|
906
911
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
907
912
|
InterfacePermissionType = Shapes::StringShape.new(name: 'InterfacePermissionType')
|
908
913
|
InternetGateway = Shapes::StructureShape.new(name: 'InternetGateway')
|
@@ -2014,6 +2019,9 @@ module Aws::EC2
|
|
2014
2019
|
CancelledSpotInstanceRequestList.member = Shapes::ShapeRef.new(shape: CancelledSpotInstanceRequest, location_name: "item")
|
2015
2020
|
|
2016
2021
|
CapacityReservation.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationId"))
|
2022
|
+
CapacityReservation.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
2023
|
+
CapacityReservation.add_member(:capacity_reservation_arn, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationArn"))
|
2024
|
+
CapacityReservation.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
2017
2025
|
CapacityReservation.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
2018
2026
|
CapacityReservation.add_member(:instance_platform, Shapes::ShapeRef.new(shape: CapacityReservationInstancePlatform, location_name: "instancePlatform"))
|
2019
2027
|
CapacityReservation.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
@@ -2262,7 +2270,8 @@ module Aws::EC2
|
|
2262
2270
|
CreateCapacityReservationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
2263
2271
|
CreateCapacityReservationRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceType"))
|
2264
2272
|
CreateCapacityReservationRequest.add_member(:instance_platform, Shapes::ShapeRef.new(shape: CapacityReservationInstancePlatform, required: true, location_name: "InstancePlatform"))
|
2265
|
-
CreateCapacityReservationRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String,
|
2273
|
+
CreateCapacityReservationRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
2274
|
+
CreateCapacityReservationRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
|
2266
2275
|
CreateCapacityReservationRequest.add_member(:tenancy, Shapes::ShapeRef.new(shape: CapacityReservationTenancy, location_name: "Tenancy"))
|
2267
2276
|
CreateCapacityReservationRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "InstanceCount"))
|
2268
2277
|
CreateCapacityReservationRequest.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: Boolean, location_name: "EbsOptimized"))
|
@@ -4600,6 +4609,21 @@ module Aws::EC2
|
|
4600
4609
|
FpgaImageState.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
4601
4610
|
FpgaImageState.struct_class = Types::FpgaImageState
|
4602
4611
|
|
4612
|
+
GetCapacityReservationUsageRequest.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CapacityReservationId"))
|
4613
|
+
GetCapacityReservationUsageRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
4614
|
+
GetCapacityReservationUsageRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetCapacityReservationUsageRequestMaxResults, location_name: "MaxResults"))
|
4615
|
+
GetCapacityReservationUsageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
4616
|
+
GetCapacityReservationUsageRequest.struct_class = Types::GetCapacityReservationUsageRequest
|
4617
|
+
|
4618
|
+
GetCapacityReservationUsageResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
4619
|
+
GetCapacityReservationUsageResult.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationId"))
|
4620
|
+
GetCapacityReservationUsageResult.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
4621
|
+
GetCapacityReservationUsageResult.add_member(:total_instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "totalInstanceCount"))
|
4622
|
+
GetCapacityReservationUsageResult.add_member(:available_instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "availableInstanceCount"))
|
4623
|
+
GetCapacityReservationUsageResult.add_member(:state, Shapes::ShapeRef.new(shape: CapacityReservationState, location_name: "state"))
|
4624
|
+
GetCapacityReservationUsageResult.add_member(:instance_usages, Shapes::ShapeRef.new(shape: InstanceUsageSet, location_name: "instanceUsageSet"))
|
4625
|
+
GetCapacityReservationUsageResult.struct_class = Types::GetCapacityReservationUsageResult
|
4626
|
+
|
4603
4627
|
GetConsoleOutputRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceId"))
|
4604
4628
|
GetConsoleOutputRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
4605
4629
|
GetConsoleOutputRequest.add_member(:latest, Shapes::ShapeRef.new(shape: Boolean, location_name: "Latest"))
|
@@ -5260,6 +5284,12 @@ module Aws::EC2
|
|
5260
5284
|
|
5261
5285
|
InstanceTypeList.member = Shapes::ShapeRef.new(shape: InstanceType)
|
5262
5286
|
|
5287
|
+
InstanceUsage.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "accountId"))
|
5288
|
+
InstanceUsage.add_member(:used_instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "usedInstanceCount"))
|
5289
|
+
InstanceUsage.struct_class = Types::InstanceUsage
|
5290
|
+
|
5291
|
+
InstanceUsageSet.member = Shapes::ShapeRef.new(shape: InstanceUsage, location_name: "item")
|
5292
|
+
|
5263
5293
|
InternetGateway.add_member(:attachments, Shapes::ShapeRef.new(shape: InternetGatewayAttachmentList, location_name: "attachmentSet"))
|
5264
5294
|
InternetGateway.add_member(:internet_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "internetGatewayId"))
|
5265
5295
|
InternetGateway.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
@@ -10434,6 +10464,14 @@ module Aws::EC2
|
|
10434
10464
|
o.output = Shapes::ShapeRef.new(shape: ExportTransitGatewayRoutesResult)
|
10435
10465
|
end)
|
10436
10466
|
|
10467
|
+
api.add_operation(:get_capacity_reservation_usage, Seahorse::Model::Operation.new.tap do |o|
|
10468
|
+
o.name = "GetCapacityReservationUsage"
|
10469
|
+
o.http_method = "POST"
|
10470
|
+
o.http_request_uri = "/"
|
10471
|
+
o.input = Shapes::ShapeRef.new(shape: GetCapacityReservationUsageRequest)
|
10472
|
+
o.output = Shapes::ShapeRef.new(shape: GetCapacityReservationUsageResult)
|
10473
|
+
end)
|
10474
|
+
|
10437
10475
|
api.add_operation(:get_console_output, Seahorse::Model::Operation.new.tap do |o|
|
10438
10476
|
o.name = "GetConsoleOutput"
|
10439
10477
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -2530,6 +2530,15 @@ module Aws::EC2
|
|
2530
2530
|
# The ID of the Capacity Reservation.
|
2531
2531
|
# @return [String]
|
2532
2532
|
#
|
2533
|
+
# @!attribute [rw] owner_id
|
2534
|
+
# @return [String]
|
2535
|
+
#
|
2536
|
+
# @!attribute [rw] capacity_reservation_arn
|
2537
|
+
# @return [String]
|
2538
|
+
#
|
2539
|
+
# @!attribute [rw] availability_zone_id
|
2540
|
+
# @return [String]
|
2541
|
+
#
|
2533
2542
|
# @!attribute [rw] instance_type
|
2534
2543
|
# The type of instance for which the Capacity Reservation reserves
|
2535
2544
|
# capacity.
|
@@ -2650,6 +2659,9 @@ module Aws::EC2
|
|
2650
2659
|
#
|
2651
2660
|
class CapacityReservation < Struct.new(
|
2652
2661
|
:capacity_reservation_id,
|
2662
|
+
:owner_id,
|
2663
|
+
:capacity_reservation_arn,
|
2664
|
+
:availability_zone_id,
|
2653
2665
|
:instance_type,
|
2654
2666
|
:instance_platform,
|
2655
2667
|
:availability_zone,
|
@@ -3982,7 +3994,8 @@ module Aws::EC2
|
|
3982
3994
|
# client_token: "String",
|
3983
3995
|
# instance_type: "String", # required
|
3984
3996
|
# instance_platform: "Linux/UNIX", # required, accepts Linux/UNIX, Red Hat Enterprise Linux, SUSE Linux, Windows, Windows with SQL Server, Windows with SQL Server Enterprise, Windows with SQL Server Standard, Windows with SQL Server Web, Linux with SQL Server Standard, Linux with SQL Server Web, Linux with SQL Server Enterprise
|
3985
|
-
# availability_zone: "String",
|
3997
|
+
# availability_zone: "String",
|
3998
|
+
# availability_zone_id: "String",
|
3986
3999
|
# tenancy: "default", # accepts default, dedicated
|
3987
4000
|
# instance_count: 1, # required
|
3988
4001
|
# ebs_optimized: false,
|
@@ -4034,6 +4047,9 @@ module Aws::EC2
|
|
4034
4047
|
# The Availability Zone in which to create the Capacity Reservation.
|
4035
4048
|
# @return [String]
|
4036
4049
|
#
|
4050
|
+
# @!attribute [rw] availability_zone_id
|
4051
|
+
# @return [String]
|
4052
|
+
#
|
4037
4053
|
# @!attribute [rw] tenancy
|
4038
4054
|
# Indicates the tenancy of the Capacity Reservation. A Capacity
|
4039
4055
|
# Reservation can have one of the following tenancy settings:
|
@@ -4129,6 +4145,7 @@ module Aws::EC2
|
|
4129
4145
|
:instance_type,
|
4130
4146
|
:instance_platform,
|
4131
4147
|
:availability_zone,
|
4148
|
+
:availability_zone_id,
|
4132
4149
|
:tenancy,
|
4133
4150
|
:instance_count,
|
4134
4151
|
:ebs_optimized,
|
@@ -21062,6 +21079,72 @@ module Aws::EC2
|
|
21062
21079
|
include Aws::Structure
|
21063
21080
|
end
|
21064
21081
|
|
21082
|
+
# @note When making an API call, you may pass GetCapacityReservationUsageRequest
|
21083
|
+
# data as a hash:
|
21084
|
+
#
|
21085
|
+
# {
|
21086
|
+
# capacity_reservation_id: "String", # required
|
21087
|
+
# next_token: "String",
|
21088
|
+
# max_results: 1,
|
21089
|
+
# dry_run: false,
|
21090
|
+
# }
|
21091
|
+
#
|
21092
|
+
# @!attribute [rw] capacity_reservation_id
|
21093
|
+
# @return [String]
|
21094
|
+
#
|
21095
|
+
# @!attribute [rw] next_token
|
21096
|
+
# @return [String]
|
21097
|
+
#
|
21098
|
+
# @!attribute [rw] max_results
|
21099
|
+
# @return [Integer]
|
21100
|
+
#
|
21101
|
+
# @!attribute [rw] dry_run
|
21102
|
+
# @return [Boolean]
|
21103
|
+
#
|
21104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityReservationUsageRequest AWS API Documentation
|
21105
|
+
#
|
21106
|
+
class GetCapacityReservationUsageRequest < Struct.new(
|
21107
|
+
:capacity_reservation_id,
|
21108
|
+
:next_token,
|
21109
|
+
:max_results,
|
21110
|
+
:dry_run)
|
21111
|
+
include Aws::Structure
|
21112
|
+
end
|
21113
|
+
|
21114
|
+
# @!attribute [rw] next_token
|
21115
|
+
# @return [String]
|
21116
|
+
#
|
21117
|
+
# @!attribute [rw] capacity_reservation_id
|
21118
|
+
# @return [String]
|
21119
|
+
#
|
21120
|
+
# @!attribute [rw] instance_type
|
21121
|
+
# @return [String]
|
21122
|
+
#
|
21123
|
+
# @!attribute [rw] total_instance_count
|
21124
|
+
# @return [Integer]
|
21125
|
+
#
|
21126
|
+
# @!attribute [rw] available_instance_count
|
21127
|
+
# @return [Integer]
|
21128
|
+
#
|
21129
|
+
# @!attribute [rw] state
|
21130
|
+
# @return [String]
|
21131
|
+
#
|
21132
|
+
# @!attribute [rw] instance_usages
|
21133
|
+
# @return [Array<Types::InstanceUsage>]
|
21134
|
+
#
|
21135
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityReservationUsageResult AWS API Documentation
|
21136
|
+
#
|
21137
|
+
class GetCapacityReservationUsageResult < Struct.new(
|
21138
|
+
:next_token,
|
21139
|
+
:capacity_reservation_id,
|
21140
|
+
:instance_type,
|
21141
|
+
:total_instance_count,
|
21142
|
+
:available_instance_count,
|
21143
|
+
:state,
|
21144
|
+
:instance_usages)
|
21145
|
+
include Aws::Structure
|
21146
|
+
end
|
21147
|
+
|
21065
21148
|
# @note When making an API call, you may pass GetConsoleOutputRequest
|
21066
21149
|
# data as a hash:
|
21067
21150
|
#
|
@@ -24573,6 +24656,20 @@ module Aws::EC2
|
|
24573
24656
|
include Aws::Structure
|
24574
24657
|
end
|
24575
24658
|
|
24659
|
+
# @!attribute [rw] account_id
|
24660
|
+
# @return [String]
|
24661
|
+
#
|
24662
|
+
# @!attribute [rw] used_instance_count
|
24663
|
+
# @return [Integer]
|
24664
|
+
#
|
24665
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceUsage AWS API Documentation
|
24666
|
+
#
|
24667
|
+
class InstanceUsage < Struct.new(
|
24668
|
+
:account_id,
|
24669
|
+
:used_instance_count)
|
24670
|
+
include Aws::Structure
|
24671
|
+
end
|
24672
|
+
|
24576
24673
|
# Describes an internet gateway.
|
24577
24674
|
#
|
24578
24675
|
# @!attribute [rw] attachments
|
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.102.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-07-
|
11
|
+
date: 2019-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|