Struct aws_sdk_mediapackage::types::HarvestJob
source · #[non_exhaustive]pub struct HarvestJob {
pub arn: Option<String>,
pub channel_id: Option<String>,
pub created_at: Option<String>,
pub end_time: Option<String>,
pub id: Option<String>,
pub origin_endpoint_id: Option<String>,
pub s3_destination: Option<S3Destination>,
pub start_time: Option<String>,
pub status: Option<Status>,
}
Expand description
A HarvestJob resource configuration
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: Option<String>
The Amazon Resource Name (ARN) assigned to the HarvestJob.
channel_id: Option<String>
The ID of the Channel that the HarvestJob will harvest from.
created_at: Option<String>
The date and time the HarvestJob was submitted.
end_time: Option<String>
The end of the time-window which will be harvested.
id: Option<String>
The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted.
origin_endpoint_id: Option<String>
The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.
s3_destination: Option<S3Destination>
Configuration parameters for where in an S3 bucket to place the harvested content
start_time: Option<String>
The start of the time-window which will be harvested.
status: Option<Status>
The current status of the HarvestJob. Consider setting up a CloudWatch Event to listen for HarvestJobs as they succeed or fail. In the event of failure, the CloudWatch Event will include an explanation of why the HarvestJob failed.
Implementations§
source§impl HarvestJob
impl HarvestJob
sourcepub fn channel_id(&self) -> Option<&str>
pub fn channel_id(&self) -> Option<&str>
The ID of the Channel that the HarvestJob will harvest from.
sourcepub fn created_at(&self) -> Option<&str>
pub fn created_at(&self) -> Option<&str>
The date and time the HarvestJob was submitted.
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted.
sourcepub fn origin_endpoint_id(&self) -> Option<&str>
pub fn origin_endpoint_id(&self) -> Option<&str>
The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.
sourcepub fn s3_destination(&self) -> Option<&S3Destination>
pub fn s3_destination(&self) -> Option<&S3Destination>
Configuration parameters for where in an S3 bucket to place the harvested content
sourcepub fn start_time(&self) -> Option<&str>
pub fn start_time(&self) -> Option<&str>
The start of the time-window which will be harvested.
source§impl HarvestJob
impl HarvestJob
sourcepub fn builder() -> HarvestJobBuilder
pub fn builder() -> HarvestJobBuilder
Creates a new builder-style object to manufacture HarvestJob
.
Trait Implementations§
source§impl Clone for HarvestJob
impl Clone for HarvestJob
source§fn clone(&self) -> HarvestJob
fn clone(&self) -> HarvestJob
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HarvestJob
impl Debug for HarvestJob
source§impl PartialEq for HarvestJob
impl PartialEq for HarvestJob
source§fn eq(&self, other: &HarvestJob) -> bool
fn eq(&self, other: &HarvestJob) -> bool
self
and other
values to be equal, and is used
by ==
.