Struct aws_sdk_swf::operation::register_domain::RegisterDomainInput
source · #[non_exhaustive]pub struct RegisterDomainInput {
pub name: Option<String>,
pub description: Option<String>,
pub workflow_execution_retention_period_in_days: Option<String>,
pub tags: Option<Vec<ResourceTag>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>Name of the domain to register. The name must be unique in the region that the domain is registered in.
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.
description: Option<String>A text description of the domain.
workflow_execution_retention_period_in_days: Option<String>The duration (in days) that records and histories of workflow executions on the domain should be kept by the service. After the retention period, the workflow execution isn't available in the results of visibility calls.
If you pass the value NONE or 0 (zero), then the workflow execution history isn't retained. As soon as the workflow execution completes, the execution record and its history are deleted.
The maximum workflow execution retention period is 90 days. For more information about Amazon SWF service limits, see: Amazon SWF Service Limits in the Amazon SWF Developer Guide.
Tags to be added when registering a domain.
Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.
Implementations§
source§impl RegisterDomainInput
impl RegisterDomainInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
Name of the domain to register. The name must be unique in the region that the domain is registered in.
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 text description of the domain.
sourcepub fn workflow_execution_retention_period_in_days(&self) -> Option<&str>
pub fn workflow_execution_retention_period_in_days(&self) -> Option<&str>
The duration (in days) that records and histories of workflow executions on the domain should be kept by the service. After the retention period, the workflow execution isn't available in the results of visibility calls.
If you pass the value NONE or 0 (zero), then the workflow execution history isn't retained. As soon as the workflow execution completes, the execution record and its history are deleted.
The maximum workflow execution retention period is 90 days. For more information about Amazon SWF service limits, see: Amazon SWF Service Limits in the Amazon SWF Developer Guide.
Tags to be added when registering a domain.
Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl RegisterDomainInput
impl RegisterDomainInput
sourcepub fn builder() -> RegisterDomainInputBuilder
pub fn builder() -> RegisterDomainInputBuilder
Creates a new builder-style object to manufacture RegisterDomainInput.
Trait Implementations§
source§impl Clone for RegisterDomainInput
impl Clone for RegisterDomainInput
source§fn clone(&self) -> RegisterDomainInput
fn clone(&self) -> RegisterDomainInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RegisterDomainInput
impl Debug for RegisterDomainInput
source§impl PartialEq for RegisterDomainInput
impl PartialEq for RegisterDomainInput
source§fn eq(&self, other: &RegisterDomainInput) -> bool
fn eq(&self, other: &RegisterDomainInput) -> bool
self and other values to be equal, and is used
by ==.