Struct aws_sdk_datapipeline::operation::report_task_runner_heartbeat::builders::ReportTaskRunnerHeartbeatFluentBuilder
source · pub struct ReportTaskRunnerHeartbeatFluentBuilder { /* 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 ReportTaskRunnerHeartbeatFluentBuilder
impl ReportTaskRunnerHeartbeatFluentBuilder
sourcepub fn as_input(&self) -> &ReportTaskRunnerHeartbeatInputBuilder
pub fn as_input(&self) -> &ReportTaskRunnerHeartbeatInputBuilder
Access the ReportTaskRunnerHeartbeat as a reference.
sourcepub async fn send(
self,
) -> Result<ReportTaskRunnerHeartbeatOutput, SdkError<ReportTaskRunnerHeartbeatError, HttpResponse>>
pub async fn send( self, ) -> Result<ReportTaskRunnerHeartbeatOutput, SdkError<ReportTaskRunnerHeartbeatError, HttpResponse>>
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 customize(
self,
) -> CustomizableOperation<ReportTaskRunnerHeartbeatOutput, ReportTaskRunnerHeartbeatError, Self>
pub fn customize( self, ) -> CustomizableOperation<ReportTaskRunnerHeartbeatOutput, ReportTaskRunnerHeartbeatError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_taskrunner_id(&self) -> &Option<String>
pub fn get_taskrunner_id(&self) -> &Option<String>
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 get_worker_group(&self) -> &Option<String>
pub fn get_worker_group(&self) -> &Option<String>
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.
sourcepub fn get_hostname(&self) -> &Option<String>
pub fn get_hostname(&self) -> &Option<String>
The public DNS name of the task runner.
Trait Implementations§
source§impl Clone for ReportTaskRunnerHeartbeatFluentBuilder
impl Clone for ReportTaskRunnerHeartbeatFluentBuilder
source§fn clone(&self) -> ReportTaskRunnerHeartbeatFluentBuilder
fn clone(&self) -> ReportTaskRunnerHeartbeatFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ReportTaskRunnerHeartbeatFluentBuilder
impl !RefUnwindSafe for ReportTaskRunnerHeartbeatFluentBuilder
impl Send for ReportTaskRunnerHeartbeatFluentBuilder
impl Sync for ReportTaskRunnerHeartbeatFluentBuilder
impl Unpin for ReportTaskRunnerHeartbeatFluentBuilder
impl !UnwindSafe for ReportTaskRunnerHeartbeatFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more