Package-level declarations

Types

Link copied to clipboard
data class ConstraintsProperties(val invisibleFields: List<TaskTemplateInvisibleFieldInfo>? = null, val readOnlyFields: List<TaskTemplateReadOnlyFieldInfo>? = null, val requiredFields: List<TaskTemplateRequiredFieldInfo>? = null)

The constraints for the task template

Link copied to clipboard

An item at the root level. All items must be sections.

Link copied to clipboard
data class EvaluationFormItem(val question: EvaluationFormQuestion? = null, val section: EvaluationFormSection? = null)

Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.

Link copied to clipboard

Information about the automation configuration in numeric questions.

Link copied to clipboard
data class EvaluationFormNumericQuestionOption(val automaticFail: Boolean? = null, val maxValue: Int, val minValue: Int, val score: Int? = null)

Information about the option range used for scoring in numeric questions.

Link copied to clipboard
data class EvaluationFormNumericQuestionProperties(val automation: EvaluationFormNumericQuestionAutomation? = null, val maxValue: Int, val minValue: Int, val options: List<EvaluationFormNumericQuestionOption>? = null)

Information about properties for a numeric question in an evaluation form.

Information about the property value used in automation of a numeric questions.

Link copied to clipboard
data class EvaluationFormQuestion(val instructions: String? = null, val notApplicableEnabled: Boolean? = null, val questionType: EvaluationFormQuestionQuestionType, val questionTypeProperties: EvaluationFormQuestionTypeProperties? = null, val refId: String, val title: String, val weight: Double? = null)

Information about a question from an evaluation form.

Link copied to clipboard

Information about properties for a question in an evaluation form. The question type properties must be either for a numeric question or a single select question.

Link copied to clipboard

A scoring strategy of the evaluation form.

Link copied to clipboard
data class EvaluationFormSection(val instructions: String? = null, val items: List<EvaluationFormItem>? = null, val refId: String, val title: String, val weight: Double? = null)

Information about a section from an evaluation form. A section can contain sections and/or questions. Evaluation forms can only contain sections and subsections (two level nesting).

Information about the automation configuration in single select questions. Automation options are evaluated in order, and the first matched option is applied. If no automation option matches, and there is a default option, then the default option is applied.

The automation options of the single select question.

Link copied to clipboard
data class EvaluationFormSingleSelectQuestionOption(val automaticFail: Boolean? = null, val refId: String, val score: Int? = null, val text: String)

Information about the automation configuration in single select questions.

Information about the options in single select questions.

Information about the automation option based on a rule category for a single select question. Length Constraints: Minimum length of 1. Maximum length of 50.

