libZSservicesZSamazonka-mediapackageZSamazonka-mediapackage
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaPackage.CreateHarvestJob

Description

Creates a new HarvestJob record.

Synopsis

Creating a Request

data CreateHarvestJob Source #

Configuration parameters used to create a new HarvestJob.

See: newCreateHarvestJob smart constructor.

Constructors

CreateHarvestJob' 

Fields

  • s3Destination :: S3Destination
     
  • endTime :: Text

    The end of the time-window which will be harvested

  • originEndpointId :: Text

    The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.

  • startTime :: Text

    The start of the time-window which will be harvested

  • id :: Text

    The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted

Instances

Instances details
Eq CreateHarvestJob Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

Read CreateHarvestJob Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

Show CreateHarvestJob Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

Generic CreateHarvestJob Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

Associated Types

type Rep CreateHarvestJob :: Type -> Type #

NFData CreateHarvestJob Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

Methods

rnf :: CreateHarvestJob -> () #

Hashable CreateHarvestJob Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

ToJSON CreateHarvestJob Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

AWSRequest CreateHarvestJob Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

Associated Types

type AWSResponse CreateHarvestJob #

ToHeaders CreateHarvestJob Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

ToPath CreateHarvestJob Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

ToQuery CreateHarvestJob Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

type Rep CreateHarvestJob Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

type Rep CreateHarvestJob = D1 ('MetaData "CreateHarvestJob" "Amazonka.MediaPackage.CreateHarvestJob" "libZSservicesZSamazonka-mediapackageZSamazonka-mediapackage" 'False) (C1 ('MetaCons "CreateHarvestJob'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "s3Destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 S3Destination) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "originEndpointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateHarvestJob Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

newCreateHarvestJob Source #

Create a value of CreateHarvestJob with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:s3Destination:CreateHarvestJob', createHarvestJob_s3Destination - Undocumented member.

$sel:endTime:CreateHarvestJob', createHarvestJob_endTime - The end of the time-window which will be harvested

$sel:originEndpointId:CreateHarvestJob', createHarvestJob_originEndpointId - The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.

$sel:startTime:CreateHarvestJob', createHarvestJob_startTime - The start of the time-window which will be harvested

$sel:id:CreateHarvestJob', createHarvestJob_id - The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted

Request Lenses

createHarvestJob_endTime :: Lens' CreateHarvestJob Text Source #

The end of the time-window which will be harvested

createHarvestJob_originEndpointId :: Lens' CreateHarvestJob Text Source #

The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.

createHarvestJob_startTime :: Lens' CreateHarvestJob Text Source #

The start of the time-window which will be harvested

createHarvestJob_id :: Lens' CreateHarvestJob Text Source #

The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted

Destructuring the Response

data CreateHarvestJobResponse Source #

See: newCreateHarvestJobResponse smart constructor.

Constructors

CreateHarvestJobResponse' 

Fields

  • status :: Maybe 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.

  • originEndpointId :: Maybe Text

    The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.

  • startTime :: Maybe Text

    The start of the time-window which will be harvested.

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) assigned to the HarvestJob.

  • createdAt :: Maybe Text

    The time the HarvestJob was submitted

  • channelId :: Maybe Text

    The ID of the Channel that the HarvestJob will harvest from.

  • s3Destination :: Maybe S3Destination
     
  • endTime :: Maybe Text

    The end of the time-window which will be harvested.

  • id :: Maybe Text

    The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq CreateHarvestJobResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

Read CreateHarvestJobResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

Show CreateHarvestJobResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

Generic CreateHarvestJobResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

Associated Types

type Rep CreateHarvestJobResponse :: Type -> Type #

NFData CreateHarvestJobResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

type Rep CreateHarvestJobResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateHarvestJob

newCreateHarvestJobResponse Source #

Create a value of CreateHarvestJobResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:CreateHarvestJobResponse', createHarvestJobResponse_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.

$sel:originEndpointId:CreateHarvestJob', createHarvestJobResponse_originEndpointId - The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.

$sel:startTime:CreateHarvestJob', createHarvestJobResponse_startTime - The start of the time-window which will be harvested.

$sel:arn:CreateHarvestJobResponse', createHarvestJobResponse_arn - The Amazon Resource Name (ARN) assigned to the HarvestJob.

$sel:createdAt:CreateHarvestJobResponse', createHarvestJobResponse_createdAt - The time the HarvestJob was submitted

$sel:channelId:CreateHarvestJobResponse', createHarvestJobResponse_channelId - The ID of the Channel that the HarvestJob will harvest from.

$sel:s3Destination:CreateHarvestJob', createHarvestJobResponse_s3Destination - Undocumented member.

$sel:endTime:CreateHarvestJob', createHarvestJobResponse_endTime - The end of the time-window which will be harvested.

$sel:id:CreateHarvestJob', createHarvestJobResponse_id - The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted.

$sel:httpStatus:CreateHarvestJobResponse', createHarvestJobResponse_httpStatus - The response's http status code.

Response Lenses

createHarvestJobResponse_status :: Lens' CreateHarvestJobResponse (Maybe Status) Source #

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.

createHarvestJobResponse_originEndpointId :: Lens' CreateHarvestJobResponse (Maybe Text) Source #

The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.

createHarvestJobResponse_startTime :: Lens' CreateHarvestJobResponse (Maybe Text) Source #

The start of the time-window which will be harvested.

createHarvestJobResponse_arn :: Lens' CreateHarvestJobResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) assigned to the HarvestJob.

createHarvestJobResponse_channelId :: Lens' CreateHarvestJobResponse (Maybe Text) Source #

The ID of the Channel that the HarvestJob will harvest from.

createHarvestJobResponse_endTime :: Lens' CreateHarvestJobResponse (Maybe Text) Source #

The end of the time-window which will be harvested.

createHarvestJobResponse_id :: Lens' CreateHarvestJobResponse (Maybe Text) Source #

The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted.