aws-sdk-ec2 1.61.0 → 1.62.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -218,6 +218,12 @@ module Aws::EC2
218
218
  data[:elastic_gpu_associations]
219
219
  end
220
220
 
221
+ # The elastic inference accelerator associated with the instance.
222
+ # @return [Array<Types::ElasticInferenceAcceleratorAssociation>]
223
+ def elastic_inference_accelerator_associations
224
+ data[:elastic_inference_accelerator_associations]
225
+ end
226
+
221
227
  # The device name of the root device volume (for example, `/dev/sda1`).
222
228
  # @return [String]
223
229
  def root_device_name
@@ -301,6 +307,18 @@ module Aws::EC2
301
307
  data[:capacity_reservation_specification]
302
308
  end
303
309
 
310
+ # Indicates whether the instance is enabled for hibernation.
311
+ # @return [Types::HibernationOptions]
312
+ def hibernation_options
313
+ data[:hibernation_options]
314
+ end
315
+
316
+ # The license configurations.
317
+ # @return [Array<Types::LicenseConfiguration>]
318
+ def licenses
319
+ data[:licenses]
320
+ end
321
+
304
322
  # @!endgroup
305
323
 
306
324
  # @return [Client]
@@ -1130,10 +1148,22 @@ module Aws::EC2
1130
1148
  # @example Request syntax with placeholder values
1131
1149
  #
1132
1150
  # instance.stop({
1151
+ # hibernate: false,
1133
1152
  # dry_run: false,
1134
1153
  # force: false,
1135
1154
  # })
1136
1155
  # @param [Hash] options ({})
1156
+ # @option options [Boolean] :hibernate
1157
+ # Hibernates the instance if the instance was enabled for hibernation at
1158
+ # launch. If the instance cannot hibernate successfully, a normal
1159
+ # shutdown occurs. For more information, see [Hibernate Your
1160
+ # Instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
1161
+ #
1162
+ # Default: `false`
1163
+ #
1164
+ #
1165
+ #
1166
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
1137
1167
  # @option options [Boolean] :dry_run
1138
1168
  # Checks whether you have the required permissions for the action,
1139
1169
  # without actually making the request, and provides an error response.
@@ -1608,10 +1638,22 @@ module Aws::EC2
1608
1638
  # @example Request syntax with placeholder values
1609
1639
  #
1610
1640
  # instance.batch_stop({
1641
+ # hibernate: false,
1611
1642
  # dry_run: false,
1612
1643
  # force: false,
1613
1644
  # })
1614
1645
  # @param options ({})
1646
+ # @option options [Boolean] :hibernate
1647
+ # Hibernates the instance if the instance was enabled for hibernation at
1648
+ # launch. If the instance cannot hibernate successfully, a normal
1649
+ # shutdown occurs. For more information, see [Hibernate Your
1650
+ # Instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
1651
+ #
1652
+ # Default: `false`
1653
+ #
1654
+ #
1655
+ #
1656
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
1615
1657
  # @option options [Boolean] :dry_run
1616
1658
  # Checks whether you have the required permissions for the action,
1617
1659
  # without actually making the request, and provides an error response.
@@ -244,6 +244,10 @@ module Aws::EC2
244
244
  # * `group-name` - The name of the security group for the instance.
245
245
  # EC2-Classic only.
246
246
  #
247
+ # * `hibernation-options.configured` - A Boolean that indicates whether
248
+ # the instance is enabled for hibernation. A value of `true` means
249
+ # that the instance is enabled for hibernation.
250
+ #
247
251
  # * `host-id` - The ID of the Dedicated Host on which the instance is
248
252
  # running, if applicable.
249
253
  #
@@ -138,6 +138,11 @@ module Aws::EC2
138
138
  # type: "String", # required
139
139
  # },
140
140
  # ],
141
+ # elastic_inference_accelerators: [
142
+ # {
143
+ # type: "String", # required
144
+ # },
145
+ # ],
141
146
  # tag_specifications: [
142
147
  # {
143
148
  # resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
@@ -177,6 +182,14 @@ module Aws::EC2
177
182
  # capacity_reservation_id: "String",
178
183
  # },
179
184
  # },
185
+ # hibernation_options: {
186
+ # configured: false,
187
+ # },
188
+ # license_specifications: [
189
+ # {
190
+ # license_configuration_arn: "String",
191
+ # },
192
+ # ],
180
193
  # })
181
194
  # @param [Hash] options ({})
182
195
  # @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
@@ -348,6 +361,8 @@ module Aws::EC2
348
361
  # more than one instance in the request.
349
362
  # @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
350
363
  # An elastic GPU to associate with the instance.
364
+ # @option options [Array<Types::ElasticInferenceAccelerator>] :elastic_inference_accelerators
365
+ # An elastic inference accelerator.
351
366
  # @option options [Array<Types::TagSpecification>] :tag_specifications
352
367
  # The tags to apply to the resources during launch. You can only tag
353
368
  # instances and volumes on launch. The specified tags are applied to all
@@ -386,6 +401,16 @@ module Aws::EC2
386
401
  # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html
387
402
  # @option options [Types::CapacityReservationSpecification] :capacity_reservation_specification
388
403
  # Information about the Capacity Reservation targeting option.
404
+ # @option options [Types::HibernationOptionsRequest] :hibernation_options
405
+ # Indicates whether an instance is enabled for hibernation. For more
406
+ # information, see [Hibernate Your Instance][1] in the *Amazon Elastic
407
+ # Compute Cloud User Guide*.
408
+ #
409
+ #
410
+ #
411
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
412
+ # @option options [Array<Types::LicenseConfigurationRequest>] :license_specifications
413
+ # The license configurations.
389
414
  # @return [Instance::Collection]
390
415
  def create_instances(options = {})
391
416
  batch = []
@@ -1457,6 +1482,10 @@ module Aws::EC2
1457
1482
  # * `group-name` - The name of the security group for the instance.
1458
1483
  # EC2-Classic only.
1459
1484
  #
