libZSservicesZSamazonka-datapipelineZSamazonka-datapipeline
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.DataPipeline.ReportTaskRunnerHeartbeat

Description

Task runners call ReportTaskRunnerHeartbeat every 15 minutes to indicate that they are operational. If the AWS Data Pipeline Task Runner is launched on a resource managed by AWS Data Pipeline, the web service can use this call to detect when the task runner application has failed and restart a new instance.

Synopsis

Creating a Request

data ReportTaskRunnerHeartbeat Source #

Contains the parameters for ReportTaskRunnerHeartbeat.

See: newReportTaskRunnerHeartbeat smart constructor.

Constructors

ReportTaskRunnerHeartbeat' 

Fields

  • hostname :: Maybe Text

    The public DNS name of the task runner.

  • workerGroup :: Maybe Text

    The type of task the task runner is configured to accept and process. The worker group is set as a field on objects in the pipeline when they are created. You can only specify a single value for workerGroup. There are no wildcard values permitted in workerGroup; the string must be an exact, case-sensitive, match.

  • taskrunnerId :: Text

    The ID of the task runner. This value should be unique across your AWS account. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service provides a unique identifier when it launches the application. If you have written a custom task runner, you should assign a unique identifier for the task runner.

Instances

Instances details
Eq ReportTaskRunnerHeartbeat Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

Read ReportTaskRunnerHeartbeat Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

Show ReportTaskRunnerHeartbeat Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

Generic ReportTaskRunnerHeartbeat Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

Associated Types

type Rep ReportTaskRunnerHeartbeat :: Type -> Type #

NFData ReportTaskRunnerHeartbeat Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

Hashable ReportTaskRunnerHeartbeat Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

ToJSON ReportTaskRunnerHeartbeat Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

AWSRequest ReportTaskRunnerHeartbeat Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

ToHeaders ReportTaskRunnerHeartbeat Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

ToPath ReportTaskRunnerHeartbeat Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

ToQuery ReportTaskRunnerHeartbeat Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

type Rep ReportTaskRunnerHeartbeat Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

type Rep ReportTaskRunnerHeartbeat = D1 ('MetaData "ReportTaskRunnerHeartbeat" "Amazonka.DataPipeline.ReportTaskRunnerHeartbeat" "libZSservicesZSamazonka-datapipelineZSamazonka-datapipeline" 'False) (C1 ('MetaCons "ReportTaskRunnerHeartbeat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hostname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "workerGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "taskrunnerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ReportTaskRunnerHeartbeat Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

newReportTaskRunnerHeartbeat Source #

Create a value of ReportTaskRunnerHeartbeat 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:hostname:ReportTaskRunnerHeartbeat', reportTaskRunnerHeartbeat_hostname - The public DNS name of the task runner.

$sel:workerGroup:ReportTaskRunnerHeartbeat', reportTaskRunnerHeartbeat_workerGroup - The type of task the task runner is configured to accept and process. The worker group is set as a field on objects in the pipeline when they are created. You can only specify a single value for workerGroup. There are no wildcard values permitted in workerGroup; the string must be an exact, case-sensitive, match.

$sel:taskrunnerId:ReportTaskRunnerHeartbeat', reportTaskRunnerHeartbeat_taskrunnerId - The ID of the task runner. This value should be unique across your AWS account. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service provides a unique identifier when it launches the application. If you have written a custom task runner, you should assign a unique identifier for the task runner.

Request Lenses

reportTaskRunnerHeartbeat_workerGroup :: Lens' ReportTaskRunnerHeartbeat (Maybe Text) Source #

The type of task the task runner is configured to accept and process. The worker group is set as a field on objects in the pipeline when they are created. You can only specify a single value for workerGroup. There are no wildcard values permitted in workerGroup; the string must be an exact, case-sensitive, match.

reportTaskRunnerHeartbeat_taskrunnerId :: Lens' ReportTaskRunnerHeartbeat Text Source #

The ID of the task runner. This value should be unique across your AWS account. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service provides a unique identifier when it launches the application. If you have written a custom task runner, you should assign a unique identifier for the task runner.

Destructuring the Response

data ReportTaskRunnerHeartbeatResponse Source #

Contains the output of ReportTaskRunnerHeartbeat.

See: newReportTaskRunnerHeartbeatResponse smart constructor.

Constructors

ReportTaskRunnerHeartbeatResponse' 

Fields

Instances

Instances details
Eq ReportTaskRunnerHeartbeatResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

Read ReportTaskRunnerHeartbeatResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

Show ReportTaskRunnerHeartbeatResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

Generic ReportTaskRunnerHeartbeatResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

Associated Types

type Rep ReportTaskRunnerHeartbeatResponse :: Type -> Type #

NFData ReportTaskRunnerHeartbeatResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

type Rep ReportTaskRunnerHeartbeatResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.ReportTaskRunnerHeartbeat

type Rep ReportTaskRunnerHeartbeatResponse = D1 ('MetaData "ReportTaskRunnerHeartbeatResponse" "Amazonka.DataPipeline.ReportTaskRunnerHeartbeat" "libZSservicesZSamazonka-datapipelineZSamazonka-datapipeline" 'False) (C1 ('MetaCons "ReportTaskRunnerHeartbeatResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "terminate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newReportTaskRunnerHeartbeatResponse Source #

Create a value of ReportTaskRunnerHeartbeatResponse 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:httpStatus:ReportTaskRunnerHeartbeatResponse', reportTaskRunnerHeartbeatResponse_httpStatus - The response's http status code.

$sel:terminate:ReportTaskRunnerHeartbeatResponse', reportTaskRunnerHeartbeatResponse_terminate - Indicates whether the calling task runner should terminate.

Response Lenses

reportTaskRunnerHeartbeatResponse_terminate :: Lens' ReportTaskRunnerHeartbeatResponse Bool Source #

Indicates whether the calling task runner should terminate.