CreateRuleRequest
¶
Source code in docs_src/capo_connect/types/create_rule_request.py
actions
instance-attribute
¶
actions: RuleActions
A list of actions to be run when the rule is triggered.
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
instance_id
instance-attribute
¶
instance_id: InstanceId
The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
pre_evaluation_filters
instance-attribute
¶
pre_evaluation_filters: NotRequired[PreEvaluationFilters]
The pre-evaluation filters for the rule, that restrict the rule to be applied to only certain resources based on the resource's attributes, such as tags assigned to a contact. The pre-evaluation filters are applied even before rule conditions are evaluated and are used to enforce tag-based-access-control while applying rules.
publish_status
instance-attribute
¶
publish_status: RulePublishStatus
The publish status of the rule.
tags
instance-attribute
¶
tags: NotRequired[TagMap]
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
trigger_event_source
instance-attribute
¶
trigger_event_source: RuleTriggerEventSource
The event source to trigger the rule.