1485
+ # * `hibernation-options.configured` - A Boolean that indicates whether
1486
+ # the instance is enabled for hibernation. A value of `true` means
1487
+ # that the instance is enabled for hibernation.
1488
+ #
1460
1489
  # * `host-id` - The ID of the Dedicated Host on which the instance is
1461
1490
  # running, if applicable.
1462
1491
  #
@@ -333,6 +333,11 @@ module Aws::EC2
333
333
  # type: "String", # required
334
334
  # },
335
335
  # ],
336
+ # elastic_inference_accelerators: [
337
+ # {
338
+ # type: "String", # required
339
+ # },
340
+ # ],
336
341
  # tag_specifications: [
337
342
  # {
338
343
  # resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
@@ -372,6 +377,14 @@ module Aws::EC2
372
377
  # capacity_reservation_id: "String",
373
378
  # },
374
379
  # },
380
+ # hibernation_options: {
381
+ # configured: false,
382
+ # },
383
+ # license_specifications: [
384
+ # {
385
+ # license_configuration_arn: "String",
386
+ # },
387
+ # ],
375
388
  # })
376
389
  # @param [Hash] options ({})
377
390
  # @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
@@ -541,6 +554,8 @@ module Aws::EC2
541
554
  # more than one instance in the request.
542
555
  # @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
543
556
  # An elastic GPU to associate with the instance.
557
+ # @option options [Array<Types::ElasticInferenceAccelerator>] :elastic_inference_accelerators
558
+ # An elastic inference accelerator.
544
559
  # @option options [Array<Types::TagSpecification>] :tag_specifications
545
560
  # The tags to apply to the resources during launch. You can only tag
546
561
  # instances and volumes on launch. The specified tags are applied to all
@@ -579,6 +594,16 @@ module Aws::EC2
579
594
  # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html
580
595
  # @option options [Types::CapacityReservationSpecification] :capacity_reservation_specification
581
596
  # Information about the Capacity Reservation targeting option.
597
+ # @option options [Types::HibernationOptionsRequest] :hibernation_options
598
+ # Indicates whether an instance is enabled for hibernation. For more
599
+ # information, see [Hibernate Your Instance][1] in the *Amazon Elastic
600
+ # Compute Cloud User Guide*.
601
+ #
602
+ #
603
+ #
604
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
605
+ # @option options [Array<Types::LicenseConfigurationRequest>] :license_specifications
606
+ # The license configurations.
582
607
  # @return [Instance::Collection]
583
608
  def create_instances(options = {})
584
609
  batch = []
@@ -775,6 +800,10 @@ module Aws::EC2
775
800
  # * `group-name` - The name of the security group for the instance.
776
801
  # EC2-Classic only.
777
802
  #
803
+ # * `hibernation-options.configured` - A Boolean that indicates whether
804
+ # the instance is enabled for hibernation. A value of `true` means
805
+ # that the instance is enabled for hibernation.
806
+ #
778
807
  # * `host-id` - The ID of the Dedicated Host on which the instance is
779
808
  # running, if applicable.
780
809
  #
@@ -2613,8 +2613,6 @@ module Aws::EC2
2613
2613
  include Aws::Structure
2614
2614
  end
2615
2615
 
2616
- # Contains the parameters for ConfirmProductInstance.
2617
- #
2618
2616
  # @note When making an API call, you may pass ConfirmProductInstanceRequest
2619
2617
  # data as a hash:
2620
2618
  #
@@ -2648,8 +2646,6 @@ module Aws::EC2
2648
2646
  include Aws::Structure
2649
2647
  end
2650
2648
 
2651
- # Contains the output of ConfirmProductInstance.
2652
- #
2653
2649
  # @!attribute [rw] owner_id
2654
2650
  # The AWS account ID of the instance owner. This is only present if
2655
2651
  # the product code is attached to the instance.
@@ -4327,6 +4323,11 @@ module Aws::EC2
4327
4323
  # type: "String", # required
4328
4324
  # },
4329
4325
  # ],
4326
+ # elastic_inference_accelerators: [
4327
+ # {
4328
+ # type: "String", # required
4329
+ # },
4330
+ # ],
4330
4331
  # security_group_ids: ["String"],
4331
4332
  # security_groups: ["String"],
4332
4333
  # instance_market_options: {
@@ -4352,6 +4353,14 @@ module Aws::EC2
4352
4353
  # capacity_reservation_id: "String",
4353
4354
  # },
4354
4355
  # },
4356
+ # hibernation_options: {
4357
+ # configured: false,
4358
+ # },
4359
+ # license_specifications: [
4360
+ # {
4361
+ # license_configuration_arn: "String",
4362
+ # },
4363
+ # ],
4355
4364
  # },
4356
4365
  # }
4357
4366
  #
@@ -4498,6 +4507,11 @@ module Aws::EC2
4498
4507
  # type: "String", # required
4499
4508
  # },
4500
4509
  # ],
4510
+ # elastic_inference_accelerators: [
4511
+ # {
4512
+ # type: "String", # required
4513
+ # },
4514
+ # ],
4501
4515
  # security_group_ids: ["String"],
4502
4516
  # security_groups: ["String"],
4503
4517
  # instance_market_options: {
@@ -4523,6 +4537,14 @@ module Aws::EC2
4523
4537
  # capacity_reservation_id: "String",
4524
4538
  # },
4525
4539
  # },
4540
+ # hibernation_options: {
4541
+ # configured: false,
4542
+ # },
4543
+ # license_specifications: [
4544
+ # {
4545
+ # license_configuration_arn: "String",
4546
+ # },
4547
+ # ],
4526
4548
  # },
4527
4549
  # }
4528
4550
  #
@@ -4964,8 +4986,6 @@ module Aws::EC2
4964
4986
  include Aws::Structure
4965
4987
  end
4966
4988
 
4967
- # Contains the parameters for CreatePlacementGroup.
4968
- #
4969
4989
  # @note When making an API call, you may pass CreatePlacementGroupRequest
4970
4990
  # data as a hash:
