pub struct ReportTaskRunnerHeartbeat<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to ReportTaskRunnerHeartbeat
.
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.
Implementations
impl<C, M, R> ReportTaskRunnerHeartbeat<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ReportTaskRunnerHeartbeat<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ReportTaskRunnerHeartbeatOutput, SdkError<ReportTaskRunnerHeartbeatError>> where
R::Policy: SmithyRetryPolicy<ReportTaskRunnerHeartbeatInputOperationOutputAlias, ReportTaskRunnerHeartbeatOutput, ReportTaskRunnerHeartbeatError, ReportTaskRunnerHeartbeatInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ReportTaskRunnerHeartbeatOutput, SdkError<ReportTaskRunnerHeartbeatError>> where
R::Policy: SmithyRetryPolicy<ReportTaskRunnerHeartbeatInputOperationOutputAlias, ReportTaskRunnerHeartbeatOutput, ReportTaskRunnerHeartbeatError, ReportTaskRunnerHeartbeatInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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.
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.
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.
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.
The public DNS name of the task runner.
The public DNS name of the task runner.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ReportTaskRunnerHeartbeat<C, M, R>
impl<C, M, R> Send for ReportTaskRunnerHeartbeat<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ReportTaskRunnerHeartbeat<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ReportTaskRunnerHeartbeat<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ReportTaskRunnerHeartbeat<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more