aws-sdk-ec2 1.442.0 → 1.444.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d45753d4b00b3ccf00dce20a0982f3e65d586f385b022786ffd633edef2d9bfc
4
- data.tar.gz: b18ac9cf3b2bf5d10d0cfe1944214f0ada99a693e12215127410efdec5a51644
3
+ metadata.gz: 841e89e019070b27212d99b17d625185c9ee861576e914bdfa86e718edc6af71
4
+ data.tar.gz: cddf12db85a8c9e03f544eef7195004b8b229c4dd54c3c500b2b1f0bd41a87b7
5
5
  SHA512:
6
- metadata.gz: 3775bf890272ecfe0379fde4477f3ad6cab5e33f8cd2da71b990fca4a1315ca169da5838c23ce45b84081d118c2eb6eb798673a21833115d6c8aa9acb9e797d7
7
- data.tar.gz: 2b0da9c53b14f91de7506e5af46f0b253ccaf38a20e999a7790ec2e94959fac5601d1d93937695d8ff7f4052612bd0e7e45ff955d9cda9b0473623690c080c31
6
+ metadata.gz: 07bd9a41706f0b593751c716f68a9acf39b3d8afa458e53f8bb253352ad8efe4105e1e75cf5cf748f8bb76b4d1b792f92e708ffb23e99c5b00412594616fb9b5
7
+ data.tar.gz: c92c3c61aff7e187aada0c6a6cf78e8fe518f5035f603daeaa62a34ebff379be849c1c217117ba77e2f40adb1290ee3085c4289c8a9c9ee9f3ff741e4e43f998
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.444.0 (2024-03-19)
5
+ ------------------
6
+
7
+ * Feature - This release adds the new DescribeMacHosts API operation for getting information about EC2 Mac Dedicated Hosts. Users can now see the latest macOS versions that their underlying Apple Mac can support without needing to be updated.
8
+
9
+ 1.443.0 (2024-03-15)
10
+ ------------------
11
+
12
+ * Feature - Add media accelerator and neuron device information on the describe instance types API.
13
+
4
14
  1.442.0 (2024-03-12)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.442.0
1
+ 1.444.0
@@ -25178,6 +25178,19 @@ module Aws::EC2
25178
25178
  # resp.instance_types[0].nitro_tpm_support #=> String, one of "unsupported", "supported"
25179
25179
  # resp.instance_types[0].nitro_tpm_info.supported_versions #=> Array
25180
25180
  # resp.instance_types[0].nitro_tpm_info.supported_versions[0] #=> String
25181
+ # resp.instance_types[0].media_accelerator_info.accelerators #=> Array
25182
+ # resp.instance_types[0].media_accelerator_info.accelerators[0].count #=> Integer
25183
+ # resp.instance_types[0].media_accelerator_info.accelerators[0].name #=> String
25184
+ # resp.instance_types[0].media_accelerator_info.accelerators[0].manufacturer #=> String
25185
+ # resp.instance_types[0].media_accelerator_info.accelerators[0].memory_info.size_in_mi_b #=> Integer
25186
+ # resp.instance_types[0].media_accelerator_info.total_media_memory_in_mi_b #=> Integer
25187
+ # resp.instance_types[0].neuron_info.neuron_devices #=> Array
25188
+ # resp.instance_types[0].neuron_info.neuron_devices[0].count #=> Integer
25189
+ # resp.instance_types[0].neuron_info.neuron_devices[0].name #=> String
25190
+ # resp.instance_types[0].neuron_info.neuron_devices[0].core_info.count #=> Integer
25191
+ # resp.instance_types[0].neuron_info.neuron_devices[0].core_info.version #=> Integer
25192
+ # resp.instance_types[0].neuron_info.neuron_devices[0].memory_info.size_in_mi_b #=> Integer
25193
+ # resp.instance_types[0].neuron_info.total_neuron_device_memory_in_mi_b #=> Integer
25181
25194
  # resp.next_token #=> String
25182
25195
  #
25183
25196
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceTypes AWS API Documentation
@@ -27763,6 +27776,69 @@ module Aws::EC2
27763
27776
  req.send_request(options)
27764
27777
  end
27765
27778
 
