aws-sdk-ec2 1.387.0 → 1.388.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: eabc0cb06017e7b657160fc0493e3a994bfce3490677b1f83a143119b926d9d8
4
- data.tar.gz: fcf0b3214b6608f66490b6a2f559f141bce5ac80bbb0840d32141534326d12fc
3
+ metadata.gz: ef488f781a3148d5db3d97896b80d6504290bd77ce44a6823ec99a484a63e825
4
+ data.tar.gz: e3af5537d0b087be764ca87782261e1b5c39fde393135653fb14db673ad7d18e
5
5
  SHA512:
6
- metadata.gz: ab69708186a4b997ffa24f3876a250dbca58100046226257de3c2e6c8a301be5549325df47747e21e44b427d66072e8388daccd74d3b9308cbde755b6ff41413
7
- data.tar.gz: 73b82f16084d4da685fc113881f17bd637bfaef33f0ccaefd850e295dee0a2ee0899136b4d5566e7613d2ac36593c974ab7b5cec93d5cf44502cebc6ea8cc7f1
6
+ metadata.gz: 2243b8ca6072041c3c7598b5b929d01fa1e26a725294f6a42a4c4c5bf12c211fb7e3141ee778b9cd0651a990d4251fbb2292696f77cb6cdbdb3ede2ff98e1f6f
7
+ data.tar.gz: 3e392ab64503e4ecd3916e2ed0cb89bc051d1347a0dbd8dc19ea06a8d20e8c4278a921130f8115fedf1139eed31b746983d9279470021739c783f25ea5ebfa4b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.388.0 (2023-07-06)
5
+ ------------------
6
+
7
+ * Feature - Add Nitro Enclaves support on DescribeInstanceTypes
8
+
4
9
  1.387.0 (2023-06-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.387.0
1
+ 1.388.0
@@ -28,6 +28,7 @@ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
+ require 'aws-sdk-core/plugins/request_compression.rb'
31
32
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
33
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
34
  require 'aws-sdk-core/plugins/sign.rb'
@@ -79,6 +80,7 @@ module Aws::EC2
79
80
  add_plugin(Aws::Plugins::TransferEncoding)
80
81
  add_plugin(Aws::Plugins::HttpChecksum)
81
82
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
83
+ add_plugin(Aws::Plugins::RequestCompression)
82
84
  add_plugin(Aws::Plugins::DefaultsMode)
83
85
  add_plugin(Aws::Plugins::RecursionDetection)
84
86
  add_plugin(Aws::Plugins::Sign)
@@ -194,6 +196,10 @@ module Aws::EC2
194
196
  # Set to true to disable SDK automatically adding host prefix
195
197
  # to default service endpoint when available.
196
198
  #
199
+ # @option options [Boolean] :disable_request_compression (false)
200
+ # When set to 'true' the request body will not be compressed
201
+ # for supported operations.
202
+ #
197
203
  # @option options [String] :endpoint
198
204
  # The client endpoint is normally constructed from the `:region`
199
205
  # option. You should only configure an `:endpoint` when connecting
@@ -234,6 +240,11 @@ module Aws::EC2
234
240
  # Used when loading credentials from the shared credentials file
235
241
  # at HOME/.aws/credentials. When not specified, 'default' is used.
236
242
  #
243
+ # @option options [Integer] :request_min_compression_size_bytes (10240)
244
+ # The minimum size in bytes that triggers compression for request
245
+ # bodies. The value must be non-negative integer value between 0
246
+ # and 10485780 bytes inclusive.
247
+ #
237
248
  # @option options [Proc] :retry_backoff
238
249
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
239
250
  # This option is only used in the `legacy` retry mode.
@@ -24477,6 +24488,7 @@ module Aws::EC2
24477
24488
  # resp.instance_types[0].auto_recovery_supported #=> Boolean
24478
24489
  # resp.instance_types[0].supported_boot_modes #=> Array
24479
24490
  # resp.instance_types[0].supported_boot_modes[0] #=> String, one of "legacy-bios", "uefi"
24491
+ # resp.instance_types[0].nitro_enclaves_support #=> String, one of "unsupported", "supported"
24480
24492
  # resp.next_token #=> String
24481
24493
  #
24482
24494
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceTypes AWS API Documentation
@@ -53811,16 +53823,18 @@ module Aws::EC2
53811
53823
  # platform, Availability Zone).
53812
53824
  #
53813
53825
  # @option params [Types::HibernationOptionsRequest] :hibernation_options
53814
- # Indicates whether an instance is enabled for hibernation. For more
53815
- # information, see [Hibernate your instance][1] in the *Amazon EC2 User
53816
- # Guide*.
53826
+ # Indicates whether an instance is enabled for hibernation. This
53827
+ # parameter is valid only if the instance meets the [hibernation
53828
+ # prerequisites][1]. For more information, see [Hibernate your
53829
+ # instance][2] in the *Amazon EC2 User Guide*.
53817
53830
  #
53818
53831
  # You can't enable hibernation and Amazon Web Services Nitro Enclaves
53819
53832
  # on the same instance.
53820
53833
  #
53821
53834
  #
53822
53835
  #
53823
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
53836
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html
53837
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
53824
53838
  #
53825
53839
  # @option params [Array<Types::LicenseConfigurationRequest>] :license_specifications
53826
53840
  # The license configurations.
@@ -53835,9 +53849,9 @@ module Aws::EC2
53835
53849
  #
53836
53850
  # @option params [Types::EnclaveOptionsRequest] :enclave_options
53837
53851
  # Indicates whether the instance is enabled for Amazon Web Services
53838
- # Nitro Enclaves. For more information, see [ What is Amazon Web
53839
- # Services Nitro Enclaves?][1] in the *Amazon Web Services Nitro
53840
- # Enclaves User Guide*.
53852
+ # Nitro Enclaves. For more information, see [What is Amazon Web Services
53853
+ # Nitro Enclaves?][1] in the *Amazon Web Services Nitro Enclaves User
53854
+ # Guide*.
53841
53855
  #
53842
53856
  # You can't enable Amazon Web Services Nitro Enclaves and hibernation
53843
53857
  # on the same instance.
@@ -55893,8 +55907,8 @@ module Aws::EC2
55893
55907
  #
55894
55908
  #
55895
55909
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html
55896
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#enabling-hibernation
55897
- # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites
55910
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enabling-hibernation.html
55911
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html
55898
55912
  # [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
55899
55913
  # [5]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#hibernate-spot-instances
55900
55914
  # [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html
@@ -56019,7 +56033,7 @@ module Aws::EC2
56019
56033
  #
56020
56034
  # resp = client.terminate_client_vpn_connections({
56021
56035
  # client_vpn_endpoint_id: "ClientVpnEndpointId", # required
56022
- # connection_id: "VpnConnectionId",
56036
+ # connection_id: "String",
56023
56037
  # username: "String",
56024
56038
  # dry_run: false,
56025
56039
  # })
@@ -56691,7 +56705,7 @@ module Aws::EC2
56691
56705
  params: params,
56692
56706
  config: config)
