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=[
{
'active': True|False,
'name': 'string',
'value': 'string'
},
]
)
[REQUIRED]
The unique identifier of the Cases domain.
[REQUIRED]
The unique identifier of a field.
[REQUIRED]
A list of FieldOption
objects.
Object for field Options information.
Describes whether the FieldOption
is active (displayed) or inactive.
FieldOptionName
has max length 100 and disallows trailing spaces.
FieldOptionValue
has max length 100 and must be alphanumeric with hyphens and underscores.
dict
Response Syntax
{
'errors': [
{
'errorCode': 'string',
'message': 'string',
'value': 'string'
},
]
}
Response Structure
(dict) --
errors (list) --
A list of field errors.
(dict) --
Object for field Options errors.
errorCode (string) --
Error code from creating or updating field option.
message (string) --
Error message 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