aws-sdk-ec2 1.151.0 → 1.152.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -186,7 +186,8 @@ module Aws::EC2
186
186
  # Waiter polls an API operation until a resource enters a desired
187
187
  # state.
188
188
  #
189
- # @note The waiting operation is performed on a copy. The original resource remains unchanged
189
+ # @note The waiting operation is performed on a copy. The original resource
190
+ # remains unchanged.
190
191
  #
191
192
  # ## Basic Usage
192
193
  #
@@ -199,13 +200,15 @@ module Aws::EC2
199
200
  #
200
201
  # ## Example
201
202
  #
202
- # instance.wait_until(max_attempts:10, delay:5) {|instance| instance.state.name == 'running' }
203
+ # instance.wait_until(max_attempts:10, delay:5) do |instance|
204
+ # instance.state.name == 'running'
205
+ # end
203
206
  #
204
207
  # ## Configuration
205
208
  #
206
209
  # You can configure the maximum number of polling attempts, and the
207
- # delay (in seconds) between each polling attempt. The waiting condition is set
208
- # by passing a block to {#wait_until}:
210
+ # delay (in seconds) between each polling attempt. The waiting condition is
211
+ # set by passing a block to {#wait_until}:
209
212
  #
210
213
  # # poll for ~25 seconds
211
214
  # resource.wait_until(max_attempts:5,delay:5) {|resource|...}
@@ -236,17 +239,16 @@ module Aws::EC2
236
239
  # # resource did not enter the desired state in time
237
240
  # end
238
241
  #
242
+ # @yieldparam [Resource] resource to be used in the waiting condition.
239
243
  #
240
- # @yield param [Resource] resource to be used in the waiting condition
241
- #
242
- # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter terminates
243
- # because the waiter has entered a state that it will not transition
244
- # out of, preventing success.
244
+ # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
245
+ # terminates because the waiter has entered a state that it will not
246
+ # transition out of, preventing success.
245
247
  #
246
248
  # yet successful.
247
249
  #
248
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
249
- # while polling for a resource that is not expected.
250
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
251
+ # encountered while polling for a resource that is not expected.
250
252
  #
251
253
  # @raise [NotImplementedError] Raised when the resource does not
252
254
  #
@@ -614,7 +616,9 @@ module Aws::EC2
614
616
  end
615
617
 
616
618
  def separate_params_and_options(options)
617
- opts = Set.new([:client, :max_attempts, :delay, :before_attempt, :before_wait])
619
+ opts = Set.new(
620
+ [:client, :max_attempts, :delay, :before_attempt, :before_wait]
621
+ )
618
622
  waiter_opts = {}
619
623
  waiter_params = {}
620
624
  options.each_pair do |key, value|
@@ -162,7 +162,8 @@ module Aws::EC2
162
162
  # Waiter polls an API operation until a resource enters a desired
163
163
  # state.
164
164
  #
165
- # @note The waiting operation is performed on a copy. The original resource remains unchanged
165
+ # @note The waiting operation is performed on a copy. The original resource
166
+ # remains unchanged.
166
167
  #
167
168
  # ## Basic Usage
168
169
  #
@@ -175,13 +176,15 @@ module Aws::EC2
175
176
  #
176
177
  # ## Example
177
178
  #
178
- # instance.wait_until(max_attempts:10, delay:5) {|instance| instance.state.name == 'running' }
179
+ # instance.wait_until(max_attempts:10, delay:5) do |instance|
180
+ # instance.state.name == 'running'
181
+ # end
179
182
  #
180
183
  # ## Configuration
181
184
  #
182
185
  # You can configure the maximum number of polling attempts, and the
183
- # delay (in seconds) between each polling attempt. The waiting condition is set
184
- # by passing a block to {#wait_until}:
186
+ # delay (in seconds) between each polling attempt. The waiting condition is
187
+ # set by passing a block to {#wait_until}:
185
188
  #
186
189
  # # poll for ~25 seconds
187
190
  # resource.wait_until(max_attempts:5,delay:5) {|resource|...}
@@ -212,17 +215,16 @@ module Aws::EC2
212
215
  # # resource did not enter the desired state in time
213
216
  # end
214
217
  #
218
+ # @yieldparam [Resource] resource to be used in the waiting condition.
215
219
  #
216
- # @yield param [Resource] resource to be used in the waiting condition
217
- #
218
- # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter terminates
219
- # because the waiter has entered a state that it will not transition
220
- # out of, preventing success.
220
+ # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
221
+ # terminates because the waiter has entered a state that it will not
222
+ # transition out of, preventing success.
221
223
  #
222
224
  # yet successful.
