Struct aws_sdk_connect::operation::update_rule::UpdateRuleInput
source · #[non_exhaustive]pub struct UpdateRuleInput {
pub rule_id: Option<String>,
pub instance_id: Option<String>,
pub name: Option<String>,
pub function: Option<String>,
pub actions: Option<Vec<RuleAction>>,
pub publish_status: Option<RulePublishStatus>,
}
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.rule_id: Option<String>
A unique identifier for the rule.
instance_id: Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name: Option<String>
The name of the rule. You can change the name only if TriggerEventSource
is one of the following values: OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
function: Option<String>
The conditions of the rule.
actions: Option<Vec<RuleAction>>
A list of actions to be run when the rule is triggered.
publish_status: Option<RulePublishStatus>
The publish status of the rule.
Implementations§
source§impl UpdateRuleInput
impl UpdateRuleInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the rule. You can change the name only if TriggerEventSource
is one of the following values: OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
sourcepub fn actions(&self) -> &[RuleAction]
pub fn actions(&self) -> &[RuleAction]
A list of actions to be run when the rule is triggered.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .actions.is_none()
.
sourcepub fn publish_status(&self) -> Option<&RulePublishStatus>
pub fn publish_status(&self) -> Option<&RulePublishStatus>
The publish status of the rule.
source§impl UpdateRuleInput
impl UpdateRuleInput
sourcepub fn builder() -> UpdateRuleInputBuilder
pub fn builder() -> UpdateRuleInputBuilder
Creates a new builder-style object to manufacture UpdateRuleInput
.
Trait Implementations§
source§impl Clone for UpdateRuleInput
impl Clone for UpdateRuleInput
source§fn clone(&self) -> UpdateRuleInput
fn clone(&self) -> UpdateRuleInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateRuleInput
impl Debug for UpdateRuleInput
source§impl PartialEq for UpdateRuleInput
impl PartialEq for UpdateRuleInput
source§fn eq(&self, other: &UpdateRuleInput) -> bool
fn eq(&self, other: &UpdateRuleInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateRuleInput
Auto Trait Implementations§
impl Freeze for UpdateRuleInput
impl RefUnwindSafe for UpdateRuleInput
impl Send for UpdateRuleInput
impl Sync for UpdateRuleInput
impl Unpin for UpdateRuleInput
impl UnwindSafe for UpdateRuleInput
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> 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