aws-sdk-ec2 1.120.0 → 1.121.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 +127 -19
- data/lib/aws-sdk-ec2/client_api.rb +41 -0
- data/lib/aws-sdk-ec2/resource.rb +6 -6
- data/lib/aws-sdk-ec2/subnet.rb +6 -6
- data/lib/aws-sdk-ec2/types.rb +123 -16
- 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: 04c045e1dcc0027a97d524cf428e7a150347337c
|
4
|
+
data.tar.gz: c912e9f524864c613f26f3bcd0cdf37ed5cdb40f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ec843713082f6cc65b814d4db04f996cfaad5b46f8c4144bf3ce447fd8fd8ffc142a519fb6934b3d8e9abb7c9f0fa154f656a6ba62579d9bb062bf6073aed9b
|
7
|
+
data.tar.gz: 746dfc1d2990a21d199a46ee18a044e955329349bbfb10451269c370015e365cc841725d4819548ecc57b276b1c24980e7d36cc3520dc85e87e805c8d40f1b36
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -14301,20 +14301,21 @@ module Aws::EC2
|
|
14301
14301
|
req.send_request(options)
|
14302
14302
|
end
|
14303
14303
|
|
14304
|
-
# Describes the credit option for CPU usage of the specified
|
14305
|
-
# instances. The credit options are `standard` and
|
14304
|
+
# Describes the credit option for CPU usage of the specified burstable
|
14305
|
+
# performance instances. The credit options are `standard` and
|
14306
|
+
# `unlimited`.
|
14306
14307
|
#
|
14307
|
-
# If you do not specify an instance ID, Amazon EC2 returns
|
14308
|
-
# instances with the `unlimited` credit option, as well as
|
14309
|
-
# that were previously configured as T2
|
14310
|
-
# credit option. For example, if you resize a T2 instance,
|
14311
|
-
# configured as `unlimited`, to an M4 instance, Amazon EC2
|
14312
|
-
# M4 instance.
|
14308
|
+
# If you do not specify an instance ID, Amazon EC2 returns burstable
|
14309
|
+
# performance instances with the `unlimited` credit option, as well as
|
14310
|
+
# instances that were previously configured as T2, T3, and T3a with the
|
14311
|
+
# `unlimited` credit option. For example, if you resize a T2 instance,
|
14312
|
+
# while it is configured as `unlimited`, to an M4 instance, Amazon EC2
|
14313
|
+
# returns the M4 instance.
|
14313
14314
|
#
|
14314
14315
|
# If you specify one or more instance IDs, Amazon EC2 returns the credit
|
14315
14316
|
# option (`standard` or `unlimited`) of those instances. If you specify
|
14316
|
-
# an instance ID that is not valid, such as an instance that is not a
|
14317
|
-
#
|
14317
|
+
# an instance ID that is not valid, such as an instance that is not a
|
14318
|
+
# burstable performance instance, an error is returned.
|
14318
14319
|
#
|
14319
14320
|
# Recently terminated instances might appear in the returned results.
|
14320
14321
|
# This interval is usually less than one hour.
|
@@ -24278,6 +24279,50 @@ module Aws::EC2
|
|
24278
24279
|
req.send_request(options)
|
24279
24280
|
end
|
24280
24281
|
|
24282
|
+
# Describes the default credit option for CPU usage of a burstable
|
24283
|
+
# performance instance family.
|
24284
|
+
#
|
24285
|
+
# For more information, see [Burstable Performance Instances][1] in the
|
24286
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
24287
|
+
#
|
24288
|
+
#
|
24289
|
+
#
|
24290
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
24291
|
+
#
|
24292
|
+
# @option params [Boolean] :dry_run
|
24293
|
+
# Checks whether you have the required permissions for the action,
|
24294
|
+
# without actually making the request, and provides an error response.
|
24295
|
+
# If you have the required permissions, the error response is
|
24296
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
24297
|
+
#
|
24298
|
+
# @option params [required, String] :instance_family
|
24299
|
+
# The instance family.
|
24300
|
+
#
|
24301
|
+
# @return [Types::GetDefaultCreditSpecificationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
24302
|
+
#
|
24303
|
+
# * {Types::GetDefaultCreditSpecificationResult#instance_family_credit_specification #instance_family_credit_specification} => Types::InstanceFamilyCreditSpecification
|
24304
|
+
#
|
24305
|
+
# @example Request syntax with placeholder values
|
24306
|
+
#
|
24307
|
+
# resp = client.get_default_credit_specification({
|
24308
|
+
# dry_run: false,
|
24309
|
+
# instance_family: "t2", # required, accepts t2, t3, t3a
|
24310
|
+
# })
|
24311
|
+
#
|
24312
|
+
# @example Response structure
|
24313
|
+
#
|
24314
|
+
# resp.instance_family_credit_specification.instance_family #=> String, one of "t2", "t3", "t3a"
|
24315
|
+
# resp.instance_family_credit_specification.cpu_credits #=> String
|
24316
|
+
#
|
24317
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetDefaultCreditSpecification AWS API Documentation
|
24318
|
+
#
|
24319
|
+
# @overload get_default_credit_specification(params = {})
|
24320
|
+
# @param [Hash] params ({})
|
24321
|
+
def get_default_credit_specification(params = {}, options = {})
|
24322
|
+
req = build_request(:get_default_credit_specification, params)
|
24323
|
+
req.send_request(options)
|
24324
|
+
end
|
24325
|
+
|
24281
24326
|
# Describes the default customer master key (CMK) for EBS encryption by
|
24282
24327
|
# default for your account in this Region. You can change the default
|
24283
24328
|
# CMK for encryption by default using ModifyEbsDefaultKmsKeyId or
|
@@ -25735,6 +25780,68 @@ module Aws::EC2
|
|
25735
25780
|
req.send_request(options)
|
25736
25781
|
end
|
25737
25782
|
|
25783
|
+
# Modifies the default credit option for CPU usage of burstable
|
25784
|
+
# performance instances. The default credit option is set at the account
|
25785
|
+
# level per AWS Region, and is specified per instance family. All new
|
25786
|
+
# burstable performance instances in the account launch using the
|
25787
|
+
# default credit option.
|
25788
|
+
#
|
25789
|
+
# `ModifyDefaultCreditSpecification` is an asynchronous operation, which
|
25790
|
+
# works at an AWS Region level and modifies the credit option for each
|
25791
|
+
# Availability Zone. All zones in a Region are updated within five
|
25792
|
+
# minutes. But if instances are launched during this operation, they
|
25793
|
+
# might not get the new credit option until the zone is updated. To
|
25794
|
+
# verify whether the update has occurred, you can call
|
25795
|
+
# `GetDefaultCreditSpecification` and check `DefaultCreditSpecification`
|
25796
|
+
# for updates.
|
25797
|
+
#
|
25798
|
+
# For more information, see [Burstable Performance Instances][1] in the
|
25799
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
25800
|
+
#
|
25801
|
+
#
|
25802
|
+
#
|
25803
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
25804
|
+
#
|
25805
|
+
# @option params [Boolean] :dry_run
|
25806
|
+
# Checks whether you have the required permissions for the action,
|
25807
|
+
# without actually making the request, and provides an error response.
|
25808
|
+
# If you have the required permissions, the error response is
|
25809
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
25810
|
+
#
|
25811
|
+
# @option params [required, String] :instance_family
|
25812
|
+
# The instance family.
|
25813
|
+
#
|
25814
|
+
# @option params [required, String] :cpu_credits
|
25815
|
+
# The credit option for CPU usage of the instance family.
|
25816
|
+
#
|
25817
|
+
# Valid Values: `standard` \| `unlimited`
|
25818
|
+
#
|
25819
|
+
# @return [Types::ModifyDefaultCreditSpecificationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
25820
|
+
#
|
25821
|
+
# * {Types::ModifyDefaultCreditSpecificationResult#instance_family_credit_specification #instance_family_credit_specification} => Types::InstanceFamilyCreditSpecification
|
25822
|
+
#
|
25823
|
+
# @example Request syntax with placeholder values
|
25824
|
+
#
|
25825
|
+
# resp = client.modify_default_credit_specification({
|
25826
|
+
# dry_run: false,
|
25827
|
+
# instance_family: "t2", # required, accepts t2, t3, t3a
|
25828
|
+
# cpu_credits: "String", # required
|
25829
|
+
# })
|
25830
|
+
#
|
25831
|
+
# @example Response structure
|
25832
|
+
#
|
25833
|
+
# resp.instance_family_credit_specification.instance_family #=> String, one of "t2", "t3", "t3a"
|
25834
|
+
# resp.instance_family_credit_specification.cpu_credits #=> String
|
25835
|
+
#
|
25836
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyDefaultCreditSpecification AWS API Documentation
|
25837
|
+
#
|
25838
|
+
# @overload modify_default_credit_specification(params = {})
|
25839
|
+
# @param [Hash] params ({})
|
25840
|
+
def modify_default_credit_specification(params = {}, options = {})
|
25841
|
+
req = build_request(:modify_default_credit_specification, params)
|
25842
|
+
req.send_request(options)
|
25843
|
+
end
|
25844
|
+
|
25738
25845
|
# Changes the default customer master key (CMK) for EBS encryption by
|
25739
25846
|
# default for your account in this Region.
|
25740
25847
|
#
|
@@ -26598,8 +26705,9 @@ module Aws::EC2
|
|
26598
26705
|
req.send_request(options)
|
26599
26706
|
end
|
26600
26707
|
|
26601
|
-
# Modifies the credit option for CPU usage on a running or stopped
|
26602
|
-
#
|
26708
|
+
# Modifies the credit option for CPU usage on a running or stopped
|
26709
|
+
# burstable performance instance. The credit options are `standard` and
|
26710
|
+
# `unlimited`.
|
26603
26711
|
#
|
26604
26712
|
# For more information, see [Burstable Performance Instances][1] in the
|
26605
26713
|
# *Amazon Elastic Compute Cloud User Guide*.
|
@@ -31874,13 +31982,13 @@ module Aws::EC2
|
|
31874
31982
|
# `stop`.
|
31875
31983
|
#
|
31876
31984
|
# @option params [Types::CreditSpecificationRequest] :credit_specification
|
31877
|
-
# The credit option for CPU usage of the
|
31878
|
-
# are `standard` and `unlimited`. To change this attribute
|
31879
|
-
# use [ ModifyInstanceCreditSpecification][1]. For more
|
31880
|
-
# [Burstable Performance Instances][2] in the *Amazon
|
31881
|
-
# Cloud User Guide*.
|
31985
|
+
# The credit option for CPU usage of the burstable performance instance.
|
31986
|
+
# Valid values are `standard` and `unlimited`. To change this attribute
|
31987
|
+
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
31988
|
+
# information, see [Burstable Performance Instances][2] in the *Amazon
|
31989
|
+
# Elastic Compute Cloud User Guide*.
|
31882
31990
|
#
|
31883
|
-
# Default: `standard` (T2 instances) or `unlimited` (T3 instances)
|
31991
|
+
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
31884
31992
|
#
|
31885
31993
|
#
|
31886
31994
|
#
|
@@ -33395,7 +33503,7 @@ module Aws::EC2
|
|
33395
33503
|
params: params,
|
33396
33504
|
config: config)
|
33397
33505
|
context[:gem_name] = 'aws-sdk-ec2'
|
33398
|
-
context[:gem_version] = '1.
|
33506
|
+
context[:gem_version] = '1.121.0'
|
33399
33507
|
Seahorse::Client::Request.new(handlers, context)
|
33400
33508
|
end
|
33401
33509
|
|
@@ -855,6 +855,8 @@ module Aws::EC2
|
|
855
855
|
GetConsoleOutputResult = Shapes::StructureShape.new(name: 'GetConsoleOutputResult')
|
856
856
|
GetConsoleScreenshotRequest = Shapes::StructureShape.new(name: 'GetConsoleScreenshotRequest')
|
857
857
|
GetConsoleScreenshotResult = Shapes::StructureShape.new(name: 'GetConsoleScreenshotResult')
|
858
|
+
GetDefaultCreditSpecificationRequest = Shapes::StructureShape.new(name: 'GetDefaultCreditSpecificationRequest')
|
859
|
+
GetDefaultCreditSpecificationResult = Shapes::StructureShape.new(name: 'GetDefaultCreditSpecificationResult')
|
858
860
|
GetEbsDefaultKmsKeyIdRequest = Shapes::StructureShape.new(name: 'GetEbsDefaultKmsKeyIdRequest')
|
859
861
|
GetEbsDefaultKmsKeyIdResult = Shapes::StructureShape.new(name: 'GetEbsDefaultKmsKeyIdResult')
|
860
862
|
GetEbsEncryptionByDefaultRequest = Shapes::StructureShape.new(name: 'GetEbsEncryptionByDefaultRequest')
|
@@ -974,6 +976,7 @@ module Aws::EC2
|
|
974
976
|
InstanceCreditSpecificationRequest = Shapes::StructureShape.new(name: 'InstanceCreditSpecificationRequest')
|
975
977
|
InstanceEventId = Shapes::StringShape.new(name: 'InstanceEventId')
|
976
978
|
InstanceExportDetails = Shapes::StructureShape.new(name: 'InstanceExportDetails')
|
979
|
+
InstanceFamilyCreditSpecification = Shapes::StructureShape.new(name: 'InstanceFamilyCreditSpecification')
|
977
980
|
InstanceHealthStatus = Shapes::StringShape.new(name: 'InstanceHealthStatus')
|
978
981
|
InstanceId = Shapes::StringShape.new(name: 'InstanceId')
|
979
982
|
InstanceIdSet = Shapes::ListShape.new(name: 'InstanceIdSet')
|
@@ -1136,6 +1139,8 @@ module Aws::EC2
|
|
1136
1139
|
ModifyCapacityReservationResult = Shapes::StructureShape.new(name: 'ModifyCapacityReservationResult')
|
1137
1140
|
ModifyClientVpnEndpointRequest = Shapes::StructureShape.new(name: 'ModifyClientVpnEndpointRequest')
|
1138
1141
|
ModifyClientVpnEndpointResult = Shapes::StructureShape.new(name: 'ModifyClientVpnEndpointResult')
|
1142
|
+
ModifyDefaultCreditSpecificationRequest = Shapes::StructureShape.new(name: 'ModifyDefaultCreditSpecificationRequest')
|
1143
|
+
ModifyDefaultCreditSpecificationResult = Shapes::StructureShape.new(name: 'ModifyDefaultCreditSpecificationResult')
|
1139
1144
|
ModifyEbsDefaultKmsKeyIdRequest = Shapes::StructureShape.new(name: 'ModifyEbsDefaultKmsKeyIdRequest')
|
1140
1145
|
ModifyEbsDefaultKmsKeyIdResult = Shapes::StructureShape.new(name: 'ModifyEbsDefaultKmsKeyIdResult')
|
1141
1146
|
ModifyFleetRequest = Shapes::StructureShape.new(name: 'ModifyFleetRequest')
|
@@ -1667,6 +1672,7 @@ module Aws::EC2
|
|
1667
1672
|
UnassignIpv6AddressesRequest = Shapes::StructureShape.new(name: 'UnassignIpv6AddressesRequest')
|
1668
1673
|
UnassignIpv6AddressesResult = Shapes::StructureShape.new(name: 'UnassignIpv6AddressesResult')
|
1669
1674
|
UnassignPrivateIpAddressesRequest = Shapes::StructureShape.new(name: 'UnassignPrivateIpAddressesRequest')
|
1675
|
+
UnlimitedSupportedInstanceFamily = Shapes::StringShape.new(name: 'UnlimitedSupportedInstanceFamily')
|
1670
1676
|
UnmonitorInstancesRequest = Shapes::StructureShape.new(name: 'UnmonitorInstancesRequest')
|
1671
1677
|
UnmonitorInstancesResult = Shapes::StructureShape.new(name: 'UnmonitorInstancesResult')
|
1672
1678
|
UnsuccessfulInstanceCreditSpecificationErrorCode = Shapes::StringShape.new(name: 'UnsuccessfulInstanceCreditSpecificationErrorCode')
|
@@ -5099,6 +5105,13 @@ module Aws::EC2
|
|
5099
5105
|
GetConsoleScreenshotResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
5100
5106
|
GetConsoleScreenshotResult.struct_class = Types::GetConsoleScreenshotResult
|
5101
5107
|
|
5108
|
+
GetDefaultCreditSpecificationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5109
|
+
GetDefaultCreditSpecificationRequest.add_member(:instance_family, Shapes::ShapeRef.new(shape: UnlimitedSupportedInstanceFamily, required: true, location_name: "InstanceFamily"))
|
5110
|
+
GetDefaultCreditSpecificationRequest.struct_class = Types::GetDefaultCreditSpecificationRequest
|
5111
|
+
|
5112
|
+
GetDefaultCreditSpecificationResult.add_member(:instance_family_credit_specification, Shapes::ShapeRef.new(shape: InstanceFamilyCreditSpecification, location_name: "instanceFamilyCreditSpecification"))
|
5113
|
+
GetDefaultCreditSpecificationResult.struct_class = Types::GetDefaultCreditSpecificationResult
|
5114
|
+
|
5102
5115
|
GetEbsDefaultKmsKeyIdRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5103
5116
|
GetEbsDefaultKmsKeyIdRequest.struct_class = Types::GetEbsDefaultKmsKeyIdRequest
|
5104
5117
|
|
@@ -5651,6 +5664,10 @@ module Aws::EC2
|
|
5651
5664
|
InstanceExportDetails.add_member(:target_environment, Shapes::ShapeRef.new(shape: ExportEnvironment, location_name: "targetEnvironment"))
|
5652
5665
|
InstanceExportDetails.struct_class = Types::InstanceExportDetails
|
5653
5666
|
|
5667
|
+
InstanceFamilyCreditSpecification.add_member(:instance_family, Shapes::ShapeRef.new(shape: UnlimitedSupportedInstanceFamily, location_name: "instanceFamily"))
|
5668
|
+
InstanceFamilyCreditSpecification.add_member(:cpu_credits, Shapes::ShapeRef.new(shape: String, location_name: "cpuCredits"))
|
5669
|
+
InstanceFamilyCreditSpecification.struct_class = Types::InstanceFamilyCreditSpecification
|
5670
|
+
|
5654
5671
|
InstanceIdSet.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
5655
5672
|
|
5656
5673
|
InstanceIdStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "InstanceId")
|
@@ -6204,6 +6221,14 @@ module Aws::EC2
|
|
6204
6221
|
ModifyClientVpnEndpointResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
6205
6222
|
ModifyClientVpnEndpointResult.struct_class = Types::ModifyClientVpnEndpointResult
|
6206
6223
|
|
6224
|
+
ModifyDefaultCreditSpecificationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6225
|
+
ModifyDefaultCreditSpecificationRequest.add_member(:instance_family, Shapes::ShapeRef.new(shape: UnlimitedSupportedInstanceFamily, required: true, location_name: "InstanceFamily"))
|
6226
|
+
ModifyDefaultCreditSpecificationRequest.add_member(:cpu_credits, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CpuCredits"))
|
6227
|
+
ModifyDefaultCreditSpecificationRequest.struct_class = Types::ModifyDefaultCreditSpecificationRequest
|
6228
|
+
|
6229
|
+
ModifyDefaultCreditSpecificationResult.add_member(:instance_family_credit_specification, Shapes::ShapeRef.new(shape: InstanceFamilyCreditSpecification, location_name: "instanceFamilyCreditSpecification"))
|
6230
|
+
ModifyDefaultCreditSpecificationResult.struct_class = Types::ModifyDefaultCreditSpecificationResult
|
6231
|
+
|
6207
6232
|
ModifyEbsDefaultKmsKeyIdRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, required: true, location_name: "KmsKeyId"))
|
6208
6233
|
ModifyEbsDefaultKmsKeyIdRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6209
6234
|
ModifyEbsDefaultKmsKeyIdRequest.struct_class = Types::ModifyEbsDefaultKmsKeyIdRequest
|
@@ -11301,6 +11326,14 @@ module Aws::EC2
|
|
11301
11326
|
o.output = Shapes::ShapeRef.new(shape: GetConsoleScreenshotResult)
|
11302
11327
|
end)
|
11303
11328
|
|
11329
|
+
api.add_operation(:get_default_credit_specification, Seahorse::Model::Operation.new.tap do |o|
|
11330
|
+
o.name = "GetDefaultCreditSpecification"
|
11331
|
+
o.http_method = "POST"
|
11332
|
+
o.http_request_uri = "/"
|
11333
|
+
o.input = Shapes::ShapeRef.new(shape: GetDefaultCreditSpecificationRequest)
|
11334
|
+
o.output = Shapes::ShapeRef.new(shape: GetDefaultCreditSpecificationResult)
|
11335
|
+
end)
|
11336
|
+
|
11304
11337
|
api.add_operation(:get_ebs_default_kms_key_id, Seahorse::Model::Operation.new.tap do |o|
|
11305
11338
|
o.name = "GetEbsDefaultKmsKeyId"
|
11306
11339
|
o.http_method = "POST"
|
@@ -11455,6 +11488,14 @@ module Aws::EC2
|
|
11455
11488
|
o.output = Shapes::ShapeRef.new(shape: ModifyClientVpnEndpointResult)
|
11456
11489
|
end)
|
11457
11490
|
|
11491
|
+
api.add_operation(:modify_default_credit_specification, Seahorse::Model::Operation.new.tap do |o|
|
11492
|
+
o.name = "ModifyDefaultCreditSpecification"
|
11493
|
+
o.http_method = "POST"
|
11494
|
+
o.http_request_uri = "/"
|
11495
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyDefaultCreditSpecificationRequest)
|
11496
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyDefaultCreditSpecificationResult)
|
11497
|
+
end)
|
11498
|
+
|
11458
11499
|
api.add_operation(:modify_ebs_default_kms_key_id, Seahorse::Model::Operation.new.tap do |o|
|
11459
11500
|
o.name = "ModifyEbsDefaultKmsKeyId"
|
11460
11501
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -432,13 +432,13 @@ module Aws::EC2
|
|
432
432
|
# when **InstanceInterruptionBehavior** is set to either `hibernate` or
|
433
433
|
# `stop`.
|
434
434
|
# @option options [Types::CreditSpecificationRequest] :credit_specification
|
435
|
-
# The credit option for CPU usage of the
|
436
|
-
# are `standard` and `unlimited`. To change this attribute
|
437
|
-
# use [ ModifyInstanceCreditSpecification][1]. For more
|
438
|
-
# [Burstable Performance Instances][2] in the *Amazon
|
439
|
-
# Cloud User Guide*.
|
435
|
+
# The credit option for CPU usage of the burstable performance instance.
|
436
|
+
# Valid values are `standard` and `unlimited`. To change this attribute
|
437
|
+
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
438
|
+
# information, see [Burstable Performance Instances][2] in the *Amazon
|
439
|
+
# Elastic Compute Cloud User Guide*.
|
440
440
|
#
|
441
|
-
# Default: `standard` (T2 instances) or `unlimited` (T3 instances)
|
441
|
+
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
442
442
|
#
|
443
443
|
#
|
444
444
|
#
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -622,13 +622,13 @@ module Aws::EC2
|
|
622
622
|
# when **InstanceInterruptionBehavior** is set to either `hibernate` or
|
623
623
|
# `stop`.
|
624
624
|
# @option options [Types::CreditSpecificationRequest] :credit_specification
|
625
|
-
# The credit option for CPU usage of the
|
626
|
-
# are `standard` and `unlimited`. To change this attribute
|
627
|
-
# use [ ModifyInstanceCreditSpecification][1]. For more
|
628
|
-
# [Burstable Performance Instances][2] in the *Amazon
|
629
|
-
# Cloud User Guide*.
|
625
|
+
# The credit option for CPU usage of the burstable performance instance.
|
626
|
+
# Valid values are `standard` and `unlimited`. To change this attribute
|
627
|
+
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
628
|
+
# information, see [Burstable Performance Instances][2] in the *Amazon
|
629
|
+
# Elastic Compute Cloud User Guide*.
|
630
630
|
#
|
631
|
-
# Default: `standard` (T2 instances) or `unlimited` (T3 instances)
|
631
|
+
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
632
632
|
#
|
633
633
|
#
|
634
634
|
#
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -22671,6 +22671,44 @@ module Aws::EC2
|
|
22671
22671
|
include Aws::Structure
|
22672
22672
|
end
|
22673
22673
|
|
22674
|
+
# @note When making an API call, you may pass GetDefaultCreditSpecificationRequest
|
22675
|
+
# data as a hash:
|
22676
|
+
#
|
22677
|
+
# {
|
22678
|
+
# dry_run: false,
|
22679
|
+
# instance_family: "t2", # required, accepts t2, t3, t3a
|
22680
|
+
# }
|
22681
|
+
#
|
22682
|
+
# @!attribute [rw] dry_run
|
22683
|
+
# Checks whether you have the required permissions for the action,
|
22684
|
+
# without actually making the request, and provides an error response.
|
22685
|
+
# If you have the required permissions, the error response is
|
22686
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
22687
|
+
# @return [Boolean]
|
22688
|
+
#
|
22689
|
+
# @!attribute [rw] instance_family
|
22690
|
+
# The instance family.
|
22691
|
+
# @return [String]
|
22692
|
+
#
|
22693
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetDefaultCreditSpecificationRequest AWS API Documentation
|
22694
|
+
#
|
22695
|
+
class GetDefaultCreditSpecificationRequest < Struct.new(
|
22696
|
+
:dry_run,
|
22697
|
+
:instance_family)
|
22698
|
+
include Aws::Structure
|
22699
|
+
end
|
22700
|
+
|
22701
|
+
# @!attribute [rw] instance_family_credit_specification
|
22702
|
+
# The default credit option for CPU usage of the instance family.
|
22703
|
+
# @return [Types::InstanceFamilyCreditSpecification]
|
22704
|
+
#
|
22705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetDefaultCreditSpecificationResult AWS API Documentation
|
22706
|
+
#
|
22707
|
+
class GetDefaultCreditSpecificationResult < Struct.new(
|
22708
|
+
:instance_family_credit_specification)
|
22709
|
+
include Aws::Structure
|
22710
|
+
end
|
22711
|
+
|
22674
22712
|
# @note When making an API call, you may pass GetEbsDefaultKmsKeyIdRequest
|
22675
22713
|
# data as a hash:
|
22676
22714
|
#
|
@@ -25547,7 +25585,8 @@ module Aws::EC2
|
|
25547
25585
|
include Aws::Structure
|
25548
25586
|
end
|
25549
25587
|
|
25550
|
-
# Describes the credit option for CPU usage of a
|
25588
|
+
# Describes the credit option for CPU usage of a burstable performance
|
25589
|
+
# instance.
|
25551
25590
|
#
|
25552
25591
|
# @!attribute [rw] instance_id
|
25553
25592
|
# The ID of the instance.
|
@@ -25566,7 +25605,8 @@ module Aws::EC2
|
|
25566
25605
|
include Aws::Structure
|
25567
25606
|
end
|
25568
25607
|
|
25569
|
-
# Describes the credit option for CPU usage of a
|
25608
|
+
# Describes the credit option for CPU usage of a burstable performance
|
25609
|
+
# instance.
|
25570
25610
|
#
|
25571
25611
|
# @note When making an API call, you may pass InstanceCreditSpecificationRequest
|
25572
25612
|
# data as a hash:
|
@@ -25611,6 +25651,26 @@ module Aws::EC2
|
|
25611
25651
|
include Aws::Structure
|
25612
25652
|
end
|
25613
25653
|
|
25654
|
+
# Describes the default credit option for CPU usage of a burstable
|
25655
|
+
# performance instance family.
|
25656
|
+
#
|
25657
|
+
# @!attribute [rw] instance_family
|
25658
|
+
# The instance family.
|
25659
|
+
# @return [String]
|
25660
|
+
#
|
25661
|
+
# @!attribute [rw] cpu_credits
|
25662
|
+
# The default credit option for CPU usage of the instance family.
|
25663
|
+
# Valid values are `standard` and `unlimited`.
|
25664
|
+
# @return [String]
|
25665
|
+
#
|
25666
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceFamilyCreditSpecification AWS API Documentation
|
25667
|
+
#
|
25668
|
+
class InstanceFamilyCreditSpecification < Struct.new(
|
25669
|
+
:instance_family,
|
25670
|
+
:cpu_credits)
|
25671
|
+
include Aws::Structure
|
25672
|
+
end
|
25673
|
+
|
25614
25674
|
# Describes an IPv6 address.
|
25615
25675
|
#
|
25616
25676
|
# @note When making an API call, you may pass InstanceIpv6Address
|
@@ -28574,6 +28634,52 @@ module Aws::EC2
|
|
28574
28634
|
include Aws::Structure
|
28575
28635
|
end
|
28576
28636
|
|
28637
|
+
# @note When making an API call, you may pass ModifyDefaultCreditSpecificationRequest
|
28638
|
+
# data as a hash:
|
28639
|
+
#
|
28640
|
+
# {
|
28641
|
+
# dry_run: false,
|
28642
|
+
# instance_family: "t2", # required, accepts t2, t3, t3a
|
28643
|
+
# cpu_credits: "String", # required
|
28644
|
+
# }
|
28645
|
+
#
|
28646
|
+
# @!attribute [rw] dry_run
|
28647
|
+
# Checks whether you have the required permissions for the action,
|
28648
|
+
# without actually making the request, and provides an error response.
|
28649
|
+
# If you have the required permissions, the error response is
|
28650
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
28651
|
+
# @return [Boolean]
|
28652
|
+
#
|
28653
|
+
# @!attribute [rw] instance_family
|
28654
|
+
# The instance family.
|
28655
|
+
# @return [String]
|
28656
|
+
#
|
28657
|
+
# @!attribute [rw] cpu_credits
|
28658
|
+
# The credit option for CPU usage of the instance family.
|
28659
|
+
#
|
28660
|
+
# Valid Values: `standard` \| `unlimited`
|
28661
|
+
# @return [String]
|
28662
|
+
#
|
28663
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyDefaultCreditSpecificationRequest AWS API Documentation
|
28664
|
+
#
|
28665
|
+
class ModifyDefaultCreditSpecificationRequest < Struct.new(
|
28666
|
+
:dry_run,
|
28667
|
+
:instance_family,
|
28668
|
+
:cpu_credits)
|
28669
|
+
include Aws::Structure
|
28670
|
+
end
|
28671
|
+
|
28672
|
+
# @!attribute [rw] instance_family_credit_specification
|
28673
|
+
# The default credit option for CPU usage of the instance family.
|
28674
|
+
# @return [Types::InstanceFamilyCreditSpecification]
|
28675
|
+
#
|
28676
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyDefaultCreditSpecificationResult AWS API Documentation
|
28677
|
+
#
|
28678
|
+
class ModifyDefaultCreditSpecificationResult < Struct.new(
|
28679
|
+
:instance_family_credit_specification)
|
28680
|
+
include Aws::Structure
|
28681
|
+
end
|
28682
|
+
|
28577
28683
|
# @note When making an API call, you may pass ModifyEbsDefaultKmsKeyIdRequest
|
28578
28684
|
# data as a hash:
|
28579
28685
|
#
|
@@ -36901,13 +37007,14 @@ module Aws::EC2
|
|
36901
37007
|
# @return [Types::InstanceMarketOptionsRequest]
|
36902
37008
|
#
|
36903
37009
|
# @!attribute [rw] credit_specification
|
36904
|
-
# The credit option for CPU usage of the
|
36905
|
-
# values are `standard` and `unlimited`. To change
|
36906
|
-
# after launch, use [
|
36907
|
-
#
|
36908
|
-
#
|
37010
|
+
# The credit option for CPU usage of the burstable performance
|
37011
|
+
# instance. Valid values are `standard` and `unlimited`. To change
|
37012
|
+
# this attribute after launch, use [
|
37013
|
+
# ModifyInstanceCreditSpecification][1]. For more information, see
|
37014
|
+
# [Burstable Performance Instances][2] in the *Amazon Elastic Compute
|
37015
|
+
# Cloud User Guide*.
|
36909
37016
|
#
|
36910
|
-
# Default: `standard` (T2 instances) or `unlimited` (T3 instances)
|
37017
|
+
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
36911
37018
|
#
|
36912
37019
|
#
|
36913
37020
|
#
|
@@ -40260,8 +40367,8 @@ module Aws::EC2
|
|
40260
40367
|
include Aws::Structure
|
40261
40368
|
end
|
40262
40369
|
|
40263
|
-
# Describes the
|
40264
|
-
# successfully modified.
|
40370
|
+
# Describes the burstable performance instance whose credit option for
|
40371
|
+
# CPU usage was successfully modified.
|
40265
40372
|
#
|
40266
40373
|
# @!attribute [rw] instance_id
|
40267
40374
|
# The ID of the instance.
|
@@ -41784,16 +41891,16 @@ module Aws::EC2
|
|
41784
41891
|
include Aws::Structure
|
41785
41892
|
end
|
41786
41893
|
|
41787
|
-
# Describes the
|
41788
|
-
# not modified.
|
41894
|
+
# Describes the burstable performance instance whose credit option for
|
41895
|
+
# CPU usage was not modified.
|
41789
41896
|
#
|
41790
41897
|
# @!attribute [rw] instance_id
|
41791
41898
|
# The ID of the instance.
|
41792
41899
|
# @return [String]
|
41793
41900
|
#
|
41794
41901
|
# @!attribute [rw] error
|
41795
|
-
# The applicable error for the
|
41796
|
-
# for CPU usage was not modified.
|
41902
|
+
# The applicable error for the burstable performance instance whose
|
41903
|
+
# credit option for CPU usage was not modified.
|
41797
41904
|
# @return [Types::UnsuccessfulInstanceCreditSpecificationItemError]
|
41798
41905
|
#
|
41799
41906
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnsuccessfulInstanceCreditSpecificationItem AWS API Documentation
|
@@ -41804,8 +41911,8 @@ module Aws::EC2
|
|
41804
41911
|
include Aws::Structure
|
41805
41912
|
end
|
41806
41913
|
|
41807
|
-
# Information about the error for the
|
41808
|
-
# option for CPU usage was not modified.
|
41914
|
+
# Information about the error for the burstable performance instance
|
41915
|
+
# whose credit option for CPU usage was not modified.
|
41809
41916
|
#
|
41810
41917
|
# @!attribute [rw] code
|
41811
41918
|
# The error code.
|
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.121.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-
|
11
|
+
date: 2019-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|