list_resolvers_by_function
async
¶
list_resolvers_by_function(
api_id: String,
function_id: String,
*,
config_overrides: Optional[AsyncAppSyncClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListResolversByFunctionResponse
List the resolvers that are associated with a specific function.
Parameters:
-
api_id(String) –The API ID.
-
function_id(String) –The function ID.
-
next_token(Optional[PaginationToken], default:None) –An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results that you want the request to return.
Raises:
-
BadRequestException–The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
-
InternalFailureException–An internal AppSync error occurred. Try your request again.
-
NotFoundException–The resource specified in the request was not found. Check the resource, and then try again.
-
UnauthorizedException–You aren't authorized to perform this operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appsync/_services/async_app_sync.py
3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 | |