list_field_options
async
¶
list_field_options(
domain_id: DomainId,
field_id: FieldId,
*,
config_overrides: Optional[AsyncConnectCasesClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
values: Optional[ValuesList] = None,
) -> ListFieldOptionsResponse
Lists all of the field options for a field identifier in the domain.
Parameters:
-
domain_id(DomainId) –The unique identifier of the Cases domain.
-
field_id(FieldId) –The unique identifier of a field.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return per page.
-
next_token(Optional[NextToken], default:None) –The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
-
values(Optional[ValuesList], default:None) –A list of
FieldOptionvalues to filter on forListFieldOptions.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–We couldn't process your request because of an issue with the server. Try again later.
-
ResourceNotFoundException–We couldn't find the requested resource. Check that your resources exists and were created in the same Amazon Web Services Region as your request, and try your request again.
-
ThrottlingException–The rate has been exceeded for this API. Please try again after a few minutes.
-
ValidationException–The request isn't valid. Check the syntax and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connectcases/_services/async_connect_cases.py
2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 | |