223
225
  #
224
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
225
- # while polling for a resource that is not expected.
226
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
227
+ # encountered while polling for a resource that is not expected.
226
228
  #
227
229
  # @raise [NotImplementedError] Raised when the resource does not
228
230
  #
@@ -103,7 +103,8 @@ module Aws::EC2
103
103
  # Waiter polls an API operation until a resource enters a desired
104
104
  # state.
105
105
  #
106
- # @note The waiting operation is performed on a copy. The original resource remains unchanged
106
+ # @note The waiting operation is performed on a copy. The original resource
107
+ # remains unchanged.
107
108
  #
108
109
  # ## Basic Usage
109
110
  #
@@ -116,13 +117,15 @@ module Aws::EC2
116
117
  #
117
118
  # ## Example
118
119
  #
119
- # instance.wait_until(max_attempts:10, delay:5) {|instance| instance.state.name == 'running' }
120
+ # instance.wait_until(max_attempts:10, delay:5) do |instance|
121
+ # instance.state.name == 'running'
122
+ # end
120
123
  #
121
124
  # ## Configuration
122
125
  #
123
126
  # You can configure the maximum number of polling attempts, and the
124
- # delay (in seconds) between each polling attempt. The waiting condition is set
125
- # by passing a block to {#wait_until}:
127
+ # delay (in seconds) between each polling attempt. The waiting condition is
128
+ # set by passing a block to {#wait_until}:
126
129
  #
127
130
  # # poll for ~25 seconds
128
131
  # resource.wait_until(max_attempts:5,delay:5) {|resource|...}
@@ -153,17 +156,16 @@ module Aws::EC2
153
156
  # # resource did not enter the desired state in time
154
157
  # end
155
158
  #
159
+ # @yieldparam [Resource] resource to be used in the waiting condition.
156
160
  #
157
- # @yield param [Resource] resource to be used in the waiting condition
158
- #
159
- # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter terminates
160
- # because the waiter has entered a state that it will not transition
161
- # out of, preventing success.
161
+ # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
162
+ # terminates because the waiter has entered a state that it will not
163
+ # transition out of, preventing success.
162
164
  #
163
165
  # yet successful.
164
166
  #
165
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
166
- # while polling for a resource that is not expected.
167
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
168
+ # encountered while polling for a resource that is not expected.
167
169
  #
168
170
  # @raise [NotImplementedError] Raised when the resource does not
169
171
  #
@@ -11189,6 +11189,77 @@ module Aws::EC2
11189
11189
  include Aws::Structure
11190
11190
  end
11191
11191
 
11192
+ # @note When making an API call, you may pass DeregisterInstanceEventNotificationAttributesRequest
11193
+ # data as a hash:
11194
+ #
11195
+ # {
11196
+ # dry_run: false,
11197
+ # instance_tag_attribute: {
11198
+ # include_all_tags_of_instance: false,
11199
+ # instance_tag_keys: ["String"],
11200
+ # },
11201
+ # }
11202
+ #
11203
+ # @!attribute [rw] dry_run
11204
+ # Checks whether you have the required permissions for the action,
11205
+ # without actually making the request, and provides an error response.
11206
+ # If you have the required permissions, the error response is
11207
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
11208
+ # @return [Boolean]
11209
+ #
11210
+ # @!attribute [rw] instance_tag_attribute
11211
+ # Information about the tag keys to deregister.
11212
+ # @return [Types::DeregisterInstanceTagAttributeRequest]
11213
+ #
11214
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterInstanceEventNotificationAttributesRequest AWS API Documentation
11215
+ #
11216
+ class DeregisterInstanceEventNotificationAttributesRequest < Struct.new(
11217
+ :dry_run,
11218
+ :instance_tag_attribute)
11219
+ include Aws::Structure
11220
+ end
11221
+
11222
+ # @!attribute [rw] instance_tag_attribute
11223
+ # The resulting set of tag keys.
11224
+ # @return [Types::InstanceTagNotificationAttribute]
11225
+ #
11226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterInstanceEventNotificationAttributesResult AWS API Documentation
11227
+ #
11228
+ class DeregisterInstanceEventNotificationAttributesResult < Struct.new(
11229
+ :instance_tag_attribute)
11230
+ include Aws::Structure
11231
+ end
11232
+
11233
+ # Information about the tag keys to deregister for the current Region.
11234
+ # You can either specify individual tag keys or deregister all tag keys
11235
+ # in the current Region. You must specify either
11236
+ # `IncludeAllTagsOfInstance` or `InstanceTagKeys` in the request
11237
+ #
11238
+ # @note When making an API call, you may pass DeregisterInstanceTagAttributeRequest
11239
+ # data as a hash:
11240
+ #
11241
+ # {
11242
+ # include_all_tags_of_instance: false,
11243
+ # instance_tag_keys: ["String"],
11244
+ # }
11245
+ #
11246
+ # @!attribute [rw] include_all_tags_of_instance
11247
+ # Indicates whether to deregister all tag keys in the current Region.
11248
+ # Specify `false` to deregister all tag keys.
11249
+ # @return [Boolean]
11250
+ #
11251
+ # @!attribute [rw] instance_tag_keys
11252
+ # Information about the tag keys to deregister.
11253
+ # @return [Array<String>]
11254
+ #
11255
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterInstanceTagAttributeRequest AWS API Documentation
11256
+ #
11257
+ class DeregisterInstanceTagAttributeRequest < Struct.new(
11258
+ :include_all_tags_of_instance,
11259
+ :instance_tag_keys)
11260
+ include Aws::Structure
11261
+ end
11262
+
11192
11263
  # @note When making an API call, you may pass DeregisterTransitGatewayMulticastGroupMembersRequest
