def invite_account_to_organization(Target=None, Notes=None):
    """
    Sends an invitation to another account to join your organization as a member account. Organizations sends email on your behalf to the email address that is associated with the other account's owner. The invitation is implemented as a  Handshake whose details are in the response.
    This operation can be called only from the organization's master account.
    See also: AWS API Documentation
    
    
    :example: response = client.invite_account_to_organization(
        Target={
            'Id': 'string',
            'Type': 'ACCOUNT'|'ORGANIZATION'|'EMAIL'
        },
        Notes='string'
    )
    
    
    :type Target: dict
    :param Target: [REQUIRED]
            The identifier (ID) of the AWS account that you want to invite to join your organization. This is a JSON object that contains the following elements:
            { 'Type': 'ACCOUNT', 'Id': '* **account id number** * ' }
            If you use the AWS CLI, you can submit this as a single string, similar to the following example:
            --target id=123456789012,type=ACCOUNT
            If you specify 'Type': 'ACCOUNT' , then you must provide the AWS account ID number as the Id . If you specify 'Type': 'EMAIL' , then you must specify the email address that is associated with the account.
            --target id=bill@example.com,type=EMAIL
            Id (string) --The unique identifier (ID) for the party.
            The regex pattern for handshake ID string requires 'h-' followed by from 8 to 32 lower-case letters or digits.
            Type (string) --The type of party.
            

    :type Notes: string
    :param Notes: Additional information that you want to include in the generated email to the recipient account owner.

    :rtype: dict
    :return: {
        'Handshake': {
            'Id': 'string',
            'Arn': 'string',
            'Parties': [
                {
                    'Id': 'string',
                    'Type': 'ACCOUNT'|'ORGANIZATION'|'EMAIL'
                },
            ],
            'State': 'REQUESTED'|'OPEN'|'CANCELED'|'ACCEPTED'|'DECLINED'|'EXPIRED',
            'RequestedTimestamp': datetime(2015, 1, 1),
            'ExpirationTimestamp': datetime(2015, 1, 1),
            'Action': 'INVITE'|'ENABLE_ALL_FEATURES'|'APPROVE_ALL_FEATURES',
            'Resources': [
                {
                    'Value': 'string',
                    'Type': 'ACCOUNT'|'ORGANIZATION'|'ORGANIZATION_FEATURE_SET'|'EMAIL'|'MASTER_EMAIL'|'MASTER_NAME'|'NOTES'|'PARENT_HANDSHAKE',
                    'Resources': {'... recursive ...'}
                },
            ]
        }
    }
    
    
    :returns: 
    REQUESTED : This handshake was sent to multiple recipients (applicable to only some handshake types) and not all recipients have responded yet. The request stays in this state until all recipients respond.
    OPEN : This handshake was sent to multiple recipients (applicable to only some policy types) and all recipients have responded, allowing the originator to complete the handshake action.
    CANCELED : This handshake is no longer active because it was canceled by the originating account.
    ACCEPTED : This handshake is complete because it has been accepted by the recipient.
    DECLINED : This handshake is no longer active because it was declined by the recipient account.
    EXPIRED : This handshake is no longer active because the originator did not receive a response of any kind from the recipient before the expiration time (15 days).
    
    """
    pass
