list_harvest_jobs
async
¶
list_harvest_jobs(
*,
config_overrides: Optional[AsyncMediaPackageClientConfig] = None,
include_channel_id: Optional[__string] = None,
include_status: Optional[__string] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[__string] = None,
) -> ListHarvestJobsResponse
Returns a collection of HarvestJob records.
Parameters:
-
include_channel_id(Optional[__string], default:None) –When specified, the request will return only HarvestJobs associated with the given Channel ID.
-
include_status(Optional[__string], default:None) –When specified, the request will return only HarvestJobs in the given status.
-
max_results(Optional[MaxResults], default:None) –The upper bound on the number of records to return.
-
next_token(Optional[__string], default:None) –A token used to resume pagination from the end of a previous request.
Raises:
-
ForbiddenException–The client is not authorized to access the requested resource.
-
InternalServerErrorException–An unexpected error occurred.
-
NotFoundException–The requested resource does not exist.
-
ServiceUnavailableException–An unexpected error occurred.
-
TooManyRequestsException–The client has exceeded their resource or throttling limits.
-
UnprocessableEntityException–The parameters sent in the request are not valid.
-
UnknownServiceError–The service returned an error code this client does not model.