create_workspace
¶
create_workspace(
instance_id: InstanceId,
name: WorkspaceName,
*,
config_overrides: Optional[ConnectClientConfig] = None,
description: Optional[WorkspaceDescription] = None,
theme: Optional[WorkspaceTheme] = None,
title: Optional[WorkspaceTitle] = None,
tags: Optional[TagMap] = None,
) -> CreateWorkspaceResponse
Creates a workspace that defines the user experience by mapping views to pages. Workspaces can be assigned to 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.
-
name(WorkspaceName) –The name of the workspace. Must be unique within the instance and can contain 1-127 characters.
-
description(Optional[WorkspaceDescription], default:None) –The description of the workspace. Maximum length is 250 characters.
-
theme(Optional[WorkspaceTheme], default:None) –The theme configuration for the workspace, including colors and styling.
-
title(Optional[WorkspaceTitle], default:None) –The title displayed for the workspace.
-
tags(Optional[TagMap], default:None) –The tags used to organize, track, or control access for this resource. For example,
{ "Tags": {"key1":"value1", "key2":"value2"} }.
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.
-
LimitExceededException–The allowed limit for the resource has been exceeded.
-
ResourceNotFoundException–The specified resource was not found.
-
ServiceQuotaExceededException–The service quota has been exceeded.
-
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
6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 | |