class Aws::OpenSearchService::Types::Duration

The maintenance schedule duration: duration value and duration unit. See [ Auto-Tune for Amazon OpenSearch Service ][1] for more information.

[1]: docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html

@note When making an API call, you may pass Duration

data as a hash:

    {
      value: 1,
      unit: "HOURS", # accepts HOURS
    }

@!attribute [rw] value

Integer to specify the value of a maintenance schedule duration. See
[ Auto-Tune for Amazon OpenSearch Service ][1] for more information.

[1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html
@return [Integer]

@!attribute [rw] unit

The unit of a maintenance schedule duration. Valid value is HOURS.
See [ Auto-Tune for Amazon OpenSearch Service ][1] for more
information.

[1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/Duration AWS API Documentation

Constants

SENSITIVE