27779
+ # Describes the specified EC2 Mac Dedicated Host or all of your EC2 Mac
27780
+ # Dedicated Hosts.
27781
+ #
27782
+ # @option params [Array<Types::Filter>] :filters
27783
+ # The filters.
27784
+ #
27785
+ # * `availability-zone` - The Availability Zone of the EC2 Mac Dedicated
27786
+ # Host.
27787
+ #
27788
+ # * `instance-type` - The instance type size that the EC2 Mac Dedicated
27789
+ # Host is configured to support.
27790
+ #
27791
+ # @option params [Array<String>] :host_ids
27792
+ # The IDs of the EC2 Mac Dedicated Hosts.
27793
+ #
27794
+ # @option params [Integer] :max_results
27795
+ # The maximum number of results to return for the request in a single
27796
+ # page. The remaining results can be seen by sending another request
27797
+ # with the returned `nextToken` value. This value can be between 5 and
27798
+ # 500. If `maxResults` is given a larger value than 500, you receive an
27799
+ # error.
27800
+ #
27801
+ # @option params [String] :next_token
27802
+ # The token to use to retrieve the next page of results.
27803
+ #
27804
+ # @return [Types::DescribeMacHostsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
27805
+ #
27806
+ # * {Types::DescribeMacHostsResult#mac_hosts #mac_hosts} => Array&lt;Types::MacHost&gt;
27807
+ # * {Types::DescribeMacHostsResult#next_token #next_token} => String
27808
+ #
27809
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
27810
+ #
27811
+ # @example Request syntax with placeholder values
27812
+ #
27813
+ # resp = client.describe_mac_hosts({
27814
+ # filters: [
27815
+ # {
27816
+ # name: "String",
27817
+ # values: ["String"],
27818
+ # },
27819
+ # ],
27820
+ # host_ids: ["DedicatedHostId"],
27821
+ # max_results: 1,
27822
+ # next_token: "String",
27823
+ # })
27824
+ #
27825
+ # @example Response structure
27826
+ #
27827
+ # resp.mac_hosts #=> Array
27828
+ # resp.mac_hosts[0].host_id #=> String
27829
+ # resp.mac_hosts[0].mac_os_latest_supported_versions #=> Array
27830
+ # resp.mac_hosts[0].mac_os_latest_supported_versions[0] #=> String
27831
+ # resp.next_token #=> String
27832
+ #
27833
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMacHosts AWS API Documentation
27834
+ #
27835
+ # @overload describe_mac_hosts(params = {})
27836
+ # @param [Hash] params ({})
27837
+ def describe_mac_hosts(params = {}, options = {})
27838
+ req = build_request(:describe_mac_hosts, params)
27839
+ req.send_request(options)
27840
+ end
27841
+
27766
27842
  # Describes your managed prefix lists and any Amazon Web
27767
27843
  # Services-managed prefix lists.
27768
27844
  #
@@ -58905,7 +58981,7 @@ module Aws::EC2
58905
58981
  params: params,
58906
58982
  config: config)
58907
58983
  context[:gem_name] = 'aws-sdk-ec2'
58908
- context[:gem_version] = '1.442.0'
58984
+ context[:gem_version] = '1.444.0'
58909
58985
  Seahorse::Client::Request.new(handlers, context)
58910
58986
  end
58911
58987
 
@@ -938,6 +938,9 @@ module Aws::EC2
938
938
  DescribeLockedSnapshotsMaxResults = Shapes::IntegerShape.new(name: 'DescribeLockedSnapshotsMaxResults')
939
939
  DescribeLockedSnapshotsRequest = Shapes::StructureShape.new(name: 'DescribeLockedSnapshotsRequest')
940
940
  DescribeLockedSnapshotsResult = Shapes::StructureShape.new(name: 'DescribeLockedSnapshotsResult')
941
+ DescribeMacHostsRequest = Shapes::StructureShape.new(name: 'DescribeMacHostsRequest')
942
+ DescribeMacHostsRequestMaxResults = Shapes::IntegerShape.new(name: 'DescribeMacHostsRequestMaxResults')
943
+ DescribeMacHostsResult = Shapes::StructureShape.new(name: 'DescribeMacHostsResult')
941
944
  DescribeManagedPrefixListsRequest = Shapes::StructureShape.new(name: 'DescribeManagedPrefixListsRequest')
942
945
  DescribeManagedPrefixListsResult = Shapes::StructureShape.new(name: 'DescribeManagedPrefixListsResult')
943
946
  DescribeMovingAddressesMaxResults = Shapes::IntegerShape.new(name: 'DescribeMovingAddressesMaxResults')
@@ -2026,6 +2029,9 @@ module Aws::EC2
2026
2029
  LockedSnapshotsInfoList = Shapes::ListShape.new(name: 'LockedSnapshotsInfoList')
2027
2030
  LogDestinationType = Shapes::StringShape.new(name: 'LogDestinationType')
2028
2031
  Long = Shapes::IntegerShape.new(name: 'Long')
2032
+ MacHost = Shapes::StructureShape.new(name: 'MacHost')
2033
+ MacHostList = Shapes::ListShape.new(name: 'MacHostList')
2034
+ MacOSVersionStringList = Shapes::ListShape.new(name: 'MacOSVersionStringList')
2029
2035
  MaintenanceDetails = Shapes::StructureShape.new(name: 'MaintenanceDetails')
2030
2036
  ManagedPrefixList = Shapes::StructureShape.new(name: 'ManagedPrefixList')
2031
2037
  ManagedPrefixListSet = Shapes::ListShape.new(name: 'ManagedPrefixListSet')
@@ -2040,6 +2046,14 @@ module Aws::EC2
2040
2046
  MaximumIops = Shapes::IntegerShape.new(name: 'MaximumIops')
2041
2047
  MaximumNetworkCards = Shapes::IntegerShape.new(name: 'MaximumNetworkCards')
2042
2048
  MaximumThroughputInMBps = Shapes::FloatShape.new(name: 'MaximumThroughputInMBps')
2049
+ MediaAcceleratorInfo = Shapes::StructureShape.new(name: 'MediaAcceleratorInfo')
2050
+ MediaDeviceCount = Shapes::IntegerShape.new(name: 'MediaDeviceCount')
2051
+ MediaDeviceInfo = Shapes::StructureShape.new(name: 'MediaDeviceInfo')
2052
+ MediaDeviceInfoList = Shapes::ListShape.new(name: 'MediaDeviceInfoList')
2053
+ MediaDeviceManufacturerName = Shapes::StringShape.new(name: 'MediaDeviceManufacturerName')
2054
+ MediaDeviceMemoryInfo = Shapes::StructureShape.new(name: 'MediaDeviceMemoryInfo')
2055
+ MediaDeviceMemorySize = Shapes::IntegerShape.new(name: 'MediaDeviceMemorySize')
2056
+ MediaDeviceName = Shapes::StringShape.new(name: 'MediaDeviceName')
2043
2057
  MembershipType = Shapes::StringShape.new(name: 'MembershipType')
