list_connections
async
¶
list_connections(
catalog: Catalog,
*,
config_overrides: Optional[AsyncPartnerCentralAccountClientConfig] = None,
next_token: Optional[NextToken] = None,
connection_type: Optional[ConnectionTypeFilter] = None,
max_results: Optional[MaxResults] = None,
other_participant_identifiers: Optional[ParticipantIdentifierList] = None,
) -> ListConnectionsResponse
Lists active connections for the partner account, with optional filtering by connection type and participant.
Parameters:
-
catalog(Catalog) –The catalog identifier for the partner account.
-
next_token(Optional[NextToken], default:None) –The token for retrieving the next page of results in paginated responses.
-
connection_type(Optional[ConnectionTypeFilter], default:None) –Filter results by connection type (e.g., reseller, distributor, technology partner).
-
max_results(Optional[MaxResults], default:None) –The maximum number of connections to return in a single response.
-
other_participant_identifiers(Optional[ParticipantIdentifierList], default:None) –Filter results by specific participant identifiers.
Raises:
-
AccessDeniedException–The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
-
InternalServerException–An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
-
ThrottlingException–The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
-
ValidationException–The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_partnercentral_account/_services/async_partner_central_account.py
1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 | |