Link copied to clipboard
data class GetAgentStatusResult(val agentStatusArn: String? = null, val description: String? = null, val displayOrder: Int? = null, val instanceArn: String? = null, val lastModifiedRegion: String? = null, val lastModifiedTime: Double? = null, val name: String? = null, val resetOrderNumber: Boolean? = null, val state: AgentStatusState? = null, val tags: List<Tag>? = null, val type: AgentStatusType? = null)
Link copied to clipboard
data class GetContactFlowModuleResult(val contactFlowModuleArn: String? = null, val content: String? = null, val description: String? = null, val instanceArn: String? = null, val name: String? = null, val state: String? = null, val status: String? = null, val tags: List<Tag>? = null)
Link copied to clipboard
data class GetContactFlowResult(val contactFlowArn: String? = null, val content: String? = null, val description: String? = null, val instanceArn: String? = null, val name: String? = null, val state: ContactFlowState? = null, val tags: List<Tag>? = null)
Link copied to clipboard
data class GetContactFlowVersionResult(val contactFlowVersionArn: String? = null, val flowContentSha256: String? = null, val version: Int? = null)
Link copied to clipboard
data class GetEmailAddressResult(val description: String? = null, val displayName: String? = null, val emailAddressArn: String? = null, val instanceArn: String? = null, val tags: List<Tag>? = null)
Link copied to clipboard
data class GetEvaluationFormResult(val description: String? = null, val evaluationFormArn: String? = null, val instanceArn: String? = null, val items: List<EvaluationFormBaseItem>? = null, val scoringStrategy: EvaluationFormScoringStrategy? = null, val status: EvaluationFormStatus? = null, val tags: List<Tag>? = null, val title: String? = null)
Link copied to clipboard
data class GetHoursOfOperationResult(val config: List<HoursOfOperationConfig>? = null, val description: String? = null, val hoursOfOperationArn: String? = null, val hoursOfOperationOverrides: List<HoursOfOperationOverride>? = null, val instanceArn: String? = null, val name: String? = null, val tags: List<Tag>? = null, val timeZone: String? = null)
Link copied to clipboard
data class GetInstanceResult(val arn: String? = null, val attributes: InstanceAttributes? = null, val createdTime: String? = null, val id: String? = null, val instanceStatus: InstanceStatus? = null, val serviceRole: String? = null, val tags: List<Tag>? = null)
Link copied to clipboard
data class GetInstanceStorageConfigResult(val associationId: String? = null, val kinesisFirehoseConfig: InstanceStorageConfigKinesisFirehoseConfig? = null, val kinesisStreamConfig: InstanceStorageConfigKinesisStreamConfig? = null, val kinesisVideoStreamConfig: InstanceStorageConfigKinesisVideoStreamConfig? = null, val s3Config: InstanceStorageConfigS3Config? = null, val storageType: InstanceStorageConfigStorageType? = null)
Link copied to clipboard
data class GetIntegrationAssociationResult(val integrationAssociationId: String? = null)
Link copied to clipboard
data class GetPhoneNumberResult(val address: String? = null, val description: String? = null, val phoneNumberArn: String? = null, val tags: List<Tag>? = null, val targetArn: String? = null)
Link copied to clipboard
data class GetPredefinedAttributeResult(val lastModifiedRegion: String? = null, val lastModifiedTime: Double? = null, val values: ValuesProperties? = null)
Link copied to clipboard
data class GetPromptResult(val description: String? = null, val instanceArn: String? = null, val name: String? = null, val promptArn: String? = null, val tags: List<Tag>? = null)
Link copied to clipboard
data class GetQueueResult(val description: String? = null, val hoursOfOperationArn: String? = null, val instanceArn: String? = null, val maxContacts: Int? = null, val name: String? = null, val outboundCallerConfig: QueueOutboundCallerConfig? = null, val outboundEmailConfig: QueueOutboundEmailConfig? = null, val queueArn: String? = null, val quickConnectArns: List<String>? = null, val status: QueueStatus? = null, val tags: List<Tag>? = null, val type: QueueType? = null)
Link copied to clipboard
data class GetQuickConnectResult(val description: String? = null, val instanceArn: String? = null, val name: String? = null, val quickConnectArn: String? = null, val quickConnectConfig: QuickConnectConfig? = null, val quickConnectType: QuickConnectType? = null, val tags: List<Tag>? = null)
Link copied to clipboard
data class GetRoutingProfileResult(val agentAvailabilityTimer: RoutingProfileAgentAvailabilityTimer? = null, val defaultOutboundQueueArn: String? = null, val description: String? = null, val instanceArn: String? = null, val mediaConcurrencies: List<RoutingProfileMediaConcurrency>? = null, val name: String? = null, val queueConfigs: List<RoutingProfileQueueConfig>? = null, val routingProfileArn: String? = null, val tags: List<Tag>? = null)
Link copied to clipboard
data class GetRuleResult(val actions: RuleActions? = null, val function: String? = null, val name: String? = null, val publishStatus: RulePublishStatus? = null, val ruleArn: String? = null, val tags: List<Tag>? = null)
Link copied to clipboard
data class GetSecurityKeyResult(val associationId: String? = null)
Link copied to clipboard
data class GetSecurityProfileResult(val allowedAccessControlHierarchyGroupId: String? = null, val allowedAccessControlTags: List<SecurityProfileTag>? = null, val applications: List<SecurityProfileApplication>? = null, val description: String? = null, val hierarchyRestrictedResources: List<String>? = null, val lastModifiedRegion: String? = null, val lastModifiedTime: Double? = null, val permissions: List<String>? = null, val securityProfileArn: String? = null, val tagRestrictedResources: List<String>? = null, val tags: List<Tag>? = null)
Link copied to clipboard
data class GetTaskTemplateResult(val arn: String? = null, val clientToken: String? = null, val constraints: ConstraintsProperties? = null, val contactFlowArn: String? = null, val defaults: List<TaskTemplateDefaultFieldValue>? = null, val description: String? = null, val fields: List<TaskTemplateField>? = null, val instanceArn: String? = null, val name: String? = null, val selfAssignContactFlowArn: String? = null, val status: TaskTemplateStatus? = null, val tags: List<Tag>? = null)
Link copied to clipboard
data class GetTrafficDistributionGroupResult(val instanceArn: String? = null, val isDefault: Boolean? = null, val status: TrafficDistributionGroupStatus? = null, val tags: List<Tag>? = null, val trafficDistributionGroupArn: String? = null)
Link copied to clipboard
data class GetUserHierarchyGroupResult(val instanceArn: String? = null, val name: String? = null, val tags: List<Tag>? = null, val userHierarchyGroupArn: String? = null)
Link copied to clipboard
data class GetUserHierarchyStructureResult(val userHierarchyStructure: UserHierarchyStructureProperties? = null, val userHierarchyStructureArn: String? = null)
Link copied to clipboard
data class GetUserResult(val directoryUserId: String? = null, val hierarchyGroupArn: String? = null, val identityInfo: UserIdentityInfo? = null, val instanceArn: String? = null, val phoneConfig: UserPhoneConfig? = null, val routingProfileArn: String? = null, val securityProfileArns: List<String>? = null, val tags: List<Tag>? = null, val userArn: String? = null, val userProficiencies: List<UserProficiency>? = null, val username: String? = null)
Link copied to clipboard
data class GetViewResult(val actions: List<String>? = null, val description: String? = null, val instanceArn: String? = null, val name: String? = null, val tags: List<Tag>? = null, val template: Any? = null, val viewArn: String? = null, val viewContentSha256: String? = null, val viewId: String? = null)
Link copied to clipboard
data class GetViewVersionResult(val version: Int? = null, val versionDescription: String? = null, val viewVersionArn: String? = null)
Link copied to clipboard

