reject_account_link_invitation
async
¶
reject_account_link_invitation(
link_id: LinkId,
*,
config_overrides: Optional[AsyncWorkSpacesClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> RejectAccountLinkInvitationResult
Rejects the account link invitation.
Parameters:
-
link_id(LinkId) –The identifier of the account link
-
client_token(Optional[ClientToken], default:None) –The client token of the account link invitation to reject.
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.
-
ResourceNotFoundException–The resource could not be found.
-
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
8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 | |