11193
11264
  # data as a hash:
11194
11265
  #
@@ -14450,6 +14521,38 @@ module Aws::EC2
14450
14521
  include Aws::Structure
14451
14522
  end
14452
14523
 
14524
+ # @note When making an API call, you may pass DescribeInstanceEventNotificationAttributesRequest
14525
+ # data as a hash:
14526
+ #
14527
+ # {
14528
+ # dry_run: false,
14529
+ # }
14530
+ #
14531
+ # @!attribute [rw] dry_run
14532
+ # Checks whether you have the required permissions for the action,
14533
+ # without actually making the request, and provides an error response.
14534
+ # If you have the required permissions, the error response is
14535
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
14536
+ # @return [Boolean]
14537
+ #
14538
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceEventNotificationAttributesRequest AWS API Documentation
14539
+ #
14540
+ class DescribeInstanceEventNotificationAttributesRequest < Struct.new(
14541
+ :dry_run)
14542
+ include Aws::Structure
14543
+ end
14544
+
14545
+ # @!attribute [rw] instance_tag_attribute
14546
+ # Information about the registered tag keys.
14547
+ # @return [Types::InstanceTagNotificationAttribute]
14548
+ #
14549
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceEventNotificationAttributesResult AWS API Documentation
14550
+ #
14551
+ class DescribeInstanceEventNotificationAttributesResult < Struct.new(
14552
+ :instance_tag_attribute)
14553
+ include Aws::Structure
14554
+ end
14555
+
14453
14556
  # @note When making an API call, you may pass DescribeInstanceStatusRequest
14454
14557
  # data as a hash:
14455
14558
  #
@@ -28976,6 +29079,26 @@ module Aws::EC2
28976
29079
  include Aws::Structure
28977
29080
  end
28978
29081
 
29082
+ # Describes the registered tag keys for the current Region.
29083
+ #
29084
+ # @!attribute [rw] instance_tag_keys
29085
+ # The registered tag keys.
29086
+ # @return [Array<String>]
29087
+ #
29088
+ # @!attribute [rw] include_all_tags_of_instance
29089
+ # Indicates wheter all tag keys in the current Region are registered
29090
+ # to appear in scheduled event notifications. `true` indicates that
29091
+ # all tag keys in the current Region are registered.
29092
+ # @return [Boolean]
29093
+ #
29094
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceTagNotificationAttribute AWS API Documentation
29095
+ #
29096
+ class InstanceTagNotificationAttribute < Struct.new(
29097
+ :instance_tag_keys,
29098
+ :include_all_tags_of_instance)
29099
+ include Aws::Structure
29100
+ end
29101
+
28979
29102
  # Describes the instance type.
28980
29103
  #
28981
29104
  # @!attribute [rw] instance_type
@@ -35678,14 +35801,23 @@ module Aws::EC2
35678
35801
  # If not specified, an Availability Zone will be automatically chosen
35679
35802
  # for you based on the load balancing criteria for the Region.
35680
35803
  #
35681
- # This parameter is not supported by .
35804
+ # This parameter is not supported by [CreateFleet][1].
35805
+ #
35806
+ #
35807
+ #
35808
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet
35682
35809
  # @return [String]
35683
35810
  #
35684
35811
  # @!attribute [rw] affinity
35685
35812
  # The affinity setting for the instance on the Dedicated Host. This
35686
- # parameter is not supported for the ImportInstance command.
35813
+ # parameter is not supported for the [ImportInstance][1] command.
35814
+ #
35815
+ # This parameter is not supported by [CreateFleet][2].
35687
35816
  #
