list_cases_for_contact
async
¶
list_cases_for_contact(
domain_id: DomainId,
contact_arn: ContactArn,
*,
config_overrides: Optional[AsyncConnectCasesClientConfig] = None,
max_results: Optional[int] = None,
next_token: Optional[NextToken] = None,
) -> ListCasesForContactResponse
Lists cases for a given contact.
Parameters:
-
domain_id(DomainId) –The unique identifier of the Cases domain.
-
contact_arn(ContactArn) –A unique identifier of a contact in Amazon Connect.
-
max_results(Optional[int], 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.
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.