-
Is it possible that the .NET SDK schema for a given resource change without revising the underlying AWS REST API version. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Looking into our EC2 history it looks like one resource property has been deprecated back 2019. That would be |
Beta Was this translation helpful? Give feedback.
-
@normj, thanks for your response. If a property is deprecated, then AWS service has logic in place NOT to populate the deprecate property i.e., as a client, I don't have a way to fetch the response in the old schema that I have? What happens if a property is deprecated but there is no replacement with new property. Even in this case, it's not considered as a breaking change? I was wondering why the API version is not revised. In general, API Version serves as a contract between client and the server that dictates the request and response schema? |
Beta Was this translation helpful? Give feedback.
-
@normj - ping. |
Beta Was this translation helpful? Give feedback.
-
I'm not following your question. If a property is deprecated the service still returns back data for the property. The exception is if you use newer features since the property was deprecated that newer feature might not make sense for the deprecated property and in that case the deprecated property might not have a value. So basically the user is opting into new behavior which makes sense the response might be different. We try very hard to not ship breaking changes. Changing the API version number doesn't really work for making breaking changes because SDKs only generate from the model tip. And it is also really hard to rationalize SDK version numbers with the API version. |
Beta Was this translation helpful? Give feedback.
I'm not following your question. If a property is deprecated the service still returns back data for the property. The exception is if you use newer features since the property was deprecated that newer feature might not make sense for the deprecated property and in that case the deprecated property might not have a value. So basically the user is opting into new behavior which makes sense the response might be different.
We try very hard to not ship breaking changes. Changing the API version number doesn't really work for making breaking changes because SDKs only generate from the model tip. And it is also really hard to rationalize SDK version numbers with the API version.