4971
4991
  #
@@ -7268,8 +7288,6 @@ module Aws::EC2
7268
7288
  include Aws::Structure
7269
7289
  end
7270
7290
 
7271
- # Contains the parameters for DeletePlacementGroup.
7272
- #
7273
7291
  # @note When making an API call, you may pass DeletePlacementGroupRequest
7274
7292
  # data as a hash:
7275
7293
  #
@@ -10275,8 +10293,6 @@ module Aws::EC2
10275
10293
  include Aws::Structure
10276
10294
  end
10277
10295
 
10278
- # Contains the parameters for DescribeInstanceAttribute.
10279
- #
10280
10296
  # @note When making an API call, you may pass DescribeInstanceAttributeRequest
10281
10297
  # data as a hash:
10282
10298
  #
@@ -10391,8 +10407,6 @@ module Aws::EC2
10391
10407
  include Aws::Structure
10392
10408
  end
10393
10409
 
10394
- # Contains the parameters for DescribeInstanceStatus.
10395
- #
10396
10410
  # @note When making an API call, you may pass DescribeInstanceStatusRequest
10397
10411
  # data as a hash:
10398
10412
  #
@@ -10501,8 +10515,6 @@ module Aws::EC2
10501
10515
  include Aws::Structure
10502
10516
  end
10503
10517
 
10504
- # Contains the output of DescribeInstanceStatus.
10505
- #
10506
10518
  # @!attribute [rw] instance_statuses
10507
10519
  # One or more instance status descriptions.
10508
10520
  # @return [Array<Types::InstanceStatus>]
@@ -10520,8 +10532,6 @@ module Aws::EC2
10520
10532
  include Aws::Structure
10521
10533
  end
10522
10534
 
10523
- # Contains the parameters for DescribeInstances.
10524
- #
10525
10535
  # @note When making an API call, you may pass DescribeInstancesRequest
10526
10536
  # data as a hash:
10527
10537
  #
@@ -10576,6 +10586,10 @@ module Aws::EC2
10576
10586
  # * `group-name` - The name of the security group for the instance.
10577
10587
  # EC2-Classic only.
10578
10588
  #
10589
+ # * `hibernation-options.configured` - A Boolean that indicates
10590
+ # whether the instance is enabled for hibernation. A value of `true`
10591
+ # means that the instance is enabled for hibernation.
10592
+ #
10579
10593
  # * `host-id` - The ID of the Dedicated Host on which the instance is
10580
10594
  # running, if applicable.
10581
10595
  #
@@ -10838,8 +10852,6 @@ module Aws::EC2
10838
10852
  include Aws::Structure
10839
10853
  end
10840
10854
 
10841
- # Contains the output of DescribeInstances.
10842
- #
10843
10855
  # @!attribute [rw] reservations
10844
10856
  # Zero or more reservations.
10845
10857
  # @return [Array<Types::Reservation>]
@@ -11781,8 +11793,6 @@ module Aws::EC2
11781
11793
  include Aws::Structure
11782
11794
  end
11783
11795
 
11784
- # Contains the parameters for DescribePlacementGroups.
11785
- #
11786
11796
  # @note When making an API call, you may pass DescribePlacementGroupsRequest
11787
11797
  # data as a hash:
11788
11798
  #
@@ -11832,8 +11842,6 @@ module Aws::EC2
11832
11842
  include Aws::Structure
11833
11843
  end
11834
11844
 
11835
- # Contains the output of DescribePlacementGroups.
11836
- #
11837
11845
  # @!attribute [rw] placement_groups
11838
11846
  # One or more placement groups.
11839
11847
  # @return [Array<Types::PlacementGroup>]
@@ -16921,6 +16929,57 @@ module Aws::EC2
16921
16929
  include Aws::Structure
16922
16930
  end
16923
16931
 
16932
+ # Describes an elastic inference accelerator.
16933
+ #
16934
+ # @note When making an API call, you may pass ElasticInferenceAccelerator
16935
+ # data as a hash:
16936
+ #
16937
+ # {
16938
+ # type: "String", # required
16939
+ # }
16940
+ #
16941
+ # @!attribute [rw] type
16942
+ # The type of elastic inference accelerator. The possible values are
16943
+ # eia1.small, eia1.medium, and eia1.large.
16944
+ # @return [String]
16945
+ #
16946
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticInferenceAccelerator AWS API Documentation
16947
+ #
16948
+ class ElasticInferenceAccelerator < Struct.new(
16949
+ :type)
16950
+ include Aws::Structure
16951
+ end
16952
+
16953
+ # Describes the association between an instance and an elastic inference
16954
+ # accelerator.
16955
+ #
16956
+ # @!attribute [rw] elastic_inference_accelerator_arn
16957
+ # The Amazon Resource Name (ARN) of the elastic inference accelerator.
16958
+ # @return [String]
16959
+ #
16960
+ # @!attribute [rw] elastic_inference_accelerator_association_id
16961
+ # The ID of the association.
16962
+ # @return [String]
16963
+ #
16964
+ # @!attribute [rw] elastic_inference_accelerator_association_state
16965
+ # The state of the elastic inference accelerator.
16966
+ # @return [String]
16967
+ #
16968
+ # @!attribute [rw] elastic_inference_accelerator_association_time
16969
+ # The time at which the elastic inference accelerator is associated
16970
+ # with an instance.
16971
+ # @return [Time]
16972
+ #
16973
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticInferenceAcceleratorAssociation AWS API Documentation
16974
+ #
16975
+ class ElasticInferenceAcceleratorAssociation < Struct.new(
16976
+ :elastic_inference_accelerator_arn,
16977
+ :elastic_inference_accelerator_association_id,
16978
+ :elastic_inference_accelerator_association_state,
16979
+ :elastic_inference_accelerator_association_time)
16980
+ include Aws::Structure
16981
+ end
16982
+
16924
16983
  # @note When making an API call, you may pass EnableTransitGatewayRouteTablePropagationRequest
16925
16984
  # data as a hash:
