list_target_groups
¶
list_target_groups(
*,
config_overrides: Optional[VPCLatticeClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
vpc_identifier: Optional[VpcId] = None,
target_group_type: Optional[TargetGroupType] = None,
) -> ListTargetGroupsResponse
Lists your target groups. You can narrow your search by using the filters below in your request.
Parameters:
-
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.
-
vpc_identifier(Optional[VpcId], default:None) –The ID or ARN of the VPC.
-
target_group_type(Optional[TargetGroupType], default:None) –The target group type.
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/vpc_lattice.py
4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 | |