PartnerCentralChannelAPI / Client / create_program_management_account
create_program_management_account¶
- PartnerCentralChannelAPI.Client.create_program_management_account(**kwargs)¶
Creates a new program management account for managing partner relationships.
See also: AWS API Documentation
Request Syntax
response = client.create_program_management_account( catalog='string', program='SOLUTION_PROVIDER'|'DISTRIBUTION'|'DISTRIBUTION_SELLER', displayName='string', accountId='string', clientToken='string', tags=[ { 'key': 'string', 'value': 'string' }, ] )
- Parameters:
catalog (string) –
[REQUIRED]
The catalog identifier for the program management account.
program (string) –
[REQUIRED]
The program type for the management account.
displayName (string) –
[REQUIRED]
A human-readable name for the program management account.
accountId (string) –
[REQUIRED]
The AWS account ID to associate with the program management account.
clientToken (string) –
A unique, case-sensitive identifier to ensure idempotency of the request.
This field is autopopulated if not provided.
tags (list) –
Key-value pairs to associate with the program management account.
(dict) –
A key-value pair that can be associated with a resource.
key (string) – [REQUIRED]
The key of the tag.
value (string) – [REQUIRED]
The value of the tag.
- Return type:
dict
- Returns:
Response Syntax
{ 'programManagementAccountDetail': { 'id': 'string', 'arn': 'string' } }
Response Structure
(dict) –
programManagementAccountDetail (dict) –
Details of the created program management account.
id (string) –
The unique identifier of the created program management account.
arn (string) –
The Amazon Resource Name (ARN) of the created program management account.
Exceptions
PartnerCentralChannelAPI.Client.exceptions.ResourceNotFoundExceptionPartnerCentralChannelAPI.Client.exceptions.InternalServerExceptionPartnerCentralChannelAPI.Client.exceptions.ValidationExceptionPartnerCentralChannelAPI.Client.exceptions.ThrottlingExceptionPartnerCentralChannelAPI.Client.exceptions.AccessDeniedExceptionPartnerCentralChannelAPI.Client.exceptions.ConflictExceptionPartnerCentralChannelAPI.Client.exceptions.ServiceQuotaExceededException