update_clone
async
¶
update_clone(
domain_name: DomainName,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = 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/async_open_search.py
6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 | |