update_site
¶
update_site(
global_network_id: GlobalNetworkId,
site_id: SiteId,
*,
config_overrides: Optional[NetworkManagerClientConfig] = None,
description: Optional[ConstrainedString] = None,
location: Optional[Location] = None,
) -> UpdateSiteResponse
Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.
Parameters:
-
global_network_id(GlobalNetworkId) –The ID of the global network.
-
site_id(SiteId) –The ID of your site.
-
description(Optional[ConstrainedString], default:None) –A description of your site.
Constraints: Maximum length of 256 characters.
-
location(Optional[Location], default:None) –The site location:
-
Address: The physical address of the site. -
Latitude: The latitude of the site. -
Longitude: The longitude of the site.
-
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.
-
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
9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 | |