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
2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 | |