2044
2058
  MemoryGiBPerVCpu = Shapes::StructureShape.new(name: 'MemoryGiBPerVCpu')
2045
2059
  MemoryGiBPerVCpuRequest = Shapes::StructureShape.new(name: 'MemoryGiBPerVCpuRequest')
@@ -2261,6 +2275,16 @@ module Aws::EC2
2261
2275
  NetworkInterfaceType = Shapes::StringShape.new(name: 'NetworkInterfaceType')
2262
2276
  NetworkNodesList = Shapes::ListShape.new(name: 'NetworkNodesList')
2263
2277
  NetworkPerformance = Shapes::StringShape.new(name: 'NetworkPerformance')
2278
+ NeuronDeviceCoreCount = Shapes::IntegerShape.new(name: 'NeuronDeviceCoreCount')
2279
+ NeuronDeviceCoreInfo = Shapes::StructureShape.new(name: 'NeuronDeviceCoreInfo')
2280
+ NeuronDeviceCoreVersion = Shapes::IntegerShape.new(name: 'NeuronDeviceCoreVersion')
2281
+ NeuronDeviceCount = Shapes::IntegerShape.new(name: 'NeuronDeviceCount')
2282
+ NeuronDeviceInfo = Shapes::StructureShape.new(name: 'NeuronDeviceInfo')
2283
+ NeuronDeviceInfoList = Shapes::ListShape.new(name: 'NeuronDeviceInfoList')
2284
+ NeuronDeviceMemoryInfo = Shapes::StructureShape.new(name: 'NeuronDeviceMemoryInfo')
2285
+ NeuronDeviceMemorySize = Shapes::IntegerShape.new(name: 'NeuronDeviceMemorySize')
2286
+ NeuronDeviceName = Shapes::StringShape.new(name: 'NeuronDeviceName')
2287
+ NeuronInfo = Shapes::StructureShape.new(name: 'NeuronInfo')
2264
2288
  NewDhcpConfiguration = Shapes::StructureShape.new(name: 'NewDhcpConfiguration')
2265
2289
  NewDhcpConfigurationList = Shapes::ListShape.new(name: 'NewDhcpConfigurationList')
2266
2290
  NextToken = Shapes::StringShape.new(name: 'NextToken')
@@ -2822,6 +2846,8 @@ module Aws::EC2
2822
2846
  TieringOperationStatus = Shapes::StringShape.new(name: 'TieringOperationStatus')
2823
2847
  TotalLocalStorageGB = Shapes::StructureShape.new(name: 'TotalLocalStorageGB')
2824
2848
  TotalLocalStorageGBRequest = Shapes::StructureShape.new(name: 'TotalLocalStorageGBRequest')
2849
+ TotalMediaMemory = Shapes::IntegerShape.new(name: 'TotalMediaMemory')
2850
+ TotalNeuronMemory = Shapes::IntegerShape.new(name: 'TotalNeuronMemory')
2825
2851
  TpmSupportValues = Shapes::StringShape.new(name: 'TpmSupportValues')
2826
2852
  TrafficDirection = Shapes::StringShape.new(name: 'TrafficDirection')
2827
2853
  TrafficMirrorFilter = Shapes::StructureShape.new(name: 'TrafficMirrorFilter')
@@ -6970,6 +6996,16 @@ module Aws::EC2
6970
6996
  DescribeLockedSnapshotsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
6971
6997
  DescribeLockedSnapshotsResult.struct_class = Types::DescribeLockedSnapshotsResult
6972
6998
 
6999
+ DescribeMacHostsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
7000
+ DescribeMacHostsRequest.add_member(:host_ids, Shapes::ShapeRef.new(shape: RequestHostIdList, location_name: "HostId"))
7001
+ DescribeMacHostsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeMacHostsRequestMaxResults, location_name: "MaxResults"))
7002
+ DescribeMacHostsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
7003
+ DescribeMacHostsRequest.struct_class = Types::DescribeMacHostsRequest
7004
+
7005
+ DescribeMacHostsResult.add_member(:mac_hosts, Shapes::ShapeRef.new(shape: MacHostList, location_name: "macHostSet"))
7006
+ DescribeMacHostsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
7007
+ DescribeMacHostsResult.struct_class = Types::DescribeMacHostsResult
7008
+
6973
7009
  DescribeManagedPrefixListsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6974
7010
  DescribeManagedPrefixListsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
6975
7011
  DescribeManagedPrefixListsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PrefixListMaxResults, location_name: "MaxResults"))
@@ -10269,6 +10305,8 @@ module Aws::EC2
10269
10305
  InstanceTypeInfo.add_member(:nitro_enclaves_support, Shapes::ShapeRef.new(shape: NitroEnclavesSupport, location_name: "nitroEnclavesSupport"))
10270
10306
  InstanceTypeInfo.add_member(:nitro_tpm_support, Shapes::ShapeRef.new(shape: NitroTpmSupport, location_name: "nitroTpmSupport"))
10271
10307
  InstanceTypeInfo.add_member(:nitro_tpm_info, Shapes::ShapeRef.new(shape: NitroTpmInfo, location_name: "nitroTpmInfo"))
