Skip to content

Commit

Permalink
feat(AWSEC2): update models to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
awsmobilesdk committed Dec 8, 2023
1 parent b977916 commit 8f7fc97
Show file tree
Hide file tree
Showing 3 changed files with 1,039 additions and 11 deletions.
26 changes: 22 additions & 4 deletions AWSEC2/AWSEC2Model.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ typedef NS_ENUM(NSInteger, AWSEC2AcceleratorManufacturer) {
AWSEC2AcceleratorManufacturerAmd,
AWSEC2AcceleratorManufacturerNvidia,
AWSEC2AcceleratorManufacturerXilinx,
AWSEC2AcceleratorManufacturerHabana,
};

typedef NS_ENUM(NSInteger, AWSEC2AcceleratorName) {
Expand All @@ -44,6 +45,9 @@ typedef NS_ENUM(NSInteger, AWSEC2AcceleratorName) {
AWSEC2AcceleratorNameT4,
AWSEC2AcceleratorNameVu9p,
AWSEC2AcceleratorNameV100,
AWSEC2AcceleratorNameA10g,
AWSEC2AcceleratorNameH100,
AWSEC2AcceleratorNameT4g,
};

typedef NS_ENUM(NSInteger, AWSEC2AcceleratorType) {
Expand Down Expand Up @@ -1818,6 +1822,15 @@ typedef NS_ENUM(NSInteger, AWSEC2InstanceType) {
AWSEC2InstanceTypeR7I_24xlarge,
AWSEC2InstanceTypeR7I_48xlarge,
AWSEC2InstanceTypeDL2q_24xlarge,
AWSEC2InstanceTypeMAC2_m2_metal,
AWSEC2InstanceTypeI4I_12xlarge,
AWSEC2InstanceTypeI4I_24xlarge,
AWSEC2InstanceTypeC7I_metal_24xl,
AWSEC2InstanceTypeC7I_metal_48xl,
AWSEC2InstanceTypeM7I_metal_24xl,
AWSEC2InstanceTypeM7I_metal_48xl,
AWSEC2InstanceTypeR7I_metal_24xl,
AWSEC2InstanceTypeR7I_metal_48xl,
};

typedef NS_ENUM(NSInteger, AWSEC2InstanceTypeHypervisor) {
Expand Down Expand Up @@ -35608,12 +35621,12 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) {
@property (nonatomic, strong) AWSEC2AcceleratorCount * _Nullable acceleratorCount;

/**
<p>Indicates whether instance types must have accelerators by specific manufacturers.</p><ul><li><p>For instance types with NVIDIA devices, specify <code>nvidia</code>.</p></li><li><p>For instance types with AMD devices, specify <code>amd</code>.</p></li><li><p>For instance types with Amazon Web Services devices, specify <code>amazon-web-services</code>.</p></li><li><p>For instance types with Xilinx devices, specify <code>xilinx</code>.</p></li></ul><p>Default: Any manufacturer</p>
<p>Indicates whether instance types must have accelerators by specific manufacturers.</p><ul><li><p>For instance types with Amazon Web Services devices, specify <code>amazon-web-services</code>.</p></li><li><p>For instance types with AMD devices, specify <code>amd</code>.</p></li><li><p>For instance types with Habana devices, specify <code>habana</code>.</p></li><li><p>For instance types with NVIDIA devices, specify <code>nvidia</code>.</p></li><li><p>For instance types with Xilinx devices, specify <code>xilinx</code>.</p></li></ul><p>Default: Any manufacturer</p>
*/
@property (nonatomic, strong) NSArray<NSString *> * _Nullable acceleratorManufacturers;

/**
<p>The accelerators that must be on the instance type.</p><ul><li><p>For instance types with NVIDIA A100 GPUs, specify <code>a100</code>.</p></li><li><p>For instance types with NVIDIA V100 GPUs, specify <code>v100</code>.</p></li><li><p>For instance types with NVIDIA K80 GPUs, specify <code>k80</code>.</p></li><li><p>For instance types with NVIDIA T4 GPUs, specify <code>t4</code>.</p></li><li><p>For instance types with NVIDIA M60 GPUs, specify <code>m60</code>.</p></li><li><p>For instance types with AMD Radeon Pro V520 GPUs, specify <code>radeon-pro-v520</code>.</p></li><li><p>For instance types with Xilinx VU9P FPGAs, specify <code>vu9p</code>.</p></li><li><p>For instance types with Amazon Web Services Inferentia chips, specify <code>inferentia</code>.</p></li><li><p>For instance types with NVIDIA GRID K520 GPUs, specify <code>k520</code>.</p></li></ul><p>Default: Any accelerator</p>
<p>The accelerators that must be on the instance type.</p><ul><li><p>For instance types with NVIDIA A10G GPUs, specify <code>a10g</code>.</p></li><li><p>For instance types with NVIDIA A100 GPUs, specify <code>a100</code>.</p></li><li><p>For instance types with NVIDIA H100 GPUs, specify <code>h100</code>.</p></li><li><p>For instance types with Amazon Web Services Inferentia chips, specify <code>inferentia</code>.</p></li><li><p>For instance types with NVIDIA GRID K520 GPUs, specify <code>k520</code>.</p></li><li><p>For instance types with NVIDIA K80 GPUs, specify <code>k80</code>.</p></li><li><p>For instance types with NVIDIA M60 GPUs, specify <code>m60</code>.</p></li><li><p>For instance types with AMD Radeon Pro V520 GPUs, specify <code>radeon-pro-v520</code>.</p></li><li><p>For instance types with NVIDIA T4 GPUs, specify <code>t4</code>.</p></li><li><p>For instance types with NVIDIA T4G GPUs, specify <code>t4g</code>.</p></li><li><p>For instance types with Xilinx VU9P FPGAs, specify <code>vu9p</code>.</p></li><li><p>For instance types with NVIDIA V100 GPUs, specify <code>v100</code>.</p></li></ul><p>Default: Any accelerator</p>
*/
@property (nonatomic, strong) NSArray<NSString *> * _Nullable acceleratorNames;

Expand Down Expand Up @@ -35732,12 +35745,12 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) {
@property (nonatomic, strong) AWSEC2AcceleratorCountRequest * _Nullable acceleratorCount;

/**
<p>Indicates whether instance types must have accelerators by specific manufacturers.</p><ul><li><p>For instance types with NVIDIA devices, specify <code>nvidia</code>.</p></li><li><p>For instance types with AMD devices, specify <code>amd</code>.</p></li><li><p>For instance types with Amazon Web Services devices, specify <code>amazon-web-services</code>.</p></li><li><p>For instance types with Xilinx devices, specify <code>xilinx</code>.</p></li></ul><p>Default: Any manufacturer</p>
<p>Indicates whether instance types must have accelerators by specific manufacturers.</p><ul><li><p>For instance types with Amazon Web Services devices, specify <code>amazon-web-services</code>.</p></li><li><p>For instance types with AMD devices, specify <code>amd</code>.</p></li><li><p>For instance types with Habana devices, specify <code>habana</code>.</p></li><li><p>For instance types with NVIDIA devices, specify <code>nvidia</code>.</p></li><li><p>For instance types with Xilinx devices, specify <code>xilinx</code>.</p></li></ul><p>Default: Any manufacturer</p>
*/
@property (nonatomic, strong) NSArray<NSString *> * _Nullable acceleratorManufacturers;

/**
<p>The accelerators that must be on the instance type.</p><ul><li><p>For instance types with NVIDIA A100 GPUs, specify <code>a100</code>.</p></li><li><p>For instance types with NVIDIA V100 GPUs, specify <code>v100</code>.</p></li><li><p>For instance types with NVIDIA K80 GPUs, specify <code>k80</code>.</p></li><li><p>For instance types with NVIDIA T4 GPUs, specify <code>t4</code>.</p></li><li><p>For instance types with NVIDIA M60 GPUs, specify <code>m60</code>.</p></li><li><p>For instance types with AMD Radeon Pro V520 GPUs, specify <code>radeon-pro-v520</code>.</p></li><li><p>For instance types with Xilinx VU9P FPGAs, specify <code> vu9p</code>.</p></li><li><p>For instance types with Amazon Web Services Inferentia chips, specify <code>inferentia</code>.</p></li><li><p>For instance types with NVIDIA GRID K520 GPUs, specify <code>k520</code>.</p></li></ul><p>Default: Any accelerator</p>
<p>The accelerators that must be on the instance type.</p><ul><li><p>For instance types with NVIDIA A10G GPUs, specify <code>a10g</code>.</p></li><li><p>For instance types with NVIDIA A100 GPUs, specify <code>a100</code>.</p></li><li><p>For instance types with NVIDIA H100 GPUs, specify <code>h100</code>.</p></li><li><p>For instance types with Amazon Web Services Inferentia chips, specify <code>inferentia</code>.</p></li><li><p>For instance types with NVIDIA GRID K520 GPUs, specify <code>k520</code>.</p></li><li><p>For instance types with NVIDIA K80 GPUs, specify <code>k80</code>.</p></li><li><p>For instance types with NVIDIA M60 GPUs, specify <code>m60</code>.</p></li><li><p>For instance types with AMD Radeon Pro V520 GPUs, specify <code>radeon-pro-v520</code>.</p></li><li><p>For instance types with NVIDIA T4 GPUs, specify <code>t4</code>.</p></li><li><p>For instance types with NVIDIA T4G GPUs, specify <code>t4g</code>.</p></li><li><p>For instance types with Xilinx VU9P FPGAs, specify <code>vu9p</code>.</p></li><li><p>For instance types with NVIDIA V100 GPUs, specify <code>v100</code>.</p></li></ul><p>Default: Any accelerator</p>
*/
@property (nonatomic, strong) NSArray<NSString *> * _Nullable acceleratorNames;

Expand Down Expand Up @@ -45772,6 +45785,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) {
@interface AWSEC2ProcessorInfo : AWSModel


/**
<p>The manufacturer of the processor.</p>
*/
@property (nonatomic, strong) NSString * _Nullable manufacturer;

/**
<p>The architectures supported by the instance type.</p>
*/
Expand Down
Loading

0 comments on commit 8f7fc97

Please sign in to comment.