update_sse_connect
¶
update_sse_connect(
sse_connect_id: SseConnectId,
*,
config_overrides: Optional[NetworkManagerClientConfig] = None,
sse_regions: Optional[SseRegionNameList] = None,
description: Optional[ConstrainedString] = None,
dry_run: Optional[Boolean] = None,
) -> UpdateSseConnectResponse
Updates the description or the Regions of an SSE connect. Specify at least one of Description or SseRegions. You can't change the SSE provider. The SSE connect must be in the AVAILABLE state.
You can't remove a Region while a core network is attached to the SSE connect in that Region. Update the core network attachment first.
Parameters:
-
sse_connect_id(SseConnectId) –The ID of the SSE connect to update.
-
sse_regions(Optional[SseRegionNameList], default:None) –The complete list of Regions where the SSE connect peers with the SSE provider. This list replaces the current Regions. You must specify at least two Regions, and the SSE provider must be available in each Region. If you omit this parameter, the Regions are unchanged.
-
description(Optional[ConstrainedString], default:None) –The new description of the SSE connect. If you omit this parameter, the description is unchanged.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isAccessDeniedException.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
-
DryRunOperation–You have the required permissions. You specified the
DryRunparameter, so the request didn't run. -
InternalServerException–The request has failed due to an internal error.
-
ResourceNotFoundException–The specified resource could not be found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To update the Regions of an SSE connect The following example replaces the Regions of an SSE connect with aa-example-1, aa-example-2, and aa-example-3.
>>> client.update_sse_connect(sse_connect_id='sse-connect-1234567890abcdef0', sse_regions=['aa-example-1', 'aa-example-2', 'aa-example-3'])
Source code in docs_src/capo_networkmanager/_services/network_manager.py
9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 | |