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
ListLayoutsresponse.
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.InternalServerExceptionConnectCases.Client.exceptions.ResourceNotFoundExceptionConnectCases.Client.exceptions.ValidationExceptionConnectCases.Client.exceptions.ThrottlingExceptionConnectCases.Client.exceptions.AccessDeniedExceptionConnectCases.Client.exceptions.ConflictException