aws-sdk-ec2 1.478.0 → 1.479.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +97 -34
- data/lib/aws-sdk-ec2/client_api.rb +21 -0
- data/lib/aws-sdk-ec2/endpoints.rb +11 -0
- data/lib/aws-sdk-ec2/instance.rb +21 -21
- data/lib/aws-sdk-ec2/placement_group.rb +2 -2
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-ec2/resource.rb +4 -4
- data/lib/aws-sdk-ec2/subnet.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +158 -98
- data/lib/aws-sdk-ec2/vpc.rb +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +15 -0
- data/sig/types.rbs +15 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13dac8eb8863bcb538d03bab883f078f8ac4f08bae07dc004e6b36299fa6b223
|
4
|
+
data.tar.gz: 9a68efae94878e6bc00e1d8942c1362316afbeb093a030379f1df0fab250fbfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ce8c6779ea3ab49e26f934baa7a730559d6a5c07fb7daffda1378f0c8da5a6b9452138e2183945fa27b50edc056f19ead6598e5c7df2b75acc0a1efd3ee463d
|
7
|
+
data.tar.gz: d09d093153c408bfa28ee9d38945b9aa6dad9de0b2a380c6d93e5fb40ac9375a63009edd22d35312d5767127f7fe91e9be69cea539250c8897b21996b19acfcb
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.479.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4397,7 +4397,7 @@ module Aws::EC2
|
|
4397
4397
|
# The product code. This must be a product code that you own.
|
4398
4398
|
#
|
4399
4399
|
# @option params [Boolean] :dry_run
|
4400
|
-
# Checks whether you have the required permissions for the
|
4400
|
+
# Checks whether you have the required permissions for the operation,
|
4401
4401
|
# without actually making the request, and provides an error response.
|
4402
4402
|
# If you have the required permissions, the error response is
|
4403
4403
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -10926,7 +10926,7 @@ module Aws::EC2
|
|
10926
10926
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html
|
10927
10927
|
#
|
10928
10928
|
# @option params [Boolean] :dry_run
|
10929
|
-
# Checks whether you have the required permissions for the
|
10929
|
+
# Checks whether you have the required permissions for the operation,
|
10930
10930
|
# without actually making the request, and provides an error response.
|
10931
10931
|
# If you have the required permissions, the error response is
|
10932
10932
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -12077,12 +12077,12 @@ module Aws::EC2
|
|
12077
12077
|
#
|
12078
12078
|
# @option params [required, String] :bucket
|
12079
12079
|
# The name of the Amazon S3 bucket in which to store the Spot Instance
|
12080
|
-
# data feed. For more information about bucket names, see [
|
12081
|
-
#
|
12080
|
+
# data feed. For more information about bucket names, see [Bucket naming
|
12081
|
+
# rules][1] in the *Amazon S3 User Guide*.
|
12082
12082
|
#
|
12083
12083
|
#
|
12084
12084
|
#
|
12085
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
12085
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
|
12086
12086
|
#
|
12087
12087
|
# @option params [Boolean] :dry_run
|
12088
12088
|
# Checks whether you have the required permissions for the action,
|
@@ -17523,7 +17523,7 @@ module Aws::EC2
|
|
17523
17523
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html
|
17524
17524
|
#
|
17525
17525
|
# @option params [Boolean] :dry_run
|
17526
|
-
# Checks whether you have the required permissions for the
|
17526
|
+
# Checks whether you have the required permissions for the operation,
|
17527
17527
|
# without actually making the request, and provides an error response.
|
17528
17528
|
# If you have the required permissions, the error response is
|
17529
17529
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -24331,7 +24331,7 @@ module Aws::EC2
|
|
24331
24331
|
# Note: The `enaSupport` attribute is not supported at this time.
|
24332
24332
|
#
|
24333
24333
|
# @option params [Boolean] :dry_run
|
24334
|
-
# Checks whether you have the required permissions for the
|
24334
|
+
# Checks whether you have the required permissions for the operation,
|
24335
24335
|
# without actually making the request, and provides an error response.
|
24336
24336
|
# If you have the required permissions, the error response is
|
24337
24337
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -24618,7 +24618,7 @@ module Aws::EC2
|
|
24618
24618
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
24619
24619
|
#
|
24620
24620
|
# @option params [Boolean] :dry_run
|
24621
|
-
# Checks whether you have the required permissions for the
|
24621
|
+
# Checks whether you have the required permissions for the operation,
|
24622
24622
|
# without actually making the request, and provides an error response.
|
24623
24623
|
# If you have the required permissions, the error response is
|
24624
24624
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -24962,7 +24962,7 @@ module Aws::EC2
|
|
24962
24962
|
# continues from the end of the items returned by the previous request.
|
24963
24963
|
#
|
24964
24964
|
# @option params [Boolean] :dry_run
|
24965
|
-
# Checks whether you have the required permissions for the
|
24965
|
+
# Checks whether you have the required permissions for the operation,
|
24966
24966
|
# without actually making the request, and provides an error response.
|
24967
24967
|
# If you have the required permissions, the error response is
|
24968
24968
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -25119,7 +25119,7 @@ module Aws::EC2
|
|
25119
25119
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-topology.html
|
25120
25120
|
#
|
25121
25121
|
# @option params [Boolean] :dry_run
|
25122
|
-
# Checks whether you have the required permissions for the
|
25122
|
+
# Checks whether you have the required permissions for the operation,
|
25123
25123
|
# without actually making the request, and provides an error response.
|
25124
25124
|
# If you have the required permissions, the error response is
|
25125
25125
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -26100,7 +26100,7 @@ module Aws::EC2
|
|
26100
26100
|
# Default: Describes all your instances.
|
26101
26101
|
#
|
26102
26102
|
# @option params [Boolean] :dry_run
|
26103
|
-
# Checks whether you have the required permissions for the
|
26103
|
+
# Checks whether you have the required permissions for the operation,
|
26104
26104
|
# without actually making the request, and provides an error response.
|
26105
26105
|
# If you have the required permissions, the error response is
|
26106
26106
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -30667,7 +30667,7 @@ module Aws::EC2
|
|
30667
30667
|
# regardless of the tag value.
|
30668
30668
|
#
|
30669
30669
|
# @option params [Boolean] :dry_run
|
30670
|
-
# Checks whether you have the required permissions for the
|
30670
|
+
# Checks whether you have the required permissions for the operation,
|
30671
30671
|
# without actually making the request, and provides an error response.
|
30672
30672
|
# If you have the required permissions, the error response is
|
30673
30673
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -41860,7 +41860,7 @@ module Aws::EC2
|
|
41860
41860
|
# The ID of the instance.
|
41861
41861
|
#
|
41862
41862
|
# @option params [Boolean] :dry_run
|
41863
|
-
# Checks whether you have the required permissions for the
|
41863
|
+
# Checks whether you have the required permissions for the operation,
|
41864
41864
|
# without actually making the request, and provides an error response.
|
41865
41865
|
# If you have the required permissions, the error response is
|
41866
41866
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -41928,7 +41928,7 @@ module Aws::EC2
|
|
41928
41928
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshoot-unreachable-instance.html#instance-console-console-output
|
41929
41929
|
#
|
41930
41930
|
# @option params [Boolean] :dry_run
|
41931
|
-
# Checks whether you have the required permissions for the
|
41931
|
+
# Checks whether you have the required permissions for the operation,
|
41932
41932
|
# without actually making the request, and provides an error response.
|
41933
41933
|
# If you have the required permissions, the error response is
|
41934
41934
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -41978,7 +41978,7 @@ module Aws::EC2
|
|
41978
41978
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
41979
41979
|
#
|
41980
41980
|
# @option params [Boolean] :dry_run
|
41981
|
-
# Checks whether you have the required permissions for the
|
41981
|
+
# Checks whether you have the required permissions for the operation,
|
41982
41982
|
# without actually making the request, and provides an error response.
|
41983
41983
|
# If you have the required permissions, the error response is
|
41984
41984
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -42326,7 +42326,7 @@ module Aws::EC2
|
|
42326
42326
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence
|
42327
42327
|
#
|
42328
42328
|
# @option params [Boolean] :dry_run
|
42329
|
-
# Checks whether you have the required permissions for the
|
42329
|
+
# Checks whether you have the required permissions for the operation,
|
42330
42330
|
# without actually making the request, and provides an error response.
|
42331
42331
|
# If you have the required permissions, the error response is
|
42332
42332
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -42574,7 +42574,7 @@ module Aws::EC2
|
|
42574
42574
|
# The ID of the instance from which to retrieve the UEFI data.
|
42575
42575
|
#
|
42576
42576
|
# @option params [Boolean] :dry_run
|
42577
|
-
# Checks whether you have the required permissions for the
|
42577
|
+
# Checks whether you have the required permissions for the operation,
|
42578
42578
|
# without actually making the request, and provides an error response.
|
42579
42579
|
# If you have the required permissions, the error response is
|
42580
42580
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -44077,7 +44077,7 @@ module Aws::EC2
|
|
44077
44077
|
# The ID of the Windows instance.
|
44078
44078
|
#
|
44079
44079
|
# @option params [Boolean] :dry_run
|
44080
|
-
# Checks whether you have the required permissions for the
|
44080
|
+
# Checks whether you have the required permissions for the operation,
|
44081
44081
|
# without actually making the request, and provides an error response.
|
44082
44082
|
# If you have the required permissions, the error response is
|
44083
44083
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -46822,7 +46822,7 @@ module Aws::EC2
|
|
46822
46822
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
46823
46823
|
#
|
46824
46824
|
# @option params [Boolean] :dry_run
|
46825
|
-
# Checks whether you have the required permissions for the
|
46825
|
+
# Checks whether you have the required permissions for the operation,
|
46826
46826
|
# without actually making the request, and provides an error response.
|
46827
46827
|
# If you have the required permissions, the error response is
|
46828
46828
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -47665,7 +47665,7 @@ module Aws::EC2
|
|
47665
47665
|
# this parameter for Spot Instances.
|
47666
47666
|
#
|
47667
47667
|
# @option params [Boolean] :dry_run
|
47668
|
-
# Checks whether you have the required permissions for the
|
47668
|
+
# Checks whether you have the required permissions for the operation,
|
47669
47669
|
# without actually making the request, and provides an error response.
|
47670
47670
|
# If you have the required permissions, the error response is
|
47671
47671
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -47893,6 +47893,69 @@ module Aws::EC2
|
|
47893
47893
|
req.send_request(options)
|
47894
47894
|
end
|
47895
47895
|
|
47896
|
+
# By default, all vCPUs for the instance type are active when you launch
|
47897
|
+
# an instance. When you configure the number of active vCPUs for the
|
47898
|
+
# instance, it can help you save on licensing costs and optimize
|
47899
|
+
# performance. The base cost of the instance remains unchanged.
|
47900
|
+
#
|
47901
|
+
# The number of active vCPUs equals the number of threads per CPU core
|
47902
|
+
# multiplied by the number of cores.
|
47903
|
+
#
|
47904
|
+
# <note markdown="1"> Some instance type options do not support this capability. For more
|
47905
|
+
# information, see [Supported CPU options][1] in the *Amazon EC2 User
|
47906
|
+
# Guide*.
|
47907
|
+
#
|
47908
|
+
# </note>
|
47909
|
+
#
|
47910
|
+
#
|
47911
|
+
#
|
47912
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-options-supported-instances-values.html
|
47913
|
+
#
|
47914
|
+
# @option params [required, String] :instance_id
|
47915
|
+
# The ID of the instance to update.
|
47916
|
+
#
|
47917
|
+
# @option params [required, Integer] :core_count
|
47918
|
+
# The number of CPU cores to activate for the specified instance.
|
47919
|
+
#
|
47920
|
+
# @option params [required, Integer] :threads_per_core
|
47921
|
+
# The number of threads to run for each CPU core.
|
47922
|
+
#
|
47923
|
+
# @option params [Boolean] :dry_run
|
47924
|
+
# Checks whether you have the required permissions for the operation,
|
47925
|
+
# without actually making the request, and provides an error response.
|
47926
|
+
# If you have the required permissions, the error response is
|
47927
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
47928
|
+
#
|
47929
|
+
# @return [Types::ModifyInstanceCpuOptionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
47930
|
+
#
|
47931
|
+
# * {Types::ModifyInstanceCpuOptionsResult#instance_id #instance_id} => String
|
47932
|
+
# * {Types::ModifyInstanceCpuOptionsResult#core_count #core_count} => Integer
|
47933
|
+
# * {Types::ModifyInstanceCpuOptionsResult#threads_per_core #threads_per_core} => Integer
|
47934
|
+
#
|
47935
|
+
# @example Request syntax with placeholder values
|
47936
|
+
#
|
47937
|
+
# resp = client.modify_instance_cpu_options({
|
47938
|
+
# instance_id: "InstanceId", # required
|
47939
|
+
# core_count: 1, # required
|
47940
|
+
# threads_per_core: 1, # required
|
47941
|
+
# dry_run: false,
|
47942
|
+
# })
|
47943
|
+
#
|
47944
|
+
# @example Response structure
|
47945
|
+
#
|
47946
|
+
# resp.instance_id #=> String
|
47947
|
+
# resp.core_count #=> Integer
|
47948
|
+
# resp.threads_per_core #=> Integer
|
47949
|
+
#
|
47950
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceCpuOptions AWS API Documentation
|
47951
|
+
#
|
47952
|
+
# @overload modify_instance_cpu_options(params = {})
|
47953
|
+
# @param [Hash] params ({})
|
47954
|
+
def modify_instance_cpu_options(params = {}, options = {})
|
47955
|
+
req = build_request(:modify_instance_cpu_options, params)
|
47956
|
+
req.send_request(options)
|
47957
|
+
end
|
47958
|
+
|
47896
47959
|
# Modifies the credit option for CPU usage on a running or stopped
|
47897
47960
|
# burstable performance instance. The credit options are `standard` and
|
47898
47961
|
# `unlimited`.
|
@@ -47905,7 +47968,7 @@ module Aws::EC2
|
|
47905
47968
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
47906
47969
|
#
|
47907
47970
|
# @option params [Boolean] :dry_run
|
47908
|
-
# Checks whether you have the required permissions for the
|
47971
|
+
# Checks whether you have the required permissions for the operation,
|
47909
47972
|
# without actually making the request, and provides an error response.
|
47910
47973
|
# If you have the required permissions, the error response is
|
47911
47974
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -47961,7 +48024,7 @@ module Aws::EC2
|
|
47961
48024
|
# Modifies the start time for a scheduled Amazon EC2 instance event.
|
47962
48025
|
#
|
47963
48026
|
# @option params [Boolean] :dry_run
|
47964
|
-
# Checks whether you have the required permissions for the
|
48027
|
+
# Checks whether you have the required permissions for the operation,
|
47965
48028
|
# without actually making the request, and provides an error response.
|
47966
48029
|
# If you have the required permissions, the error response is
|
47967
48030
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -48215,7 +48278,7 @@ module Aws::EC2
|
|
48215
48278
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS
|
48216
48279
|
#
|
48217
48280
|
# @option params [Boolean] :dry_run
|
48218
|
-
# Checks whether you have the required permissions for the
|
48281
|
+
# Checks whether you have the required permissions for the operation,
|
48219
48282
|
# without actually making the request, and provides an error response.
|
48220
48283
|
# If you have the required permissions, the error response is
|
48221
48284
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -52406,7 +52469,7 @@ module Aws::EC2
|
|
52406
52469
|
# The IDs of the instances.
|
52407
52470
|
#
|
52408
52471
|
# @option params [Boolean] :dry_run
|
52409
|
-
# Checks whether you have the required permissions for the
|
52472
|
+
# Checks whether you have the required permissions for the operation,
|
52410
52473
|
# without actually making the request, and provides an error response.
|
52411
52474
|
# If you have the required permissions, the error response is
|
52412
52475
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -53403,7 +53466,7 @@ module Aws::EC2
|
|
53403
53466
|
# The instance IDs.
|
53404
53467
|
#
|
53405
53468
|
# @option params [Boolean] :dry_run
|
53406
|
-
# Checks whether you have the required permissions for the
|
53469
|
+
# Checks whether you have the required permissions for the operation,
|
53407
53470
|
# without actually making the request, and provides an error response.
|
53408
53471
|
# If you have the required permissions, the error response is
|
53409
53472
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -54835,7 +54898,7 @@ module Aws::EC2
|
|
54835
54898
|
# Descriptive text about the health state of your instance.
|
54836
54899
|
#
|
54837
54900
|
# @option params [Boolean] :dry_run
|
54838
|
-
# Checks whether you have the required permissions for the
|
54901
|
+
# Checks whether you have the required permissions for the operation,
|
54839
54902
|
# without actually making the request, and provides an error response.
|
54840
54903
|
# If you have the required permissions, the error response is
|
54841
54904
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -56022,7 +56085,7 @@ module Aws::EC2
|
|
56022
56085
|
# `sourceDestCheck`.
|
56023
56086
|
#
|
56024
56087
|
# @option params [Boolean] :dry_run
|
56025
|
-
# Checks whether you have the required permissions for the
|
56088
|
+
# Checks whether you have the required permissions for the operation,
|
56026
56089
|
# without actually making the request, and provides an error response.
|
56027
56090
|
# If you have the required permissions, the error response is
|
56028
56091
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -57034,7 +57097,7 @@ module Aws::EC2
|
|
57034
57097
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
|
57035
57098
|
#
|
57036
57099
|
# @option params [Boolean] :dry_run
|
57037
|
-
# Checks whether you have the required permissions for the
|
57100
|
+
# Checks whether you have the required permissions for the operation,
|
57038
57101
|
# without actually making the request, and provides an error response.
|
57039
57102
|
# If you have the required permissions, the error response is
|
57040
57103
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -58077,7 +58140,7 @@ module Aws::EC2
|
|
58077
58140
|
# The ID of the instance.
|
58078
58141
|
#
|
58079
58142
|
# @option params [Boolean] :dry_run
|
58080
|
-
# Checks whether you have the required permissions for the
|
58143
|
+
# Checks whether you have the required permissions for the operation,
|
58081
58144
|
# without actually making the request, and provides an error response.
|
58082
58145
|
# If you have the required permissions, the error response is
|
58083
58146
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -58138,7 +58201,7 @@ module Aws::EC2
|
|
58138
58201
|
# Reserved.
|
58139
58202
|
#
|
58140
58203
|
# @option params [Boolean] :dry_run
|
58141
|
-
# Checks whether you have the required permissions for the
|
58204
|
+
# Checks whether you have the required permissions for the operation,
|
58142
58205
|
# without actually making the request, and provides an error response.
|
58143
58206
|
# If you have the required permissions, the error response is
|
58144
58207
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -59301,7 +59364,7 @@ module Aws::EC2
|
|
59301
59364
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
59302
59365
|
#
|
59303
59366
|
# @option params [Boolean] :dry_run
|
59304
|
-
# Checks whether you have the required permissions for the
|
59367
|
+
# Checks whether you have the required permissions for the operation,
|
59305
59368
|
# without actually making the request, and provides an error response.
|
59306
59369
|
# If you have the required permissions, the error response is
|
59307
59370
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -59500,7 +59563,7 @@ module Aws::EC2
|
|
59500
59563
|
# request into smaller batches.
|
59501
59564
|
#
|
59502
59565
|
# @option params [Boolean] :dry_run
|
59503
|
-
# Checks whether you have the required permissions for the
|
59566
|
+
# Checks whether you have the required permissions for the operation,
|
59504
59567
|
# without actually making the request, and provides an error response.
|
59505
59568
|
# If you have the required permissions, the error response is
|
59506
59569
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -59777,7 +59840,7 @@ module Aws::EC2
|
|
59777
59840
|
# The IDs of the instances.
|
59778
59841
|
#
|
59779
59842
|
# @option params [Boolean] :dry_run
|
59780
|
-
# Checks whether you have the required permissions for the
|
59843
|
+
# Checks whether you have the required permissions for the operation,
|
59781
59844
|
# without actually making the request, and provides an error response.
|
59782
59845
|
# If you have the required permissions, the error response is
|
59783
59846
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -60123,7 +60186,7 @@ module Aws::EC2
|
|
60123
60186
|
tracer: tracer
|
60124
60187
|
)
|
60125
60188
|
context[:gem_name] = 'aws-sdk-ec2'
|
60126
|
-
context[:gem_version] = '1.
|
60189
|
+
context[:gem_version] = '1.479.0'
|
60127
60190
|
Seahorse::Client::Request.new(handlers, context)
|
60128
60191
|
end
|
60129
60192
|
|
@@ -2131,6 +2131,8 @@ module Aws::EC2
|
|
2131
2131
|
ModifyInstanceAttributeRequest = Shapes::StructureShape.new(name: 'ModifyInstanceAttributeRequest')
|
2132
2132
|
ModifyInstanceCapacityReservationAttributesRequest = Shapes::StructureShape.new(name: 'ModifyInstanceCapacityReservationAttributesRequest')
|
2133
2133
|
ModifyInstanceCapacityReservationAttributesResult = Shapes::StructureShape.new(name: 'ModifyInstanceCapacityReservationAttributesResult')
|
2134
|
+
ModifyInstanceCpuOptionsRequest = Shapes::StructureShape.new(name: 'ModifyInstanceCpuOptionsRequest')
|
2135
|
+
ModifyInstanceCpuOptionsResult = Shapes::StructureShape.new(name: 'ModifyInstanceCpuOptionsResult')
|
2134
2136
|
ModifyInstanceCreditSpecificationRequest = Shapes::StructureShape.new(name: 'ModifyInstanceCreditSpecificationRequest')
|
2135
2137
|
ModifyInstanceCreditSpecificationResult = Shapes::StructureShape.new(name: 'ModifyInstanceCreditSpecificationResult')
|
2136
2138
|
ModifyInstanceEventStartTimeRequest = Shapes::StructureShape.new(name: 'ModifyInstanceEventStartTimeRequest')
|
@@ -11632,6 +11634,17 @@ module Aws::EC2
|
|
11632
11634
|
ModifyInstanceCapacityReservationAttributesResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
11633
11635
|
ModifyInstanceCapacityReservationAttributesResult.struct_class = Types::ModifyInstanceCapacityReservationAttributesResult
|
11634
11636
|
|
11637
|
+
ModifyInstanceCpuOptionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
11638
|
+
ModifyInstanceCpuOptionsRequest.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "CoreCount"))
|
11639
|
+
ModifyInstanceCpuOptionsRequest.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ThreadsPerCore"))
|
11640
|
+
ModifyInstanceCpuOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
11641
|
+
ModifyInstanceCpuOptionsRequest.struct_class = Types::ModifyInstanceCpuOptionsRequest
|
11642
|
+
|
11643
|
+
ModifyInstanceCpuOptionsResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "instanceId"))
|
11644
|
+
ModifyInstanceCpuOptionsResult.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "coreCount"))
|
11645
|
+
ModifyInstanceCpuOptionsResult.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, location_name: "threadsPerCore"))
|
11646
|
+
ModifyInstanceCpuOptionsResult.struct_class = Types::ModifyInstanceCpuOptionsResult
|
11647
|
+
|
11635
11648
|
ModifyInstanceCreditSpecificationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
11636
11649
|
ModifyInstanceCreditSpecificationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
11637
11650
|
ModifyInstanceCreditSpecificationRequest.add_member(:instance_credit_specifications, Shapes::ShapeRef.new(shape: InstanceCreditSpecificationListRequest, required: true, location_name: "InstanceCreditSpecification"))
|
@@ -20744,6 +20757,14 @@ module Aws::EC2
|
|
20744
20757
|
o.output = Shapes::ShapeRef.new(shape: ModifyInstanceCapacityReservationAttributesResult)
|
20745
20758
|
end)
|
20746
20759
|
|
20760
|
+
api.add_operation(:modify_instance_cpu_options, Seahorse::Model::Operation.new.tap do |o|
|
20761
|
+
o.name = "ModifyInstanceCpuOptions"
|
20762
|
+
o.http_method = "POST"
|
20763
|
+
o.http_request_uri = "/"
|
20764
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyInstanceCpuOptionsRequest)
|
20765
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyInstanceCpuOptionsResult)
|
20766
|
+
end)
|
20767
|
+
|
20747
20768
|
api.add_operation(:modify_instance_credit_specification, Seahorse::Model::Operation.new.tap do |o|
|
20748
20769
|
o.name = "ModifyInstanceCreditSpecification"
|
20749
20770
|
o.http_method = "POST"
|
@@ -5578,6 +5578,17 @@ module Aws::EC2
|
|
5578
5578
|
end
|
5579
5579
|
end
|
5580
5580
|
|
5581
|
+
class ModifyInstanceCpuOptions
|
5582
|
+
def self.build(context)
|
5583
|
+
Aws::EC2::EndpointParameters.new(
|
5584
|
+
region: context.config.region,
|
5585
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
5586
|
+
use_fips: context.config.use_fips_endpoint,
|
5587
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
5588
|
+
)
|
5589
|
+
end
|
5590
|
+
end
|
5591
|
+
|
5581
5592
|
class ModifyInstanceCreditSpecification
|
5582
5593
|
def self.build(context)
|
5583
5594
|
Aws::EC2::EndpointParameters.new(
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -730,7 +730,7 @@ module Aws::EC2
|
|
730
730
|
# })
|
731
731
|
# @param [Hash] options ({})
|
732
732
|
# @option options [Boolean] :dry_run
|
733
|
-
# Checks whether you have the required permissions for the
|
733
|
+
# Checks whether you have the required permissions for the operation,
|
734
734
|
# without actually making the request, and provides an error response.
|
735
735
|
# If you have the required permissions, the error response is
|
736
736
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -959,7 +959,7 @@ module Aws::EC2
|
|
959
959
|
#
|
960
960
|
# Note: The `enaSupport` attribute is not supported at this time.
|
961
961
|
# @option options [Boolean] :dry_run
|
962
|
-
# Checks whether you have the required permissions for the
|
962
|
+
# Checks whether you have the required permissions for the operation,
|
963
963
|
# without actually making the request, and provides an error response.
|
964
964
|
# If you have the required permissions, the error response is
|
965
965
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -1111,7 +1111,7 @@ module Aws::EC2
|
|
1111
1111
|
# Amazon EC2 console, CLI, or API; otherwise, you can. You cannot use
|
1112
1112
|
# this parameter for Spot Instances.
|
1113
1113
|
# @option options [Boolean] :dry_run
|
1114
|
-
# Checks whether you have the required permissions for the
|
1114
|
+
# Checks whether you have the required permissions for the operation,
|
1115
1115
|
# without actually making the request, and provides an error response.
|
1116
1116
|
# If you have the required permissions, the error response is
|
1117
1117
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -1206,7 +1206,7 @@ module Aws::EC2
|
|
1206
1206
|
# })
|
1207
1207
|
# @param [Hash] options ({})
|
1208
1208
|
# @option options [Boolean] :dry_run
|
1209
|
-
# Checks whether you have the required permissions for the
|
1209
|
+
# Checks whether you have the required permissions for the operation,
|
1210
1210
|
# without actually making the request, and provides an error response.
|
1211
1211
|
# If you have the required permissions, the error response is
|
1212
1212
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -1226,7 +1226,7 @@ module Aws::EC2
|
|
1226
1226
|
# })
|
1227
1227
|
# @param [Hash] options ({})
|
1228
1228
|
# @option options [Boolean] :dry_run
|
1229
|
-
# Checks whether you have the required permissions for the
|
1229
|
+
# Checks whether you have the required permissions for the operation,
|
1230
1230
|
# without actually making the request, and provides an error response.
|
1231
1231
|
# If you have the required permissions, the error response is
|
1232
1232
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -1246,7 +1246,7 @@ module Aws::EC2
|
|
1246
1246
|
# })
|
1247
1247
|
# @param [Hash] options ({})
|
1248
1248
|
# @option options [Boolean] :dry_run
|
1249
|
-
# Checks whether you have the required permissions for the
|
1249
|
+
# Checks whether you have the required permissions for the operation,
|
1250
1250
|
# without actually making the request, and provides an error response.
|
1251
1251
|
# If you have the required permissions, the error response is
|
1252
1252
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -1273,7 +1273,7 @@ module Aws::EC2
|
|
1273
1273
|
# @option options [String] :description
|
1274
1274
|
# Descriptive text about the health state of your instance.
|
1275
1275
|
# @option options [Boolean] :dry_run
|
1276
|
-
# Checks whether you have the required permissions for the
|
1276
|
+
# Checks whether you have the required permissions for the operation,
|
1277
1277
|
# without actually making the request, and provides an error response.
|
1278
1278
|
# If you have the required permissions, the error response is
|
1279
1279
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -1332,7 +1332,7 @@ module Aws::EC2
|
|
1332
1332
|
# You can only reset the following attributes: `kernel` \| `ramdisk` \|
|
1333
1333
|
# `sourceDestCheck`.
|
1334
1334
|
# @option options [Boolean] :dry_run
|
1335
|
-
# Checks whether you have the required permissions for the
|
1335
|
+
# Checks whether you have the required permissions for the operation,
|
1336
1336
|
# without actually making the request, and provides an error response.
|
1337
1337
|
# If you have the required permissions, the error response is
|
1338
1338
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -1352,7 +1352,7 @@ module Aws::EC2
|
|
1352
1352
|
# })
|
1353
1353
|
# @param [Hash] options ({})
|
1354
1354
|
# @option options [Boolean] :dry_run
|
1355
|
-
# Checks whether you have the required permissions for the
|
1355
|
+
# Checks whether you have the required permissions for the operation,
|
1356
1356
|
# without actually making the request, and provides an error response.
|
1357
1357
|
# If you have the required permissions, the error response is
|
1358
1358
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -1375,7 +1375,7 @@ module Aws::EC2
|
|
1375
1375
|
# })
|
1376
1376
|
# @param [Hash] options ({})
|
1377
1377
|
# @option options [Boolean] :dry_run
|
1378
|
-
# Checks whether you have the required permissions for the
|
1378
|
+
# Checks whether you have the required permissions for the operation,
|
1379
1379
|
# without actually making the request, and provides an error response.
|
1380
1380
|
# If you have the required permissions, the error response is
|
1381
1381
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -1398,7 +1398,7 @@ module Aws::EC2
|
|
1398
1398
|
# })
|
1399
1399
|
# @param [Hash] options ({})
|
1400
1400
|
# @option options [Boolean] :dry_run
|
1401
|
-
# Checks whether you have the required permissions for the
|
1401
|
+
# Checks whether you have the required permissions for the operation,
|
1402
1402
|
# without actually making the request, and provides an error response.
|
1403
1403
|
# If you have the required permissions, the error response is
|
1404
1404
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -1424,7 +1424,7 @@ module Aws::EC2
|
|
1424
1424
|
# @option options [String] :additional_info
|
1425
1425
|
# Reserved.
|
1426
1426
|
# @option options [Boolean] :dry_run
|
1427
|
-
# Checks whether you have the required permissions for the
|
1427
|
+
# Checks whether you have the required permissions for the operation,
|
1428
1428
|
# without actually making the request, and provides an error response.
|
1429
1429
|
# If you have the required permissions, the error response is
|
1430
1430
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -1457,7 +1457,7 @@ module Aws::EC2
|
|
1457
1457
|
#
|
1458
1458
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
1459
1459
|
# @option options [Boolean] :dry_run
|
1460
|
-
# Checks whether you have the required permissions for the
|
1460
|
+
# Checks whether you have the required permissions for the operation,
|
1461
1461
|
# without actually making the request, and provides an error response.
|
1462
1462
|
# If you have the required permissions, the error response is
|
1463
1463
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -1484,7 +1484,7 @@ module Aws::EC2
|
|
1484
1484
|
# })
|
1485
1485
|
# @param [Hash] options ({})
|
1486
1486
|
# @option options [Boolean] :dry_run
|
1487
|
-
# Checks whether you have the required permissions for the
|
1487
|
+
# Checks whether you have the required permissions for the operation,
|
1488
1488
|
# without actually making the request, and provides an error response.
|
1489
1489
|
# If you have the required permissions, the error response is
|
1490
1490
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -1504,7 +1504,7 @@ module Aws::EC2
|
|
1504
1504
|
# })
|
1505
1505
|
# @param [Hash] options ({})
|
1506
1506
|
# @option options [Boolean] :dry_run
|
1507
|
-
# Checks whether you have the required permissions for the
|
1507
|
+
# Checks whether you have the required permissions for the operation,
|
1508
1508
|
# without actually making the request, and provides an error response.
|
1509
1509
|
# If you have the required permissions, the error response is
|
1510
1510
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -1924,7 +1924,7 @@ module Aws::EC2
|
|
1924
1924
|
# })
|
1925
1925
|
# @param options ({})
|
1926
1926
|
# @option options [Boolean] :dry_run
|
1927
|
-
# Checks whether you have the required permissions for the
|
1927
|
+
# Checks whether you have the required permissions for the operation,
|
1928
1928
|
# without actually making the request, and provides an error response.
|
1929
1929
|
# If you have the required permissions, the error response is
|
1930
1930
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -1950,7 +1950,7 @@ module Aws::EC2
|
|
1950
1950
|
# })
|
1951
1951
|
# @param options ({})
|
1952
1952
|
# @option options [Boolean] :dry_run
|
1953
|
-
# Checks whether you have the required permissions for the
|
1953
|
+
# Checks whether you have the required permissions for the operation,
|
1954
1954
|
# without actually making the request, and provides an error response.
|
1955
1955
|
# If you have the required permissions, the error response is
|
1956
1956
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -1979,7 +1979,7 @@ module Aws::EC2
|
|
1979
1979
|
# @option options [String] :additional_info
|
1980
1980
|
# Reserved.
|
1981
1981
|
# @option options [Boolean] :dry_run
|
1982
|
-
# Checks whether you have the required permissions for the
|
1982
|
+
# Checks whether you have the required permissions for the operation,
|
1983
1983
|
# without actually making the request, and provides an error response.
|
1984
1984
|
# If you have the required permissions, the error response is
|
1985
1985
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -2018,7 +2018,7 @@ module Aws::EC2
|
|
2018
2018
|
#
|
2019
2019
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
2020
2020
|
# @option options [Boolean] :dry_run
|
2021
|
-
# Checks whether you have the required permissions for the
|
2021
|
+
# Checks whether you have the required permissions for the operation,
|
2022
2022
|
# without actually making the request, and provides an error response.
|
2023
2023
|
# If you have the required permissions, the error response is
|
2024
2024
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -2051,7 +2051,7 @@ module Aws::EC2
|
|
2051
2051
|
# })
|
2052
2052
|
# @param options ({})
|
2053
2053
|
# @option options [Boolean] :dry_run
|
2054
|
-
# Checks whether you have the required permissions for the
|
2054
|
+
# Checks whether you have the required permissions for the operation,
|
2055
2055
|
# without actually making the request, and provides an error response.
|
2056
2056
|
# If you have the required permissions, the error response is
|
2057
2057
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -2077,7 +2077,7 @@ module Aws::EC2
|
|
2077
2077
|
# })
|
2078
2078
|
# @param options ({})
|
2079
2079
|
# @option options [Boolean] :dry_run
|
2080
|
-
# Checks whether you have the required permissions for the
|
2080
|
+
# Checks whether you have the required permissions for the operation,
|
2081
2081
|
# without actually making the request, and provides an error response.
|
2082
2082
|
# If you have the required permissions, the error response is
|
2083
2083
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -224,7 +224,7 @@ module Aws::EC2
|
|
224
224
|
# })
|
225
225
|
# @param [Hash] options ({})
|
226
226
|
# @option options [Boolean] :dry_run
|
227
|
-
# Checks whether you have the required permissions for the
|
227
|
+
# Checks whether you have the required permissions for the operation,
|
228
228
|
# without actually making the request, and provides an error response.
|
229
229
|
# If you have the required permissions, the error response is
|
230
230
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
@@ -686,7 +686,7 @@ module Aws::EC2
|
|
686
686
|
#
|
687
687
|
# Default: Describes all your instances.
|
688
688
|
# @option options [Boolean] :dry_run
|
689
|
-
# Checks whether you have the required permissions for the
|
689
|
+
# Checks whether you have the required permissions for the operation,
|
690
690
|
# without actually making the request, and provides an error response.
|
691
691
|
# If you have the required permissions, the error response is
|
692
692
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|