56693
56707
  context[:gem_name] = 'aws-sdk-ec2'
56694
- context[:gem_version] = '1.387.0'
56708
+ context[:gem_version] = '1.388.0'
56695
56709
  Seahorse::Client::Request.new(handlers, context)
56696
56710
  end
56697
56711
 
@@ -2168,6 +2168,7 @@ module Aws::EC2
2168
2168
  NewDhcpConfiguration = Shapes::StructureShape.new(name: 'NewDhcpConfiguration')
2169
2169
  NewDhcpConfigurationList = Shapes::ListShape.new(name: 'NewDhcpConfigurationList')
2170
2170
  NextToken = Shapes::StringShape.new(name: 'NextToken')
2171
+ NitroEnclavesSupport = Shapes::StringShape.new(name: 'NitroEnclavesSupport')
2171
2172
  OccurrenceDayRequestSet = Shapes::ListShape.new(name: 'OccurrenceDayRequestSet')
2172
2173
  OccurrenceDaySet = Shapes::ListShape.new(name: 'OccurrenceDaySet')
2173
2174
  OfferingClassType = Shapes::StringShape.new(name: 'OfferingClassType')
@@ -9862,6 +9863,7 @@ module Aws::EC2
9862
9863
  InstanceTypeInfo.add_member(:dedicated_hosts_supported, Shapes::ShapeRef.new(shape: DedicatedHostFlag, location_name: "dedicatedHostsSupported"))
9863
9864
  InstanceTypeInfo.add_member(:auto_recovery_supported, Shapes::ShapeRef.new(shape: AutoRecoveryFlag, location_name: "autoRecoverySupported"))
9864
9865
  InstanceTypeInfo.add_member(:supported_boot_modes, Shapes::ShapeRef.new(shape: BootModeTypeList, location_name: "supportedBootModes"))
9866
+ InstanceTypeInfo.add_member(:nitro_enclaves_support, Shapes::ShapeRef.new(shape: NitroEnclavesSupport, location_name: "nitroEnclavesSupport"))
9865
9867
  InstanceTypeInfo.struct_class = Types::InstanceTypeInfo
9866
9868
 
