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
30166 30167 30168 30169 30170 30171 30172 30173 30174 30175 30176 30177 30178 30179 30180 30181 30182 30183 30184 30185 30186 30187 30188 30189 30190 30191 30192 30193 30194 30195 30196 30197 30198 30199 30200 30201 30202 30203 30204 30205 30206 30207 30208 30209 30210 30211 30212 30213 30214 30215 30216 30217 30218 30219 30220 30221 30222 30223 30224 30225 30226 30227 30228 30229 30230 30231 30232 30233 | |