10308
+ InstanceTypeInfo.add_member(:media_accelerator_info, Shapes::ShapeRef.new(shape: MediaAcceleratorInfo, location_name: "mediaAcceleratorInfo"))
10309
+ InstanceTypeInfo.add_member(:neuron_info, Shapes::ShapeRef.new(shape: NeuronInfo, location_name: "neuronInfo"))
10272
10310
  InstanceTypeInfo.struct_class = Types::InstanceTypeInfo
10273
10311
 
10274
10312
  InstanceTypeInfoFromInstanceRequirements.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
@@ -11181,6 +11219,14 @@ module Aws::EC2
11181
11219
 
11182
11220
  LockedSnapshotsInfoList.member = Shapes::ShapeRef.new(shape: LockedSnapshotsInfo, location_name: "item")
11183
11221
 
11222
+ MacHost.add_member(:host_id, Shapes::ShapeRef.new(shape: DedicatedHostId, location_name: "hostId"))
11223
+ MacHost.add_member(:mac_os_latest_supported_versions, Shapes::ShapeRef.new(shape: MacOSVersionStringList, location_name: "macOSLatestSupportedVersionSet"))
11224
+ MacHost.struct_class = Types::MacHost
11225
+
11226
+ MacHostList.member = Shapes::ShapeRef.new(shape: MacHost, location_name: "item")
11227
+
11228
+ MacOSVersionStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
11229
+
11184
11230
  MaintenanceDetails.add_member(:pending_maintenance, Shapes::ShapeRef.new(shape: String, location_name: "pendingMaintenance"))
11185
11231
  MaintenanceDetails.add_member(:maintenance_auto_applied_after, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "maintenanceAutoAppliedAfter"))
11186
11232
  MaintenanceDetails.add_member(:last_maintenance_applied, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "lastMaintenanceApplied"))
@@ -11200,6 +11246,21 @@ module Aws::EC2
11200
11246
 
11201
11247
  ManagedPrefixListSet.member = Shapes::ShapeRef.new(shape: ManagedPrefixList, location_name: "item")
11202
11248
 
11249
+ MediaAcceleratorInfo.add_member(:accelerators, Shapes::ShapeRef.new(shape: MediaDeviceInfoList, location_name: "accelerators"))
11250
+ MediaAcceleratorInfo.add_member(:total_media_memory_in_mi_b, Shapes::ShapeRef.new(shape: TotalMediaMemory, location_name: "totalMediaMemoryInMiB"))
11251
+ MediaAcceleratorInfo.struct_class = Types::MediaAcceleratorInfo
11252
+
11253
+ MediaDeviceInfo.add_member(:count, Shapes::ShapeRef.new(shape: MediaDeviceCount, location_name: "count"))
11254
+ MediaDeviceInfo.add_member(:name, Shapes::ShapeRef.new(shape: MediaDeviceName, location_name: "name"))
11255
+ MediaDeviceInfo.add_member(:manufacturer, Shapes::ShapeRef.new(shape: MediaDeviceManufacturerName, location_name: "manufacturer"))
11256
+ MediaDeviceInfo.add_member(:memory_info, Shapes::ShapeRef.new(shape: MediaDeviceMemoryInfo, location_name: "memoryInfo"))
11257
+ MediaDeviceInfo.struct_class = Types::MediaDeviceInfo
11258
+
11259
+ MediaDeviceInfoList.member = Shapes::ShapeRef.new(shape: MediaDeviceInfo, location_name: "item")
11260
+
11261
+ MediaDeviceMemoryInfo.add_member(:size_in_mi_b, Shapes::ShapeRef.new(shape: MediaDeviceMemorySize, location_name: "sizeInMiB"))
11262
+ MediaDeviceMemoryInfo.struct_class = Types::MediaDeviceMemoryInfo
11263
+
11203
11264
  MemoryGiBPerVCpu.add_member(:min, Shapes::ShapeRef.new(shape: Double, location_name: "min"))
11204
11265
  MemoryGiBPerVCpu.add_member(:max, Shapes::ShapeRef.new(shape: Double, location_name: "max"))
11205
11266
  MemoryGiBPerVCpu.struct_class = Types::MemoryGiBPerVCpu
@@ -12273,6 +12334,25 @@ module Aws::EC2
12273
12334
 
12274
12335
  NetworkNodesList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
12275
12336
 
