Connect / Client / update_workspace_visibility
update_workspace_visibility¶
- Connect.Client.update_workspace_visibility(**kwargs)¶
Updates the visibility setting of a workspace, controlling whether it is available to all users, assigned users only, or none.
See also: AWS API Documentation
Request Syntax
response = client.update_workspace_visibility( InstanceId='string', WorkspaceId='string', Visibility='ALL'|'ASSIGNED'|'NONE' )
- Parameters:
InstanceId (string) –
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
WorkspaceId (string) –
[REQUIRED]
The identifier of the workspace.
Visibility (string) –
[REQUIRED]
The visibility setting for the workspace. Valid values are:
ALL(available to all users),ASSIGNED(available only to assigned users and routing profiles), andNONE(not visible to any users).
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions