@aws-sdk/client-connect 3.1107.0 → 3.1109.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -0
- package/dist-cjs/index.js +390 -46
- package/dist-es/Connect.js +18 -0
- package/dist-es/commands/CreateMetricCommand.js +4 -0
- package/dist-es/commands/DeleteMetricCommand.js +4 -0
- package/dist-es/commands/DescribeMetricCommand.js +4 -0
- package/dist-es/commands/ListMetricsCommand.js +4 -0
- package/dist-es/commands/SearchMetricsCommand.js +4 -0
- package/dist-es/commands/UpdateMetricContentCommand.js +4 -0
- package/dist-es/commands/UpdateMetricMetadataCommand.js +4 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/enums.js +41 -0
- package/dist-es/pagination/ListMetricsPaginator.js +4 -0
- package/dist-es/pagination/SearchMetricsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +268 -45
- package/dist-types/Connect.d.ts +63 -0
- package/dist-types/ConnectClient.d.ts +9 -2
- package/dist-types/commands/CreateMetricCommand.d.ts +137 -0
- package/dist-types/commands/CreateUserCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +1 -2
- package/dist-types/commands/DeleteMetricCommand.d.ts +93 -0
- package/dist-types/commands/DescribeMetricCommand.d.ts +165 -0
- package/dist-types/commands/GetCurrentUserDataCommand.d.ts +2 -1
- package/dist-types/commands/GetEffectiveHoursOfOperationsCommand.d.ts +1 -1
- package/dist-types/commands/GetEvaluationFormValidationCommand.d.ts +1 -1
- package/dist-types/commands/GetFederationTokenCommand.d.ts +1 -1
- package/dist-types/commands/ListMetricsCommand.d.ts +103 -0
- package/dist-types/commands/SearchAgentStatusesCommand.d.ts +1 -1
- package/dist-types/commands/SearchContactEvaluationsCommand.d.ts +1 -1
- package/dist-types/commands/SearchContactFlowModulesCommand.d.ts +1 -1
- package/dist-types/commands/SearchMetricsCommand.d.ts +223 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMetricContentCommand.d.ts +121 -0
- package/dist-types/commands/UpdateMetricMetadataCommand.d.ts +93 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/enums.d.ts +113 -0
- package/dist-types/models/models_0.d.ts +185 -285
- package/dist-types/models/models_1.d.ts +526 -349
- package/dist-types/models/models_2.d.ts +394 -355
- package/dist-types/models/models_3.d.ts +469 -663
- package/dist-types/models/models_4.d.ts +715 -5
- package/dist-types/pagination/ListMetricsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchMetricsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +32 -0
- package/dist-types/ts3.4/Connect.d.ts +130 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateMetricCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateUserHierarchyGroupCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteMetricCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeMetricCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetEffectiveHoursOfOperationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEvaluationFormValidationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/SearchAgentStatusesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchContactEvaluationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchContactFlowModulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchMetricsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateMetricContentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateMetricMetadataCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/enums.d.ts +53 -0
- package/dist-types/ts3.4/models/models_0.d.ts +49 -55
- package/dist-types/ts3.4/models/models_1.d.ts +108 -82
- package/dist-types/ts3.4/models/models_2.d.ts +99 -86
- package/dist-types/ts3.4/models/models_3.d.ts +121 -153
- package/dist-types/ts3.4/models/models_4.d.ts +174 -21
- package/dist-types/ts3.4/pagination/ListMetricsPaginator.d.ts +8 -0
- package/dist-types/ts3.4/pagination/SearchMetricsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
- package/package.json +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccessType, ActionType, AgentAvailabilityTimer, AgentStatusState, AgentStatusType, AiUseCase, AllowedUserAction, ApplicationType, AttachedFileInvalidRequestExceptionReason, AttachedFileServiceQuotaExceededExceptionReason, AuthCodeEntityType, BehaviorType, Channel, ConfigurableNotificationPriority, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactInteractionType, ContactState, DataTableAttributeValueType, DataTableLockLevel, DataTableStatus, DeviceType, DirectoryType, EncryptionType, EndpointType, EntityType, EvaluationFormItemEnablementSourceType, EvaluationFormItemEnablementSourceValueType, EvaluationFormItemSourceValuesComparator, EvaluationFormLanguageCode, EvaluationFormMultiSelectQuestionDisplayMode, EvaluationFormQuestionAutomationAnswerSourceType, EvaluationFormScoringMode, EvaluationFormScoringStatus, EvaluationFormSingleSelectQuestionDisplayMode, EvaluationReviewNotificationRecipientType, EventSourceName, FailureReasonCode, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowModuleType, HoursOfOperationDays, InstanceStorageResourceType, IntegrationType, ListFlowAssociationResourceType, LocaleCode, MultiSelectQuestionRuleCategoryAutomationCondition, NotificationContentType, NotificationDeliveryType, NumericQuestionPropertyAutomationLabel, OutboundStrategyType, OverrideDays, OverrideType, ParticipantRole, ParticipantState, PerformanceCategoryName,
|
|
1
|
+
import type { AccessType, ActionType, AgentAvailabilityTimer, AgentStatusState, AgentStatusType, AiUseCase, AllowedUserAction, ApplicationType, AttachedFileInvalidRequestExceptionReason, AttachedFileServiceQuotaExceededExceptionReason, AuthCodeEntityType, BehaviorType, Channel, ConfigurableNotificationPriority, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactInteractionType, ContactState, DataTableAttributeValueType, DataTableLockLevel, DataTableStatus, DeviceType, DirectoryType, EncryptionType, EndpointType, EntityType, EvaluationFormItemEnablementSourceType, EvaluationFormItemEnablementSourceValueType, EvaluationFormItemSourceValuesComparator, EvaluationFormLanguageCode, EvaluationFormMultiSelectQuestionDisplayMode, EvaluationFormQuestionAutomationAnswerSourceType, EvaluationFormScoringMode, EvaluationFormScoringStatus, EvaluationFormSingleSelectQuestionDisplayMode, EvaluationReviewNotificationRecipientType, EventSourceName, FailureReasonCode, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowModuleType, HoursOfOperationDays, InstanceStorageResourceType, IntegrationType, ListFlowAssociationResourceType, LocaleCode, MetricFilterBooleanConditionComparison, MetricFilterNumberConditionComparison, MetricFilterStringConditionComparison, MetricStatus, MetricUnit, MultiSelectQuestionRuleCategoryAutomationCondition, NotificationContentType, NotificationDeliveryType, NumericQuestionPropertyAutomationLabel, OutboundStrategyType, OverrideDays, OverrideType, ParticipantRole, ParticipantState, PerformanceCategoryName, PropertyValidationExceptionReason, QuickConnectType, RecurrenceFrequency, ReferenceStatus, ReferenceType, RehydrationType, RulePublishStatus, ScreenShareCapability, SingleSelectQuestionRuleCategoryAutomationCondition, SlaAssignmentType, SlaType, SourceType, StorageType, StringComparisonType, TaskTemplateFieldType, TaskTemplateStatus, TestCaseEntryPointType, TestCaseStatus, TrendIndicator, UseCaseType, VideoCapability, VocabularyLanguageCode, VoiceEnhancementMode } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Information about an action.</p>
|
|
4
4
|
* @public
|
|
@@ -4868,6 +4868,190 @@ export interface CreateIntegrationAssociationResponse {
|
|
|
4868
4868
|
*/
|
|
4869
4869
|
IntegrationAssociationArn?: string | undefined;
|
|
4870
4870
|
}
|
|
4871
|
+
/**
|
|
4872
|
+
* <p>A boolean comparison condition for metric filters.</p>
|
|
4873
|
+
* @public
|
|
4874
|
+
*/
|
|
4875
|
+
export interface MetricFilterBooleanCondition {
|
|
4876
|
+
/**
|
|
4877
|
+
* <p>The comparison operator. Valid values: <code>IS_TRUE</code> (matches when the field is true) | <code>IS_FALSE</code> (matches when the field is false).</p>
|
|
4878
|
+
* @public
|
|
4879
|
+
*/
|
|
4880
|
+
Comparison: MetricFilterBooleanConditionComparison | undefined;
|
|
4881
|
+
}
|
|
4882
|
+
/**
|
|
4883
|
+
* <p>A numeric comparison condition for metric filters.</p>
|
|
4884
|
+
* @public
|
|
4885
|
+
*/
|
|
4886
|
+
export interface MetricFilterNumberCondition {
|
|
4887
|
+
/**
|
|
4888
|
+
* <p>The comparison operator. Valid values: <code>LESSER</code> (less than) | <code>LESSER_OR_EQUAL</code> (less than or equal to) | <code>GREATER</code> (greater than) | <code>GREATER_OR_EQUAL</code> (greater than or equal to).</p>
|
|
4889
|
+
* @public
|
|
4890
|
+
*/
|
|
4891
|
+
Comparison: MetricFilterNumberConditionComparison | undefined;
|
|
4892
|
+
/**
|
|
4893
|
+
* <p>The numeric values to compare against.</p>
|
|
4894
|
+
* @public
|
|
4895
|
+
*/
|
|
4896
|
+
Values: number[] | undefined;
|
|
4897
|
+
}
|
|
4898
|
+
/**
|
|
4899
|
+
* <p>A string comparison condition for metric filters.</p>
|
|
4900
|
+
* @public
|
|
4901
|
+
*/
|
|
4902
|
+
export interface MetricFilterStringCondition {
|
|
4903
|
+
/**
|
|
4904
|
+
* <p>The comparison operator. Valid values: <code>MATCHES_ANY</code> (matches any of the specified values) | <code>MATCHES_NONE</code> (matches none of the specified values).</p>
|
|
4905
|
+
* @public
|
|
4906
|
+
*/
|
|
4907
|
+
Comparison: MetricFilterStringConditionComparison | undefined;
|
|
4908
|
+
/**
|
|
4909
|
+
* <p>The string values to compare against.</p>
|
|
4910
|
+
* @public
|
|
4911
|
+
*/
|
|
4912
|
+
Values: string[] | undefined;
|
|
4913
|
+
}
|
|
4914
|
+
/**
|
|
4915
|
+
* <p>A filter condition applied to a metric component in a calculation. Filters restrict the data included in the metric computation.</p>
|
|
4916
|
+
* @public
|
|
4917
|
+
*/
|
|
4918
|
+
export interface MetricFilter {
|
|
4919
|
+
/**
|
|
4920
|
+
* <p>The key identifying the field to filter on.</p>
|
|
4921
|
+
* @public
|
|
4922
|
+
*/
|
|
4923
|
+
MetricFilterKey: string | undefined;
|
|
4924
|
+
/**
|
|
4925
|
+
* <p>Specifies whether the filter condition is negated. When set to <code>true</code>, the filter excludes matching data instead of including it.</p>
|
|
4926
|
+
* @public
|
|
4927
|
+
*/
|
|
4928
|
+
Negate?: boolean | undefined;
|
|
4929
|
+
/**
|
|
4930
|
+
* <p>A numeric comparison condition.</p>
|
|
4931
|
+
* @public
|
|
4932
|
+
*/
|
|
4933
|
+
NumberCondition?: MetricFilterNumberCondition | undefined;
|
|
4934
|
+
/**
|
|
4935
|
+
* <p>A string comparison condition.</p>
|
|
4936
|
+
* @public
|
|
4937
|
+
*/
|
|
4938
|
+
StringCondition?: MetricFilterStringCondition | undefined;
|
|
4939
|
+
/**
|
|
4940
|
+
* <p>A boolean comparison condition.</p>
|
|
4941
|
+
* @public
|
|
4942
|
+
*/
|
|
4943
|
+
BooleanCondition?: MetricFilterBooleanCondition | undefined;
|
|
4944
|
+
}
|
|
4945
|
+
/**
|
|
4946
|
+
* <p>Represents a component metric referenced in a custom metric calculation formula.</p>
|
|
4947
|
+
* @public
|
|
4948
|
+
*/
|
|
4949
|
+
export interface CalculationComponent {
|
|
4950
|
+
/**
|
|
4951
|
+
* <p>The alias used to reference this component in the calculation expression.</p>
|
|
4952
|
+
* @public
|
|
4953
|
+
*/
|
|
4954
|
+
Alias: string | undefined;
|
|
4955
|
+
/**
|
|
4956
|
+
* <p>The name of an AWS-managed metric used in this calculation component (for example, <code>CONTACTS_HANDLED</code>). Mutually exclusive with <code>MetricId</code>.</p>
|
|
4957
|
+
* @public
|
|
4958
|
+
*/
|
|
4959
|
+
MetricName?: string | undefined;
|
|
4960
|
+
/**
|
|
4961
|
+
* <p>The ARN of an AWS-managed metric used in this calculation component. Mutually exclusive with <code>MetricName</code>.</p>
|
|
4962
|
+
* @public
|
|
4963
|
+
*/
|
|
4964
|
+
MetricId?: string | undefined;
|
|
4965
|
+
/**
|
|
4966
|
+
* <p>The filters applied to the calculation component.</p>
|
|
4967
|
+
* @public
|
|
4968
|
+
*/
|
|
4969
|
+
MetricFilters?: MetricFilter[] | undefined;
|
|
4970
|
+
}
|
|
4971
|
+
/**
|
|
4972
|
+
* <p>Contains the formula and component metrics that define a custom metric calculation.</p>
|
|
4973
|
+
* @public
|
|
4974
|
+
*/
|
|
4975
|
+
export interface MetricCalculation {
|
|
4976
|
+
/**
|
|
4977
|
+
* <p>The list of component metrics referenced in the calculation formula. Each component has an alias used in the formula expression.</p>
|
|
4978
|
+
* @public
|
|
4979
|
+
*/
|
|
4980
|
+
CalculationComponents: CalculationComponent[] | undefined;
|
|
4981
|
+
/**
|
|
4982
|
+
* <p>The formula expression that defines how the metric is calculated. Uses component aliases (for example, <code>100 * SUM(M1) / SUM(M2)</code>).</p>
|
|
4983
|
+
* @public
|
|
4984
|
+
*/
|
|
4985
|
+
Calculation: string | undefined;
|
|
4986
|
+
}
|
|
4987
|
+
/**
|
|
4988
|
+
* @public
|
|
4989
|
+
*/
|
|
4990
|
+
export interface CreateMetricRequest {
|
|
4991
|
+
/**
|
|
4992
|
+
* <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
|
|
4993
|
+
* @public
|
|
4994
|
+
*/
|
|
4995
|
+
InstanceId: string | undefined;
|
|
4996
|
+
/**
|
|
4997
|
+
* <p>The name of the metric.</p>
|
|
4998
|
+
* @public
|
|
4999
|
+
*/
|
|
5000
|
+
Name: string | undefined;
|
|
5001
|
+
/**
|
|
5002
|
+
* <p>The calculation definition for the metric, including the formula expression and the component metrics it references.</p>
|
|
5003
|
+
* @public
|
|
5004
|
+
*/
|
|
5005
|
+
MetricCalculation: MetricCalculation | undefined;
|
|
5006
|
+
/**
|
|
5007
|
+
* <p>The display unit for the metric's data.</p>
|
|
5008
|
+
* @public
|
|
5009
|
+
*/
|
|
5010
|
+
Unit: MetricUnit | undefined;
|
|
5011
|
+
/**
|
|
5012
|
+
* <p>The publish status of the metric. Set to <code>PUBLISHED</code> to make the metric available for use in dashboards and reports, or <code>SAVED</code> to keep it in draft state.</p>
|
|
5013
|
+
* @public
|
|
5014
|
+
*/
|
|
5015
|
+
Status?: MetricStatus | undefined;
|
|
5016
|
+
/**
|
|
5017
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
5018
|
+
* request. If not provided, the Amazon Web Services
|
|
5019
|
+
* SDK populates this field. For more information about idempotency, see
|
|
5020
|
+
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
|
|
5021
|
+
* @public
|
|
5022
|
+
*/
|
|
5023
|
+
ClientToken?: string | undefined;
|
|
5024
|
+
/**
|
|
5025
|
+
* <p>The description of the metric.</p>
|
|
5026
|
+
* @public
|
|
5027
|
+
*/
|
|
5028
|
+
Description?: string | undefined;
|
|
5029
|
+
/**
|
|
5030
|
+
* <p>How an increase in the metric value should be interpreted. Valid values: <code>POSITIVE</code>, <code>NEUTRAL</code>, <code>NEGATIVE</code>.</p>
|
|
5031
|
+
* @public
|
|
5032
|
+
*/
|
|
5033
|
+
PositiveTrendIndicator?: TrendIndicator | undefined;
|
|
5034
|
+
/**
|
|
5035
|
+
* <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
|
|
5036
|
+
* @public
|
|
5037
|
+
*/
|
|
5038
|
+
Tags?: Record<string, string> | undefined;
|
|
5039
|
+
}
|
|
5040
|
+
/**
|
|
5041
|
+
* @public
|
|
5042
|
+
*/
|
|
5043
|
+
export interface CreateMetricResponse {
|
|
5044
|
+
/**
|
|
5045
|
+
* <p>The Amazon Resource Name (ARN) of the metric.</p>
|
|
5046
|
+
* @public
|
|
5047
|
+
*/
|
|
5048
|
+
MetricArn: string | undefined;
|
|
5049
|
+
/**
|
|
5050
|
+
* <p>The identifier of the metric.</p>
|
|
5051
|
+
* @public
|
|
5052
|
+
*/
|
|
5053
|
+
MetricId: string | undefined;
|
|
5054
|
+
}
|
|
4871
5055
|
/**
|
|
4872
5056
|
* @public
|
|
4873
5057
|
*/
|
|
@@ -6732,287 +6916,3 @@ export interface AutoAcceptConfig {
|
|
|
6732
6916
|
*/
|
|
6733
6917
|
AgentFirstCallbackAutoAccept?: boolean | undefined;
|
|
6734
6918
|
}
|
|
6735
|
-
/**
|
|
6736
|
-
* <p>Contains information about the identity of a user.</p>
|
|
6737
|
-
* <note>
|
|
6738
|
-
* <p>For Connect Customer instances that are created with the <code>EXISTING_DIRECTORY</code> identity management
|
|
6739
|
-
* type, <code>FirstName</code>, <code>LastName</code>, and <code>Email</code> cannot be updated from within Connect Customer because they are managed by the directory.</p>
|
|
6740
|
-
* </note>
|
|
6741
|
-
* <important>
|
|
6742
|
-
* <p>The <code>FirstName</code> and <code>LastName</code> length constraints below apply only to instances using
|
|
6743
|
-
* SAML for identity management. If you are using Connect Customer for identity management, the length constraints
|
|
6744
|
-
* are 1-255 for <code>FirstName</code>, and 1-256 for <code>LastName</code>. </p>
|
|
6745
|
-
* </important>
|
|
6746
|
-
* @public
|
|
6747
|
-
*/
|
|
6748
|
-
export interface UserIdentityInfo {
|
|
6749
|
-
/**
|
|
6750
|
-
* <p>The first name. This is required if you are using Connect Customer or SAML for identity management. Inputs
|
|
6751
|
-
* must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed
|
|
6752
|
-
* characters or combining marks) are not accepted.</p>
|
|
6753
|
-
* @public
|
|
6754
|
-
*/
|
|
6755
|
-
FirstName?: string | undefined;
|
|
6756
|
-
/**
|
|
6757
|
-
* <p>The last name. This is required if you are using Connect Customer or SAML for identity management. Inputs must
|
|
6758
|
-
* be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed
|
|
6759
|
-
* characters or combining marks) are not accepted.</p>
|
|
6760
|
-
* @public
|
|
6761
|
-
*/
|
|
6762
|
-
LastName?: string | undefined;
|
|
6763
|
-
/**
|
|
6764
|
-
* <p>The email address. If you are using SAML for identity management and include this parameter, an error is
|
|
6765
|
-
* returned.</p>
|
|
6766
|
-
* @public
|
|
6767
|
-
*/
|
|
6768
|
-
Email?: string | undefined;
|
|
6769
|
-
/**
|
|
6770
|
-
* <p>The user's secondary email address. If you provide a secondary email, the user receives email notifications -
|
|
6771
|
-
* other than password reset notifications - to this email address instead of to their primary email address.</p>
|
|
6772
|
-
* <p>Pattern: <code>(?=^.\{0,265\}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]\{2,63\}</code>
|
|
6773
|
-
* </p>
|
|
6774
|
-
* @public
|
|
6775
|
-
*/
|
|
6776
|
-
SecondaryEmail?: string | undefined;
|
|
6777
|
-
/**
|
|
6778
|
-
* <p>The user's mobile number.</p>
|
|
6779
|
-
* @public
|
|
6780
|
-
*/
|
|
6781
|
-
Mobile?: string | undefined;
|
|
6782
|
-
}
|
|
6783
|
-
/**
|
|
6784
|
-
* <p>Configuration settings for persistent connection for a specific channel.</p>
|
|
6785
|
-
* @public
|
|
6786
|
-
*/
|
|
6787
|
-
export interface PersistentConnectionConfig {
|
|
6788
|
-
/**
|
|
6789
|
-
* <p>Configuration settings for persistent connection. <b>Only <code>VOICE</code> is supported for this data type.</b>
|
|
6790
|
-
* </p>
|
|
6791
|
-
* @public
|
|
6792
|
-
*/
|
|
6793
|
-
Channel: Channel | undefined;
|
|
6794
|
-
/**
|
|
6795
|
-
* <p>Indicates whether persistent connection is enabled. When enabled, the agent's connection is maintained after a call ends, enabling subsequent calls to connect faster.</p>
|
|
6796
|
-
* @public
|
|
6797
|
-
*/
|
|
6798
|
-
PersistentConnection: boolean | undefined;
|
|
6799
|
-
}
|
|
6800
|
-
/**
|
|
6801
|
-
* <p>Contains information about the phone configuration settings for a user.</p>
|
|
6802
|
-
* @public
|
|
6803
|
-
*/
|
|
6804
|
-
export interface UserPhoneConfig {
|
|
6805
|
-
/**
|
|
6806
|
-
* <p>The phone type.</p>
|
|
6807
|
-
* @public
|
|
6808
|
-
*/
|
|
6809
|
-
PhoneType?: PhoneType | undefined;
|
|
6810
|
-
/**
|
|
6811
|
-
* <p>The Auto accept setting.</p>
|
|
6812
|
-
* @public
|
|
6813
|
-
*/
|
|
6814
|
-
AutoAccept?: boolean | undefined;
|
|
6815
|
-
/**
|
|
6816
|
-
* <p>The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum
|
|
6817
|
-
* value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It
|
|
6818
|
-
* essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close
|
|
6819
|
-
* contact to end ACW. </p>
|
|
6820
|
-
* <note>
|
|
6821
|
-
* <p>When returned by a <code>SearchUsers</code> call, <code>AfterContactWorkTimeLimit</code> is returned in
|
|
6822
|
-
* milliseconds. </p>
|
|
6823
|
-
* </note>
|
|
6824
|
-
* @public
|
|
6825
|
-
*/
|
|
6826
|
-
AfterContactWorkTimeLimit?: number | undefined;
|
|
6827
|
-
/**
|
|
6828
|
-
* <p>The phone number for the user's desk phone.</p>
|
|
6829
|
-
* @public
|
|
6830
|
-
*/
|
|
6831
|
-
DeskPhoneNumber?: string | undefined;
|
|
6832
|
-
/**
|
|
6833
|
-
* <p>The persistent connection setting for the user.</p>
|
|
6834
|
-
* @public
|
|
6835
|
-
*/
|
|
6836
|
-
PersistentConnection?: boolean | undefined;
|
|
6837
|
-
}
|
|
6838
|
-
/**
|
|
6839
|
-
* <p>Configuration settings for phone type and phone number.</p>
|
|
6840
|
-
* @public
|
|
6841
|
-
*/
|
|
6842
|
-
export interface PhoneNumberConfig {
|
|
6843
|
-
/**
|
|
6844
|
-
* <p>The channel for this phone number configuration. <b>Only <code>VOICE</code> is supported for this data type.</b>
|
|
6845
|
-
* </p>
|
|
6846
|
-
* @public
|
|
6847
|
-
*/
|
|
6848
|
-
Channel: Channel | undefined;
|
|
6849
|
-
/**
|
|
6850
|
-
* <p>The phone type. Valid values: SOFT_PHONE, DESK_PHONE.</p>
|
|
6851
|
-
* @public
|
|
6852
|
-
*/
|
|
6853
|
-
PhoneType: PhoneType | undefined;
|
|
6854
|
-
/**
|
|
6855
|
-
* <p>The phone number for the user's desk phone.</p>
|
|
6856
|
-
* @public
|
|
6857
|
-
*/
|
|
6858
|
-
PhoneNumber?: string | undefined;
|
|
6859
|
-
}
|
|
6860
|
-
/**
|
|
6861
|
-
* <p>Configuration settings for voice enhancement.</p>
|
|
6862
|
-
* @public
|
|
6863
|
-
*/
|
|
6864
|
-
export interface VoiceEnhancementConfig {
|
|
6865
|
-
/**
|
|
6866
|
-
* <p>The channel for this voice enhancement configuration. <b>Only <code>VOICE</code> is supported for this data type.</b>
|
|
6867
|
-
* </p>
|
|
6868
|
-
* @public
|
|
6869
|
-
*/
|
|
6870
|
-
Channel: Channel | undefined;
|
|
6871
|
-
/**
|
|
6872
|
-
* <p>The voice enhancement mode.</p>
|
|
6873
|
-
* @public
|
|
6874
|
-
*/
|
|
6875
|
-
VoiceEnhancementMode: VoiceEnhancementMode | undefined;
|
|
6876
|
-
}
|
|
6877
|
-
/**
|
|
6878
|
-
* @public
|
|
6879
|
-
*/
|
|
6880
|
-
export interface CreateUserRequest {
|
|
6881
|
-
/**
|
|
6882
|
-
* <p>The user name for the account. For instances not using SAML for identity management, the user name can include
|
|
6883
|
-
* up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters
|
|
6884
|
-
* from [a-zA-Z0-9_-.\@]+.</p>
|
|
6885
|
-
* <p>Username can include @ only if used in an email format. For example:</p>
|
|
6886
|
-
* <ul>
|
|
6887
|
-
* <li>
|
|
6888
|
-
* <p>Correct: testuser</p>
|
|
6889
|
-
* </li>
|
|
6890
|
-
* <li>
|
|
6891
|
-
* <p>Correct: testuser@example.com</p>
|
|
6892
|
-
* </li>
|
|
6893
|
-
* <li>
|
|
6894
|
-
* <p>Incorrect: testuser@example</p>
|
|
6895
|
-
* </li>
|
|
6896
|
-
* </ul>
|
|
6897
|
-
* @public
|
|
6898
|
-
*/
|
|
6899
|
-
Username: string | undefined;
|
|
6900
|
-
/**
|
|
6901
|
-
* <p>The password for the user account. A password is required if you are using Connect Customer for identity
|
|
6902
|
-
* management. Otherwise, it is an error to include a password.</p>
|
|
6903
|
-
* @public
|
|
6904
|
-
*/
|
|
6905
|
-
Password?: string | undefined;
|
|
6906
|
-
/**
|
|
6907
|
-
* <p>The information about the identity of the user.</p>
|
|
6908
|
-
* @public
|
|
6909
|
-
*/
|
|
6910
|
-
IdentityInfo?: UserIdentityInfo | undefined;
|
|
6911
|
-
/**
|
|
6912
|
-
* <p>The phone settings for the user. This parameter is optional. If not provided, the user can be configured using channel-specific parameters such as <code>AutoAcceptConfigs</code>, <code>AfterContactWorkConfigs</code>, <code>PhoneNumberConfigs</code>, <code>PersistentConnectionConfigs</code>, and <code>VoiceEnhancementConfigs</code>.</p>
|
|
6913
|
-
* @public
|
|
6914
|
-
*/
|
|
6915
|
-
PhoneConfig?: UserPhoneConfig | undefined;
|
|
6916
|
-
/**
|
|
6917
|
-
* <p>The identifier of the user account in the directory used for identity management. If Connect Customer cannot
|
|
6918
|
-
* access the directory, you can specify this identifier to authenticate users. If you include the identifier, we assume
|
|
6919
|
-
* that Connect Customer cannot access the directory. Otherwise, the identity information is used to authenticate
|
|
6920
|
-
* users from your directory.</p>
|
|
6921
|
-
* <p>This parameter is required if you are using an existing directory for identity management in Connect Customer
|
|
6922
|
-
* when Connect Customer cannot access your directory to authenticate users. If you are using SAML for identity
|
|
6923
|
-
* management and include this parameter, an error is returned.</p>
|
|
6924
|
-
* @public
|
|
6925
|
-
*/
|
|
6926
|
-
DirectoryUserId?: string | undefined;
|
|
6927
|
-
/**
|
|
6928
|
-
* <p>The identifier of the security profile for the user.</p>
|
|
6929
|
-
* @public
|
|
6930
|
-
*/
|
|
6931
|
-
SecurityProfileIds: string[] | undefined;
|
|
6932
|
-
/**
|
|
6933
|
-
* <p>The identifier of the routing profile for the user.</p>
|
|
6934
|
-
* @public
|
|
6935
|
-
*/
|
|
6936
|
-
RoutingProfileId: string | undefined;
|
|
6937
|
-
/**
|
|
6938
|
-
* <p>The identifier of the hierarchy group for the user.</p>
|
|
6939
|
-
* @public
|
|
6940
|
-
*/
|
|
6941
|
-
HierarchyGroupId?: string | undefined;
|
|
6942
|
-
/**
|
|
6943
|
-
* <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
|
|
6944
|
-
* @public
|
|
6945
|
-
*/
|
|
6946
|
-
InstanceId: string | undefined;
|
|
6947
|
-
/**
|
|
6948
|
-
* <p>The list of auto-accept configuration settings for each channel.</p>
|
|
6949
|
-
* @public
|
|
6950
|
-
*/
|
|
6951
|
-
AutoAcceptConfigs?: AutoAcceptConfig[] | undefined;
|
|
6952
|
-
/**
|
|
6953
|
-
* <p>The list of after contact work (ACW) timeout configuration settings for each channel.</p>
|
|
6954
|
-
* @public
|
|
6955
|
-
*/
|
|
6956
|
-
AfterContactWorkConfigs?: AfterContactWorkConfigPerChannel[] | undefined;
|
|
6957
|
-
/**
|
|
6958
|
-
* <p>The list of phone number configuration settings for each channel.</p>
|
|
6959
|
-
* @public
|
|
6960
|
-
*/
|
|
6961
|
-
PhoneNumberConfigs?: PhoneNumberConfig[] | undefined;
|
|
6962
|
-
/**
|
|
6963
|
-
* <p>The list of persistent connection configuration settings for each channel.</p>
|
|
6964
|
-
* @public
|
|
6965
|
-
*/
|
|
6966
|
-
PersistentConnectionConfigs?: PersistentConnectionConfig[] | undefined;
|
|
6967
|
-
/**
|
|
6968
|
-
* <p>The list of voice enhancement configuration settings for each channel.</p>
|
|
6969
|
-
* @public
|
|
6970
|
-
*/
|
|
6971
|
-
VoiceEnhancementConfigs?: VoiceEnhancementConfig[] | undefined;
|
|
6972
|
-
/**
|
|
6973
|
-
* <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
|
|
6974
|
-
* @public
|
|
6975
|
-
*/
|
|
6976
|
-
Tags?: Record<string, string> | undefined;
|
|
6977
|
-
}
|
|
6978
|
-
/**
|
|
6979
|
-
* @public
|
|
6980
|
-
*/
|
|
6981
|
-
export interface CreateUserResponse {
|
|
6982
|
-
/**
|
|
6983
|
-
* <p>The identifier of the user account.</p>
|
|
6984
|
-
* @public
|
|
6985
|
-
*/
|
|
6986
|
-
UserId?: string | undefined;
|
|
6987
|
-
/**
|
|
6988
|
-
* <p>The Amazon Resource Name (ARN) of the user account.</p>
|
|
6989
|
-
* @public
|
|
6990
|
-
*/
|
|
6991
|
-
UserArn?: string | undefined;
|
|
6992
|
-
}
|
|
6993
|
-
/**
|
|
6994
|
-
* @public
|
|
6995
|
-
*/
|
|
6996
|
-
export interface CreateUserHierarchyGroupRequest {
|
|
6997
|
-
/**
|
|
6998
|
-
* <p>The name of the user hierarchy group. Must not be more than 100 characters.</p>
|
|
6999
|
-
* @public
|
|
7000
|
-
*/
|
|
7001
|
-
Name: string | undefined;
|
|
7002
|
-
/**
|
|
7003
|
-
* <p>The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID
|
|
7004
|
-
* is null.</p>
|
|
7005
|
-
* @public
|
|
7006
|
-
*/
|
|
7007
|
-
ParentGroupId?: string | undefined;
|
|
7008
|
-
/**
|
|
7009
|
-
* <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
|
|
7010
|
-
* @public
|
|
7011
|
-
*/
|
|
7012
|
-
InstanceId: string | undefined;
|
|
7013
|
-
/**
|
|
7014
|
-
* <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
|
|
7015
|
-
* @public
|
|
7016
|
-
*/
|
|
7017
|
-
Tags?: Record<string, string> | undefined;
|
|
7018
|
-
}
|