35688
- # This parameter is not supported by .
35817
+ #
35818
+ #
35819
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html
35820
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet
35689
35821
  # @return [String]
35690
35822
  #
35691
35823
  # @!attribute [rw] group_name
@@ -35696,29 +35828,47 @@ module Aws::EC2
35696
35828
  # The number of the partition the instance is in. Valid only if the
35697
35829
  # placement group strategy is set to `partition`.
35698
35830
  #
35699
- # This parameter is not supported by .
35831
+ # This parameter is not supported by [CreateFleet][1].
35832
+ #
35833
+ #
35834
+ #
35835
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet
35700
35836
  # @return [Integer]
35701
35837
  #
35702
35838
  # @!attribute [rw] host_id
35703
35839
  # The ID of the Dedicated Host on which the instance resides. This
35704
- # parameter is not supported for the ImportInstance command.
35840
+ # parameter is not supported for the [ImportInstance][1] command.
35841
+ #
35842
+ # This parameter is not supported by [CreateFleet][2].
35843
+ #
35705
35844
  #
35706
- # This parameter is not supported by .
35845
+ #
35846
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html
35847
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet
35707
35848
  # @return [String]
35708
35849
  #
35709
35850
  # @!attribute [rw] tenancy
35710
35851
  # The tenancy of the instance (if the instance is running in a VPC).
35711
35852
  # An instance with a tenancy of `dedicated` runs on single-tenant
35712
- # hardware. The `host` tenancy is not supported for the ImportInstance
35713
- # command.
35853
+ # hardware. The `host` tenancy is not supported for the
35854
+ # [ImportInstance][1] command.
35855
+ #
35856
+ # This parameter is not supported by [CreateFleet][2].
35714
35857
  #
35715
- # This parameter is not supported by .
35858
+ #
35859
+ #
35860
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html
35861
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet
35716
35862
  # @return [String]
35717
35863
  #
35718
35864
  # @!attribute [rw] spread_domain
35719
35865
  # Reserved for future use.
35720
35866
  #
35721
- # This parameter is not supported by .
35867
+ # This parameter is not supported by [CreateFleet][1].
35868
+ #
35869
+ #
35870
+ #
35871
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet
35722
35872
  # @return [String]
35723
35873
  #
35724
35874
  # @!attribute [rw] host_resource_group_arn
@@ -35726,7 +35876,11 @@ module Aws::EC2
35726
35876
  # If you specify a host resource group ARN, omit the **Tenancy**
35727
35877
  # parameter or set it to `host`.
35728
35878
  #
35729
- # This parameter is not supported by .
35879
+ # This parameter is not supported by [CreateFleet][1].
35880
+ #
35881
+ #
35882
+ #
35883
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet
35730
35884
  # @return [String]
35731
35885
  #
35732
35886
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Placement AWS API Documentation
@@ -36853,6 +37007,77 @@ module Aws::EC2
36853
37007
  include Aws::Structure
36854
37008
  end
36855
37009
 
37010
+ # @note When making an API call, you may pass RegisterInstanceEventNotificationAttributesRequest
37011
+ # data as a hash:
37012
+ #
37013
+ # {
37014
+ # dry_run: false,
37015
+ # instance_tag_attribute: {
37016
+ # include_all_tags_of_instance: false,
37017
+ # instance_tag_keys: ["String"],
37018
+ # },
37019
+ # }
37020
+ #
37021
+ # @!attribute [rw] dry_run
37022
+ # Checks whether you have the required permissions for the action,
37023
+ # without actually making the request, and provides an error response.
37024
+ # If you have the required permissions, the error response is
37025
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
37026
+ # @return [Boolean]
37027
+ #
37028
+ # @!attribute [rw] instance_tag_attribute
37029
+ # Information about the tag keys to register.
37030
+ # @return [Types::RegisterInstanceTagAttributeRequest]
37031
+ #
37032
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterInstanceEventNotificationAttributesRequest AWS API Documentation
37033
+ #
37034
+ class RegisterInstanceEventNotificationAttributesRequest < Struct.new(
37035
+ :dry_run,
37036
+ :instance_tag_attribute)
37037
+ include Aws::Structure
37038
+ end
37039
+
37040
+ # @!attribute [rw] instance_tag_attribute
37041
+ # The resulting set of tag keys.
37042
+ # @return [Types::InstanceTagNotificationAttribute]
37043
+ #
37044
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterInstanceEventNotificationAttributesResult AWS API Documentation
37045
+ #
37046
+ class RegisterInstanceEventNotificationAttributesResult < Struct.new(
37047
+ :instance_tag_attribute)
37048
+ include Aws::Structure
37049
+ end
37050
+
37051
+ # Information about the tag keys to register for the current Region. You
37052
+ # can either specify individual tag keys or register all tag keys in the
37053
+ # current Region. You must specify either `IncludeAllTagsOfInstance` or
37054
+ # `InstanceTagKeys` in the request
37055
+ #
37056
+ # @note When making an API call, you may pass RegisterInstanceTagAttributeRequest
37057
+ # data as a hash:
37058
+ #
37059
+ # {
37060
+ # include_all_tags_of_instance: false,
37061
+ # instance_tag_keys: ["String"],
37062
+ # }
37063
+ #
37064
+ # @!attribute [rw] include_all_tags_of_instance
37065
+ # Indicates whether to register all tag keys in the current Region.
37066
+ # Specify `true` to register all tag keys.
37067
+ # @return [Boolean]
37068
+ #
37069
+ # @!attribute [rw] instance_tag_keys
37070
+ # The tag keys to register.
37071
+ # @return [Array<String>]
37072
+ #
37073
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterInstanceTagAttributeRequest AWS API Documentation
37074
+ #
37075
+ class RegisterInstanceTagAttributeRequest < Struct.new(
37076
+ :include_all_tags_of_instance,
37077
+ :instance_tag_keys)
37078
+ include Aws::Structure
37079
+ end
37080
+
36856
37081
  # @note When making an API call, you may pass RegisterTransitGatewayMulticastGroupMembersRequest
