update_workspace_metadata
async
¶
update_workspace_metadata(
instance_id: InstanceId,
workspace_id: WorkspaceId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
name: Optional[WorkspaceName] = None,
description: Optional[WorkspaceDescription] = None,
title: Optional[WorkspaceTitle] = None,
) -> UpdateWorkspaceMetadataResponse
Updates the metadata of a workspace, such as its name and description.
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.
-
name(Optional[WorkspaceName], default:None) –The name of the workspace.
-
description(Optional[WorkspaceDescription], default:None) –The description of the workspace.
-
title(Optional[WorkspaceTitle], default:None) –The title displayed for the workspace.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
DuplicateResourceException–A resource with the specified name already exists.
-
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/async_connect.py
29830 29831 29832 29833 29834 29835 29836 29837 29838 29839 29840 29841 29842 29843 29844 29845 29846 29847 29848 29849 29850 29851 29852 29853 29854 29855 29856 29857 29858 29859 29860 29861 29862 29863 29864 29865 29866 29867 29868 29869 29870 29871 29872 29873 29874 29875 29876 29877 29878 29879 29880 29881 29882 29883 29884 29885 29886 29887 29888 29889 29890 29891 29892 29893 29894 29895 29896 29897 | |