update_sse_connect
async
¶
update_sse_connect(
sse_connect_id: SseConnectId,
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = 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.
>>> await 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/async_network_manager.py
9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 | |