36857
37082
  # data as a hash:
36858
37083
  #
@@ -43057,12 +43282,13 @@ module Aws::EC2
43057
43282
  # more information, see [Spot Fleet Prerequisites][1] in the *Amazon
43058
43283
  # EC2 User Guide for Linux Instances*. Spot Fleet can terminate Spot
43059
43284
  # Instances on your behalf when you cancel its Spot Fleet request
43060
- # using CancelSpotFleetRequests or when the Spot Fleet request
43285
+ # using [CancelSpotFleetRequests][2] or when the Spot Fleet request
43061
43286
  # expires, if you set `TerminateInstancesWithExpiration`.
43062
43287
  #
43063
43288
  #
43064
43289
  #
43065
43290
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html#spot-fleet-prerequisites
43291
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CancelSpotFleetRequests
43066
43292
  # @return [String]
43067
43293
  #
43068
43294
  # @!attribute [rw] launch_specifications
@@ -43458,10 +43684,14 @@ module Aws::EC2
43458
43684
  # @return [String]
43459
43685
  #
43460
43686
  # @!attribute [rw] spot_instance_type
43461
- # The Spot Instance request type. For RunInstances, persistent Spot
43462
- # Instance requests are only supported when
43687
+ # The Spot Instance request type. For [RunInstances][1], persistent
43688
+ # Spot Instance requests are only supported when
43463
43689
  # **InstanceInterruptionBehavior** is set to either `hibernate` or
43464
43690
  # `stop`.
43691
+ #
43692
+ #
43693
+ #
43694
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances
43465
43695
  # @return [String]
43466
43696
  #
43467
43697
  # @!attribute [rw] block_duration_minutes
@@ -44352,7 +44582,13 @@ module Aws::EC2
44352
44582
  # launch instances until it reaches the maximum amount that you're
44353
44583
  # willing to pay. When the maximum amount you're willing to pay is
44354
44584
  # reached, the fleet stops launching instances even if it hasn’t met the
44355
- # target capacity. The `MaxTotalPrice` parameters are located in and
44585
+ # target capacity. The `MaxTotalPrice` parameters are located in
44586
+ # [OnDemandOptions][1] and [SpotOptions][2]
44587
+ #
44588
+ #
44589
+ #
44590
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_OnDemandOptions.html
44591
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptions
44356
44592
  #
44357
44593
  # @!attribute [rw] total_target_capacity
44358
44594
  # The number of units to request, filled using
@@ -44401,7 +44637,12 @@ module Aws::EC2
44401
44637
  # amount that you're willing to pay. When the maximum amount you're
44402
44638
  # willing to pay is reached, the fleet stops launching instances even if
44403
44639
  # it hasn’t met the target capacity. The `MaxTotalPrice` parameters are
44404
- # located in and .
44640
+ # located in [OnDemandOptionsRequest][1] and [SpotOptionsRequest][2].
44641
+ #
44642
+ #
44643
+ #
44644
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_OnDemandOptionsRequest
44645
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptionsRequest
44405
44646
  #
44406
44647
  # @note When making an API call, you may pass TargetCapacitySpecificationRequest
44407
44648
  # data as a hash: