Skip to content

Duration

Source code in docs_src/capo_elasticsearch_service/types/duration.py
class Duration(TypedDict, closed=True):
    value: NotRequired["capo_elasticsearch_service.types.duration_value.DurationValue"]
    """<p> Integer to specify the value of a maintenance schedule duration. See the <a href="https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html" target="_blank">Developer Guide</a> for more information.</p>"""
    unit: NotRequired["capo_elasticsearch_service.types.time_unit.TimeUnit"]
    """<p>Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the <a href="https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html" target="_blank">Developer Guide</a> for more information.</p>"""

unit instance-attribute

unit: NotRequired[TimeUnit]

Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.

value instance-attribute

value: NotRequired[DurationValue]

Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.