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
6029 6030 6031 6032 6033 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 | |