pub struct ReportTaskRunnerHeartbeat { /* 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§
source§impl ReportTaskRunnerHeartbeat
impl ReportTaskRunnerHeartbeat
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ReportTaskRunnerHeartbeat, AwsResponseRetryClassifier>, SdkError<ReportTaskRunnerHeartbeatError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ReportTaskRunnerHeartbeat, AwsResponseRetryClassifier>, SdkError<ReportTaskRunnerHeartbeatError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ReportTaskRunnerHeartbeatOutput, SdkError<ReportTaskRunnerHeartbeatError>>
pub async fn send(
self
) -> Result<ReportTaskRunnerHeartbeatOutput, SdkError<ReportTaskRunnerHeartbeatError>>
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.
sourcepub fn taskrunner_id(self, input: impl Into<String>) -> Self
pub fn taskrunner_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_taskrunner_id(self, input: Option<String>) -> Self
pub fn set_taskrunner_id(self, input: Option<String>) -> Self
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.
sourcepub fn worker_group(self, input: impl Into<String>) -> Self
pub fn worker_group(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_worker_group(self, input: Option<String>) -> Self
pub fn set_worker_group(self, input: Option<String>) -> Self
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.
sourcepub fn hostname(self, input: impl Into<String>) -> Self
pub fn hostname(self, input: impl Into<String>) -> Self
The public DNS name of the task runner.
sourcepub fn set_hostname(self, input: Option<String>) -> Self
pub fn set_hostname(self, input: Option<String>) -> Self
The public DNS name of the task runner.
Trait Implementations§
source§impl Clone for ReportTaskRunnerHeartbeat
impl Clone for ReportTaskRunnerHeartbeat
source§fn clone(&self) -> ReportTaskRunnerHeartbeat
fn clone(&self) -> ReportTaskRunnerHeartbeat
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more