16926
16985
  #
@@ -18025,8 +18084,6 @@ module Aws::EC2
18025
18084
  include Aws::Structure
18026
18085
  end
18027
18086
 
18028
- # Contains the parameters for GetConsoleOutput.
18029
- #
18030
18087
  # @note When making an API call, you may pass GetConsoleOutputRequest
18031
18088
  # data as a hash:
18032
18089
  #
@@ -18062,8 +18119,6 @@ module Aws::EC2
18062
18119
  include Aws::Structure
18063
18120
  end
18064
18121
 
18065
- # Contains the output of GetConsoleOutput.
18066
- #
18067
18122
  # @!attribute [rw] instance_id
18068
18123
  # The ID of the instance.
18069
18124
  # @return [String]
@@ -18086,8 +18141,6 @@ module Aws::EC2
18086
18141
  include Aws::Structure
18087
18142
  end
18088
18143
 
18089
- # Contains the parameters for the request.
18090
- #
18091
18144
  # @note When making an API call, you may pass GetConsoleScreenshotRequest
18092
18145
  # data as a hash:
18093
18146
  #
@@ -18122,8 +18175,6 @@ module Aws::EC2
18122
18175
  include Aws::Structure
18123
18176
  end
18124
18177
 
18125
- # Contains the output of the request.
18126
- #
18127
18178
  # @!attribute [rw] image_data
18128
18179
  # The data that comprises the image.
18129
18180
  # @return [String]
@@ -18232,8 +18283,6 @@ module Aws::EC2
18232
18283
  include Aws::Structure
18233
18284
  end
18234
18285
 
18235
- # Contains the parameters for GetPasswordData.
18236
- #
18237
18286
  # @note When making an API call, you may pass GetPasswordDataRequest
18238
18287
  # data as a hash:
18239
18288
  #
@@ -18261,8 +18310,6 @@ module Aws::EC2
18261
18310
  include Aws::Structure
18262
18311
  end
18263
18312
 
18264
- # Contains the output of GetPasswordData.
18265
- #
18266
18313
  # @!attribute [rw] instance_id
18267
18314
  # The ID of the Windows instance.
18268
18315
  # @return [String]
@@ -18632,6 +18679,61 @@ module Aws::EC2
18632
18679
  include Aws::Structure
18633
18680
  end
18634
18681
 
18682
+ # Indicates whether your instance is configured for hibernation. This
18683
+ # parameter is valid only if the instance meets the [hibernation
18684
+ # prerequisites][1]. Hibernation is currently supported only for Amazon
18685
+ # Linux. For more information, see [Hibernate Your Instance][2] in the
18686
+ # *Amazon Elastic Compute Cloud User Guide*.
18687
+ #
18688
+ #
18689
+ #
18690
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites
18691
+ # [2]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
18692
+ #
18693
+ # @!attribute [rw] configured
18694
+ # If this parameter is set to `true`, your instance is enabled for
18695
+ # hibernation; otherwise, it is not enabled for hibernation.
18696
+ # @return [Boolean]
18697
+ #
18698
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HibernationOptions AWS API Documentation
18699
+ #
18700
+ class HibernationOptions < Struct.new(
18701
+ :configured)
18702
+ include Aws::Structure
18703
+ end
18704
+
18705
+ # Indicates whether your instance is configured for hibernation. This
18706
+ # parameter is valid only if the instance meets the [hibernation
18707
+ # prerequisites][1]. Hibernation is currently supported only for Amazon
18708
+ # Linux. For more information, see [Hibernate Your Instance][2] in the
18709
+ # *Amazon Elastic Compute Cloud User Guide*.
18710
+ #
18711
+ #
18712
+ #
18713
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites
18714
+ # [2]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
18715
+ #
18716
+ # @note When making an API call, you may pass HibernationOptionsRequest
18717
+ # data as a hash:
18718
+ #
18719
+ # {
18720
+ # configured: false,
18721
+ # }
18722
+ #
18723
+ # @!attribute [rw] configured
18724
+ # If you set this parameter to `true`, your instance is enabled for
18725
+ # hibernation.
18726
+ #
18727
+ # Default: `false`
18728
+ # @return [Boolean]
18729
+ #
18730
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HibernationOptionsRequest AWS API Documentation
18731
+ #
18732
+ class HibernationOptionsRequest < Struct.new(
18733
+ :configured)
18734
+ include Aws::Structure
18735
+ end
18736
+
18635
18737
  # Describes an event in the history of the Spot Fleet request.
18636
18738
  #
18637
18739
  # @!attribute [rw] event_information
@@ -20338,6 +20440,10 @@ module Aws::EC2
20338
20440
  # The Elastic GPU associated with the instance.
20339
20441
  # @return [Array<Types::ElasticGpuAssociation>]
20340
20442
  #
20443
+ # @!attribute [rw] elastic_inference_accelerator_associations
20444
+ # The elastic inference accelerator associated with the instance.
20445
+ # @return [Array<Types::ElasticInferenceAcceleratorAssociation>]
20446
+ #
20341
20447
  # @!attribute [rw] network_interfaces
20342
20448
  # \[EC2-VPC\] One or more network interfaces for the instance.
20343
20449
  # @return [Array<Types::InstanceNetworkInterface>]
@@ -20402,6 +20508,14 @@ module Aws::EC2
20402
20508
  # Information about the Capacity Reservation targeting option.
20403
20509
  # @return [Types::CapacityReservationSpecificationResponse]
20404
20510
  #
20511
+ # @!attribute [rw] hibernation_options
20512
+ # Indicates whether the instance is enabled for hibernation.
20513
+ # @return [Types::HibernationOptions]
20514
+ #
20515
+ # @!attribute [rw] licenses
20516
+ # The license configurations.
20517
+ # @return [Array<Types::LicenseConfiguration>]
20518
+ #
20405
20519
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Instance AWS API Documentation
20406
20520
  #
