create_account_link_invitation
async
¶
create_account_link_invitation(
target_account_id: AwsAccount,
*,
config_overrides: Optional[AsyncWorkSpacesClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> CreateAccountLinkInvitationResult
Creates the account link invitation.
Parameters:
-
target_account_id(AwsAccount) –The identifier of the target account.
-
client_token(Optional[ClientToken], default:None) –A string of up to 64 ASCII characters that Amazon WorkSpaces uses to ensure idempotent creation.
Raises:
-
AccessDeniedException–The user is not authorized to access a resource.
-
ConflictException–The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
-
InternalServerException–An unexpected server error occurred. Retry your request.
-
ValidationException–Your request failed validation. Check the error message for the parameter that isn't valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces/_services/async_work_spaces.py
1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 | |