create_program_management_account
async
¶
create_program_management_account(
catalog: Catalog,
program: Program,
display_name: ProgramManagementAccountDisplayName,
account_id: AccountId,
*,
config_overrides: Optional[AsyncPartnerCentralChannelClientConfig] = None,
client_token: Optional[ClientToken] = None,
tags: Optional[TagList] = None,
) -> CreateProgramManagementAccountResponse
Creates a new program management account for managing partner relationships.
Parameters:
-
catalog(Catalog) –The catalog identifier for the program management account.
-
program(Program) –The program type for the management account.
-
display_name(ProgramManagementAccountDisplayName) –A human-readable name for the program management account.
-
account_id(AccountId) –The AWS account ID to associate with the program management account.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier to ensure idempotency of the request.
-
tags(Optional[TagList], default:None) –Key-value pairs to associate with the program management account.
Raises:
-
AccessDeniedException–The request was denied due to insufficient permissions.
-
InternalServerException–An internal server error occurred while processing the request.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The request was throttled due to too many requests being sent in a short period.
-
ValidationException–The request failed validation due to invalid input parameters.
-
ConflictException–The request could not be completed due to a conflict with the current state of the resource.
-
ServiceQuotaExceededException–The request would exceed a service quota limit.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Example for CreateProgramManagementAccount
>>> await client.create_program_management_account(catalog='AWS', program='SOLUTION_PROVIDER', display_name='TestDisplayName', account_id='111122223333', client_token='clientToken')
Source code in docs_src/capo_partnercentral_channel/_services/async_partner_central_channel.py
809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 | |