| 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.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_arn :: Lens' DescribeHarvestJobResponse (Maybe Text)
- describeHarvestJobResponse_channelId :: Lens' DescribeHarvestJobResponse (Maybe Text)
- describeHarvestJobResponse_createdAt :: Lens' DescribeHarvestJobResponse (Maybe Text)
- describeHarvestJobResponse_endTime :: Lens' DescribeHarvestJobResponse (Maybe Text)
- describeHarvestJobResponse_id :: Lens' DescribeHarvestJobResponse (Maybe Text)
- describeHarvestJobResponse_originEndpointId :: Lens' DescribeHarvestJobResponse (Maybe Text)
- describeHarvestJobResponse_s3Destination :: Lens' DescribeHarvestJobResponse (Maybe S3Destination)
- describeHarvestJobResponse_startTime :: Lens' DescribeHarvestJobResponse (Maybe Text)
- describeHarvestJobResponse_status :: Lens' DescribeHarvestJobResponse (Maybe Status)
- 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:
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:
DescribeHarvestJobResponse, describeHarvestJobResponse_arn - The Amazon Resource Name (ARN) assigned to the HarvestJob.
DescribeHarvestJobResponse, describeHarvestJobResponse_channelId - The ID of the Channel that the HarvestJob will harvest from.
DescribeHarvestJobResponse, describeHarvestJobResponse_createdAt - The time the HarvestJob was submitted
DescribeHarvestJobResponse, describeHarvestJobResponse_endTime - The end of the time-window which will be harvested.
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.
DescribeHarvestJobResponse, describeHarvestJobResponse_originEndpointId - The ID of the OriginEndpoint that the HarvestJob will harvest from. This
cannot be changed after the HarvestJob is submitted.
DescribeHarvestJobResponse, describeHarvestJobResponse_s3Destination - Undocumented member.
DescribeHarvestJobResponse, describeHarvestJobResponse_startTime - The start of the time-window which will be harvested.
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:httpStatus:DescribeHarvestJobResponse', describeHarvestJobResponse_httpStatus - The response's http status code.
Response Lenses
describeHarvestJobResponse_arn :: Lens' DescribeHarvestJobResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) assigned to the HarvestJob.
describeHarvestJobResponse_channelId :: Lens' DescribeHarvestJobResponse (Maybe Text) Source #
The ID of the Channel that the HarvestJob will harvest from.
describeHarvestJobResponse_createdAt :: Lens' DescribeHarvestJobResponse (Maybe Text) Source #
The time the HarvestJob was submitted
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_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_s3Destination :: Lens' DescribeHarvestJobResponse (Maybe S3Destination) Source #
Undocumented member.
describeHarvestJobResponse_startTime :: Lens' DescribeHarvestJobResponse (Maybe Text) Source #
The start of the time-window which will be harvested.
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_httpStatus :: Lens' DescribeHarvestJobResponse Int Source #
The response's http status code.