get_harvest_job
async
¶
get_harvest_job(
channel_group_name: ResourceName,
channel_name: ResourceName,
origin_endpoint_name: ResourceName,
harvest_job_name: ResourceName,
*,
config_overrides: Optional[AsyncMediaPackageV2ClientConfig] = None,
) -> GetHarvestJobResponse
Retrieves the details of a specific harvest job.
Parameters:
-
channel_group_name(ResourceName) –The name of the channel group containing the channel associated with the harvest job.
-
channel_name(ResourceName) –The name of the channel associated with the harvest job.
-
origin_endpoint_name(ResourceName) –The name of the origin endpoint associated with the harvest job.
-
harvest_job_name(ResourceName) –The name of the harvest job to retrieve.
Raises:
-
AccessDeniedException–Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception if MediaPackage receives a throttling error from Secrets Manager.
-
InternalServerException–Indicates that an error from the service occurred while trying to process a request.
-
ResourceNotFoundException–The specified resource doesn't exist.
-
ThrottlingException–The request throughput limit was exceeded.
-
ValidationException–The input failed to meet the constraints specified by the AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Getting a Harvest Job
>>> await client.get_harvest_job(channel_group_name='exampleChannelGroup', channel_name='exampleChannelName', origin_endpoint_name='exampleOriginEndpointName', harvest_job_name='HarvestJobName')
Source code in docs_src/capo_mediapackagev2/_services/async_media_package_v2.py
2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 | |