amazonka-connect-2.0: Amazon Connect Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Connect.Types.Rule

Description

 
Synopsis

Documentation

data Rule Source #

Information about a rule.

See: newRule smart constructor.

Constructors

Rule' 

Fields

Instances

Instances details
FromJSON Rule Source # 
Instance details

Defined in Amazonka.Connect.Types.Rule

Generic Rule Source # 
Instance details

Defined in Amazonka.Connect.Types.Rule

Associated Types

type Rep Rule :: Type -> Type #

Methods

from :: Rule -> Rep Rule x #

to :: Rep Rule x -> Rule #

Read Rule Source # 
Instance details

Defined in Amazonka.Connect.Types.Rule

Show Rule Source # 
Instance details

Defined in Amazonka.Connect.Types.Rule

Methods

showsPrec :: Int -> Rule -> ShowS #

show :: Rule -> String #

showList :: [Rule] -> ShowS #

NFData Rule Source # 
Instance details

Defined in Amazonka.Connect.Types.Rule

Methods

rnf :: Rule -> () #

Eq Rule Source # 
Instance details

Defined in Amazonka.Connect.Types.Rule

Methods

(==) :: Rule -> Rule -> Bool #

(/=) :: Rule -> Rule -> Bool #

Hashable Rule Source # 
Instance details

Defined in Amazonka.Connect.Types.Rule

Methods

hashWithSalt :: Int -> Rule -> Int #

hash :: Rule -> Int #

type Rep Rule Source # 
Instance details

Defined in Amazonka.Connect.Types.Rule

newRule Source #

Create a value of Rule with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:tags:Rule', rule_tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

$sel:name:Rule', rule_name - The name of the rule.

$sel:ruleId:Rule', rule_ruleId - A unique identifier for the rule.

$sel:ruleArn:Rule', rule_ruleArn - The Amazon Resource Name (ARN) of the rule.

$sel:triggerEventSource:Rule', rule_triggerEventSource - The event source to trigger the rule.

$sel:function:Rule', rule_function - The conditions of the rule.

$sel:actions:Rule', rule_actions - A list of actions to be run when the rule is triggered.

$sel:publishStatus:Rule', rule_publishStatus - The publish status of the rule.

$sel:createdTime:Rule', rule_createdTime - The timestamp for when the rule was created.

$sel:lastUpdatedTime:Rule', rule_lastUpdatedTime - The timestamp for the when the rule was last updated.

$sel:lastUpdatedBy:Rule', rule_lastUpdatedBy - The Amazon Resource Name (ARN) of the user who last updated the rule.

rule_tags :: Lens' Rule (Maybe (HashMap Text Text)) Source #

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

rule_name :: Lens' Rule Text Source #

The name of the rule.

rule_ruleId :: Lens' Rule Text Source #

A unique identifier for the rule.

rule_ruleArn :: Lens' Rule Text Source #

The Amazon Resource Name (ARN) of the rule.

rule_triggerEventSource :: Lens' Rule RuleTriggerEventSource Source #

The event source to trigger the rule.

rule_function :: Lens' Rule Text Source #

The conditions of the rule.

rule_actions :: Lens' Rule [RuleAction] Source #

A list of actions to be run when the rule is triggered.

rule_publishStatus :: Lens' Rule RulePublishStatus Source #

The publish status of the rule.

rule_createdTime :: Lens' Rule UTCTime Source #

The timestamp for when the rule was created.

rule_lastUpdatedTime :: Lens' Rule UTCTime Source #

The timestamp for the when the rule was last updated.

rule_lastUpdatedBy :: Lens' Rule Text Source #

The Amazon Resource Name (ARN) of the user who last updated the rule.