9867
9869
  InstanceTypeInfoFromInstanceRequirements.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
@@ -13799,7 +13801,7 @@ module Aws::EC2
13799
13801
  TargetReservationValueSet.member = Shapes::ShapeRef.new(shape: TargetReservationValue, location_name: "item")
13800
13802
 
13801
13803
  TerminateClientVpnConnectionsRequest.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: ClientVpnEndpointId, required: true, location_name: "ClientVpnEndpointId"))
13802
- TerminateClientVpnConnectionsRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: VpnConnectionId, location_name: "ConnectionId"))
13804
+ TerminateClientVpnConnectionsRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: String, location_name: "ConnectionId"))
13803
13805
  TerminateClientVpnConnectionsRequest.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "Username"))
13804
13806
  TerminateClientVpnConnectionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
13805
13807
  TerminateClientVpnConnectionsRequest.struct_class = Types::TerminateClientVpnConnectionsRequest
@@ -564,16 +564,18 @@ module Aws::EC2
564
564
  # Capacity Reservation that has matching attributes (instance type,
565
565
  # platform, Availability Zone).
566
566
  # @option options [Types::HibernationOptionsRequest] :hibernation_options
567
- # Indicates whether an instance is enabled for hibernation. For more
568
- # information, see [Hibernate your instance][1] in the *Amazon EC2 User
569
- # Guide*.
567
+ # Indicates whether an instance is enabled for hibernation. This
568
+ # parameter is valid only if the instance meets the [hibernation
569
+ # prerequisites][1]. For more information, see [Hibernate your
570
+ # instance][2] in the *Amazon EC2 User Guide*.
570
571
  #
571
572
  # You can't enable hibernation and Amazon Web Services Nitro Enclaves
572
573
  # on the same instance.
573
574
  #
574
575
  #
575
576
  #
576
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
577
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html
578
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
577
579
  # @option options [Array<Types::LicenseConfigurationRequest>] :license_specifications
578
580
  # The license configurations.
579
581
  # @option options [Types::InstanceMetadataOptionsRequest] :metadata_options
@@ -585,9 +587,9 @@ module Aws::EC2
585
587
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
586
588
  # @option options [Types::EnclaveOptionsRequest] :enclave_options
587
589
  # Indicates whether the instance is enabled for Amazon Web Services
588
- # Nitro Enclaves. For more information, see [ What is Amazon Web
589
- # Services Nitro Enclaves?][1] in the *Amazon Web Services Nitro
590
- # Enclaves User Guide*.
590
+ # Nitro Enclaves. For more information, see [What is Amazon Web Services
591
+ # Nitro Enclaves?][1] in the *Amazon Web Services Nitro Enclaves User
592
+ # Guide*.
591
593
  #
592
594
  # You can't enable Amazon Web Services Nitro Enclaves and hibernation
593
595
  # on the same instance.
@@ -785,16 +785,18 @@ module Aws::EC2
785
785
  # Capacity Reservation that has matching attributes (instance type,
786
786
  # platform, Availability Zone).
787
787
  # @option options [Types::HibernationOptionsRequest] :hibernation_options
788
- # Indicates whether an instance is enabled for hibernation. For more
789
- # information, see [Hibernate your instance][1] in the *Amazon EC2 User
790
- # Guide*.
788
+ # Indicates whether an instance is enabled for hibernation. This
789
+ # parameter is valid only if the instance meets the [hibernation
790
+ # prerequisites][1]. For more information, see [Hibernate your
791
+ # instance][2] in the *Amazon EC2 User Guide*.
791
792
  #
792
793
  # You can't enable hibernation and Amazon Web Services Nitro Enclaves
793
794
  # on the same instance.
794
795
  #
795
796
  #
796
797
  #
797
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
798
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html
799
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
798
800
  # @option options [Array<Types::LicenseConfigurationRequest>] :license_specifications
799
801
  # The license configurations.
800
802
  # @option options [Types::InstanceMetadataOptionsRequest] :metadata_options
@@ -806,9 +808,9 @@ module Aws::EC2
806
808
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
807
809
  # @option options [Types::EnclaveOptionsRequest] :enclave_options
808
810
  # Indicates whether the instance is enabled for Amazon Web Services
809
- # Nitro Enclaves. For more information, see [ What is Amazon Web
810
- # Services Nitro Enclaves?][1] in the *Amazon Web Services Nitro
811
- # Enclaves User Guide*.
811
+ # Nitro Enclaves. For more information, see [What is Amazon Web Services
812
+ # Nitro Enclaves?][1] in the *Amazon Web Services Nitro Enclaves User
813
+ # Guide*.
812
814
  #
