Closed meszarosdezso closed 8 months ago
Hi @meszarosdezso,
Thanks for reaching out. Our docs and types are code generated directly from each AWS service's API model:
Like you mentioned, the official api reference has the same problem where the docs dont match the defined enum.
I looked at the API model history, and saw that this PENDING
was never removed, from what I can tell it never existed as an enum in the first place.
Because this is controlled upstream, it's not actionable by the SDK team. Instead, I have created an internal ticket to the service team P104887794
asking them to either update the model to add that enum value, or remove that from the docs.
You should not be blocked from passing in "PENDING" as a literal string instead of the concrete enum type (Im not sure if there is service side support, but you can give it a try if you need to)
Thanks again! Ran~
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.
Describe the issue
The
Availability
property returned from theCheckDomainAvailability
had aPENDING
variant in the past - this now seems removed but its description is present in the docs.Docs for the property (code):
The actual enum (code):
I am wondering if the
PENDING
variant has been removed on purpose and if so what's the correct variant to use instead.Links
https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/route-53-domains/command/CheckDomainAvailabilityCommand/