aws / aws-sdk-net

The official AWS SDK for .NET. For more information on the AWS SDK for .NET, see our web site:
http://aws.amazon.com/sdkfornet/
Apache License 2.0
2.05k stars 852 forks source link

Add m7a class instancetypes #3032

Closed doskabouter closed 1 year ago

doskabouter commented 1 year ago

Describe the feature

On the website I'm able to choose f.e. m7a.medium as instancetype when creating a new instance. These values are not yet available to the sdk, and I would like to be able to start instances of that type from my tools.

Use Case

These are the only non-burstable singlecore machines and as such perfect for my workload

Proposed Solution

No response

Other Information

No response

Acknowledgements

AWS .NET SDK and/or Package version used

3.7.621.0

Targeted .NET Platform

,NET Framework 3.5

Operating System and version

Windows 10

normj commented 1 year ago

In what way is m7a.medium not available in the SDK? We don't have enumerations or anything for instance types and if you are trying to start an instance you would set the InstanceType string property for the RunInstance operation to m7a.medium.

doskabouter commented 1 year ago

The enumeration I use is the Amazon.EC2.InstanceType as defined here: https://github.com/aws/aws-sdk-net/blob/master/sdk/src/Services/EC2/Generated/ServiceEnumerations.cs#L7418 I never realized I could just do a new InstanceType("m7a.medium")... thanks for the hint!

normj commented 1 year ago

Today's release of the SDK picked up the last instance type enumeration values including the m7a types. https://github.com/aws/aws-sdk-net/blob/master/changelogs/SDK.CHANGELOG.2023.md#376290-2023-08-24-1829-utc

github-actions[bot] commented 1 year ago

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.