list_service_network_vpc_associations
async
¶
list_service_network_vpc_associations(
*,
config_overrides: Optional[AsyncVPCLatticeClientConfig] = None,
service_network_identifier: Optional[ServiceNetworkIdentifier] = None,
vpc_identifier: Optional[VpcId] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListServiceNetworkVpcAssociationsResponse
Lists the associations between a service network and a VPC. You can filter the list either by VPC or service network. You must provide either the ID of the service network identifier or the ID of the VPC.
Parameters:
-
service_network_identifier(Optional[ServiceNetworkIdentifier], default:None) –The ID or ARN of the service network.
-
vpc_identifier(Optional[VpcId], default:None) –The ID or ARN of the VPC.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return.
-
next_token(Optional[NextToken], default:None) –A pagination token for the next page of results.
Raises:
-
AccessDeniedException–The user does not have sufficient access to perform this action.
-
InternalServerException–An unexpected error occurred while processing the request.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The input does not satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_vpc_lattice/_services/async_vpc_lattice.py
4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 | |