ConnectCases / Client / create_field
create_field¶
- ConnectCases.Client.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( domainId='string', name='string', type='Text'|'Number'|'Boolean'|'DateTime'|'SingleSelect'|'Url'|'User', description='string' ) - Parameters:
- domainId (string) – - [REQUIRED] - The unique identifier of the Cases domain. 
- name (string) – - [REQUIRED] - The name of the field. 
- type (string) – - [REQUIRED] - Defines the data type, some system constraints, and default display of the field. 
- description (string) – The description of the field. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'fieldId': 'string', 'fieldArn': 'string' } - Response Structure- (dict) – - fieldId (string) – - The unique identifier of a field. 
- fieldArn (string) – - The Amazon Resource Name (ARN) of the field. 
 
 
 - Exceptions