aws-sdk-ec2 1.477.0 → 1.479.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50b3fae2b44501a93c1bcd20af8e99d5d39f5541ef6e4095f610677b6b582d68
4
- data.tar.gz: eee2041c6066a71677ef165147801712cdb26cfe7f66d535fbe58b2dbf9c977a
3
+ metadata.gz: 13dac8eb8863bcb538d03bab883f078f8ac4f08bae07dc004e6b36299fa6b223
4
+ data.tar.gz: 9a68efae94878e6bc00e1d8942c1362316afbeb093a030379f1df0fab250fbfb
5
5
  SHA512:
6
- metadata.gz: 8208dd0ece38f1ff8bb7f80f6d26c232ca910480ad5fe72ebc39e5531896dc86fd0b10765b4bd24b428317f9779e874924660d921b485fab627a95a3f4715063
7
- data.tar.gz: a11e2ebec40be04df620012cf3b1e0d58ef64a9e4c6593df930b2a4e8bee2c9c6d2222e37e43b71d52d047670bb6e0398ae62dfe649bb94b8f0dc07e0908c487
6
+ metadata.gz: 9ce8c6779ea3ab49e26f934baa7a730559d6a5c07fb7daffda1378f0c8da5a6b9452138e2183945fa27b50edc056f19ead6598e5c7df2b75acc0a1efd3ee463d
7
+ data.tar.gz: d09d093153c408bfa28ee9d38945b9aa6dad9de0b2a380c6d93e5fb40ac9375a63009edd22d35312d5767127f7fe91e9be69cea539250c8897b21996b19acfcb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.479.0 (2024-10-03)
5
+ ------------------
6
+
7
+ * Feature - This release includes a new API for modifying instance cpu-options after launch.
8
+
9
+ 1.478.0 (2024-09-25)
10
+ ------------------
11
+
12
+ * Feature - Updates to documentation for the transit gateway security group referencing feature.
13
+
4
14
  1.477.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.477.0