Contains information about the hours of operation.

Link copied to clipboard
data class HoursOfOperationOverride(val effectiveFrom: String, val effectiveTill: String, val hoursOfOperationOverrideId: String? = null, val overrideConfig: List<HoursOfOperationOverrideConfig>, val overrideDescription: String? = null, val overrideName: String)

Overrides attached to the hours of operation.

Link copied to clipboard

Contains information about the hours of operation override.

Link copied to clipboard
data class HoursOfOperationOverrideTimeSlice(val hours: Int, val minutes: Int)

The start time or end time for an an hours of operation override.

Link copied to clipboard
data class HoursOfOperationTimeSlice(val hours: Int, val minutes: Int)

The start time or end time for an hours of operation.

Link copied to clipboard
data class InstanceAttributes(val autoResolveBestVoices: Boolean? = null, val contactLens: Boolean? = null, val contactflowLogs: Boolean? = null, val earlyMedia: Boolean? = null, val inboundCalls: Boolean, val outboundCalls: Boolean, val useCustomTtsVoices: Boolean? = null)
data class InstanceStorageConfigKinesisVideoStreamConfig(val encryptionConfig: InstanceStorageConfigEncryptionConfig, val prefix: String, val retentionPeriodHours: Double)
Link copied to clipboard
data class InstanceStorageConfigS3Config(val bucketName: String, val bucketPrefix: String, val encryptionConfig: InstanceStorageConfigEncryptionConfig? = null)
Link copied to clipboard
data class QueueOutboundCallerConfig(val outboundCallerIdName: String? = null, val outboundCallerIdNumberArn: String? = null, val outboundFlowArn: String? = null)