12337
+ NeuronDeviceCoreInfo.add_member(:count, Shapes::ShapeRef.new(shape: NeuronDeviceCoreCount, location_name: "count"))
12338
+ NeuronDeviceCoreInfo.add_member(:version, Shapes::ShapeRef.new(shape: NeuronDeviceCoreVersion, location_name: "version"))
12339
+ NeuronDeviceCoreInfo.struct_class = Types::NeuronDeviceCoreInfo
12340
+
12341
+ NeuronDeviceInfo.add_member(:count, Shapes::ShapeRef.new(shape: NeuronDeviceCount, location_name: "count"))
12342
+ NeuronDeviceInfo.add_member(:name, Shapes::ShapeRef.new(shape: NeuronDeviceName, location_name: "name"))
12343
+ NeuronDeviceInfo.add_member(:core_info, Shapes::ShapeRef.new(shape: NeuronDeviceCoreInfo, location_name: "coreInfo"))
12344
+ NeuronDeviceInfo.add_member(:memory_info, Shapes::ShapeRef.new(shape: NeuronDeviceMemoryInfo, location_name: "memoryInfo"))
12345
+ NeuronDeviceInfo.struct_class = Types::NeuronDeviceInfo
12346
+
12347
+ NeuronDeviceInfoList.member = Shapes::ShapeRef.new(shape: NeuronDeviceInfo, location_name: "item")
12348
+
12349
+ NeuronDeviceMemoryInfo.add_member(:size_in_mi_b, Shapes::ShapeRef.new(shape: NeuronDeviceMemorySize, location_name: "sizeInMiB"))
12350
+ NeuronDeviceMemoryInfo.struct_class = Types::NeuronDeviceMemoryInfo
12351
+
12352
+ NeuronInfo.add_member(:neuron_devices, Shapes::ShapeRef.new(shape: NeuronDeviceInfoList, location_name: "neuronDevices"))
12353
+ NeuronInfo.add_member(:total_neuron_device_memory_in_mi_b, Shapes::ShapeRef.new(shape: TotalNeuronMemory, location_name: "totalNeuronDeviceMemoryInMiB"))
12354
+ NeuronInfo.struct_class = Types::NeuronInfo
12355
+
12276
12356
  NewDhcpConfiguration.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
12277
12357
  NewDhcpConfiguration.add_member(:values, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "Value"))
12278
12358
  NewDhcpConfiguration.struct_class = Types::NewDhcpConfiguration
@@ -18222,6 +18302,20 @@ module Aws::EC2
18222
18302
  o.output = Shapes::ShapeRef.new(shape: DescribeLockedSnapshotsResult)
18223
18303
  end)
18224
18304
 
18305
+ api.add_operation(:describe_mac_hosts, Seahorse::Model::Operation.new.tap do |o|
18306
+ o.name = "DescribeMacHosts"
18307
+ o.http_method = "POST"
18308
+ o.http_request_uri = "/"
18309
+ o.input = Shapes::ShapeRef.new(shape: DescribeMacHostsRequest)
18310
+ o.output = Shapes::ShapeRef.new(shape: DescribeMacHostsResult)
18311
+ o[:pager] = Aws::Pager.new(
18312
+ limit_key: "max_results",
18313
+ tokens: {
18314
+ "next_token" => "next_token"
18315
+ }
18316
+ )
18317
+ end)
18318
+
18225
18319
  api.add_operation(:describe_managed_prefix_lists, Seahorse::Model::Operation.new.tap do |o|
18226
18320
  o.name = "DescribeManagedPrefixLists"
18227
18321
  o.http_method = "POST"
@@ -4100,6 +4100,20 @@ module Aws::EC2
4100
4100
  end
4101
4101
  end
4102
4102
 
4103
+ class DescribeMacHosts
4104
+ def self.build(context)
4105
+ unless context.config.regional_endpoint
4106
+ endpoint = context.config.endpoint.to_s
4107
+ end
4108
+ Aws::EC2::EndpointParameters.new(
4109
+ region: context.config.region,
4110
+ use_dual_stack: context.config.use_dualstack_endpoint,
4111
+ use_fips: context.config.use_fips_endpoint,
4112
+ endpoint: endpoint,
4113
+ )
4114
+ end
4115
+ end
4116
+
4103
4117
  class DescribeManagedPrefixLists
4104
4118
  def self.build(context)
4105
4119
  unless context.config.regional_endpoint
@@ -642,6 +642,8 @@ module Aws::EC2
642
642
  Aws::EC2::Endpoints::DescribeLocalGateways.build(context)
643
643
  when :describe_locked_snapshots
644
644
  Aws::EC2::Endpoints::DescribeLockedSnapshots.build(context)
645
+ when :describe_mac_hosts
646
+ Aws::EC2::Endpoints::DescribeMacHosts.build(context)
645
647
  when :describe_managed_prefix_lists
646
648
  Aws::EC2::Endpoints::DescribeManagedPrefixLists.build(context)
647
649
  when :describe_moving_addresses
@@ -22086,6 +22086,60 @@ module Aws::EC2
22086
22086
  include Aws::Structure
22087
22087
  end
22088
22088
 
22089
+ # @!attribute [rw] filters
22090
+ # The filters.
22091
+ #
22092
+ # * `availability-zone` - The Availability Zone of the EC2 Mac
22093
+ # Dedicated Host.
22094
+ #
22095
+ # * `instance-type` - The instance type size that the EC2 Mac
22096
+ # Dedicated Host is configured to support.
22097
+ # @return [Array<Types::Filter>]
22098
+ #
22099
+ # @!attribute [rw] host_ids
22100
+ # The IDs of the EC2 Mac Dedicated Hosts.
22101
+ # @return [Array<String>]
22102
+ #
22103
+ # @!attribute [rw] max_results
22104
+ # The maximum number of results to return for the request in a single
22105
+ # page. The remaining results can be seen by sending another request
22106
+ # with the returned `nextToken` value. This value can be between 5 and
22107
+ # 500. If `maxResults` is given a larger value than 500, you receive
22108
+ # an error.
22109
+ # @return [Integer]
22110
+ #
22111
+ # @!attribute [rw] next_token
22112
+ # The token to use to retrieve the next page of results.
22113
+ # @return [String]
22114
+ #
22115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMacHostsRequest AWS API Documentation
22116
+ #
22117
+ class DescribeMacHostsRequest < Struct.new(
22118
+ :filters,
22119
+ :host_ids,
22120
+ :max_results,
22121
+ :next_token)
22122
+ SENSITIVE = []
22123
+ include Aws::Structure
22124
+ end
22125
+
22126
+ # @!attribute [rw] mac_hosts
22127
+ # Information about the EC2 Mac Dedicated Hosts.
22128
+ # @return [Array<Types::MacHost>]
22129
+ #
22130
+ # @!attribute [rw] next_token
22131
+ # The token to use to retrieve the next page of results.
22132
+ # @return [String]
22133
+ #
22134
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMacHostsResult AWS API Documentation
22135
+ #
22136
+ class DescribeMacHostsResult < Struct.new(
22137
+ :mac_hosts,
22138
+ :next_token)
22139
+ SENSITIVE = []
22140
+ include Aws::Structure
22141
+ end
22142
+
22089
22143
  # @!attribute [rw] dry_run
22090
22144
  # Checks whether you have the required permissions for the action,
22091
22145
  # without actually making the request, and provides an error response.
@@ -41529,6 +41583,14 @@ module Aws::EC2
41529
41583
  # Describes the supported NitroTPM versions for the instance type.
41530
41584
  # @return [Types::NitroTpmInfo]
41531
41585
  #
41586
+ # @!attribute [rw] media_accelerator_info
41587
+ # Describes the media accelerator settings for the instance type.
41588
+ # @return [Types::MediaAcceleratorInfo]
41589
+ #
41590
+ # @!attribute [rw] neuron_info
41591
+ # Describes the Neuron accelerator settings for the instance type.
41592
+ # @return [Types::NeuronInfo]
41593
+ #
41532
41594
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceTypeInfo AWS API Documentation
41533
41595
  #
41534
41596
  class InstanceTypeInfo < Struct.new(
@@ -41558,7 +41620,9 @@ module Aws::EC2
41558
41620
  :supported_boot_modes,
41559
41621
  :nitro_enclaves_support,
41560
41622
  :nitro_tpm_support,
41561
- :nitro_tpm_info)
41623
+ :nitro_tpm_info,
41624
+ :media_accelerator_info,
41625
+ :neuron_info)
41562
41626
  SENSITIVE = []
