aws / aws-sdk

Landing page for the AWS SDKs on GitHub
https://aws.amazon.com/tools/
Other
68 stars 12 forks source link

describe_cluster method of EMR client not returning field 'Code' #664

Closed RyanFitzSimmonsAK closed 6 months ago

RyanFitzSimmonsAK commented 6 months ago

Original issue : https://github.com/boto/boto3/issues/3964

Ticket # for internal reference : V1151986688

RyanFitzSimmonsAK commented 6 months ago

Hi @albertoCCz, thanks for your patience. This behavior is intended. All of the possible codes are for terminal states, and so the Code field will only appear if the cluster is terminating or terminated. For responses that contain objects (StateChangeReason in this case), the documentation shows all possible fields for those objects, but not all parameters will necessarily exist for every operation. Hope that helps!

github-actions[bot] commented 6 months ago

This issue is now closed.

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.

albertoCCz commented 6 months ago

Okey, got it. Thanks @RyanFitzSimmonsAK!