| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.MediaPackage.DescribeHarvestJob
Description
Gets details about an existing HarvestJob.
Synopsis
- data DescribeHarvestJob = DescribeHarvestJob' {}
- newDescribeHarvestJob :: Text -> DescribeHarvestJob
- describeHarvestJob_id :: Lens' DescribeHarvestJob Text
- data DescribeHarvestJobResponse = DescribeHarvestJobResponse' {}
- newDescribeHarvestJobResponse :: Int -> DescribeHarvestJobResponse
- describeHarvestJobResponse_status :: Lens' DescribeHarvestJobResponse (Maybe Status)
- describeHarvestJobResponse_originEndpointId :: Lens' DescribeHarvestJobResponse (Maybe Text)
- describeHarvestJobResponse_startTime :: Lens' DescribeHarvestJobResponse (Maybe Text)
- describeHarvestJobResponse_arn :: Lens' DescribeHarvestJobResponse (Maybe Text)
- describeHarvestJobResponse_createdAt :: Lens' DescribeHarvestJobResponse (Maybe Text)
- describeHarvestJobResponse_channelId :: Lens' DescribeHarvestJobResponse (Maybe Text)
- describeHarvestJobResponse_s3Destination :: Lens' DescribeHarvestJobResponse (Maybe S3Destination)
- describeHarvestJobResponse_endTime :: Lens' DescribeHarvestJobResponse (Maybe Text)
- describeHarvestJobResponse_id :: Lens' DescribeHarvestJobResponse (Maybe Text)
- describeHarvestJobResponse_httpStatus :: Lens' DescribeHarvestJobResponse Int
Creating a Request
data DescribeHarvestJob Source #
See: newDescribeHarvestJob smart constructor.
Constructors
| DescribeHarvestJob' | |
Instances
newDescribeHarvestJob Source #
Arguments
| :: Text | |
| -> DescribeHarvestJob |
Create a value of DescribeHarvestJob 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:id:DescribeHarvestJob', describeHarvestJob_id - The ID of the HarvestJob.
Request Lenses
describeHarvestJob_id :: Lens' DescribeHarvestJob Text Source #
The ID of the HarvestJob.
Destructuring the Response
data DescribeHarvestJobResponse Source #
See: newDescribeHarvestJobResponse smart constructor.
Constructors
| DescribeHarvestJobResponse' | |
Fields
| |
Instances
newDescribeHarvestJobResponse Source #
Create a value of DescribeHarvestJobResponse 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:DescribeHarvestJobResponse', describeHarvestJobResponse_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:DescribeHarvestJobResponse', describeHarvestJobResponse_originEndpointId - The ID of the OriginEndpoint that the HarvestJob will harvest from. This
cannot be changed after the HarvestJob is submitted.
$sel:startTime:DescribeHarvestJobResponse', describeHarvestJobResponse_startTime - The start of the time-window which will be harvested.
$sel:arn:DescribeHarvestJobResponse', describeHarvestJobResponse_arn - The Amazon Resource Name (ARN) assigned to the HarvestJob.
$sel:createdAt:DescribeHarvestJobResponse', describeHarvestJobResponse_createdAt - The time the HarvestJob was submitted
$sel:channelId:DescribeHarvestJobResponse', describeHarvestJobResponse_channelId - The ID of the Channel that the HarvestJob will harvest from.
$sel:s3Destination:DescribeHarvestJobResponse', describeHarvestJobResponse_s3Destination - Undocumented member.
$sel:endTime:DescribeHarvestJobResponse', describeHarvestJobResponse_endTime - The end of the time-window which will be harvested.
$sel:id:DescribeHarvestJob', describeHarvestJobResponse_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:DescribeHarvestJobResponse', describeHarvestJobResponse_httpStatus - The response's http status code.
Response Lenses
describeHarvestJobResponse_status :: Lens' DescribeHarvestJobResponse (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.
describeHarvestJobResponse_originEndpointId :: Lens' DescribeHarvestJobResponse (Maybe Text) Source #
The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.
describeHarvestJobResponse_startTime :: Lens' DescribeHarvestJobResponse (Maybe Text) Source #
The start of the time-window which will be harvested.
describeHarvestJobResponse_arn :: Lens' DescribeHarvestJobResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) assigned to the HarvestJob.
describeHarvestJobResponse_createdAt :: Lens' DescribeHarvestJobResponse (Maybe Text) Source #
The time the HarvestJob was submitted
describeHarvestJobResponse_channelId :: Lens' DescribeHarvestJobResponse (Maybe Text) Source #
The ID of the Channel that the HarvestJob will harvest from.
describeHarvestJobResponse_s3Destination :: Lens' DescribeHarvestJobResponse (Maybe S3Destination) Source #
Undocumented member.
describeHarvestJobResponse_endTime :: Lens' DescribeHarvestJobResponse (Maybe Text) Source #
The end of the time-window which will be harvested.
describeHarvestJobResponse_id :: Lens' DescribeHarvestJobResponse (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.
describeHarvestJobResponse_httpStatus :: Lens' DescribeHarvestJobResponse Int Source #
The response's http status code.