aws-sdk-ec2 1.264.0 → 1.265.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 379465bcc1f1481ff0adc4547535d95dab3ee425995c790dafc788e5828b0864
4
- data.tar.gz: a4fba1cec09e704631944dd27e5afa5566abed1549400bda7216c9cd86b9d12e
3
+ metadata.gz: ab18d3f99007b2d9e68c13a281aece2fbdee9050e3af311445d630da09a1536a
4
+ data.tar.gz: 9f47ba88d2a53de61d10e8ade5971d09f2cfaf613c580c9e7a5412d4ffa82c86
5
5
  SHA512:
6
- metadata.gz: 19307403249414fb45134c6c7b4cd33dfa86f4d8d87a866706182057ebd9212084fcdad2328c5a43333ff6602ccfc53272597aae508c314dad078f8f2db37f68
7
- data.tar.gz: d69304b3d20012d09f5f4bc299fee273223f464a68e4a277478c471650ccbd2f345c609218dfa23155d6bdc75e63be71c926315791995a9c0bced288786da4cb
6
+ metadata.gz: 61a10655a51276a68c8945078b1d70eea6586499ccf76feaf900a26ddb27156cd3f0b8539ef3932f445e096cbd71e1090894e9a0b25ba58d018911cd305a1811
7
+ data.tar.gz: 42f59a9b10ed45f0613302d818c01ab604a2999fb9dfff41fe646eadd9a1e451f286d321903b57cd3a753599f5606daabbac54aca0d2e59d5eeb75c04249ba41
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.265.0 (2021-09-24)
5
+ ------------------
6
+
7
+ * Feature - DescribeInstances now returns Platform Details, Usage Operation, and Usage Operation Update Time.
8
+
4
9
  1.264.0 (2021-09-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.264.0
1
+ 1.265.0
@@ -5219,7 +5219,7 @@ module Aws::EC2
5219
5219
  # placement: {
5220
5220
  # availability_zone: "String",
5221
5221
  # affinity: "String",
5222
- # group_name: "String",
5222
+ # group_name: "PlacementGroupName",
5223
5223
  # partition_number: 1,
5224
5224
  # host_id: "String",
5225
5225
  # tenancy: "default", # accepts default, dedicated, host
@@ -19982,6 +19982,9 @@ module Aws::EC2
19982
19982
  # resp.reservations[0].instances[0].metadata_options.http_protocol_ipv_6 #=> String, one of "disabled", "enabled"
19983
19983
  # resp.reservations[0].instances[0].enclave_options.enabled #=> Boolean
19984
19984
  # resp.reservations[0].instances[0].boot_mode #=> String, one of "legacy-bios", "uefi"
19985
+ # resp.reservations[0].instances[0].platform_details #=> String
19986
+ # resp.reservations[0].instances[0].usage_operation #=> String
19987
+ # resp.reservations[0].instances[0].usage_operation_update_time #=> Time
19985
19988
  # resp.reservations[0].owner_id #=> String
19986
19989
  # resp.reservations[0].requester_id #=> String
19987
19990
  # resp.reservations[0].reservation_id #=> String
@@ -33357,7 +33360,7 @@ module Aws::EC2
33357
33360
  # placement: {
33358
33361
  # availability_zone: "String",
33359
33362
  # affinity: "String",
33360
- # group_name: "String",
33363
+ # group_name: "PlacementGroupName",
33361
33364
  # partition_number: 1,
33362
33365
  # host_id: "String",
33363
33366
  # tenancy: "default", # accepts default, dedicated, host
@@ -34269,7 +34272,7 @@ module Aws::EC2
34269
34272
  # placement: {
34270
34273
  # availability_zone: "String",
34271
34274
  # affinity: "String",
34272
- # group_name: "String",
34275
+ # group_name: "PlacementGroupName",
34273
34276
  # partition_number: 1,
34274
34277
  # host_id: "String",
34275
34278
  # tenancy: "default", # accepts default, dedicated, host
@@ -35349,8 +35352,7 @@ module Aws::EC2
35349
35352
  #
35350
35353
  # * Change the Dedicated Host with which an instance is associated.
35351
35354
  #
35352
- # * Change the instance tenancy of an instance from `host` to
35353
- # `dedicated`, or from `dedicated` to `host`.
35355
+ # * Change the instance tenancy of an instance.
35354
35356
  #
35355
35357
  # * Move an instance to or from a [placement group][2].
35356
35358
  #
@@ -35387,11 +35389,13 @@ module Aws::EC2
35387
35389
  # @option params [String] :tenancy
35388
35390
  # The tenancy for the instance.
35389
35391
  #
35390
- # For T3 instances, you can't change the tenancy from `dedicated` to
35392
+ # <note markdown="1"> For T3 instances, you can't change the tenancy from `dedicated` to
35391
35393
  # `host`, or from `host` to `dedicated`. Attempting to make one of these
35392
35394
  # unsupported tenancy changes results in the `InvalidTenancy` error
35393
35395
  # code.
35394
35396
  #
35397
+ # </note>
35398
+ #
35395
35399
  # @option params [Integer] :partition_number
35396
35400
  # Reserved for future use.
35397
35401
  #
@@ -41764,7 +41768,7 @@ module Aws::EC2
41764
41768
  # placement: {
41765
41769
  # availability_zone: "String",
41766
41770
  # affinity: "String",
41767
- # group_name: "String",
41771
+ # group_name: "PlacementGroupName",
41768
41772
  # partition_number: 1,
41769
41773
  # host_id: "String",
41770
41774
  # tenancy: "default", # accepts default, dedicated, host
@@ -42027,6 +42031,9 @@ module Aws::EC2
42027
42031
  # resp.instances[0].metadata_options.http_protocol_ipv_6 #=> String, one of "disabled", "enabled"
42028
42032
  # resp.instances[0].enclave_options.enabled #=> Boolean
42029
42033
  # resp.instances[0].boot_mode #=> String, one of "legacy-bios", "uefi"
42034
+ # resp.instances[0].platform_details #=> String
42035
+ # resp.instances[0].usage_operation #=> String
42036
+ # resp.instances[0].usage_operation_update_time #=> Time
42030
42037
  # resp.owner_id #=> String
42031
42038
  # resp.requester_id #=> String
42032
42039
  # resp.reservation_id #=> String
@@ -43756,7 +43763,7 @@ module Aws::EC2
43756
43763
  params: params,
43757
43764
  config: config)
