put_alliance_lead_contact
¶
put_alliance_lead_contact(
catalog: Catalog,
identifier: PartnerIdentifier,
alliance_lead_contact: AllianceLeadContact,
*,
config_overrides: Optional[PartnerCentralAccountClientConfig] = 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/partner_central_account.py
2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 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 | |