list_field_options
(**kwargs)¶Lists all of the field options for a field identifier in the domain.
See also: AWS API Documentation
Request Syntax
response = client.list_field_options(
domainId='string',
fieldId='string',
maxResults=123,
nextToken='string',
values=[
'string',
]
)
[REQUIRED]
The unique identifier of the Cases domain.
[REQUIRED]
The unique identifier of a field.
A list of FieldOption
values to filter on for ListFieldOptions
.
dict
Response Syntax
{
'nextToken': 'string',
'options': [
{
'active': True|False,
'name': 'string',
'value': 'string'
},
]
}
Response Structure
(dict) --
nextToken (string) --
The token for the next set of results. This is null if there are no more results to return.
options (list) --
A list of FieldOption
objects.
(dict) --
Object for field Options information.
active (boolean) --
Describes whether the FieldOption
is active (displayed) or inactive.
name (string) --
FieldOptionName
has max length 100 and disallows trailing spaces.
value (string) --
FieldOptionValue
has max length 100 and must be alphanumeric with hyphens and underscores.
Exceptions
ConnectCases.Client.exceptions.InternalServerException
ConnectCases.Client.exceptions.ResourceNotFoundException
ConnectCases.Client.exceptions.ValidationException
ConnectCases.Client.exceptions.ThrottlingException
ConnectCases.Client.exceptions.AccessDeniedException