Skip to content

opensearch cli commands not showing correctly in document #103

Description

@KR411-prog

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={}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions