Skip to content

Creates the account link invitation

Description

Creates the account link invitation.

Usage

workspaces_create_account_link_invitation(TargetAccountId, ClientToken)

Arguments

  • TargetAccountId

    [required] The identifier of the target account.

  • ClientToken

    A string of up to 64 ASCII characters that Amazon WorkSpaces uses to ensure idempotent creation.

Value

A list with the following syntax:

list(
  AccountLink = list(
    AccountLinkId = "string",
    AccountLinkStatus = "LINKED"|"LINKING_FAILED"|"LINK_NOT_FOUND"|"PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT"|"REJECTED",
    SourceAccountId = "string",
    TargetAccountId = "string"
  )
)

Request syntax

svc$create_account_link_invitation(
  TargetAccountId = "string",
  ClientToken = "string"
)