get_harvest_job
¶
get_harvest_job(
channel_group_name: ResourceName,
channel_name: ResourceName,
origin_endpoint_name: ResourceName,
harvest_job_name: ResourceName,
*,
config_overrides: Optional[MediaPackageV2ClientConfig] = 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
>>> 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/media_package_v2.py
2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 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 | |