create_app_instance_admin(**kwargs)¶Promotes an AppInstanceUser to an AppInstanceAdmin . The promoted user can perform the following actions.
ChannelModerator actions across all channels in the AppInstance .DeleteChannelMessage actions.Only an AppInstanceUser can be promoted to an AppInstanceAdmin role.
See also: AWS API Documentation
Request Syntax
response = client.create_app_instance_admin(
AppInstanceAdminArn='string',
AppInstanceArn='string'
)
[REQUIRED]
The ARN of the administrator of the current AppInstance .
[REQUIRED]
The ARN of the AppInstance .
dict
Response Syntax
{
'AppInstanceAdmin': {
'Arn': 'string',
'Name': 'string'
},
'AppInstanceArn': 'string'
}
Response Structure
(dict) --
AppInstanceAdmin (dict) --
The name and ARN of the admin for the AppInstance .
Arn (string) --
The ARN in an Identity.
Name (string) --
The name in an Identity.
AppInstanceArn (string) --
The ARN of the of the admin for the AppInstance .
Exceptions
ChimeSDKIdentity.Client.exceptions.BadRequestExceptionChimeSDKIdentity.Client.exceptions.ConflictExceptionChimeSDKIdentity.Client.exceptions.ForbiddenExceptionChimeSDKIdentity.Client.exceptions.ResourceLimitExceededExceptionChimeSDKIdentity.Client.exceptions.ThrottledClientExceptionChimeSDKIdentity.Client.exceptions.UnauthorizedClientExceptionChimeSDKIdentity.Client.exceptions.ServiceUnavailableExceptionChimeSDKIdentity.Client.exceptions.ServiceFailureException