Skip to content

DataRetrievalRule

Source code in docs_src/capo_glacier/types/data_retrieval_rule.py
class DataRetrievalRule(TypedDict, closed=True):
    strategy: NotRequired["capo_glacier.types.string.string"]
    """<p>The type of data retrieval policy to set.</p> <p>Valid values: BytesPerHour|FreeTier|None</p>"""
    bytes_per_hour: NotRequired["capo_glacier.types.nullable_long.NullableLong"]
    """<p>The maximum number of bytes that can be retrieved in an hour.</p> <p>This field is required only if the value of the Strategy field is <code>BytesPerHour</code>. Your PUT operation will be rejected if the Strategy field is not set to <code>BytesPerHour</code> and you set this field.</p>"""

bytes_per_hour instance-attribute

bytes_per_hour: NotRequired[NullableLong]

The maximum number of bytes that can be retrieved in an hour.

This field is required only if the value of the Strategy field is BytesPerHour. Your PUT operation will be rejected if the Strategy field is not set to BytesPerHour and you set this field.

strategy instance-attribute

strategy: NotRequired[string]

The type of data retrieval policy to set.

Valid values: BytesPerHour|FreeTier|None