20407
20521
  class Instance < Struct.new(
@@ -20434,6 +20548,7 @@ module Aws::EC2
20434
20548
  :iam_instance_profile,
20435
20549
  :instance_lifecycle,
20436
20550
  :elastic_gpu_associations,
20551
+ :elastic_inference_accelerator_associations,
20437
20552
  :network_interfaces,
20438
20553
  :root_device_name,
20439
20554
  :root_device_type,
@@ -20446,7 +20561,9 @@ module Aws::EC2
20446
20561
  :virtualization_type,
20447
20562
  :cpu_options,
20448
20563
  :capacity_reservation_id,
20449
- :capacity_reservation_specification)
20564
+ :capacity_reservation_specification,
20565
+ :hibernation_options,
20566
+ :licenses)
20450
20567
  include Aws::Structure
20451
20568
  end
20452
20569
 
@@ -22119,6 +22236,85 @@ module Aws::EC2
22119
22236
  include Aws::Structure
22120
22237
  end
22121
22238
 
22239
+ # Describes an elastic inference accelerator.
22240
+ #
22241
+ # @note When making an API call, you may pass LaunchTemplateElasticInferenceAccelerator
22242
+ # data as a hash:
22243
+ #
22244
+ # {
22245
+ # type: "String", # required
22246
+ # }
22247
+ #
22248
+ # @!attribute [rw] type
22249
+ # The type of elastic inference accelerator. The possible values are
22250
+ # eia1.medium, eia1.large, and eia1.xlarge.
22251
+ # @return [String]
22252
+ #
22253
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateElasticInferenceAccelerator AWS API Documentation
22254
+ #
22255
+ class LaunchTemplateElasticInferenceAccelerator < Struct.new(
22256
+ :type)
22257
+ include Aws::Structure
22258
+ end
22259
+
22260
+ # Describes an elastic inference accelerator.
22261
+ #
22262
+ # @!attribute [rw] type
22263
+ # The type of elastic inference accelerator. The possible values are
22264
+ # eia1.medium, eia1.large, and eia1.xlarge.
22265
+ # @return [String]
22266
+ #
22267
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateElasticInferenceAcceleratorResponse AWS API Documentation
22268
+ #
22269
+ class LaunchTemplateElasticInferenceAcceleratorResponse < Struct.new(
22270
+ :type)
22271
+ include Aws::Structure
22272
+ end
22273
+
22274
+ # Indicates whether an instance is configured for hibernation.
22275
+ #
22276
+ # @!attribute [rw] configured
22277
+ # If this parameter is set to `true`, the instance is enabled for
22278
+ # hibernation; otherwise, it is not enabled for hibernation.
22279
+ # @return [Boolean]
22280
+ #
22281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateHibernationOptions AWS API Documentation
22282
+ #
22283
+ class LaunchTemplateHibernationOptions < Struct.new(
22284
+ :configured)
22285
+ include Aws::Structure
22286
+ end
22287
+
22288
+ # Indicates whether the instance is configured for hibernation. This
22289
+ # parameter is valid only if the instance meets the [hibernation
22290
+ # prerequisites][1]. Hibernation is currently supported only for Amazon
22291
+ # Linux.
22292
+ #
22293
+ #
22294
+ #
22295
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites
22296
+ #
22297
+ # @note When making an API call, you may pass LaunchTemplateHibernationOptionsRequest
22298
+ # data as a hash:
22299
+ #
22300
+ # {
22301
+ # configured: false,
22302
+ # }
22303
+ #
22304
+ # @!attribute [rw] configured
22305
+ # If you set this parameter to `true`, the instance is enabled for
22306
+ # hibernation.
22307
+ #
22308
+ # Default: `false`
22309
+ # @return [Boolean]
22310
+ #
22311
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateHibernationOptionsRequest AWS API Documentation
22312
+ #
22313
+ class LaunchTemplateHibernationOptionsRequest < Struct.new(
22314
+ :configured)
22315
+ include Aws::Structure
22316
+ end
22317
+
22122
22318
  # Describes an IAM instance profile.
22123
22319
  #
22124
22320
  # @!attribute [rw] arn
@@ -22387,6 +22583,39 @@ module Aws::EC2
22387
22583
  include Aws::Structure
22388
22584
  end
22389
22585
 
22586
+ # Describes a license configuration.
22587
+ #
22588
+ # @!attribute [rw] license_configuration_arn
22589
+ # The Amazon Resource Name (ARN) of the license configuration.
22590
+ # @return [String]
22591
+ #
22592
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateLicenseConfiguration AWS API Documentation
22593
+ #
22594
+ class LaunchTemplateLicenseConfiguration < Struct.new(
22595
+ :license_configuration_arn)
22596
+ include Aws::Structure
22597
+ end
22598
+
22599
+ # Describes a license configuration.
22600
+ #
22601
+ # @note When making an API call, you may pass LaunchTemplateLicenseConfigurationRequest
22602
+ # data as a hash:
22603
+ #
22604
+ # {
22605
+ # license_configuration_arn: "String",
22606
+ # }
22607
+ #
22608
+ # @!attribute [rw] license_configuration_arn
22609
+ # The Amazon Resource Name (ARN) of the license configuration.
22610
+ # @return [String]
22611
+ #
22612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateLicenseConfigurationRequest AWS API Documentation
22613
+ #
22614
+ class LaunchTemplateLicenseConfigurationRequest < Struct.new(
22615
+ :license_configuration_arn)
22616
+ include Aws::Structure
22617
+ end
22618
+
22390
22619
  # Describes overrides for a launch template.
22391
22620
  #
22392
22621
  # @note When making an API call, you may pass LaunchTemplateOverrides
@@ -22484,7 +22713,7 @@ module Aws::EC2
22484
22713
  include Aws::Structure
22485
22714
  end
22486
22715
 
22487
- # The placement for the instance.
22716
+ # Describes the placement of an instance.
22488
22717
  #
22489
22718
  # @note When making an API call, you may pass LaunchTemplatePlacementRequest
22490
22719
  # data as a hash:
@@ -22796,6 +23025,39 @@ module Aws::EC2
22796
23025
  include Aws::Structure
