put_attachment_routing_policy_label
¶
put_attachment_routing_policy_label(
core_network_id: CoreNetworkId,
attachment_id: AttachmentId,
routing_policy_label: ConstrainedString,
*,
config_overrides: Optional[NetworkManagerClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> PutAttachmentRoutingPolicyLabelResponse
Applies a routing policy label to an attachment for traffic routing decisions.
Parameters:
-
core_network_id(CoreNetworkId) –The ID of the core network containing the attachment.
-
attachment_id(AttachmentId) –The ID of the attachment to apply the routing policy label to.
-
routing_policy_label(ConstrainedString) –The routing policy label to apply to the attachment.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
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.
-
InternalServerException–The request has failed due to an internal error.
-
ResourceNotFoundException–The specified resource could not be found.
-
ServiceQuotaExceededException–A service limit was exceeded.
-
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.
Source code in docs_src/capo_networkmanager/_services/network_manager.py
8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 | |