update_template
(**kwargs)¶Updates the attributes of an existing template. The template attributes that can be modified include name
, description
, layoutConfiguration
, requiredFields
, and status
. At least one of these attributes must not be null. If a null value is provided for a given attribute, that attribute is ignored and its current value is preserved.
See also: AWS API Documentation
Request Syntax
response = client.update_template(
description='string',
domainId='string',
layoutConfiguration={
'defaultLayout': 'string'
},
name='string',
requiredFields=[
{
'fieldId': 'string'
},
],
status='Active'|'Inactive',
templateId='string'
)
[REQUIRED]
The unique identifier of the Cases domain.
Configuration of layouts associated to the template.
Unique identifier of a layout.
A list of fields that must contain a value for a case to be successfully created with this template.
List of fields that must have a value provided to create a case.
Unique identifier of a field.
[REQUIRED]
A unique identifier for the template.
dict
Response Syntax
{}
Response Structure
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