Struct aws_sdk_swf::input::RegisterActivityTypeInput
source · [−]#[non_exhaustive]pub struct RegisterActivityTypeInput { /* private fields */ }Implementations
sourceimpl RegisterActivityTypeInput
impl RegisterActivityTypeInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RegisterActivityType, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RegisterActivityType, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<RegisterActivityType>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RegisterActivityTypeInput.
sourceimpl RegisterActivityTypeInput
impl RegisterActivityTypeInput
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
The name of the domain in which this activity is to be registered.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the activity type within the domain.
The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f-\u009f). Also, it must not be the literal string arn.
sourcepub fn version(&self) -> Option<&str>
pub fn version(&self) -> Option<&str>
The version of the activity type.
The activity type consists of the name and version, the combination of which must be unique within the domain.
The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f-\u009f). Also, it must not be the literal string arn.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A textual description of the activity type.
sourcepub fn default_task_start_to_close_timeout(&self) -> Option<&str>
pub fn default_task_start_to_close_timeout(&self) -> Option<&str>
If set, specifies the default maximum duration that a worker can take to process tasks of this activity type. This default can be overridden when scheduling an activity task using the ScheduleActivityTask Decision.
The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.
sourcepub fn default_task_heartbeat_timeout(&self) -> Option<&str>
pub fn default_task_heartbeat_timeout(&self) -> Option<&str>
If set, specifies the default maximum time before which a worker processing a task of this type must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. This default can be overridden when scheduling an activity task using the ScheduleActivityTask Decision. If the activity worker subsequently attempts to record a heartbeat or returns a result, the activity worker receives an UnknownResource fault. In this case, Amazon SWF no longer considers the activity task to be valid; the activity worker should clean up the activity task.
The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.
sourcepub fn default_task_list(&self) -> Option<&TaskList>
pub fn default_task_list(&self) -> Option<&TaskList>
If set, specifies the default task list to use for scheduling tasks of this activity type. This default task list is used if a task list isn't provided when a task is scheduled through the ScheduleActivityTask Decision.
sourcepub fn default_task_priority(&self) -> Option<&str>
pub fn default_task_priority(&self) -> Option<&str>
The default task priority to assign to the activity type. If not assigned, then 0 is used. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the in the Amazon SWF Developer Guide..
sourcepub fn default_task_schedule_to_start_timeout(&self) -> Option<&str>
pub fn default_task_schedule_to_start_timeout(&self) -> Option<&str>
If set, specifies the default maximum duration that a task of this activity type can wait before being assigned to a worker. This default can be overridden when scheduling an activity task using the ScheduleActivityTask Decision.
The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.
sourcepub fn default_task_schedule_to_close_timeout(&self) -> Option<&str>
pub fn default_task_schedule_to_close_timeout(&self) -> Option<&str>
If set, specifies the default maximum duration for a task of this activity type. This default can be overridden when scheduling an activity task using the ScheduleActivityTask Decision.
The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.
Trait Implementations
sourceimpl Clone for RegisterActivityTypeInput
impl Clone for RegisterActivityTypeInput
sourcefn clone(&self) -> RegisterActivityTypeInput
fn clone(&self) -> RegisterActivityTypeInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more