create_program_management_account
¶
create_program_management_account(
catalog: Catalog,
program: Program,
display_name: ProgramManagementAccountDisplayName,
account_id: AccountId,
*,
config_overrides: Optional[PartnerCentralChannelClientConfig] = 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
>>> client.create_program_management_account(catalog='AWS', program='SOLUTION_PROVIDER', display_name='TestDisplayName', account_id='111122223333', client_token='clientToken')