Skip to content

TrafficSplitRequestOptions

Source code in docs_src/capo_opensearch/types/traffic_split_request_options.py
class TrafficSplitRequestOptions(TypedDict, closed=True):
    strategy: "capo_opensearch.types.traffic_strategy.TrafficStrategy"
    """<p>The traffic shifting strategy. The only valid value is <code>ShiftReadTrafficPercent</code>.</p>"""
    clone_read_traffic_percent: "capo_opensearch.types.traffic_percent.TrafficPercent"
    """<p>The percentage of search traffic, from 0 to 100, to send to the cloned cluster. The rest goes to the primary cluster.</p>"""

clone_read_traffic_percent instance-attribute

clone_read_traffic_percent: TrafficPercent

The percentage of search traffic, from 0 to 100, to send to the cloned cluster. The rest goes to the primary cluster.

strategy instance-attribute

strategy: TrafficStrategy

The traffic shifting strategy. The only valid value is ShiftReadTrafficPercent.