22797
23026
  end
22798
23027
 
23028
+ # Describes a license configuration.
23029
+ #
23030
+ # @!attribute [rw] license_configuration_arn
23031
+ # The Amazon Resource Name (ARN) of the license configuration.
23032
+ # @return [String]
23033
+ #
23034
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LicenseConfiguration AWS API Documentation
23035
+ #
23036
+ class LicenseConfiguration < Struct.new(
23037
+ :license_configuration_arn)
23038
+ include Aws::Structure
23039
+ end
23040
+
23041
+ # Describes a license configuration.
23042
+ #
23043
+ # @note When making an API call, you may pass LicenseConfigurationRequest
23044
+ # data as a hash:
23045
+ #
23046
+ # {
23047
+ # license_configuration_arn: "String",
23048
+ # }
23049
+ #
23050
+ # @!attribute [rw] license_configuration_arn
23051
+ # The Amazon Resource Name (ARN) of the license configuration.
23052
+ # @return [String]
23053
+ #
23054
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LicenseConfigurationRequest AWS API Documentation
23055
+ #
23056
+ class LicenseConfigurationRequest < Struct.new(
23057
+ :license_configuration_arn)
23058
+ include Aws::Structure
23059
+ end
23060
+
22799
23061
  # Describes the Classic Load Balancers and target groups to attach to a
22800
23062
  # Spot Fleet request.
22801
23063
  #
@@ -23373,8 +23635,6 @@ module Aws::EC2
23373
23635
  include Aws::Structure
23374
23636
  end
23375
23637
 
23376
- # Contains the parameters for ModifyInstanceAttribute.
23377
- #
23378
23638
  # @note When making an API call, you may pass ModifyInstanceAttributeRequest
23379
23639
  # data as a hash:
23380
23640
  #
@@ -24728,8 +24988,6 @@ module Aws::EC2
24728
24988
  include Aws::Structure
24729
24989
  end
24730
24990
 
24731
- # Contains the parameters for MonitorInstances.
24732
- #
24733
24991
  # @note When making an API call, you may pass MonitorInstancesRequest
24734
24992
  # data as a hash:
24735
24993
  #
@@ -24757,8 +25015,6 @@ module Aws::EC2
24757
25015
  include Aws::Structure
24758
25016
  end
24759
25017
 
24760
- # Contains the output of MonitorInstances.
24761
- #
24762
25018
  # @!attribute [rw] instance_monitorings
24763
25019
  # The monitoring information.
24764
25020
  # @return [Array<Types::InstanceMonitoring>]
@@ -26429,8 +26685,6 @@ module Aws::EC2
26429
26685
  include Aws::Structure
26430
26686
  end
26431
26687
 
26432
- # Contains the parameters for RebootInstances.
26433
- #
26434
26688
  # @note When making an API call, you may pass RebootInstancesRequest
26435
26689
  # data as a hash:
26436
26690
  #
@@ -27195,8 +27449,6 @@ module Aws::EC2
27195
27449
  include Aws::Structure
27196
27450
  end
27197
27451
 
27198
- # Contains the parameters for ReportInstanceStatus.
27199
- #
27200
27452
  # @note When making an API call, you may pass ReportInstanceStatusRequest
27201
27453
  # data as a hash:
27202
27454
  #
@@ -27367,6 +27619,11 @@ module Aws::EC2
27367
27619
  # type: "String", # required
27368
27620
  # },
27369
27621
  # ],
27622
+ # elastic_inference_accelerators: [
27623
+ # {
27624
+ # type: "String", # required
27625
+ # },
27626
+ # ],
27370
27627
  # security_group_ids: ["String"],
27371
27628
  # security_groups: ["String"],
27372
27629
  # instance_market_options: {
@@ -27392,6 +27649,14 @@ module Aws::EC2
27392
27649
  # capacity_reservation_id: "String",
27393
27650
  # },
27394
27651
  # },
27652
+ # hibernation_options: {
27653
+ # configured: false,
27654
+ # },
27655
+ # license_specifications: [
27656
+ # {
27657
+ # license_configuration_arn: "String",
27658
+ # },
27659
+ # ],
27395
27660
  # }
27396
27661
  #
27397
27662
  # @!attribute [rw] kernel_id
@@ -27512,6 +27777,10 @@ module Aws::EC2
27512
27777
  # An elastic GPU to associate with the instance.
27513
27778
  # @return [Array<Types::ElasticGpuSpecification>]
27514
27779
  #
27780
+ # @!attribute [rw] elastic_inference_accelerators
27781
+ # The elastic inference accelerator for the instance.
27782
+ # @return [Array<Types::LaunchTemplateElasticInferenceAccelerator>]
27783
+ #
27515
27784
  # @!attribute [rw] security_group_ids
27516
27785
  # One or more security group IDs. You can create a security group
27517
27786
  # using CreateSecurityGroup. You cannot specify both a security group
@@ -27545,9 +27814,26 @@ module Aws::EC2
27545
27814
  # @return [Types::LaunchTemplateCpuOptionsRequest]
27546
27815
  #
27547
27816
  # @!attribute [rw] capacity_reservation_specification
27548
- # Information about the Capacity Reservation targeting option.
27817
+ # The Capacity Reservation targeting option.
27549
27818
  # @return [Types::LaunchTemplateCapacityReservationSpecificationRequest]
27550
27819
  #
27820
+ # @!attribute [rw] hibernation_options
27821
+ # Indicates whether an instance is enabled for hibernation. This
27822
+ # parameter is valid only if the instance meets the [hibernation
27823
+ # prerequisites][1]. Hibernation is currently supported only for
27824
+ # Amazon Linux. For more information, see [Hibernate Your Instance][2]
27825
+ # in the *Amazon Elastic Compute Cloud User Guide*.
27826
+ #
27827
+ #
27828
+ #
27829
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites
27830
+ # [2]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
27831
+ # @return [Types::LaunchTemplateHibernationOptionsRequest]
27832
+ #
27833
+ # @!attribute [rw] license_specifications
27834
+ # The license configurations.
27835
+ # @return [Array<Types::LaunchTemplateLicenseConfigurationRequest>]
27836
+ #
27551
27837
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestLaunchTemplateData AWS API Documentation
27552
27838
  #
