ConnectCases / Client / batch_put_field_options
batch_put_field_options¶
- ConnectCases.Client.batch_put_field_options(**kwargs)¶
- Creates and updates a set of field options for a single select field in a Cases domain. - See also: AWS API Documentation - Request Syntax- response = client.batch_put_field_options( domainId='string', fieldId='string', options=[ { 'name': 'string', 'value': 'string', 'active': True|False }, ] ) - Parameters:
- domainId (string) – - [REQUIRED] - The unique identifier of the Cases domain. 
- fieldId (string) – - [REQUIRED] - The unique identifier of a field. 
- options (list) – - [REQUIRED] - A list of - FieldOptionobjects.- (dict) – - Object for field Options information. - name (string) – [REQUIRED] - FieldOptionNamehas max length 100 and disallows trailing spaces.
- value (string) – [REQUIRED] - FieldOptionValuehas max length 100 and must be alphanumeric with hyphens and underscores.
- active (boolean) – [REQUIRED] - Describes whether the - FieldOptionis active (displayed) or inactive.
 
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'errors': [ { 'message': 'string', 'errorCode': 'string', 'value': 'string' }, ] } - Response Structure- (dict) – - errors (list) – - A list of field errors. - (dict) – - Object for field Options errors. - message (string) – - Error message from creating or updating field option. 
- errorCode (string) – - Error code from creating or updating field option. 
- value (string) – - The field option value that caused the error. 
 
 
 
 
 - Exceptions- ConnectCases.Client.exceptions.InternalServerException
- ConnectCases.Client.exceptions.ResourceNotFoundException
- ConnectCases.Client.exceptions.ValidationException
- ConnectCases.Client.exceptions.ThrottlingException
- ConnectCases.Client.exceptions.AccessDeniedException
- ConnectCases.Client.exceptions.ServiceQuotaExceededException