| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MediaPackage.CreateHarvestJob
Description
Creates a new HarvestJob record.
Synopsis
- data CreateHarvestJob = CreateHarvestJob' {
- s3Destination :: S3Destination
- endTime :: Text
- originEndpointId :: Text
- startTime :: Text
- id :: Text
- newCreateHarvestJob :: S3Destination -> Text -> Text -> Text -> Text -> CreateHarvestJob
- createHarvestJob_s3Destination :: Lens' CreateHarvestJob S3Destination
- createHarvestJob_endTime :: Lens' CreateHarvestJob Text
- createHarvestJob_originEndpointId :: Lens' CreateHarvestJob Text
- createHarvestJob_startTime :: Lens' CreateHarvestJob Text
- createHarvestJob_id :: Lens' CreateHarvestJob Text
- data CreateHarvestJobResponse = CreateHarvestJobResponse' {}
- newCreateHarvestJobResponse :: Int -> CreateHarvestJobResponse
- createHarvestJobResponse_arn :: Lens' CreateHarvestJobResponse (Maybe Text)
- createHarvestJobResponse_channelId :: Lens' CreateHarvestJobResponse (Maybe Text)
- createHarvestJobResponse_createdAt :: Lens' CreateHarvestJobResponse (Maybe Text)
- createHarvestJobResponse_endTime :: Lens' CreateHarvestJobResponse (Maybe Text)
- createHarvestJobResponse_id :: Lens' CreateHarvestJobResponse (Maybe Text)
- createHarvestJobResponse_originEndpointId :: Lens' CreateHarvestJobResponse (Maybe Text)
- createHarvestJobResponse_s3Destination :: Lens' CreateHarvestJobResponse (Maybe S3Destination)
- createHarvestJobResponse_startTime :: Lens' CreateHarvestJobResponse (Maybe Text)
- createHarvestJobResponse_status :: Lens' CreateHarvestJobResponse (Maybe Status)
- createHarvestJobResponse_httpStatus :: Lens' CreateHarvestJobResponse Int
Creating a Request
data CreateHarvestJob Source #
Configuration parameters used to create a new HarvestJob.
See: newCreateHarvestJob smart constructor.
Constructors
| CreateHarvestJob' | |
Fields
| |
Instances
Arguments
| :: S3Destination | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> CreateHarvestJob |
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:
CreateHarvestJob, createHarvestJob_s3Destination - Undocumented member.
CreateHarvestJob, createHarvestJob_endTime - The end of the time-window which will be harvested
CreateHarvestJob, createHarvestJob_originEndpointId - The ID of the OriginEndpoint that the HarvestJob will harvest from. This
cannot be changed after the HarvestJob is submitted.
CreateHarvestJob, createHarvestJob_startTime - The start of the time-window which will be harvested
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_s3Destination :: Lens' CreateHarvestJob S3Destination Source #
Undocumented member.
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
| |
Instances
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:
CreateHarvestJobResponse, createHarvestJobResponse_arn - The Amazon Resource Name (ARN) assigned to the HarvestJob.
CreateHarvestJobResponse, createHarvestJobResponse_channelId - The ID of the Channel that the HarvestJob will harvest from.
CreateHarvestJobResponse, createHarvestJobResponse_createdAt - The time the HarvestJob was submitted
CreateHarvestJob, createHarvestJobResponse_endTime - The end of the time-window which will be harvested.
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.
CreateHarvestJob, createHarvestJobResponse_originEndpointId - The ID of the OriginEndpoint that the HarvestJob will harvest from. This
cannot be changed after the HarvestJob is submitted.
CreateHarvestJob, createHarvestJobResponse_s3Destination - Undocumented member.
CreateHarvestJob, createHarvestJobResponse_startTime - The start of the time-window which will be harvested.
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:httpStatus:CreateHarvestJobResponse', createHarvestJobResponse_httpStatus - The response's http status code.
Response Lenses
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_createdAt :: Lens' CreateHarvestJobResponse (Maybe Text) Source #
The time the HarvestJob was submitted
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.
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_s3Destination :: Lens' CreateHarvestJobResponse (Maybe S3Destination) Source #
Undocumented member.
createHarvestJobResponse_startTime :: Lens' CreateHarvestJobResponse (Maybe Text) Source #
The start of the time-window which will be harvested.
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_httpStatus :: Lens' CreateHarvestJobResponse Int Source #
The response's http status code.