describe_direct_connect_gateways
async
¶
describe_direct_connect_gateways(
*,
config_overrides: Optional[AsyncDirectConnectClientConfig] = None,
direct_connect_gateway_id: Optional[DirectConnectGatewayId] = None,
max_results: Optional[MaxResultSetSize] = None,
next_token: Optional[PaginationToken] = None,
) -> DescribeDirectConnectGatewaysResult
Lists all your Direct Connect gateways or only the specified Direct Connect gateway. Deleted Direct Connect gateways are not returned.
Parameters:
-
direct_connect_gateway_id(Optional[DirectConnectGatewayId], default:None) –The ID of the Direct Connect gateway.
-
max_results(Optional[MaxResultSetSize], default:None) –The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.If
MaxResultsis given a value larger than 100, only 100 results are returned. -
next_token(Optional[PaginationToken], default:None) –The token provided in the previous call to retrieve the next page.
Raises:
-
DirectConnectClientException–One or more parameters are not valid.
-
DirectConnectServerException–A server-side error occurred.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_direct_connect/_services/async_direct_connect.py
3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 | |