813
815
  # You can't enable Amazon Web Services Nitro Enclaves and hibernation
814
816
  # on the same instance.
@@ -34764,12 +34764,12 @@ module Aws::EC2
34764
34764
  #
34765
34765
  #
34766
34766
  #
34767
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites
34767
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html
34768
34768
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
34769
34769
  #
34770
34770
  # @!attribute [rw] configured
34771
- # If this parameter is set to `true`, your instance is enabled for
34772
- # hibernation; otherwise, it is not enabled for hibernation.
34771
+ # If `true`, your instance is enabled for hibernation; otherwise, it
34772
+ # is not enabled for hibernation.
34773
34773
  # @return [Boolean]
34774
34774
  #
34775
34775
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HibernationOptions AWS API Documentation
@@ -34787,12 +34787,11 @@ module Aws::EC2
34787
34787
  #
34788
34788
  #
34789
34789
  #
34790
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites
34790
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html
34791
34791
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
34792
34792
  #
34793
34793
  # @!attribute [rw] configured
34794
- # If you set this parameter to `true`, your instance is enabled for
34795
- # hibernation.
34794
+ # Set to `true` to enable your instance for hibernation.
34796
34795
  #
34797
34796
  # Default: `false`
34798
34797
  # @return [Boolean]
@@ -39455,6 +39454,10 @@ module Aws::EC2
39455
39454
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
39456
39455
  # @return [Array<String>]
39457
39456
  #
39457
+ # @!attribute [rw] nitro_enclaves_support
39458
+ # Indicates whether Nitro Enclaves is supported.
39459
+ # @return [String]
39460
+ #
39458
39461
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceTypeInfo AWS API Documentation
39459
39462
  #
39460
39463
  class InstanceTypeInfo < Struct.new(
@@ -39481,7 +39484,8 @@ module Aws::EC2
39481
39484
  :burstable_performance_supported,
39482
39485
  :dedicated_hosts_supported,
39483
39486
  :auto_recovery_supported,
39484
- :supported_boot_modes)
39487
+ :supported_boot_modes,
39488
+ :nitro_enclaves_support)
39485
39489
  SENSITIVE = []
39486
39490
  include Aws::Structure
39487
39491
  end
@@ -55598,16 +55602,18 @@ module Aws::EC2
55598
55602
  # @return [Types::CapacityReservationSpecification]
55599
55603
  #
55600
55604
  # @!attribute [rw] hibernation_options
55601
- # Indicates whether an instance is enabled for hibernation. For more
55602
- # information, see [Hibernate your instance][1] in the *Amazon EC2
55603
- # User Guide*.
55605
+ # Indicates whether an instance is enabled for hibernation. This
55606
+ # parameter is valid only if the instance meets the [hibernation
55607
+ # prerequisites][1]. For more information, see [Hibernate your
55608
+ # instance][2] in the *Amazon EC2 User Guide*.
55604
55609
  #
55605
55610
  # You can't enable hibernation and Amazon Web Services Nitro Enclaves
55606
55611
  # on the same instance.
55607
55612
  #
55608
55613
  #
55609
55614
  #
55610
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
55615
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html
55616
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
55611
55617
  # @return [Types::HibernationOptionsRequest]
55612
55618
  #
55613
55619
  # @!attribute [rw] license_specifications
@@ -55625,7 +55631,7 @@ module Aws::EC2
55625
55631
  #
55626
55632
  # @!attribute [rw] enclave_options
55627
55633
  # Indicates whether the instance is enabled for Amazon Web Services
55628
- # Nitro Enclaves. For more information, see [ What is Amazon Web
55634
+ # Nitro Enclaves. For more information, see [What is Amazon Web
55629
55635
  # Services Nitro Enclaves?][1] in the *Amazon Web Services Nitro
55630
55636
  # Enclaves User Guide*.
55631
55637
  #
data/lib/aws-sdk-ec2.rb CHANGED
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
76
76
  # @!group service
77
77
  module Aws::EC2
78
78
 
79
- GEM_VERSION = '1.387.0'
79
+ GEM_VERSION = '1.388.0'
80
80
 
81
81
  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.387.0
4
+ version: 1.388.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: 2023-06-28 00:00:00.000000000 Z
11
+ date: 2023-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '3'
34
34
  - - ">="
35
35
  - !ruby/object:Gem::Version
36
- version: 3.176.0
36
+ version: 3.177.0
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '3'
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 3.176.0
46
+ version: 3.177.0
47
47
  description: Official AWS Ruby gem for Amazon Elastic Compute Cloud (Amazon EC2).
48
48
  This gem is part of the AWS SDK for Ruby.
49
49
  email: