list_functions
async
¶
list_functions(
*,
config_overrides: Optional[AsyncMediaTailorClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[__string] = None,
) -> ListFunctionsResponse
Retrieves all functions associated with your AWS account in the current Region. For more information about functions, see Working with functions in the MediaTailor User Guide.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of functions that you want MediaTailor to return in response to the current request. If there are more than
MaxResultsfunctions, use the value ofNextTokenin the response to get the next page of results.The default value is 100. MediaTailor uses token-based pagination, which means that a response might contain fewer than
MaxResultsitems, including 0 items, even when more results are available. To retrieve all results, you must continue making requests using theNextTokenvalue from each response until the response no longer includes aNextTokenvalue. -
next_token(Optional[__string], default:None) –Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
For the first
ListFunctionsrequest, omit this value. For subsequent requests, get the value ofNextTokenfrom the previous response and specify that value forNextTokenin the request. Continue making requests until the response no longer includes aNextTokenvalue, which indicates that all results have been retrieved.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.