43758
43765
  context[:gem_name] = 'aws-sdk-ec2'
43759
- context[:gem_version] = '1.264.0'
43766
+ context[:gem_version] = '1.265.0'
43760
43767
  Seahorse::Client::Request.new(handlers, context)
43761
43768
  end
43762
43769
 
@@ -7393,6 +7393,9 @@ module Aws::EC2
7393
7393
  Instance.add_member(:metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptionsResponse, location_name: "metadataOptions"))
7394
7394
  Instance.add_member(:enclave_options, Shapes::ShapeRef.new(shape: EnclaveOptions, location_name: "enclaveOptions"))
7395
7395
  Instance.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "bootMode"))
7396
+ Instance.add_member(:platform_details, Shapes::ShapeRef.new(shape: String, location_name: "platformDetails"))
7397
+ Instance.add_member(:usage_operation, Shapes::ShapeRef.new(shape: String, location_name: "usageOperation"))
7398
+ Instance.add_member(:usage_operation_update_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "usageOperationUpdateTime"))
7396
7399
  Instance.struct_class = Types::Instance
7397
7400
 
7398
7401
  InstanceAttribute.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierList, location_name: "groupSet"))
@@ -9130,7 +9133,7 @@ module Aws::EC2
9130
9133
 
9131
9134
  Placement.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
9132
9135
  Placement.add_member(:affinity, Shapes::ShapeRef.new(shape: String, location_name: "affinity"))
9133
- Placement.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
9136
+ Placement.add_member(:group_name, Shapes::ShapeRef.new(shape: PlacementGroupName, location_name: "groupName"))
9134
9137
  Placement.add_member(:partition_number, Shapes::ShapeRef.new(shape: Integer, location_name: "partitionNumber"))
9135
9138
  Placement.add_member(:host_id, Shapes::ShapeRef.new(shape: String, location_name: "hostId"))
9136
9139
  Placement.add_member(:tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "tenancy"))
@@ -319,7 +319,7 @@ module Aws::EC2
319
319
  data[:hibernation_options]
320
320
  end
321
321
 
