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
8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 | |