The outbound caller ID name, number, and outbound whisper flow.

Link copied to clipboard
data class QueueOutboundEmailConfig(val outboundEmailAddressId: String? = null)

The outbound email address ID.

Link copied to clipboard
data class QuickConnectConfig(val phoneConfig: QuickConnectPhoneNumberQuickConnectConfig? = null, val queueConfig: QuickConnectQueueQuickConnectConfig? = null, val quickConnectType: QuickConnectType, val userConfig: QuickConnectUserQuickConnectConfig? = null)

Configuration settings for the quick connect.

The phone configuration. This is required only if QuickConnectType is PHONE_NUMBER.

Link copied to clipboard
data class QuickConnectQueueQuickConnectConfig(val contactFlowArn: String, val queueArn: String)

The queue configuration. This is required only if QuickConnectType is QUEUE.

Link copied to clipboard
data class QuickConnectUserQuickConnectConfig(val contactFlowArn: String, val userArn: String)

The user configuration. This is required only if QuickConnectType is USER.

Link copied to clipboard

Defines the cross-channel routing behavior that allows an agent working on a contact in one channel to be offered a contact from a different channel.

Link copied to clipboard
data class RoutingProfileMediaConcurrency(val channel: RoutingProfileChannel, val concurrency: Int, val crossChannelBehavior: RoutingProfileCrossChannelBehavior? = null)

Contains information about which channels are supported, and how many contacts an agent can have on a channel simultaneously.

Link copied to clipboard
data class RoutingProfileQueueConfig(val delay: Int, val priority: Int, val queueReference: RoutingProfileQueueReference)

Contains information about the queue and channel for which priority and delay can be set.

Link copied to clipboard
data class RoutingProfileQueueReference(val channel: RoutingProfileChannel, val queueArn: String)

Contains the channel and queue identifier for a routing profile.

Link copied to clipboard
data class RuleActions(val assignContactCategoryActions: List<RuleAssignContactCategoryAction>? = null, val createCaseActions: List<RuleCreateCaseAction>? = null, val endAssociatedTasksActions: List<RuleEndAssociatedTasksAction>? = null, val eventBridgeActions: List<RuleEventBridgeAction>? = null, val sendNotificationActions: List<RuleSendNotificationAction>? = null, val submitAutoEvaluationActions: List<RuleSubmitAutoEvaluationAction>? = null, val taskActions: List<RuleTaskAction>? = null, val updateCaseActions: List<RuleUpdateCaseAction>? = null)

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

Link copied to clipboard

The definition for assigning contact category action.

Link copied to clipboard
data class RuleCreateCaseAction(val fields: List<RuleField>, val templateId: String)
Link copied to clipboard

The definition for ending associated task action.

Link copied to clipboard
data class RuleEventBridgeAction(val name: String)

The EV action definition.

Link copied to clipboard
data class RuleField(val id: String, val value: RuleFieldValue)
Link copied to clipboard
data class RuleFieldValue(val booleanValue: Boolean? = null, val doubleValue: Double? = null, val emptyValue: Any? = null, val stringValue: String? = null)

Object for case field values.

Link copied to clipboard
data class RuleNotificationRecipientType(val userArns: List<String>? = null, val userTags: Map<String, String>? = null)

The type of notification recipient.

Link copied to clipboard
data class RuleReference(val type: RuleReferenceType, val value: String)

Information about the reference when the `referenceType` is `URL`. Otherwise, null. (Supports variable injection in the `Value` field.)