41563
41627
  include Aws::Structure
41564
41628
  end
@@ -46193,6 +46257,26 @@ module Aws::EC2
46193
46257
  include Aws::Structure
46194
46258
  end
46195
46259
 
46260
+ # Information about the EC2 Mac Dedicated Host.
46261
+ #
46262
+ # @!attribute [rw] host_id
46263
+ # The EC2 Mac Dedicated Host ID.
46264
+ # @return [String]
46265
+ #
46266
+ # @!attribute [rw] mac_os_latest_supported_versions
46267
+ # The latest macOS versions that the EC2 Mac Dedicated Host can launch
46268
+ # without being upgraded.
46269
+ # @return [Array<String>]
46270
+ #
46271
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MacHost AWS API Documentation
46272
+ #
46273
+ class MacHost < Struct.new(
46274
+ :host_id,
46275
+ :mac_os_latest_supported_versions)
46276
+ SENSITIVE = []
46277
+ include Aws::Structure
46278
+ end
46279
+
46196
46280
  # Details for Site-to-Site VPN tunnel endpoint maintenance events.
46197
46281
  #
46198
46282
  # @!attribute [rw] pending_maintenance
@@ -46277,6 +46361,69 @@ module Aws::EC2
46277
46361
  include Aws::Structure
46278
46362
  end
46279
46363
 
46364
+ # Describes the media accelerators for the instance type.
46365
+ #
46366
+ # @!attribute [rw] accelerators
46367
+ # Describes the media accelerators for the instance type.
46368
+ # @return [Array<Types::MediaDeviceInfo>]
46369
+ #
46370
+ # @!attribute [rw] total_media_memory_in_mi_b
46371
+ # The total size of the memory for the media accelerators for the
46372
+ # instance type, in MiB.
46373
+ # @return [Integer]
46374
+ #
46375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MediaAcceleratorInfo AWS API Documentation
46376
+ #
46377
+ class MediaAcceleratorInfo < Struct.new(
46378
+ :accelerators,
46379
+ :total_media_memory_in_mi_b)
46380
+ SENSITIVE = []
46381
+ include Aws::Structure
46382
+ end
46383
+
46384
+ # Describes the media accelerators for the instance type.
46385
+ #
46386
+ # @!attribute [rw] count
46387
+ # The number of media accelerators for the instance type.
46388
+ # @return [Integer]
46389
+ #
46390
+ # @!attribute [rw] name
46391
+ # The name of the media accelerator.
46392
+ # @return [String]
46393
+ #
46394
+ # @!attribute [rw] manufacturer
46395
+ # The manufacturer of the media accelerator.
46396
+ # @return [String]
46397
+ #
46398
+ # @!attribute [rw] memory_info
46399
+ # Describes the memory available to the media accelerator.
46400
+ # @return [Types::MediaDeviceMemoryInfo]
46401
+ #
46402
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MediaDeviceInfo AWS API Documentation
46403
+ #
46404
+ class MediaDeviceInfo < Struct.new(
46405
+ :count,
46406
+ :name,
46407
+ :manufacturer,
46408
+ :memory_info)
46409
+ SENSITIVE = []
46410
+ include Aws::Structure
46411
+ end
46412
+
46413
+ # Describes the memory available to the media accelerator.
46414
+ #
46415
+ # @!attribute [rw] size_in_mi_b
46416
+ # The size of the memory available to each media accelerator, in MiB.
46417
+ # @return [Integer]
46418
+ #
46419
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MediaDeviceMemoryInfo AWS API Documentation
46420
+ #
46421
+ class MediaDeviceMemoryInfo < Struct.new(
46422
+ :size_in_mi_b)
46423
+ SENSITIVE = []
46424
+ include Aws::Structure
46425
+ end
46426
+
46280
46427
  # The minimum and maximum amount of memory per vCPU, in GiB.