27553
27839
  class RequestLaunchTemplateData < Struct.new(
@@ -27567,12 +27853,15 @@ module Aws::EC2
27567
27853
  :user_data,
27568
27854
  :tag_specifications,
27569
27855
  :elastic_gpu_specifications,
27856
+ :elastic_inference_accelerators,
27570
27857
  :security_group_ids,
27571
27858
  :security_groups,
27572
27859
  :instance_market_options,
27573
27860
  :credit_specification,
27574
27861
  :cpu_options,
27575
- :capacity_reservation_specification)
27862
+ :capacity_reservation_specification,
27863
+ :hibernation_options,
27864
+ :license_specifications)
27576
27865
  include Aws::Structure
27577
27866
  end
27578
27867
 
@@ -28739,8 +29028,6 @@ module Aws::EC2
28739
29028
  include Aws::Structure
28740
29029
  end
28741
29030
 
28742
- # Contains the parameters for ResetInstanceAttribute.
28743
- #
28744
29031
  # @note When making an API call, you may pass ResetInstanceAttributeRequest
28745
29032
  # data as a hash:
28746
29033
  #
@@ -28938,6 +29225,10 @@ module Aws::EC2
28938
29225
  # The elastic GPU specification.
28939
29226
  # @return [Array<Types::ElasticGpuSpecificationResponse>]
28940
29227
  #
29228
+ # @!attribute [rw] elastic_inference_accelerators
29229
+ # The elastic inference accelerator for the instance.
29230
+ # @return [Array<Types::LaunchTemplateElasticInferenceAcceleratorResponse>]
29231
+ #
28941
29232
  # @!attribute [rw] security_group_ids
28942
29233
  # The security group IDs.
28943
29234
  # @return [Array<String>]
@@ -28968,6 +29259,20 @@ module Aws::EC2
28968
29259
  # Information about the Capacity Reservation targeting option.
28969
29260
  # @return [Types::LaunchTemplateCapacityReservationSpecificationResponse]
28970
29261
  #
29262
+ # @!attribute [rw] hibernation_options
29263
+ # Indicates whether an instance is configured for hibernation. For
29264
+ # more information, see [Hibernate Your Instance][1] in the *Amazon
29265
+ # Elastic Compute Cloud User Guide*.
29266
+ #
29267
+ #
29268
+ #
29269
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
29270
+ # @return [Types::LaunchTemplateHibernationOptions]
29271
+ #
29272
+ # @!attribute [rw] license_specifications
29273
+ # The license configurations.
29274
+ # @return [Array<Types::LaunchTemplateLicenseConfiguration>]
29275
+ #
28971
29276
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResponseLaunchTemplateData AWS API Documentation
28972
29277
  #
28973
29278
  class ResponseLaunchTemplateData < Struct.new(
@@ -28987,12 +29292,15 @@ module Aws::EC2
28987
29292
  :user_data,
28988
29293
  :tag_specifications,
28989
29294
  :elastic_gpu_specifications,
29295
+ :elastic_inference_accelerators,
28990
29296
  :security_group_ids,
28991
29297
  :security_groups,
28992
29298
  :instance_market_options,
28993
29299
  :credit_specification,
28994
29300
  :cpu_options,
28995
- :capacity_reservation_specification)
29301
+ :capacity_reservation_specification,
29302
+ :hibernation_options,
29303
+ :license_specifications)
28996
29304
  include Aws::Structure
28997
29305
  end
28998
29306
 
@@ -29462,8 +29770,6 @@ module Aws::EC2
29462
29770
  include Aws::Structure
29463
29771
  end
29464
29772
 
29465
- # Contains the parameters for RunInstances.
29466
- #
29467
29773
  # @note When making an API call, you may pass RunInstancesRequest
29468
29774
  # data as a hash:
29469
29775
  #
@@ -29553,6 +29859,11 @@ module Aws::EC2
29553
29859
  # type: "String", # required
29554
29860
  # },
29555
29861
  # ],
29862
+ # elastic_inference_accelerators: [
29863
+ # {
29864
+ # type: "String", # required
29865
+ # },
29866
+ # ],
29556
29867
  # tag_specifications: [
29557
29868
  # {
29558
29869
  # resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
@@ -29592,6 +29903,14 @@ module Aws::EC2
29592
29903
  # capacity_reservation_id: "String",
29593
29904
  # },
29594
29905
  # },
29906
+ # hibernation_options: {
29907
+ # configured: false,
29908
+ # },
29909
+ # license_specifications: [
29910
+ # {
29911
+ # license_configuration_arn: "String",
29912
+ # },
29913
+ # ],
29595
29914
  # }
29596
29915
  #
29597
29916
  # @!attribute [rw] block_device_mappings
@@ -29817,6 +30136,10 @@ module Aws::EC2
29817
30136
  # An elastic GPU to associate with the instance.
29818
30137
  # @return [Array<Types::ElasticGpuSpecification>]
29819
30138
  #
30139
+ # @!attribute [rw] elastic_inference_accelerators
30140
+ # An elastic inference accelerator.
30141
+ # @return [Array<Types::ElasticInferenceAccelerator>]
30142
+ #
29820
30143
  # @!attribute [rw] tag_specifications
29821
30144
  # The tags to apply to the resources during launch. You can only tag
29822
30145
  # instances and volumes on launch. The specified tags are applied to
@@ -29867,6 +30190,20 @@ module Aws::EC2
29867
30190
  # Information about the Capacity Reservation targeting option.
29868
30191
  # @return [Types::CapacityReservationSpecification]
29869
30192
  #