Link copied to clipboard
data class RuleSendNotificationAction(val content: String, val contentType: RuleSendNotificationActionContentType, val deliveryMethod: RuleSendNotificationActionDeliveryMethod, val recipient: RuleNotificationRecipientType, val subject: String? = null)

Information about the send notification action.

Link copied to clipboard
data class RuleSubmitAutoEvaluationAction(val evaluationFormArn: String)
Link copied to clipboard
data class RuleTaskAction(val contactFlowArn: String, val description: String? = null, val name: String, val references: Map<String, RuleReference>? = null)

Information about the task action. This field is required if `TriggerEventSource` is one of the following values: `OnZendeskTicketCreate` | `OnZendeskTicketStatusUpdate` | `OnSalesforceCaseCreate`

Link copied to clipboard
data class RuleTriggerEventSource(val eventSourceName: RuleTriggerEventSourceEventSourceName, val integrationAssociationArn: String? = null)

The name of the event source.

Link copied to clipboard
data class RuleUpdateCaseAction(val fields: List<RuleField>)
Link copied to clipboard
data class SecurityProfileApplication(val applicationPermissions: List<String>, val namespace: String)

A third-party application's metadata.

Link copied to clipboard
data class SecurityProfileTag(val key: String, val value: String)

A key-value pair to associate with a resource.

Link copied to clipboard

the default value for the task template's field

Link copied to clipboard
data class TaskTemplateField(val description: String? = null, val id: TaskTemplateFieldIdentifier, val singleSelectOptions: List<String>? = null, val type: TaskTemplateFieldType)

A task template field object.

Link copied to clipboard
data class TaskTemplateFieldIdentifier(val name: String)

the identifier (name) for the task template field

Link copied to clipboard

Invisible field info

Link copied to clipboard

ReadOnly field info

Link copied to clipboard

Required field info

Link copied to clipboard
data class UserHierarchyStructureLevelFive(val hierarchyLevelArn: String? = null, val hierarchyLevelId: String? = null, val name: String)

Information about level five.

Link copied to clipboard
data class UserHierarchyStructureLevelFour(val hierarchyLevelArn: String? = null, val hierarchyLevelId: String? = null, val name: String)

Information about level four.

Link copied to clipboard
data class UserHierarchyStructureLevelOne(val hierarchyLevelArn: String? = null, val hierarchyLevelId: String? = null, val name: String)

Information about level one.

Link copied to clipboard
data class UserHierarchyStructureLevelThree(val hierarchyLevelArn: String? = null, val hierarchyLevelId: String? = null, val name: String)

Information about level three.

Link copied to clipboard
data class UserHierarchyStructureLevelTwo(val hierarchyLevelArn: String? = null, val hierarchyLevelId: String? = null, val name: String)

Information about level two.

Link copied to clipboard
data class UserHierarchyStructureProperties(val levelFive: UserHierarchyStructureLevelFive? = null, val levelFour: UserHierarchyStructureLevelFour? = null, val levelOne: UserHierarchyStructureLevelOne? = null, val levelThree: UserHierarchyStructureLevelThree? = null, val levelTwo: UserHierarchyStructureLevelTwo? = null)

Information about the hierarchy structure.

Link copied to clipboard
data class UserIdentityInfo(val email: String? = null, val firstName: String? = null, val lastName: String? = null, val mobile: String? = null, val secondaryEmail: String? = null)

Contains information about the identity of a user.

Link copied to clipboard
data class UserPhoneConfig(val afterContactWorkTimeLimit: Int? = null, val autoAccept: Boolean? = null, val deskPhoneNumber: String? = null, val phoneType: UserPhoneType)

Contains information about the phone configuration settings for a user.

Link copied to clipboard
data class UserProficiency(val attributeName: String, val attributeValue: String, val level: Double)

Proficiency of a user.

Link copied to clipboard
data class ValuesProperties(val stringList: List<String>? = null)

The values of a predefined attribute.