Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opensearch cli commands not showing correctly in document #103

Open
KR411-prog opened this issue May 30, 2023 · 0 comments
Open

opensearch cli commands not showing correctly in document #103

KR411-prog opened this issue May 30, 2023 · 0 comments

Comments

@KR411-prog
Copy link

https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html document has wrong cli command for update domain config.

aws opensearch update-domain-config \ --domain-name my-domain \ --auto-tune-options DesiredState=ENABLED,UseOffPeakWindow=true,MaintenanceSchedules=null

It throws,

Parameter validation failed:
Invalid type for parameter AutoTuneOptions.MaintenanceSchedules[0], value: null, type: <class 'str'>, valid types: <class 'dict'>

It has to be updated to,
aws opensearch update-domain-config --domain-name my-domain --auto-tune-options DesiredState=ENABLED,UseOffPeakWindow=true,MaintenanceSchedules={}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant