list_attachments
async
¶
list_attachments(
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = None,
core_network_id: Optional[CoreNetworkId] = None,
attachment_type: Optional[AttachmentType] = None,
edge_location: Optional[ExternalRegionCode] = None,
state: Optional[AttachmentState] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListAttachmentsResponse
Returns a list of core network attachments.
Parameters:
-
core_network_id(Optional[CoreNetworkId], default:None) –The ID of a core network.
-
attachment_type(Optional[AttachmentType], default:None) –The type of attachment.
-
edge_location(Optional[ExternalRegionCode], default:None) –The Region where the edge is located.
-
state(Optional[AttachmentState], default:None) –The state of the attachment.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return.
-
next_token(Optional[NextToken], default:None) –The token for the next page of results.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–The request has failed due to an internal error.
-
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
5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 | |