Replacing string input by enum #1853
Vishwa1705
started this conversation in
General
Replies: 1 comment 2 replies
-
Hi @c0sm1k , Unfortunately that is not an option because the input type is not determined by the SDK. Each AWS service determines the input types for the API models and the SDKs are auto generated based on those service models. You can see the API spec in the official docs. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
In Reserved Instance's recommendation page, We see 5 of the Services in drop down. While using sdk, i noticed that to we need to provide the service name as string input.
Can you pls tell us how can we use enum over there instead of manually adding string for service field in GetReservationPurchaseRecommendationInput of costexplorer?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions