update_clone
¶
update_clone(
domain_name: DomainName,
*,
config_overrides: Optional[OpenSearchClientConfig] = None,
traffic_split_options: Optional[TrafficSplitRequestOptions] = None,
cutover_options: Optional[CutoverRequestOptions] = None,
retention_options: Optional[RetentionOptions] = None,
) -> UpdateCloneResponse
Manages a cloned blue/green upgrade that is in progress on a domain. Use it to shift a percentage of search traffic to the cloned cluster, to cut over to the cloned cluster or back to the primary cluster, or to change the retention period. Specify exactly one of TrafficSplitOptions, CutoverOptions, or RetentionOptions in each request.
Parameters:
-
domain_name(DomainName) –The name of the domain that has a cloned blue/green upgrade in progress.
-
traffic_split_options(Optional[TrafficSplitRequestOptions], default:None) –Shifts a percentage of search traffic from the primary cluster to the cloned cluster.
-
cutover_options(Optional[CutoverRequestOptions], default:None) –Cuts the domain over to the cloned cluster or back to the primary cluster.
-
retention_options(Optional[RetentionOptions], default:None) –Changes the retention period, or ends it after cutover completes.
Raises:
-
BaseException–An error occurred while processing the request.
-
DisabledOperationException–An error occured because the client wanted to access an unsupported operation.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that doesn't exist.
-
ValidationException–An exception for accessing or deleting a resource that doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_opensearch/_services/open_search.py
6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 | |