30193
+ # @!attribute [rw] hibernation_options
30194
+ # Indicates whether an instance is enabled for hibernation. For more
30195
+ # information, see [Hibernate Your Instance][1] in the *Amazon Elastic
30196
+ # Compute Cloud User Guide*.
30197
+ #
30198
+ #
30199
+ #
30200
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
30201
+ # @return [Types::HibernationOptionsRequest]
30202
+ #
30203
+ # @!attribute [rw] license_specifications
30204
+ # The license configurations.
30205
+ # @return [Array<Types::LicenseConfigurationRequest>]
30206
+ #
29870
30207
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstancesRequest AWS API Documentation
29871
30208
  #
29872
30209
  class RunInstancesRequest < Struct.new(
@@ -29896,12 +30233,15 @@ module Aws::EC2
29896
30233
  :network_interfaces,
29897
30234
  :private_ip_address,
29898
30235
  :elastic_gpu_specification,
30236
+ :elastic_inference_accelerators,
29899
30237
  :tag_specifications,
29900
30238
  :launch_template,
29901
30239
  :instance_market_options,
29902
30240
  :credit_specification,
29903
30241
  :cpu_options,
29904
- :capacity_reservation_specification)
30242
+ :capacity_reservation_specification,
30243
+ :hibernation_options,
30244
+ :license_specifications)
29905
30245
  include Aws::Structure
29906
30246
  end
29907
30247
 
@@ -32582,8 +32922,6 @@ module Aws::EC2
32582
32922
  include Aws::Structure
32583
32923
  end
32584
32924
 
32585
- # Contains the parameters for StartInstances.
32586
- #
32587
32925
  # @note When making an API call, you may pass StartInstancesRequest
32588
32926
  # data as a hash:
32589
32927
  #
@@ -32617,8 +32955,6 @@ module Aws::EC2
32617
32955
  include Aws::Structure
32618
32956
  end
32619
32957
 
32620
- # Contains the output of StartInstances.
32621
- #
32622
32958
  # @!attribute [rw] starting_instances
32623
32959
  # Information about one or more started instances.
32624
32960
  # @return [Array<Types::InstanceStateChange>]
@@ -32670,6 +33006,9 @@ module Aws::EC2
32670
33006
  # * `Client.InvalidSnapshot.NotFound`\: The specified snapshot was not
32671
33007
  # found.
32672
33008
  #
33009
+ # * `Client.UserInitiatedHibernate`\: Hibernation was initiated on the
33010
+ # instance.
33011
+ #
32673
33012
  # * `Client.UserInitiatedShutdown`\: The instance was shut down using
32674
33013
  # the Amazon EC2 API.
32675
33014
  #
@@ -32686,13 +33025,12 @@ module Aws::EC2
32686
33025
  include Aws::Structure
32687
33026
  end
32688
33027
 
32689
- # Contains the parameters for StopInstances.
32690
- #
32691
33028
  # @note When making an API call, you may pass StopInstancesRequest
32692
33029
  # data as a hash:
32693
33030
  #
32694
33031
  # {
32695
33032
  # instance_ids: ["String"], # required
33033
+ # hibernate: false,
32696
33034
  # dry_run: false,
32697
33035
  # force: false,
32698
33036
  # }
@@ -32701,6 +33039,19 @@ module Aws::EC2
32701
33039
  # One or more instance IDs.
32702
33040
  # @return [Array<String>]
32703
33041
  #
33042
+ # @!attribute [rw] hibernate
33043
+ # Hibernates the instance if the instance was enabled for hibernation
33044
+ # at launch. If the instance cannot hibernate successfully, a normal
33045
+ # shutdown occurs. For more information, see [Hibernate Your
33046
+ # Instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
33047
+ #
33048
+ # Default: `false`
33049
+ #
33050
+ #
33051
+ #
33052
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
33053
+ # @return [Boolean]
33054
+ #
32704
33055
  # @!attribute [rw] dry_run
32705
33056
  # Checks whether you have the required permissions for the action,
32706
33057
  # without actually making the request, and provides an error response.
@@ -32721,13 +33072,12 @@ module Aws::EC2
32721
33072
  #
32722
33073
  class StopInstancesRequest < Struct.new(
32723
33074
  :instance_ids,
33075
+ :hibernate,
32724
33076
  :dry_run,
32725
33077
  :force)
32726
33078
  include Aws::Structure
32727
33079
  end
32728
33080
 
32729
- # Contains the output of StopInstances.
32730
- #
32731
33081
  # @!attribute [rw] stopping_instances
32732
33082
  # Information about one or more stopped instances.
32733
33083
  # @return [Array<Types::InstanceStateChange>]
@@ -33215,8 +33565,6 @@ module Aws::EC2
33215
33565
  include Aws::Structure
33216
33566
  end
33217
33567
 
33218
- # Contains the parameters for TerminateInstances.
33219
- #
33220
33568
  # @note When making an API call, you may pass TerminateInstancesRequest
33221
33569
  # data as a hash:
33222
33570
  #
@@ -33247,8 +33595,6 @@ module Aws::EC2
33247
33595
  include Aws::Structure
33248
33596
  end
33249
33597
 
33250
- # Contains the output of TerminateInstances.
33251
- #
33252
33598
  # @!attribute [rw] terminating_instances
33253
33599
  # Information about one or more terminated instances.
33254
33600
  # @return [Array<Types::InstanceStateChange>]
@@ -33869,8 +34215,6 @@ module Aws::EC2
33869
34215
  include Aws::Structure
33870
34216
  end
33871
34217
 
33872
- # Contains the parameters for UnmonitorInstances.
33873
- #
33874
34218
  # @note When making an API call, you may pass UnmonitorInstancesRequest
33875
34219
  # data as a hash:
33876
34220
  #
@@ -33898,8 +34242,6 @@ module Aws::EC2
33898
34242
  include Aws::Structure
33899
34243
  end
33900
34244
 
33901
- # Contains the output of UnmonitorInstances.
33902
- #
33903
34245
  # @!attribute [rw] instance_monitorings
33904
34246
  # The monitoring information.
33905
34247
  # @return [Array<Types::InstanceMonitoring>]