list_service_network_service_associations
¶
list_service_network_service_associations(
*,
config_overrides: Optional[VPCLatticeClientConfig] = None,
service_network_identifier: Optional[ServiceNetworkIdentifier] = None,
service_identifier: Optional[ServiceIdentifier] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListServiceNetworkServiceAssociationsResponse
Lists the associations between a service network and a service. You can filter the list either by service or service network. You must provide either the service network identifier or the service identifier.
Every association in Amazon VPC Lattice has a unique Amazon Resource Name (ARN), such as when a service network is associated with a VPC or when a service is associated with a service network. If the association is for a resource is shared with another account, the association includes the local account ID as the prefix in the ARN.
Parameters:
-
service_network_identifier(Optional[ServiceNetworkIdentifier], default:None) –The ID or ARN of the service network.
-
service_identifier(Optional[ServiceIdentifier], default:None) –The ID or ARN of the service.
-
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/vpc_lattice.py
4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 | |