AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateRule operation. Creates a rule for the specified Amazon Connect instance.

Use the Rules Function language to code conditions for the rule.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Connect.AmazonConnectRequest
      Amazon.Connect.Model.CreateRuleRequest

Namespace: Amazon.Connect.Model
Assembly: AWSSDK.Connect.dll
Version: 3.x.y.z

Syntax

C#
public class CreateRuleRequest : AmazonConnectRequest
         IAmazonWebServiceRequest

The CreateRuleRequest type exposes the following members

Constructors

NameDescription
Public Method CreateRuleRequest()

Properties

NameTypeDescription
Public Property Actions System.Collections.Generic.List<Amazon.Connect.Model.RuleAction>

Gets and sets the property Actions.

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

Public Property ClientToken System.String

Gets and sets the property 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.

Public Property Function System.String

Gets and sets the property Function.

The conditions of the rule.

Public Property InstanceId System.String

Gets and sets the property InstanceId.

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

Public Property Name System.String

Gets and sets the property Name.

A unique name for the rule.

Public Property PublishStatus Amazon.Connect.RulePublishStatus

Gets and sets the property PublishStatus.

The publish status of the rule.

Public Property TriggerEventSource Amazon.Connect.Model.RuleTriggerEventSource

Gets and sets the property TriggerEventSource.

The event source to trigger the rule.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5