322
- # The license configurations.
322
+ # The license configurations for the instance.
323
323
  # @return [Array<Types::LicenseConfiguration>]
324
324
  def licenses
325
325
  data[:licenses]
@@ -349,6 +349,34 @@ module Aws::EC2
349
349
  data[:boot_mode]
350
350
  end
351
351
 
352
+ # The platform details value for the instance. For more information, see
353
+ # [AMI billing information fields][1] in the *Amazon EC2 User Guide*.
354
+ #
355
+ #
356
+ #
357
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html
358
+ # @return [String]
359
+ def platform_details
360
+ data[:platform_details]
361
+ end
362
+
363
+ # The usage operation value for the instance. For more information, see
364
+ # [AMI billing information fields][1] in the *Amazon EC2 User Guide*.
365
+ #
366
+ #
367
+ #
368
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html
369
+ # @return [String]
370
+ def usage_operation
371
+ data[:usage_operation]
372
+ end
373
+
374
+ # The time that the usage operation was last updated.
375
+ # @return [Time]
376
+ def usage_operation_update_time
377
+ data[:usage_operation_update_time]
378
+ end
379
+
352
380
  # @!endgroup
353
381
 
354
382
  # @return [Client]
@@ -116,7 +116,7 @@ module Aws::EC2
116
116
  # placement: {
117
117
  # availability_zone: "String",
118
118
  # affinity: "String",
119
- # group_name: "String",
119
+ # group_name: "PlacementGroupName",
120
120
  # partition_number: 1,
121
121
  # host_id: "String",
122
122
  # tenancy: "default", # accepts default, dedicated, host
@@ -311,7 +311,7 @@ module Aws::EC2
311
311
  # placement: {
312
312
  # availability_zone: "String",
313
313
  # affinity: "String",
314
- # group_name: "String",
314
+ # group_name: "PlacementGroupName",
315
315
  # partition_number: 1,
316
316
  # host_id: "String",
317
317
  # tenancy: "default", # accepts default, dedicated, host
@@ -6632,7 +6632,7 @@ module Aws::EC2
6632
6632
  # placement: {
6633
6633
  # availability_zone: "String",
6634
6634
  # affinity: "String",
6635
- # group_name: "String",
6635
+ # group_name: "PlacementGroupName",
6636
6636
  # partition_number: 1,
6637
6637
  # host_id: "String",
6638
6638
  # tenancy: "default", # accepts default, dedicated, host
@@ -30049,7 +30049,7 @@ module Aws::EC2
30049
30049
  # placement: {
30050
30050
  # availability_zone: "String",
30051
30051
  # affinity: "String",
30052
- # group_name: "String",
30052
+ # group_name: "PlacementGroupName",
30053
30053
  # partition_number: 1,
30054
30054
  # host_id: "String",
30055
30055
  # tenancy: "default", # accepts default, dedicated, host
@@ -30157,7 +30157,7 @@ module Aws::EC2
30157
30157
  # placement: {
30158
30158
  # availability_zone: "String",
30159
30159
  # affinity: "String",
30160
- # group_name: "String",
30160
+ # group_name: "PlacementGroupName",
30161
30161
  # partition_number: 1,
30162
30162
  # host_id: "String",
30163
30163
  # tenancy: "default", # accepts default, dedicated, host
@@ -33914,7 +33914,7 @@ module Aws::EC2
33914
33914
  # placement: {
33915
33915
  # availability_zone: "String",
33916
33916
  # affinity: "String",
33917
- # group_name: "String",
33917
+ # group_name: "PlacementGroupName",
33918
33918
  # partition_number: 1,
33919
33919
  # host_id: "String",
33920
33920
  # tenancy: "default", # accepts default, dedicated, host
@@ -34029,7 +34029,7 @@ module Aws::EC2
34029
34029
  # placement: {
34030
34030
  # availability_zone: "String",
34031
34031
  # affinity: "String",
34032
- # group_name: "String",
34032
+ # group_name: "PlacementGroupName",
34033
34033
  # partition_number: 1,
34034
34034
  # host_id: "String",
34035
34035
  # tenancy: "default", # accepts default, dedicated, host
@@ -34786,7 +34786,7 @@ module Aws::EC2
34786
34786
  # @return [Types::HibernationOptions]
34787
34787
  #
34788
34788
  # @!attribute [rw] licenses