46281
46428
  #
46282
46429
  # @!attribute [rw] min
@@ -52210,6 +52357,88 @@ module Aws::EC2
52210
52357
  include Aws::Structure
52211
52358
  end
52212
52359
 
52360
+ # Describes the cores available to the neuron accelerator.
52361
+ #
52362
+ # @!attribute [rw] count
52363
+ # The number of cores available to the neuron accelerator.
52364
+ # @return [Integer]
52365
+ #
52366
+ # @!attribute [rw] version
52367
+ # The version of the neuron accelerator.
52368
+ # @return [Integer]
52369
+ #
52370
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NeuronDeviceCoreInfo AWS API Documentation
52371
+ #
52372
+ class NeuronDeviceCoreInfo < Struct.new(
52373
+ :count,
52374
+ :version)
52375
+ SENSITIVE = []
52376
+ include Aws::Structure
52377
+ end
52378
+
52379
+ # Describes the neuron accelerators for the instance type.
52380
+ #
52381
+ # @!attribute [rw] count
52382
+ # The number of neuron accelerators for the instance type.
52383
+ # @return [Integer]
52384
+ #
52385
+ # @!attribute [rw] name
52386
+ # The name of the neuron accelerator.
52387
+ # @return [String]
52388
+ #
52389
+ # @!attribute [rw] core_info
52390
+ # Describes the cores available to each neuron accelerator.
52391
+ # @return [Types::NeuronDeviceCoreInfo]
52392
+ #
52393
+ # @!attribute [rw] memory_info
52394
+ # Describes the memory available to each neuron accelerator.
52395
+ # @return [Types::NeuronDeviceMemoryInfo]
52396
+ #
52397
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NeuronDeviceInfo AWS API Documentation
52398
+ #
52399
+ class NeuronDeviceInfo < Struct.new(
52400
+ :count,
52401
+ :name,
52402
+ :core_info,
52403
+ :memory_info)
52404
+ SENSITIVE = []
52405
+ include Aws::Structure
52406
+ end
52407
+
52408
+ # Describes the memory available to the neuron accelerator.
52409
+ #
52410
+ # @!attribute [rw] size_in_mi_b
52411
+ # The size of the memory available to the neuron accelerator, in MiB.
52412
+ # @return [Integer]
52413
+ #
52414
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NeuronDeviceMemoryInfo AWS API Documentation
52415
+ #
52416
+ class NeuronDeviceMemoryInfo < Struct.new(
52417
+ :size_in_mi_b)
52418
+ SENSITIVE = []
52419
+ include Aws::Structure
52420
+ end
52421
+
52422
+ # Describes the neuron accelerators for the instance type.
52423
+ #
52424
+ # @!attribute [rw] neuron_devices
52425
+ # Describes the neuron accelerators for the instance type.
52426
+ # @return [Array<Types::NeuronDeviceInfo>]
52427
+ #
52428
+ # @!attribute [rw] total_neuron_device_memory_in_mi_b
52429
+ # The total size of the memory for the neuron accelerators for the
52430
+ # instance type, in MiB.
52431
+ # @return [Integer]
52432
+ #
52433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NeuronInfo AWS API Documentation
52434
+ #
52435
+ class NeuronInfo < Struct.new(
52436
+ :neuron_devices,
52437
+ :total_neuron_device_memory_in_mi_b)
52438
+ SENSITIVE = []
52439
+ include Aws::Structure
52440
+ end
52441
+
52213
52442
  # @!attribute [rw] key
52214
52443
  # @return [String]
52215
52444
  #
@@ -61297,6 +61526,12 @@ module Aws::EC2
61297
61526
  # `LaunchSpecifications`, you can't specify `LaunchTemplateConfigs`.
61298
61527
  # If you include On-Demand capacity in your request, you must use
61299
61528
  # `LaunchTemplateConfigs`.
61529
+ #
61530
+ # <note markdown="1"> If an AMI specified in a launch specification is deregistered or
61531
+ # disabled, no new instances can be launched from the AMI. For fleets
61532
+ # of type `maintain`, the target capacity will not be maintained.
61533
+ #
61534
+ # </note>
61300
61535
  # @return [Array<Types::SpotFleetLaunchSpecification>]
61301
61536
  #
61302
61537
  # @!attribute [rw] launch_template_configs
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.442.0'
79
+ GEM_VERSION = '1.444.0'
80
80
 
81
81
  end
data/sig/client.rbs CHANGED
@@ -6212,6 +6212,25 @@ module Aws
6212
6212
  ) -> _DescribeLockedSnapshotsResponseSuccess
6213
6213
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLockedSnapshotsResponseSuccess
6214
6214
 
