ConnectCases / Client / delete_layout
delete_layout¶
- ConnectCases.Client.delete_layout(**kwargs)¶
Deletes a layout from a cases template. You can delete up to 100 layouts per domain.
After a layout is deleted:
You can still retrieve the layout by calling
GetLayout
.You cannot update a deleted layout by calling
UpdateLayout
; it throws aValidationException
.Deleted layouts are not included in the
ListLayouts
response.
See also: AWS API Documentation
Request Syntax
response = client.delete_layout( domainId='string', layoutId='string' )
- Parameters:
domainId (string) –
[REQUIRED]
The unique identifier of the Cases domain.
layoutId (string) –
[REQUIRED]
The unique identifier of the layout.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
ConnectCases.Client.exceptions.InternalServerException
ConnectCases.Client.exceptions.ResourceNotFoundException
ConnectCases.Client.exceptions.ValidationException
ConnectCases.Client.exceptions.ThrottlingException
ConnectCases.Client.exceptions.AccessDeniedException
ConnectCases.Client.exceptions.ConflictException