34789
- # The license configurations.
34789
+ # The license configurations for the instance.
34790
34790
  # @return [Array<Types::LicenseConfiguration>]
34791
34791
  #
34792
34792
  # @!attribute [rw] metadata_options
@@ -34807,6 +34807,30 @@ module Aws::EC2
34807
34807
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
34808
34808
  # @return [String]
34809
34809
  #
34810
+ # @!attribute [rw] platform_details
34811
+ # The platform details value for the instance. For more information,
34812
+ # see [AMI billing information fields][1] in the *Amazon EC2 User
34813
+ # Guide*.
34814
+ #
34815
+ #
34816
+ #
34817
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html
34818
+ # @return [String]
34819
+ #
34820
+ # @!attribute [rw] usage_operation
34821
+ # The usage operation value for the instance. For more information,
34822
+ # see [AMI billing information fields][1] in the *Amazon EC2 User
34823
+ # Guide*.
34824
+ #
34825
+ #
34826
+ #
34827
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html
34828
+ # @return [String]
34829
+ #
34830
+ # @!attribute [rw] usage_operation_update_time
34831
+ # The time that the usage operation was last updated.
34832
+ # @return [Time]
34833
+ #
34810
34834
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Instance AWS API Documentation
34811
34835
  #
34812
34836
  class Instance < Struct.new(
@@ -34858,7 +34882,10 @@ module Aws::EC2
34858
34882
  :licenses,
34859
34883
  :metadata_options,
34860
34884
  :enclave_options,
34861
- :boot_mode)
34885
+ :boot_mode,
34886
+ :platform_details,
34887
+ :usage_operation,
34888
+ :usage_operation_update_time)
34862
34889
  SENSITIVE = []
34863
34890
  include Aws::Structure
34864
34891
  end
@@ -39940,7 +39967,7 @@ module Aws::EC2
39940
39967
  # placement: {
39941
39968
  # availability_zone: "String",
39942
39969
  # affinity: "String",
39943
- # group_name: "String",
39970
+ # group_name: "PlacementGroupName",
39944
39971
  # partition_number: 1,
39945
39972
  # host_id: "String",
39946
39973
  # tenancy: "default", # accepts default, dedicated, host
@@ -40971,10 +40998,12 @@ module Aws::EC2
40971
40998
  # @!attribute [rw] tenancy
40972
40999
  # The tenancy for the instance.
40973
41000
  #
40974
- # For T3 instances, you can't change the tenancy from `dedicated` to
41001
+ # <note markdown="1"> For T3 instances, you can't change the tenancy from `dedicated` to
40975
41002
  # `host`, or from `host` to `dedicated`. Attempting to make one of
40976
41003
  # these unsupported tenancy changes results in the `InvalidTenancy`
40977
41004
  # error code.
41005
+ #
41006
+ # </note>
40978
41007
  # @return [String]
40979
41008
  #
40980
41009
  # @!attribute [rw] partition_number
@@ -44849,7 +44878,7 @@ module Aws::EC2
44849
44878
  # {
44850
44879
  # availability_zone: "String",
44851
44880
  # affinity: "String",
44852
- # group_name: "String",
44881
+ # group_name: "PlacementGroupName",
44853
44882
  # partition_number: 1,
44854
44883
  # host_id: "String",
44855
44884
  # tenancy: "default", # accepts default, dedicated, host
@@ -50164,7 +50193,7 @@ module Aws::EC2
50164
50193
  # placement: {
50165
50194
  # availability_zone: "String",
50166
50195
  # affinity: "String",
50167
- # group_name: "String",
50196
+ # group_name: "PlacementGroupName",
50168
50197
  # partition_number: 1,
50169
50198
  # host_id: "String",
50170
50199
  # tenancy: "default", # accepts default, dedicated, host
data/lib/aws-sdk-ec2.rb CHANGED
@@ -72,6 +72,6 @@ require_relative 'aws-sdk-ec2/customizations'
72
72
  # @!group service
73
73
  module Aws::EC2
74
74
 
75
- GEM_VERSION = '1.264.0'
75
+ GEM_VERSION = '1.265.0'
76
76
 
77
77
  end
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.264.0
4
+ version: 1.265.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: 2021-09-21 00:00:00.000000000 Z
11
+ date: 2021-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4