update_connection_preferences
¶
update_connection_preferences(
catalog: Catalog,
revision: Revision,
access_type: AccessType,
*,
config_overrides: Optional[PartnerCentralAccountClientConfig] = None,
excluded_participant_identifiers: Optional[ParticipantIdentifierList] = None,
) -> UpdateConnectionPreferencesResponse
Updates the connection preferences for a partner account, modifying access settings and exclusions.
Parameters:
-
catalog(Catalog) –The catalog identifier for the partner account.
-
revision(Revision) –The revision number of the connection preferences for optimistic locking.
-
access_type(AccessType) –The access type setting for connections (e.g., open, restricted, invitation-only).
-
excluded_participant_identifiers(Optional[ParticipantIdentifierList], default:None) –The updated list of participant identifiers to exclude from connections.
Raises:
-
AccessDeniedException–The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
-
ConflictException–The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
-
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/partner_central_account.py
1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 | |