put_alliance_lead_contact
async
¶
put_alliance_lead_contact(
catalog: Catalog,
identifier: PartnerIdentifier,
alliance_lead_contact: AllianceLeadContact,
*,
config_overrides: Optional[AsyncPartnerCentralAccountClientConfig] = None,
email_verification_code: Optional[EmailVerificationCode] = None,
) -> PutAllianceLeadContactResponse
Creates or updates the alliance lead contact information for a partner account.
Parameters:
-
catalog(Catalog) –The catalog identifier for the partner account.
-
identifier(PartnerIdentifier) –The unique identifier of the partner account.
-
alliance_lead_contact(AllianceLeadContact) –The alliance lead contact information to set for the partner account.
-
email_verification_code(Optional[EmailVerificationCode], default:None) –The verification code sent to the alliance lead contact's email to confirm the update.
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.
-
ResourceNotFoundException–The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
-
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
2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 | |