AlexaForBusiness / Client / put_skill_authorization
put_skill_authorization#
- AlexaForBusiness.Client.put_skill_authorization(**kwargs)#
Links a user’s account to a third-party skill provider. If this API operation is called by an assumed IAM role, the skill being linked must be a private skill. Also, the skill must be owned by the AWS account that assumed the IAM role.
See also: AWS API Documentation
Request Syntax
response = client.put_skill_authorization( AuthorizationResult={ 'string': 'string' }, SkillId='string', RoomArn='string' )
- Parameters:
AuthorizationResult (dict) –
[REQUIRED]
The authorization result specific to OAUTH code grant output. “Code” must be populated in the AuthorizationResult map to establish the authorization.
(string) –
(string) –
SkillId (string) –
[REQUIRED]
The unique identifier of a skill.
RoomArn (string) – The room that the skill is authorized for.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
AlexaForBusiness.Client.exceptions.UnauthorizedException
AlexaForBusiness.Client.exceptions.ConcurrentModificationException