disassociate_workspace
¶
disassociate_workspace(
instance_id: InstanceId,
workspace_id: WorkspaceId,
resource_arns: WorkspaceResourceArnList,
*,
config_overrides: Optional[ConnectClientConfig] = None,
) -> DisassociateWorkspaceResponse
Removes the association between a workspace and one or more users or routing profiles.
Parameters:
-
instance_id(InstanceId) –The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
workspace_id(WorkspaceId) –The identifier of the workspace.
-
resource_arns(WorkspaceResourceArnList) –The Amazon Resource Names (ARNs) of the resources to disassociate from the workspace.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/connect.py
11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 | |