AlexaForBusiness / Client / send_invitation

send_invitation#

AlexaForBusiness.Client.send_invitation(**kwargs)#

Sends an enrollment invitation email with a URL to a user. The URL is valid for 30 days or until you call this operation again, whichever comes first.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response = client.send_invitation(
    UserArn='string'
)
Parameters:

UserArn (string) – The ARN of the user to whom to send an invitation. Required.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • AlexaForBusiness.Client.exceptions.NotFoundException

  • AlexaForBusiness.Client.exceptions.InvalidUserStatusException

  • AlexaForBusiness.Client.exceptions.ConcurrentModificationException