6215
+ interface _DescribeMacHostsResponseSuccess
6216
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMacHostsResult]
6217
+ def mac_hosts: () -> ::Array[Types::MacHost]
6218
+ def next_token: () -> ::String
6219
+ end
6220
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_mac_hosts-instance_method
6221
+ def describe_mac_hosts: (
6222
+ ?filters: Array[
6223
+ {
6224
+ name: ::String?,
6225
+ values: Array[::String]?
6226
+ },
6227
+ ],
6228
+ ?host_ids: Array[::String],
6229
+ ?max_results: ::Integer,
6230
+ ?next_token: ::String
6231
+ ) -> _DescribeMacHostsResponseSuccess
6232
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeMacHostsResponseSuccess
6233
+
6215
6234
  interface _DescribeManagedPrefixListsResponseSuccess
6216
6235
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeManagedPrefixListsResult]
6217
6236
  def next_token: () -> ::String
data/sig/types.rbs CHANGED
@@ -5000,6 +5000,20 @@ module Aws::EC2
5000
5000
  SENSITIVE: []
5001
5001
  end
5002
5002
 
5003
+ class DescribeMacHostsRequest
5004
+ attr_accessor filters: ::Array[Types::Filter]
5005
+ attr_accessor host_ids: ::Array[::String]
5006
+ attr_accessor max_results: ::Integer
5007
+ attr_accessor next_token: ::String
5008
+ SENSITIVE: []
5009
+ end
5010
+
5011
+ class DescribeMacHostsResult
5012
+ attr_accessor mac_hosts: ::Array[Types::MacHost]
5013
+ attr_accessor next_token: ::String
5014
+ SENSITIVE: []
5015
+ end
5016
+
5003
5017
  class DescribeManagedPrefixListsRequest
5004
5018
  attr_accessor dry_run: bool
5005
5019
  attr_accessor filters: ::Array[Types::Filter]
@@ -9136,6 +9150,8 @@ module Aws::EC2
9136
9150
  attr_accessor nitro_enclaves_support: ("unsupported" | "supported")
9137
9151
  attr_accessor nitro_tpm_support: ("unsupported" | "supported")
9138
9152
  attr_accessor nitro_tpm_info: Types::NitroTpmInfo
9153
+ attr_accessor media_accelerator_info: Types::MediaAcceleratorInfo
9154
+ attr_accessor neuron_info: Types::NeuronInfo
9139
9155
  SENSITIVE: []
9140
9156
  end
9141
9157
 
@@ -10097,6 +10113,12 @@ module Aws::EC2
10097
10113
  SENSITIVE: []
10098
10114
  end
10099
10115
 
10116
+ class MacHost
10117
+ attr_accessor host_id: ::String
10118
+ attr_accessor mac_os_latest_supported_versions: ::Array[::String]
10119
+ SENSITIVE: []
10120
+ end
10121
+
10100
10122
  class MaintenanceDetails
10101
10123
  attr_accessor pending_maintenance: ::String
10102
10124
  attr_accessor maintenance_auto_applied_after: ::Time
@@ -10118,6 +10140,25 @@ module Aws::EC2
10118
10140
  SENSITIVE: []
10119
10141
  end
10120
10142
 
10143
+ class MediaAcceleratorInfo
10144
+ attr_accessor accelerators: ::Array[Types::MediaDeviceInfo]
10145
+ attr_accessor total_media_memory_in_mi_b: ::Integer
10146
+ SENSITIVE: []
10147
+ end
10148
+
10149
+ class MediaDeviceInfo
10150
+ attr_accessor count: ::Integer
10151
+ attr_accessor name: ::String
10152
+ attr_accessor manufacturer: ::String
10153
+ attr_accessor memory_info: Types::MediaDeviceMemoryInfo
10154
+ SENSITIVE: []
10155
+ end
10156
+
10157
+ class MediaDeviceMemoryInfo
10158
+ attr_accessor size_in_mi_b: ::Integer
10159
+ SENSITIVE: []
10160
+ end
10161
+
10121
10162
  class MemoryGiBPerVCpu
10122
10163
  attr_accessor min: ::Float
10123
10164
  attr_accessor max: ::Float
@@ -11465,6 +11506,31 @@ module Aws::EC2
11465
11506
  SENSITIVE: []
11466
11507
  end
11467
11508
 
11509
+ class NeuronDeviceCoreInfo
11510
+ attr_accessor count: ::Integer
11511
+ attr_accessor version: ::Integer
11512
+ SENSITIVE: []
11513
+ end
11514
+
11515
+ class NeuronDeviceInfo
11516
+ attr_accessor count: ::Integer
11517
+ attr_accessor name: ::String
11518
+ attr_accessor core_info: Types::NeuronDeviceCoreInfo
11519
+ attr_accessor memory_info: Types::NeuronDeviceMemoryInfo
11520
+ SENSITIVE: []
11521
+ end
11522
+
11523
+ class NeuronDeviceMemoryInfo
11524
+ attr_accessor size_in_mi_b: ::Integer
11525
+ SENSITIVE: []
11526
+ end
11527
+
11528
+ class NeuronInfo
11529
+ attr_accessor neuron_devices: ::Array[Types::NeuronDeviceInfo]
11530
+ attr_accessor total_neuron_device_memory_in_mi_b: ::Integer
11531
+ SENSITIVE: []
11532
+ end
11533
+
11468
11534
  class NewDhcpConfiguration
11469
11535
  attr_accessor key: ::String
11470
11536
  attr_accessor values: ::Array[::String]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.442.0
4
+ version: 1.444.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-12 00:00:00.000000000 Z
11
+ date: 2024-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core