create_partner
async
¶
create_partner(
catalog: Catalog,
legal_name: SensitiveUnicodeString,
primary_solution_type: PrimarySolutionType,
alliance_lead_contact: AllianceLeadContact,
email_verification_code: EmailVerificationCode,
*,
config_overrides: Optional[AsyncPartnerCentralAccountClientConfig] = None,
client_token: Optional[ClientToken] = None,
tags: Optional[TagList] = None,
) -> CreatePartnerResponse
Creates a new partner account in the AWS Partner Network with the specified details and configuration.
Parameters:
-
catalog(Catalog) –The catalog identifier where the partner account will be created.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
legal_name(SensitiveUnicodeString) –The legal name of the organization becoming a partner.
-
primary_solution_type(PrimarySolutionType) –The primary type of solution or service the partner provides (e.g., consulting, software, managed services).
-
alliance_lead_contact(AllianceLeadContact) –The primary contact person for alliance and partnership matters.
-
email_verification_code(EmailVerificationCode) –The verification code sent to the alliance lead contact's email to confirm account creation.
-
tags(Optional[TagList], default:None) –A list of tags to associate with the partner account for organization and billing purposes.
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/async_partner_central_account.py
1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 | |