create_field
(**kwargs)¶Creates a field in the Cases domain. This field is used to define the case object model (that is, defines what data can be captured on cases) in a Cases domain.
See also: AWS API Documentation
Request Syntax
response = client.create_field(
description='string',
domainId='string',
name='string',
type='Text'|'Number'|'Boolean'|'DateTime'|'SingleSelect'
)
[REQUIRED]
The unique identifier of the Cases domain.
[REQUIRED]
The name of the field.
[REQUIRED]
Defines the data type, some system constraints, and default display of the field.
dict
Response Syntax
{
'fieldArn': 'string',
'fieldId': 'string'
}
Response Structure
(dict) --
fieldArn (string) --
The Amazon Resource Name (ARN) of the field.
fieldId (string) --
The unique identifier of a field.
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
ConnectCases.Client.exceptions.ServiceQuotaExceededException