Connect / Client / delete_workspace
delete_workspace¶
- Connect.Client.delete_workspace(**kwargs)¶
Deletes a workspace and removes all associated view and resource assignments.
See also: AWS API Documentation
Request Syntax
response = client.delete_workspace( InstanceId='string', WorkspaceId='string' )
- 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.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
Connect.Client.exceptions.InvalidRequestExceptionConnect.Client.exceptions.ResourceNotFoundExceptionConnect.Client.exceptions.InternalServiceExceptionConnect.Client.exceptions.ThrottlingExceptionConnect.Client.exceptions.AccessDeniedExceptionConnect.Client.exceptions.InvalidParameterException