put_attachment_routing_policy_label
async
¶
put_attachment_routing_policy_label(
core_network_id: CoreNetworkId,
attachment_id: AttachmentId,
routing_policy_label: ConstrainedString,
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = 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/async_network_manager.py
6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 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 | |