1
+ 1.479.0
@@ -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 action,
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 action,
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 [Rules for
12081
- # bucket naming][1] in the *Amazon S3 Developer Guide*.
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/dev/BucketRestrictions.html#bucketnamingrules
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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.477.0'
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(
@@ -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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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 action,
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`.
@@ -1082,6 +1082,8 @@ The endpoint provider used to resolve endpoints. Any object that responds to
1082
1082
  Aws::EC2::Endpoints::ModifyInstanceAttribute.build(context)
1083
1083
  when :modify_instance_capacity_reservation_attributes
1084
1084
  Aws::EC2::Endpoints::ModifyInstanceCapacityReservationAttributes.build(context)
1085
+ when :modify_instance_cpu_options
1086
+ Aws::EC2::Endpoints::ModifyInstanceCpuOptions.build(context)
1085
1087
  when :modify_instance_credit_specification
1086
1088
  Aws::EC2::Endpoints::ModifyInstanceCreditSpecification.build(context)
1087
1089
  when :modify_instance_event_start_time
@@ -440,7 +440,7 @@ module Aws::EC2
440
440
  #
441
441
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
442
442
  # @option options [Boolean] :dry_run
443
- # Checks whether you have the required permissions for the action,
443
+ # Checks whether you have the required permissions for the operation,
444
444
  # without actually making the request, and provides an error response.
445
445
  # If you have the required permissions, the error response is
446
446
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -1055,7 +1055,7 @@ module Aws::EC2
1055
1055
  # })
1056
1056
  # @param [Hash] options ({})
1057
1057
  # @option options [Boolean] :dry_run
1058
- # Checks whether you have the required permissions for the action,
1058
+ # Checks whether you have the required permissions for the operation,
1059
1059
  # without actually making the request, and provides an error response.
1060
1060
  # If you have the required permissions, the error response is
1061
1061
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -2864,7 +2864,7 @@ module Aws::EC2
2864
2864
  #
2865
2865
  # Default: Describes all your instances.
2866
2866
  # @option options [Boolean] :dry_run
2867
- # Checks whether you have the required permissions for the action,
2867
+ # Checks whether you have the required permissions for the operation,
2868
2868
  # without actually making the request, and provides an error response.
2869
2869
  # If you have the required permissions, the error response is
2870
2870
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -3436,7 +3436,7 @@ module Aws::EC2
3436
3436
  # filter to find all resources that have a tag with a specific key,
3437
3437
  # regardless of the tag value.
3438
3438
  # @option options [Boolean] :dry_run
3439
- # Checks whether you have the required permissions for the action,
3439
+ # Checks whether you have the required permissions for the operation,
3440
3440
  # without actually making the request, and provides an error response.
3441
3441
  # If you have the required permissions, the error response is
3442
3442
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -670,7 +670,7 @@ module Aws::EC2
670
670
  #
671
671
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
672
672
  # @option options [Boolean] :dry_run
673
- # Checks whether you have the required permissions for the action,
673
+ # Checks whether you have the required permissions for the operation,
674
674
  # without actually making the request, and provides an error response.
675
675
  # If you have the required permissions, the error response is
676
676
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -1588,7 +1588,7 @@ module Aws::EC2
1588
1588
  #
1589
1589
  # Default: Describes all your instances.
1590
1590
  # @option options [Boolean] :dry_run
1591
- # Checks whether you have the required permissions for the action,
1591
+ # Checks whether you have the required permissions for the operation,
1592
1592
  # without actually making the request, and provides an error response.
1593
1593
  # If you have the required permissions, the error response is
1594
1594
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -5957,7 +5957,7 @@ module Aws::EC2
5957
5957
  # @return [String]
5958
5958
  #
5959
5959
  # @!attribute [rw] dry_run
5960
- # Checks whether you have the required permissions for the action,
5960
+ # Checks whether you have the required permissions for the operation,
5961
5961
  # without actually making the request, and provides an error response.
5962
5962
  # If you have the required permissions, the error response is
5963
5963
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -7839,8 +7839,8 @@ module Aws::EC2
7839
7839
  # @return [String]
7840
7840
  #
7841
7841
  # @!attribute [rw] platform
7842
- # The value is `Windows` for Windows instances. Otherwise, the value
7843
- # is blank.
7842
+ # The value is `windows` for Windows instances in an EC2 Fleet.
7843
+ # Otherwise, the value is blank.
7844
7844
  # @return [String]
7845
7845
  #
7846
7846
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFleetInstance AWS API Documentation
@@ -10154,7 +10154,7 @@ module Aws::EC2
10154
10154
  end
10155
10155
 
10156
10156
  # @!attribute [rw] dry_run
10157
- # Checks whether you have the required permissions for the action,
10157
+ # Checks whether you have the required permissions for the operation,
10158
10158
  # without actually making the request, and provides an error response.
10159
10159
  # If you have the required permissions, the error response is
10160
10160
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -10824,12 +10824,12 @@ module Aws::EC2
10824
10824
  #
10825
10825
  # @!attribute [rw] bucket
10826
10826
  # The name of the Amazon S3 bucket in which to store the Spot Instance
10827
- # data feed. For more information about bucket names, see [Rules for
10828
- # bucket naming][1] in the *Amazon S3 Developer Guide*.
10827
+ # data feed. For more information about bucket names, see [Bucket
10828
+ # naming rules][1] in the *Amazon S3 User Guide*.
10829
10829
  #
10830
10830
  #
10831
10831
  #
10832
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html#bucketnamingrules
10832
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
10833
10833
  # @return [String]
10834
10834
  #
10835
10835
  # @!attribute [rw] dry_run
@@ -14959,7 +14959,7 @@ module Aws::EC2
14959
14959
  end
14960
14960
 
14961
14961
  # @!attribute [rw] dry_run
14962
- # Checks whether you have the required permissions for the action,
14962
+ # Checks whether you have the required permissions for the operation,
14963
14963
  # without actually making the request, and provides an error response.
14964
14964
  # If you have the required permissions, the error response is
14965
14965
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -18749,8 +18749,8 @@ module Aws::EC2
18749
18749
  # @return [String]
18750
18750
  #
18751
18751
  # @!attribute [rw] platform
18752
- # The value is `Windows` for Windows instances. Otherwise, the value
18753
- # is blank.
18752
+ # The value is `windows` for Windows instances in an EC2 Fleet.
18753
+ # Otherwise, the value is blank.
18754
18754
  # @return [String]
18755
18755
  #
18756
18756
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFleetsInstances AWS API Documentation
@@ -19777,7 +19777,7 @@ module Aws::EC2
19777
19777
  # @return [String]
19778
19778
  #
19779
19779
  # @!attribute [rw] dry_run
19780
- # Checks whether you have the required permissions for the action,
19780
+ # Checks whether you have the required permissions for the operation,
19781
19781
  # without actually making the request, and provides an error response.
19782
19782
  # If you have the required permissions, the error response is
19783
19783
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -19886,7 +19886,7 @@ module Aws::EC2
19886
19886
  end
19887
19887
 
19888
19888
  # @!attribute [rw] dry_run
19889
- # Checks whether you have the required permissions for the action,
19889
+ # Checks whether you have the required permissions for the operation,
19890
19890
  # without actually making the request, and provides an error response.
19891
19891
  # If you have the required permissions, the error response is
19892
19892
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -20158,7 +20158,7 @@ module Aws::EC2
20158
20158
  # @return [String]
20159
20159
  #
20160
20160
  # @!attribute [rw] dry_run
20161
- # Checks whether you have the required permissions for the action,
20161
+ # Checks whether you have the required permissions for the operation,
20162
20162
  # without actually making the request, and provides an error response.
20163
20163
  # If you have the required permissions, the error response is
20164
20164
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -20203,7 +20203,7 @@ module Aws::EC2
20203
20203
  end
20204
20204
 
20205
20205
  # @!attribute [rw] dry_run
20206
- # Checks whether you have the required permissions for the action,
20206
+ # Checks whether you have the required permissions for the operation,
20207
20207
  # without actually making the request, and provides an error response.
20208
20208
  # If you have the required permissions, the error response is
20209
20209
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -21044,7 +21044,7 @@ module Aws::EC2
21044
21044
  # @return [Array<String>]
21045
21045
  #
21046
21046
  # @!attribute [rw] dry_run
21047
- # Checks whether you have the required permissions for the action,
21047
+ # Checks whether you have the required permissions for the operation,
21048
21048
  # without actually making the request, and provides an error response.
21049
21049
  # If you have the required permissions, the error response is
21050
21050
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -23454,7 +23454,7 @@ module Aws::EC2
23454
23454
  # @return [Array<Types::Filter>]
23455
23455
  #
23456
23456
  # @!attribute [rw] dry_run
23457
- # Checks whether you have the required permissions for the action,
23457
+ # Checks whether you have the required permissions for the operation,
23458
23458
  # without actually making the request, and provides an error response.
23459
23459
  # If you have the required permissions, the error response is
23460
23460
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -34743,7 +34743,7 @@ module Aws::EC2
34743
34743
  # @return [String]
34744
34744
  #
34745
34745
  # @!attribute [rw] dry_run
34746
- # Checks whether you have the required permissions for the action,
34746
+ # Checks whether you have the required permissions for the operation,
34747
34747
  # without actually making the request, and provides an error response.
34748
34748
  # If you have the required permissions, the error response is
34749
34749
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -34789,7 +34789,7 @@ module Aws::EC2
34789
34789
  end
34790
34790
 
34791
34791
  # @!attribute [rw] dry_run
34792
- # Checks whether you have the required permissions for the action,
34792
+ # Checks whether you have the required permissions for the operation,
34793
34793
  # without actually making the request, and provides an error response.
34794
34794
  # If you have the required permissions, the error response is
34795
34795
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -34832,7 +34832,7 @@ module Aws::EC2
34832
34832
  end
34833
34833
 
34834
34834
  # @!attribute [rw] dry_run
34835
- # Checks whether you have the required permissions for the action,
34835
+ # Checks whether you have the required permissions for the operation,
34836
34836
  # without actually making the request, and provides an error response.
34837
34837
  # If you have the required permissions, the error response is
34838
34838
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -35108,7 +35108,7 @@ module Aws::EC2
35108
35108
  end
35109
35109
 
35110
35110
  # @!attribute [rw] dry_run
35111
- # Checks whether you have the required permissions for the action,
35111
+ # Checks whether you have the required permissions for the operation,
35112
35112
  # without actually making the request, and provides an error response.
35113
35113
  # If you have the required permissions, the error response is
35114
35114
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -35265,7 +35265,7 @@ module Aws::EC2
35265
35265
  # @return [String]
35266
35266
  #
35267
35267
  # @!attribute [rw] dry_run
35268
- # Checks whether you have the required permissions for the action,
35268
+ # Checks whether you have the required permissions for the operation,
35269
35269
  # without actually making the request, and provides an error response.
35270
35270
  # If you have the required permissions, the error response is
35271
35271
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -35997,7 +35997,7 @@ module Aws::EC2
35997
35997
  # @return [String]
35998
35998
  #
35999
35999
  # @!attribute [rw] dry_run
36000
- # Checks whether you have the required permissions for the action,
36000
+ # Checks whether you have the required permissions for the operation,
36001
36001
  # without actually making the request, and provides an error response.
36002
36002
  # If you have the required permissions, the error response is
36003
36003
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -47837,7 +47837,7 @@ module Aws::EC2
47837
47837
  end
47838
47838
 
47839
47839
  # @!attribute [rw] dry_run
47840
- # Checks whether you have the required permissions for the action,
47840
+ # Checks whether you have the required permissions for the operation,
47841
47841
  # without actually making the request, and provides an error response.
47842
47842
  # If you have the required permissions, the error response is
47843
47843
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -48359,7 +48359,7 @@ module Aws::EC2
48359
48359
  # @return [Types::AttributeBooleanValue]
48360
48360
  #
48361
48361
  # @!attribute [rw] dry_run
48362
- # Checks whether you have the required permissions for the action,
48362
+ # Checks whether you have the required permissions for the operation,
48363
48363
  # without actually making the request, and provides an error response.
48364
48364
  # If you have the required permissions, the error response is
48365
48365
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -48530,8 +48530,62 @@ module Aws::EC2
48530
48530
  include Aws::Structure
48531
48531
  end
48532
48532
 
48533
+ # @!attribute [rw] instance_id
48534
+ # The ID of the instance to update.
48535
+ # @return [String]
48536
+ #
48537
+ # @!attribute [rw] core_count
48538
+ # The number of CPU cores to activate for the specified instance.
48539
+ # @return [Integer]
48540
+ #
48541
+ # @!attribute [rw] threads_per_core
48542
+ # The number of threads to run for each CPU core.
48543
+ # @return [Integer]
48544
+ #
48533
48545
  # @!attribute [rw] dry_run
48534
- # Checks whether you have the required permissions for the action,
48546
+ # Checks whether you have the required permissions for the operation,
48547
+ # without actually making the request, and provides an error response.
48548
+ # If you have the required permissions, the error response is
48549
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
48550
+ # @return [Boolean]
48551
+ #
48552
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceCpuOptionsRequest AWS API Documentation
48553
+ #
48554
+ class ModifyInstanceCpuOptionsRequest < Struct.new(
48555
+ :instance_id,
48556
+ :core_count,
48557
+ :threads_per_core,
48558
+ :dry_run)
48559
+ SENSITIVE = []
48560
+ include Aws::Structure
48561
+ end
48562
+
48563
+ # @!attribute [rw] instance_id
48564
+ # The ID of the instance that was updated.
48565
+ # @return [String]
48566
+ #
48567
+ # @!attribute [rw] core_count
48568
+ # The number of CPU cores that are running for the specified instance
48569
+ # after the update.
48570
+ # @return [Integer]
48571
+ #
48572
+ # @!attribute [rw] threads_per_core
48573
+ # The number of threads that are running per CPU core for the
48574
+ # specified instance after the update.
48575
+ # @return [Integer]
48576
+ #
48577
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceCpuOptionsResult AWS API Documentation
48578
+ #
48579
+ class ModifyInstanceCpuOptionsResult < Struct.new(
48580
+ :instance_id,
48581
+ :core_count,
48582
+ :threads_per_core)
48583
+ SENSITIVE = []
48584
+ include Aws::Structure
48585
+ end
48586
+
48587
+ # @!attribute [rw] dry_run
48588
+ # Checks whether you have the required permissions for the operation,
48535
48589
  # without actually making the request, and provides an error response.
48536
48590
  # If you have the required permissions, the error response is
48537
48591
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -48581,7 +48635,7 @@ module Aws::EC2
48581
48635
  end
48582
48636
 
48583
48637
  # @!attribute [rw] dry_run
48584
- # Checks whether you have the required permissions for the action,
48638
+ # Checks whether you have the required permissions for the operation,
48585
48639
  # without actually making the request, and provides an error response.
48586
48640
  # If you have the required permissions, the error response is
48587
48641
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -48773,7 +48827,7 @@ module Aws::EC2
48773
48827
  # @return [String]
48774
48828
  #
48775
48829
  # @!attribute [rw] dry_run
48776
- # Checks whether you have the required permissions for the action,
48830
+ # Checks whether you have the required permissions for the operation,
48777
48831
  # without actually making the request, and provides an error response.
48778
48832
  # If you have the required permissions, the error response is
48779
48833
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -52030,7 +52084,7 @@ module Aws::EC2
52030
52084
  # @return [Array<String>]
52031
52085
  #
52032
52086
  # @!attribute [rw] dry_run
52033
- # Checks whether you have the required permissions for the action,
52087
+ # Checks whether you have the required permissions for the operation,
52034
52088
  # without actually making the request, and provides an error response.
52035
52089
  # If you have the required permissions, the error response is
52036
52090
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -55754,7 +55808,7 @@ module Aws::EC2
55754
55808
  # @return [Array<String>]
55755
55809
  #
55756
55810
  # @!attribute [rw] dry_run
55757
- # Checks whether you have the required permissions for the action,
55811
+ # Checks whether you have the required permissions for the operation,
55758
55812
  # without actually making the request, and provides an error response.
55759
55813
  # If you have the required permissions, the error response is
55760
55814
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -56992,7 +57046,7 @@ module Aws::EC2
56992
57046
  # @return [String]
56993
57047
  #
56994
57048
  # @!attribute [rw] dry_run
56995
- # Checks whether you have the required permissions for the action,
57049
+ # Checks whether you have the required permissions for the operation,
56996
57050
  # without actually making the request, and provides an error response.
56997
57051
  # If you have the required permissions, the error response is
56998
57052
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -58515,7 +58569,7 @@ module Aws::EC2
58515
58569
  # @return [String]
58516
58570
  #
58517
58571
  # @!attribute [rw] dry_run
58518
- # Checks whether you have the required permissions for the action,
58572
+ # Checks whether you have the required permissions for the operation,
58519
58573
  # without actually making the request, and provides an error response.
58520
58574
  # If you have the required permissions, the error response is
58521
58575
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -59879,7 +59933,7 @@ module Aws::EC2
59879
59933
  # @return [Boolean]
59880
59934
  #
59881
59935
  # @!attribute [rw] dry_run
59882
- # Checks whether you have the required permissions for the action,
59936
+ # Checks whether you have the required permissions for the operation,
59883
59937
  # without actually making the request, and provides an error response.
59884
59938
  # If you have the required permissions, the error response is
59885
59939
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -61471,7 +61525,7 @@ module Aws::EC2
61471
61525
  # @return [String]
61472
61526
  #
61473
61527
  # @!attribute [rw] dry_run
61474
- # Checks whether you have the required permissions for the action,
61528
+ # Checks whether you have the required permissions for the operation,
61475
61529
  # without actually making the request, and provides an error response.
61476
61530
  # If you have the required permissions, the error response is
61477
61531
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -63693,7 +63747,7 @@ module Aws::EC2
63693
63747
  # @return [String]
63694
63748
  #
63695
63749
  # @!attribute [rw] dry_run
63696
- # Checks whether you have the required permissions for the action,
63750
+ # Checks whether you have the required permissions for the operation,
63697
63751
  # without actually making the request, and provides an error response.
63698
63752
  # If you have the required permissions, the error response is
63699
63753
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -63946,7 +64000,7 @@ module Aws::EC2
63946
64000
  # @return [Boolean]
63947
64001
  #
63948
64002
  # @!attribute [rw] dry_run
63949
- # Checks whether you have the required permissions for the action,
64003
+ # Checks whether you have the required permissions for the operation,
63950
64004
  # without actually making the request, and provides an error response.
63951
64005
  # If you have the required permissions, the error response is
63952
64006
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -64846,7 +64900,7 @@ module Aws::EC2
64846
64900
  # @return [Array<String>]
64847
64901
  #
64848
64902
  # @!attribute [rw] dry_run
64849
- # Checks whether you have the required permissions for the action,
64903
+ # Checks whether you have the required permissions for the operation,
64850
64904
  # without actually making the request, and provides an error response.
64851
64905
  # If you have the required permissions, the error response is
64852
64906
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -67096,7 +67150,7 @@ module Aws::EC2
67096
67150
  # @return [Array<String>]
67097
67151
  #
67098
67152
  # @!attribute [rw] dry_run
67099
- # Checks whether you have the required permissions for the action,
67153
+ # Checks whether you have the required permissions for the operation,
67100
67154
  # without actually making the request, and provides an error response.
67101
67155
  # If you have the required permissions, the error response is
67102
67156
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -1446,7 +1446,7 @@ module Aws::EC2
1446
1446
  #
1447
1447
  # Default: Describes all your instances.
1448
1448
  # @option options [Boolean] :dry_run
1449
- # Checks whether you have the required permissions for the action,
1449
+ # Checks whether you have the required permissions for the operation,
1450
1450
  # without actually making the request, and provides an error response.
1451
1451
  # If you have the required permissions, the error response is
1452
1452
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
data/lib/aws-sdk-ec2.rb CHANGED
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.477.0'
81
+ GEM_VERSION = '1.479.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -10117,6 +10117,21 @@ module Aws
10117
10117
  ) -> _ModifyInstanceCapacityReservationAttributesResponseSuccess
10118
10118
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyInstanceCapacityReservationAttributesResponseSuccess
10119
10119
 
10120
+ interface _ModifyInstanceCpuOptionsResponseSuccess
10121
+ include ::Seahorse::Client::_ResponseSuccess[Types::ModifyInstanceCpuOptionsResult]
10122
+ def instance_id: () -> ::String
10123
+ def core_count: () -> ::Integer
10124
+ def threads_per_core: () -> ::Integer
10125
+ end
10126
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_instance_cpu_options-instance_method
10127
+ def modify_instance_cpu_options: (
10128
+ instance_id: ::String,
10129
+ core_count: ::Integer,
10130
+ threads_per_core: ::Integer,
10131
+ ?dry_run: bool
10132
+ ) -> _ModifyInstanceCpuOptionsResponseSuccess
10133
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyInstanceCpuOptionsResponseSuccess
10134
+
10120
10135
  interface _ModifyInstanceCreditSpecificationResponseSuccess
10121
10136
  include ::Seahorse::Client::_ResponseSuccess[Types::ModifyInstanceCreditSpecificationResult]
10122
10137
  def successful_instance_credit_specifications: () -> ::Array[Types::SuccessfulInstanceCreditSpecificationItem]
data/sig/types.rbs CHANGED
@@ -10584,6 +10584,21 @@ module Aws::EC2
10584
10584
  SENSITIVE: []
10585
10585
  end
10586
10586
 
10587
+ class ModifyInstanceCpuOptionsRequest
10588
+ attr_accessor instance_id: ::String
10589
+ attr_accessor core_count: ::Integer
10590
+ attr_accessor threads_per_core: ::Integer
10591
+ attr_accessor dry_run: bool
10592
+ SENSITIVE: []
10593
+ end
10594
+
10595
+ class ModifyInstanceCpuOptionsResult
10596
+ attr_accessor instance_id: ::String
10597
+ attr_accessor core_count: ::Integer
10598
+ attr_accessor threads_per_core: ::Integer
10599
+ SENSITIVE: []
10600
+ end
10601
+
10587
10602
  class ModifyInstanceCreditSpecificationRequest
10588
10603
  attr_accessor dry_run: bool
10589
10604
  attr_accessor client_token: ::String
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.477.0
4
+ version: 1.479.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: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core