@aws-sdk/client-connect 3.1080.0 → 3.1081.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.
Files changed (52) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +119 -54
  3. package/dist-es/Connect.js +4 -0
  4. package/dist-es/commands/CreateAuthCodeCommand.js +4 -0
  5. package/dist-es/commands/DeleteSessionCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +3 -0
  8. package/dist-es/schemas/schemas_0.js +97 -53
  9. package/dist-types/Connect.d.ts +14 -0
  10. package/dist-types/ConnectClient.d.ts +4 -2
  11. package/dist-types/commands/CreateAuthCodeCommand.d.ts +103 -0
  12. package/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +2 -1
  13. package/dist-types/commands/CreateViewCommand.d.ts +1 -2
  14. package/dist-types/commands/DeleteSessionCommand.d.ts +88 -0
  15. package/dist-types/commands/GetFederationTokenCommand.d.ts +5 -2
  16. package/dist-types/commands/GetMetricDataCommand.d.ts +1 -2
  17. package/dist-types/commands/SearchDataTablesCommand.d.ts +1 -2
  18. package/dist-types/commands/SearchQuickConnectsCommand.d.ts +2 -1
  19. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +2 -1
  20. package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +2 -1
  21. package/dist-types/commands/SearchTestCasesCommand.d.ts +2 -1
  22. package/dist-types/commands/SearchUserHierarchyGroupsCommand.d.ts +2 -1
  23. package/dist-types/commands/index.d.ts +2 -0
  24. package/dist-types/models/enums.d.ts +11 -0
  25. package/dist-types/models/models_0.d.ts +80 -78
  26. package/dist-types/models/models_1.d.ts +106 -542
  27. package/dist-types/models/models_2.d.ts +535 -103
  28. package/dist-types/models/models_3.d.ts +105 -173
  29. package/dist-types/models/models_4.d.ts +171 -2
  30. package/dist-types/schemas/schemas_0.d.ts +7 -0
  31. package/dist-types/ts3.4/Connect.d.ts +34 -0
  32. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  33. package/dist-types/ts3.4/commands/CreateAuthCodeCommand.d.ts +43 -0
  34. package/dist-types/ts3.4/commands/CreateUserHierarchyGroupCommand.d.ts +2 -4
  35. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +1 -2
  36. package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +43 -0
  37. package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +4 -2
  38. package/dist-types/ts3.4/commands/SearchDataTablesCommand.d.ts +4 -2
  39. package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +2 -4
  40. package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +2 -4
  42. package/dist-types/ts3.4/commands/SearchTestCasesCommand.d.ts +2 -4
  43. package/dist-types/ts3.4/commands/SearchUserHierarchyGroupsCommand.d.ts +2 -4
  44. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  45. package/dist-types/ts3.4/models/enums.d.ts +5 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +19 -18
  47. package/dist-types/ts3.4/models/models_1.d.ts +24 -33
  48. package/dist-types/ts3.4/models/models_2.d.ts +35 -23
  49. package/dist-types/ts3.4/models/models_3.d.ts +23 -38
  50. package/dist-types/ts3.4/models/models_4.d.ts +47 -4
  51. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  52. package/package.json +3 -3
@@ -1,7 +1,108 @@
1
- import type { AgentAvailabilityTimer, AgentStatusState, AnalyticsMode, AttachmentScope, Behavior, ChatEventType, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInteractionType, ContactMediaProcessingFailureMode, ContactRecordingType, DataTableAttributeValueType, DataTableLockLevel, DateComparisonType, EmailHeaderType, EvaluationFormItemEnablementAction, EvaluationFormItemEnablementOperator, EvaluationFormLanguageCode, EvaluationFormQuestionType, EvaluationFormVersionStatus, FileStatusType, FileUseCaseType, HierarchyGroupMatchType, InboundMessageSourceType, InstanceAttributeType, InstanceStorageResourceType, IvrRecordingTrack, LocaleCode, MaskMode, MeetingFeatureStatus, NotificationPriority, NotificationStatus, NotificationType, OutboundMessageSourceType, OverrideType, ParticipantTimerAction, ParticipantTimerType, Policy, QueueStatus, RehydrationType, ResponseMode, RulePublishStatus, SearchableQueueType, StringComparisonType, SummaryMode, TargetListType, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TimerEligibleParticipantRoles, TrafficType, ViewStatus, ViewType, Visibility, VocabularyLanguageCode, VocabularyState, VoiceRecordingTrack } from "./enums";
2
- import type { AfterContactWorkConfigPerChannel, AgentConfig, AgentStatusSearchFilter, AliasConfiguration, AllowedCapabilities, Application, AutoAcceptConfig, ControlPlaneAttributeFilter, CreatedByInfo, DataTableLockVersion, EvaluationFormItemEnablementExpression, EvaluationFormQuestionScoringConfiguration, EvaluationFormQuestionTypeProperties, FlowModule, GranularAccessControlConfiguration, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InputPredefinedAttributeConfiguration, InstanceStorageConfig, MediaConcurrency, OutboundCallerConfig, OutboundEmailConfig, OutboundStrategy, PersistentConnectionConfig, PhoneNumberConfig, PredefinedAttributeValues, PrimaryValue, QuickConnectConfig, RecurrenceConfig, Reference, RoutingProfileQueueConfig, RuleAction, StringCondition, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TestCaseEntryPoint, UserIdentityInfo, UserPhoneConfig, UserProficiency, Validation, ViewInputContent, VoiceEnhancementConfig } from "./models_0";
3
- import type { AttributeCondition, EvaluationAnswerData, EvaluationNote, ExtensionConfiguration, HierarchyGroup, HoursOfOperation, HoursOfOperationOverride, PredefinedAttribute, Prompt, Queue, QuickConnect, RoutingProfile, TestCase, View, WorkspaceTheme } from "./models_1";
4
- import type { BooleanCondition, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, ControlPlaneTagFilter, DataTableSearchFilter, DateTimeCondition, DecimalCondition, EmailAddressSearchFilter, EvaluationSearchFilter, NumberCondition, SignInConfig, TelephonyConfig } from "./models_2";
1
+ import type { AgentAvailabilityTimer, AgentStatusState, AiUseCase, AnalyticsMode, AttachmentScope, Behavior, ChatEventType, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInteractionType, ContactMediaProcessingFailureMode, ContactRecordingType, DataTableAttributeValueType, DataTableLockLevel, DateComparisonType, EmailHeaderType, EvaluationFormItemEnablementAction, EvaluationFormItemEnablementOperator, EvaluationFormLanguageCode, EvaluationFormQuestionType, EvaluationFormVersionStatus, FileStatusType, FileUseCaseType, HierarchyGroupMatchType, InboundMessageSourceType, InstanceAttributeType, InstanceStorageResourceType, IvrRecordingTrack, LocaleCode, MaskMode, MeetingFeatureStatus, NotificationPriority, NotificationStatus, NotificationType, OutboundMessageSourceType, OverrideType, ParticipantTimerAction, ParticipantTimerType, Policy, QueueStatus, RehydrationType, ResponseMode, RulePublishStatus, SearchableQueueType, StringComparisonType, SummaryMode, TargetListType, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TimerEligibleParticipantRoles, TrafficType, ViewStatus, ViewType, Visibility, VocabularyLanguageCode, VocabularyState, VoiceRecordingTrack } from "./enums";
2
+ import type { AfterContactWorkConfigPerChannel, AgentConfig, AgentStatusSearchFilter, AliasConfiguration, AllowedCapabilities, Application, AutoAcceptConfig, ControlPlaneAttributeFilter, CreatedByInfo, DataTableLockVersion, EvaluationFormItemEnablementExpression, EvaluationFormQuestionScoringConfiguration, EvaluationFormQuestionTypeProperties, FlowModule, GranularAccessControlConfiguration, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InputPredefinedAttributeConfiguration, InstanceStorageConfig, MediaConcurrency, OutboundCallerConfig, OutboundEmailConfig, OutboundStrategy, PersistentConnectionConfig, PhoneNumberConfig, PredefinedAttributeValues, PrimaryValue, QuickConnectConfig, RecurrenceConfig, Reference, RoutingProfileQueueConfig, RuleAction, StringCondition, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TestCaseEntryPoint, UserIdentityInfo, UserPhoneConfig, UserProficiency, Validation, VoiceEnhancementConfig } from "./models_0";
3
+ import type { AttributeCondition, DataTable, EvaluationAnswerData, EvaluationNote, ExtensionConfiguration, HierarchyGroup, HoursOfOperation, HoursOfOperationOverride, PredefinedAttribute, Prompt, Queue, QuickConnect, RoutingProfile, TestCase, View, ViewInputContent, WorkspaceTheme } from "./models_1";
4
+ import type { BooleanCondition, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, ControlPlaneTagFilter, DateTimeCondition, DecimalCondition, EvaluationSearchFilter, NumberCondition, SignInConfig, TelephonyConfig } from "./models_2";
5
+ /**
6
+ * <p>Information of the AI agent involved in the contact.</p>
7
+ * @public
8
+ */
9
+ export interface ContactSearchSummaryAiAgentInfo {
10
+ /**
11
+ * <p>The unique identifier that specifies both the AI agent ID and its version number that was
12
+ * involved in the contact.</p>
13
+ * @public
14
+ */
15
+ AiAgentVersionId?: string | undefined;
16
+ /**
17
+ * <p>A boolean flag indicating whether the contact initially handled by this AI agent was
18
+ * escalated to a human agent.</p>
19
+ * @public
20
+ */
21
+ AiAgentEscalated?: boolean | undefined;
22
+ /**
23
+ * <p>The use case or scenario for which the AI agent is involved in the contact. Valid values
24
+ * are <code>AgentAssistance</code> and <code>SelfService</code>.</p>
25
+ * @public
26
+ */
27
+ AiUseCase?: AiUseCase | undefined;
28
+ }
29
+ /**
30
+ * <p>If this contact was queued, this contains information about the queue.</p>
31
+ * @public
32
+ */
33
+ export interface ContactSearchSummaryQueueInfo {
34
+ /**
35
+ * <p>The unique identifier for the queue.</p>
36
+ * @public
37
+ */
38
+ Id?: string | undefined;
39
+ /**
40
+ * <p>The timestamp when the contact was added to the queue.</p>
41
+ * @public
42
+ */
43
+ EnqueueTimestamp?: Date | undefined;
44
+ }
45
+ /**
46
+ * <p>A data table search filter.</p>
47
+ * @public
48
+ */
49
+ export interface DataTableSearchFilter {
50
+ /**
51
+ * <p>An object that can be used to specify Tag conditions inside the <code>SearchFilter</code>. This accepts an
52
+ * <code>OR</code> or <code>AND</code> (List of List) input where:</p>
53
+ * <ul>
54
+ * <li>
55
+ * <p>The top level list specifies conditions that need to be applied with <code>OR</code> operator.</p>
56
+ * </li>
57
+ * <li>
58
+ * <p>The inner list specifies conditions that need to be applied with <code>AND</code> operator.</p>
59
+ * </li>
60
+ * </ul>
61
+ * @public
62
+ */
63
+ AttributeFilter?: ControlPlaneAttributeFilter | undefined;
64
+ }
65
+ /**
66
+ * @public
67
+ */
68
+ export interface SearchDataTablesResponse {
69
+ /**
70
+ * <p>An array of data tables matching the search criteria with the same structure as DescribeTable except Version,
71
+ * VersionDescription, and LockVersion are omitted.</p>
72
+ * @public
73
+ */
74
+ DataTables?: DataTable[] | undefined;
75
+ /**
76
+ * <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
77
+ * @public
78
+ */
79
+ NextToken?: string | undefined;
80
+ /**
81
+ * <p>The approximate number of data tables that matched the search criteria.</p>
82
+ * @public
83
+ */
84
+ ApproximateTotalCount?: number | undefined;
85
+ }
86
+ /**
87
+ * <p>Filters to be applied to search results.</p>
88
+ * @public
89
+ */
90
+ export interface EmailAddressSearchFilter {
91
+ /**
92
+ * <p>An object that can be used to specify Tag conditions inside the <code>SearchFilter</code>. This accepts an
93
+ * <code>OR</code> of <code>AND</code> (List of List) input where:</p>
94
+ * <ul>
95
+ * <li>
96
+ * <p>Top level list specifies conditions that need to be applied with <code>OR</code> operator</p>
97
+ * </li>
98
+ * <li>
99
+ * <p>Inner list specifies conditions that need to be applied with <code>AND</code> operator.</p>
100
+ * </li>
101
+ * </ul>
102
+ * @public
103
+ */
104
+ TagFilter?: ControlPlaneTagFilter | undefined;
105
+ }
5
106
  /**
6
107
  * <p>Contains information about an email address for a contact center.</p>
7
108
  * @public
@@ -7060,172 +7161,3 @@ export interface SearchQueuesRequest {
7060
7161
  */
7061
7162
  SearchCriteria?: QueueSearchCriteria | undefined;
7062
7163
  }
7063
- /**
7064
- * @public
7065
- */
7066
- export interface SearchQuickConnectsRequest {
7067
- /**
7068
- * <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>
7069
- * @public
7070
- */
7071
- InstanceId: string | undefined;
7072
- /**
7073
- * <p>The token for the next set of results. Use the value returned in the previous
7074
- * response in the next request to retrieve the next set of results.</p>
7075
- * @public
7076
- */
7077
- NextToken?: string | undefined;
7078
- /**
7079
- * <p>The maximum number of results to return per page.</p>
7080
- * @public
7081
- */
7082
- MaxResults?: number | undefined;
7083
- /**
7084
- * <p>Filters to be applied to search results.</p>
7085
- * @public
7086
- */
7087
- SearchFilter?: QuickConnectSearchFilter | undefined;
7088
- /**
7089
- * <p>The search criteria to be used to return quick connects.</p>
7090
- * @public
7091
- */
7092
- SearchCriteria?: QuickConnectSearchCriteria | undefined;
7093
- }
7094
- /**
7095
- * @public
7096
- */
7097
- export interface SearchRoutingProfilesRequest {
7098
- /**
7099
- * <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>
7100
- * @public
7101
- */
7102
- InstanceId: string | undefined;
7103
- /**
7104
- * <p>The token for the next set of results. Use the value returned in the previous
7105
- * response in the next request to retrieve the next set of results.</p>
7106
- * @public
7107
- */
7108
- NextToken?: string | undefined;
7109
- /**
7110
- * <p>The maximum number of results to return per page.</p>
7111
- * @public
7112
- */
7113
- MaxResults?: number | undefined;
7114
- /**
7115
- * <p>Filters to be applied to search results.</p>
7116
- * @public
7117
- */
7118
- SearchFilter?: RoutingProfileSearchFilter | undefined;
7119
- /**
7120
- * <p>The search criteria to be used to return routing profiles.</p>
7121
- * <note>
7122
- * <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
7123
- * a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
7124
- * outside of this range will throw invalid results. </p>
7125
- * </note>
7126
- * @public
7127
- */
7128
- SearchCriteria?: RoutingProfileSearchCriteria | undefined;
7129
- }
7130
- /**
7131
- * @public
7132
- */
7133
- export interface SearchSecurityProfilesRequest {
7134
- /**
7135
- * <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>
7136
- * @public
7137
- */
7138
- InstanceId: string | undefined;
7139
- /**
7140
- * <p>The token for the next set of results. Use the value returned in the previous
7141
- * response in the next request to retrieve the next set of results.</p>
7142
- * @public
7143
- */
7144
- NextToken?: string | undefined;
7145
- /**
7146
- * <p>The maximum number of results to return per page.</p>
7147
- * @public
7148
- */
7149
- MaxResults?: number | undefined;
7150
- /**
7151
- * <p>The search criteria to be used to return security profiles. </p>
7152
- * <note>
7153
- * <p>The <code>name</code> field support "contains" queries with a minimum of 2 characters and maximum of 25
7154
- * characters. Any queries with character lengths outside of this range will throw invalid results.</p>
7155
- * </note>
7156
- * <note>
7157
- * <p>The currently supported value for <code>FieldName</code>: <code>name</code>
7158
- * </p>
7159
- * </note>
7160
- * @public
7161
- */
7162
- SearchCriteria?: SecurityProfileSearchCriteria | undefined;
7163
- /**
7164
- * <p>Filters to be applied to search results.</p>
7165
- * @public
7166
- */
7167
- SearchFilter?: SecurityProfilesSearchFilter | undefined;
7168
- }
7169
- /**
7170
- * @public
7171
- */
7172
- export interface SearchTestCasesRequest {
7173
- /**
7174
- * <p>The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.</p>
7175
- * @public
7176
- */
7177
- InstanceId: string | undefined;
7178
- /**
7179
- * <p>The token for the next set of results. Use the value returned in the previous
7180
- * response in the next request to retrieve the next set of results.</p>
7181
- * @public
7182
- */
7183
- NextToken?: string | undefined;
7184
- /**
7185
- * <p>The maximum number of results to return per page.</p>
7186
- * @public
7187
- */
7188
- MaxResults?: number | undefined;
7189
- /**
7190
- * <p>Filters to be applied to search results.</p>
7191
- * @public
7192
- */
7193
- SearchFilter?: TestCaseSearchFilter | undefined;
7194
- /**
7195
- * <p>The search criteria to be used to return test cases.</p>
7196
- * @public
7197
- */
7198
- SearchCriteria?: TestCaseSearchCriteria | undefined;
7199
- }
7200
- /**
7201
- * @public
7202
- */
7203
- export interface SearchUserHierarchyGroupsRequest {
7204
- /**
7205
- * <p>The identifier of the Connect Customer instance. You can find the instanceId in the ARN of the
7206
- * instance.</p>
7207
- * @public
7208
- */
7209
- InstanceId: string | undefined;
7210
- /**
7211
- * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
7212
- * retrieve the next set of results.</p>
7213
- * @public
7214
- */
7215
- NextToken?: string | undefined;
7216
- /**
7217
- * <p>The maximum number of results to return per page.</p>
7218
- * @public
7219
- */
7220
- MaxResults?: number | undefined;
7221
- /**
7222
- * <p>Filters to be applied to search results.</p>
7223
- * @public
7224
- */
7225
- SearchFilter?: UserHierarchyGroupSearchFilter | undefined;
7226
- /**
7227
- * <p>The search criteria to be used to return UserHierarchyGroups.</p>
7228
- * @public
7229
- */
7230
- SearchCriteria?: UserHierarchyGroupSearchCriteria | undefined;
7231
- }
@@ -1,8 +1,177 @@
1
1
  import type { AnsweringMachineDetectionStatus, Channel, ContactInitiationMethod, DisconnectOnCustomerExitParticipantType, EvaluationFormValidationStatus, EvaluationFormVersionStatus, InitiateAs, RoutingCriteriaStepStatus } from "./enums";
2
2
  import type { AdditionalEmailRecipients, AgentInfo, Campaign, Endpoint, EvaluationFormAutoEvaluationConfiguration, EvaluationFormLanguageConfiguration, EvaluationFormScoreThreshold, EvaluationFormScoringStrategy, EvaluationFormTargetConfiguration, EvaluationReviewConfiguration, OutboundStrategy, Reference, UserInfo } from "./models_0";
3
3
  import type { ChatMetrics, ContactDetails, ContactEvaluation, Customer, CustomerVoiceActivity, DisconnectDetails, EndpointInfo, Evaluation, Expiry, GlobalResiliencyMetadata, NextContactEntry, QualityMetrics, QueueInfo, RecordingInfo, TaskTemplateInfoV2, WisdomInfo } from "./models_1";
4
- import type { ContactSearchSummaryAgentInfo, ContactSearchSummaryAiAgentInfo, ContactSearchSummaryQueueInfo } from "./models_2";
5
- import type { ChatMessage, EmailAddressInfo, EmailAttachment, EvaluationFormQuestion, Expression, InboundAdditionalRecipients, InboundEmailContent, ParticipantConfiguration, ParticipantDetails, PersistentChat, QueueInfoInput, RoutingCriteriaInputStep, SegmentAttributeValue, TaskAttachment, TemplatedMessageConfig, UserSearchCriteria, UserSearchFilter, ViewSearchCriteria, ViewSearchFilter, WorkspaceAssociationSearchCriteria, WorkspaceAssociationSearchFilter, WorkspaceSearchCriteria, WorkspaceSearchFilter } from "./models_3";
4
+ import type { ContactSearchSummaryAgentInfo } from "./models_2";
5
+ import type { ChatMessage, ContactSearchSummaryAiAgentInfo, ContactSearchSummaryQueueInfo, EmailAddressInfo, EmailAttachment, EvaluationFormQuestion, Expression, InboundAdditionalRecipients, InboundEmailContent, ParticipantConfiguration, ParticipantDetails, PersistentChat, QueueInfoInput, QuickConnectSearchCriteria, QuickConnectSearchFilter, RoutingCriteriaInputStep, RoutingProfileSearchCriteria, RoutingProfileSearchFilter, SecurityProfileSearchCriteria, SecurityProfilesSearchFilter, SegmentAttributeValue, TaskAttachment, TemplatedMessageConfig, TestCaseSearchCriteria, TestCaseSearchFilter, UserHierarchyGroupSearchCriteria, UserHierarchyGroupSearchFilter, UserSearchCriteria, UserSearchFilter, ViewSearchCriteria, ViewSearchFilter, WorkspaceAssociationSearchCriteria, WorkspaceAssociationSearchFilter, WorkspaceSearchCriteria, WorkspaceSearchFilter } from "./models_3";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface SearchQuickConnectsRequest {
10
+ /**
11
+ * <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>
12
+ * @public
13
+ */
14
+ InstanceId: string | undefined;
15
+ /**
16
+ * <p>The token for the next set of results. Use the value returned in the previous
17
+ * response in the next request to retrieve the next set of results.</p>
18
+ * @public
19
+ */
20
+ NextToken?: string | undefined;
21
+ /**
22
+ * <p>The maximum number of results to return per page.</p>
23
+ * @public
24
+ */
25
+ MaxResults?: number | undefined;
26
+ /**
27
+ * <p>Filters to be applied to search results.</p>
28
+ * @public
29
+ */
30
+ SearchFilter?: QuickConnectSearchFilter | undefined;
31
+ /**
32
+ * <p>The search criteria to be used to return quick connects.</p>
33
+ * @public
34
+ */
35
+ SearchCriteria?: QuickConnectSearchCriteria | undefined;
36
+ }
37
+ /**
38
+ * @public
39
+ */
40
+ export interface SearchRoutingProfilesRequest {
41
+ /**
42
+ * <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>
43
+ * @public
44
+ */
45
+ InstanceId: string | undefined;
46
+ /**
47
+ * <p>The token for the next set of results. Use the value returned in the previous
48
+ * response in the next request to retrieve the next set of results.</p>
49
+ * @public
50
+ */
51
+ NextToken?: string | undefined;
52
+ /**
53
+ * <p>The maximum number of results to return per page.</p>
54
+ * @public
55
+ */
56
+ MaxResults?: number | undefined;
57
+ /**
58
+ * <p>Filters to be applied to search results.</p>
59
+ * @public
60
+ */
61
+ SearchFilter?: RoutingProfileSearchFilter | undefined;
62
+ /**
63
+ * <p>The search criteria to be used to return routing profiles.</p>
64
+ * <note>
65
+ * <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
66
+ * a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
67
+ * outside of this range will throw invalid results. </p>
68
+ * </note>
69
+ * @public
70
+ */
71
+ SearchCriteria?: RoutingProfileSearchCriteria | undefined;
72
+ }
73
+ /**
74
+ * @public
75
+ */
76
+ export interface SearchSecurityProfilesRequest {
77
+ /**
78
+ * <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>
79
+ * @public
80
+ */
81
+ InstanceId: string | undefined;
82
+ /**
83
+ * <p>The token for the next set of results. Use the value returned in the previous
84
+ * response in the next request to retrieve the next set of results.</p>
85
+ * @public
86
+ */
87
+ NextToken?: string | undefined;
88
+ /**
89
+ * <p>The maximum number of results to return per page.</p>
90
+ * @public
91
+ */
92
+ MaxResults?: number | undefined;
93
+ /**
94
+ * <p>The search criteria to be used to return security profiles. </p>
95
+ * <note>
96
+ * <p>The <code>name</code> field support "contains" queries with a minimum of 2 characters and maximum of 25
97
+ * characters. Any queries with character lengths outside of this range will throw invalid results.</p>
98
+ * </note>
99
+ * <note>
100
+ * <p>The currently supported value for <code>FieldName</code>: <code>name</code>
101
+ * </p>
102
+ * </note>
103
+ * @public
104
+ */
105
+ SearchCriteria?: SecurityProfileSearchCriteria | undefined;
106
+ /**
107
+ * <p>Filters to be applied to search results.</p>
108
+ * @public
109
+ */
110
+ SearchFilter?: SecurityProfilesSearchFilter | undefined;
111
+ }
112
+ /**
113
+ * @public
114
+ */
115
+ export interface SearchTestCasesRequest {
116
+ /**
117
+ * <p>The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.</p>
118
+ * @public
119
+ */
120
+ InstanceId: string | undefined;
121
+ /**
122
+ * <p>The token for the next set of results. Use the value returned in the previous
123
+ * response in the next request to retrieve the next set of results.</p>
124
+ * @public
125
+ */
126
+ NextToken?: string | undefined;
127
+ /**
128
+ * <p>The maximum number of results to return per page.</p>
129
+ * @public
130
+ */
131
+ MaxResults?: number | undefined;
132
+ /**
133
+ * <p>Filters to be applied to search results.</p>
134
+ * @public
135
+ */
136
+ SearchFilter?: TestCaseSearchFilter | undefined;
137
+ /**
138
+ * <p>The search criteria to be used to return test cases.</p>
139
+ * @public
140
+ */
141
+ SearchCriteria?: TestCaseSearchCriteria | undefined;
142
+ }
143
+ /**
144
+ * @public
145
+ */
146
+ export interface SearchUserHierarchyGroupsRequest {
147
+ /**
148
+ * <p>The identifier of the Connect Customer instance. You can find the instanceId in the ARN of the
149
+ * instance.</p>
150
+ * @public
151
+ */
152
+ InstanceId: string | undefined;
153
+ /**
154
+ * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
155
+ * retrieve the next set of results.</p>
156
+ * @public
157
+ */
158
+ NextToken?: string | undefined;
159
+ /**
160
+ * <p>The maximum number of results to return per page.</p>
161
+ * @public
162
+ */
163
+ MaxResults?: number | undefined;
164
+ /**
165
+ * <p>Filters to be applied to search results.</p>
166
+ * @public
167
+ */
168
+ SearchFilter?: UserHierarchyGroupSearchFilter | undefined;
169
+ /**
170
+ * <p>The search criteria to be used to return UserHierarchyGroups.</p>
171
+ * @public
172
+ */
173
+ SearchCriteria?: UserHierarchyGroupSearchCriteria | undefined;
174
+ }
6
175
  /**
7
176
  * @public
8
177
  */
@@ -111,6 +111,7 @@ export declare var AudioFeatures$: StaticStructureSchema;
111
111
  export declare var AudioQualityMetricsInfo$: StaticStructureSchema;
112
112
  export declare var AuthenticationProfile$: StaticStructureSchema;
113
113
  export declare var AuthenticationProfileSummary$: StaticStructureSchema;
114
+ export declare var AuthScope$: StaticStructureSchema;
114
115
  export declare var AutoAcceptConfig$: StaticStructureSchema;
115
116
  export declare var AutoEvaluationConfiguration$: StaticStructureSchema;
116
117
  export declare var AutoEvaluationDetails$: StaticStructureSchema;
@@ -201,6 +202,8 @@ export declare var CreateAgentStatusRequest$: StaticStructureSchema;
201
202
  export declare var CreateAgentStatusResponse$: StaticStructureSchema;
202
203
  export declare var CreateAttachedFileRequest$: StaticStructureSchema;
203
204
  export declare var CreateAttachedFileResponse$: StaticStructureSchema;
205
+ export declare var CreateAuthCodeRequest$: StaticStructureSchema;
206
+ export declare var CreateAuthCodeResponse$: StaticStructureSchema;
204
207
  export declare var CreateCaseActionDefinition$: StaticStructureSchema;
205
208
  export declare var CreateContactFlowModuleAliasRequest$: StaticStructureSchema;
206
209
  export declare var CreateContactFlowModuleAliasResponse$: StaticStructureSchema;
@@ -337,6 +340,8 @@ export declare var DeleteQuickConnectRequest$: StaticStructureSchema;
337
340
  export declare var DeleteRoutingProfileRequest$: StaticStructureSchema;
338
341
  export declare var DeleteRuleRequest$: StaticStructureSchema;
339
342
  export declare var DeleteSecurityProfileRequest$: StaticStructureSchema;
343
+ export declare var DeleteSessionRequest$: StaticStructureSchema;
344
+ export declare var DeleteSessionResponse$: StaticStructureSchema;
340
345
  export declare var DeleteTaskTemplateRequest$: StaticStructureSchema;
341
346
  export declare var DeleteTaskTemplateResponse$: StaticStructureSchema;
342
347
  export declare var DeleteTestCaseRequest$: StaticStructureSchema;
@@ -1296,6 +1301,7 @@ export declare var ClaimPhoneNumber$: StaticOperationSchema;
1296
1301
  export declare var CompleteAttachedFileUpload$: StaticOperationSchema;
1297
1302
  export declare var CreateAgentStatus$: StaticOperationSchema;
1298
1303
  export declare var CreateAttachedFile$: StaticOperationSchema;
1304
+ export declare var CreateAuthCode$: StaticOperationSchema;
1299
1305
  export declare var CreateContact$: StaticOperationSchema;
1300
1306
  export declare var CreateContactFlow$: StaticOperationSchema;
1301
1307
  export declare var CreateContactFlowModule$: StaticOperationSchema;
@@ -1357,6 +1363,7 @@ export declare var DeleteQuickConnect$: StaticOperationSchema;
1357
1363
  export declare var DeleteRoutingProfile$: StaticOperationSchema;
1358
1364
  export declare var DeleteRule$: StaticOperationSchema;
1359
1365
  export declare var DeleteSecurityProfile$: StaticOperationSchema;
1366
+ export declare var DeleteSession$: StaticOperationSchema;
1360
1367
  export declare var DeleteTaskTemplate$: StaticOperationSchema;
1361
1368
  export declare var DeleteTestCase$: StaticOperationSchema;
1362
1369
  export declare var DeleteTrafficDistributionGroup$: StaticOperationSchema;
@@ -139,6 +139,10 @@ import {
139
139
  CreateAttachedFileCommandInput,
140
140
  CreateAttachedFileCommandOutput,
141
141
  } from "./commands/CreateAttachedFileCommand";
142
+ import {
143
+ CreateAuthCodeCommandInput,
144
+ CreateAuthCodeCommandOutput,
145
+ } from "./commands/CreateAuthCodeCommand";
142
146
  import {
143
147
  CreateContactCommandInput,
144
148
  CreateContactCommandOutput,
@@ -383,6 +387,10 @@ import {
383
387
  DeleteSecurityProfileCommandInput,
384
388
  DeleteSecurityProfileCommandOutput,
385
389
  } from "./commands/DeleteSecurityProfileCommand";
390
+ import {
391
+ DeleteSessionCommandInput,
392
+ DeleteSessionCommandOutput,
393
+ } from "./commands/DeleteSessionCommand";
386
394
  import {
387
395
  DeleteTaskTemplateCommandInput,
388
396
  DeleteTaskTemplateCommandOutput,
@@ -1959,6 +1967,19 @@ export interface Connect {
1959
1967
  options: __HttpHandlerOptions,
1960
1968
  cb: (err: any, data?: CreateAttachedFileCommandOutput) => void
1961
1969
  ): void;
1970
+ createAuthCode(
1971
+ args: CreateAuthCodeCommandInput,
1972
+ options?: __HttpHandlerOptions
1973
+ ): Promise<CreateAuthCodeCommandOutput>;
1974
+ createAuthCode(
1975
+ args: CreateAuthCodeCommandInput,
1976
+ cb: (err: any, data?: CreateAuthCodeCommandOutput) => void
1977
+ ): void;
1978
+ createAuthCode(
1979
+ args: CreateAuthCodeCommandInput,
1980
+ options: __HttpHandlerOptions,
1981
+ cb: (err: any, data?: CreateAuthCodeCommandOutput) => void
1982
+ ): void;
1962
1983
  createContact(
1963
1984
  args: CreateContactCommandInput,
1964
1985
  options?: __HttpHandlerOptions
@@ -2770,6 +2791,19 @@ export interface Connect {
2770
2791
  options: __HttpHandlerOptions,
2771
2792
  cb: (err: any, data?: DeleteSecurityProfileCommandOutput) => void
2772
2793
  ): void;
2794
+ deleteSession(
2795
+ args: DeleteSessionCommandInput,
2796
+ options?: __HttpHandlerOptions
2797
+ ): Promise<DeleteSessionCommandOutput>;
2798
+ deleteSession(
2799
+ args: DeleteSessionCommandInput,
2800
+ cb: (err: any, data?: DeleteSessionCommandOutput) => void
2801
+ ): void;
2802
+ deleteSession(
2803
+ args: DeleteSessionCommandInput,
2804
+ options: __HttpHandlerOptions,
2805
+ cb: (err: any, data?: DeleteSessionCommandOutput) => void
2806
+ ): void;
2773
2807
  deleteTaskTemplate(
2774
2808
  args: DeleteTaskTemplateCommandInput,
2775
2809
  options?: __HttpHandlerOptions
@@ -172,6 +172,10 @@ import {
172
172
  CreateAttachedFileCommandInput,
173
173
  CreateAttachedFileCommandOutput,
174
174
  } from "./commands/CreateAttachedFileCommand";
175
+ import {
176
+ CreateAuthCodeCommandInput,
177
+ CreateAuthCodeCommandOutput,
178
+ } from "./commands/CreateAuthCodeCommand";
175
179
  import {
176
180
  CreateContactCommandInput,
177
181
  CreateContactCommandOutput,
@@ -416,6 +420,10 @@ import {
416
420
  DeleteSecurityProfileCommandInput,
417
421
  DeleteSecurityProfileCommandOutput,
418
422
  } from "./commands/DeleteSecurityProfileCommand";
423
+ import {
424
+ DeleteSessionCommandInput,
425
+ DeleteSessionCommandOutput,
426
+ } from "./commands/DeleteSessionCommand";
419
427
  import {
420
428
  DeleteTaskTemplateCommandInput,
421
429
  DeleteTaskTemplateCommandOutput,
@@ -1578,6 +1586,7 @@ export type ServiceInputTypes =
1578
1586
  | CompleteAttachedFileUploadCommandInput
1579
1587
  | CreateAgentStatusCommandInput
1580
1588
  | CreateAttachedFileCommandInput
1589
+ | CreateAuthCodeCommandInput
1581
1590
  | CreateContactCommandInput
1582
1591
  | CreateContactFlowCommandInput
1583
1592
  | CreateContactFlowModuleAliasCommandInput
@@ -1639,6 +1648,7 @@ export type ServiceInputTypes =
1639
1648
  | DeleteRoutingProfileCommandInput
1640
1649
  | DeleteRuleCommandInput
1641
1650
  | DeleteSecurityProfileCommandInput
1651
+ | DeleteSessionCommandInput
1642
1652
  | DeleteTaskTemplateCommandInput
1643
1653
  | DeleteTestCaseCommandInput
1644
1654
  | DeleteTrafficDistributionGroupCommandInput
@@ -1954,6 +1964,7 @@ export type ServiceOutputTypes =
1954
1964
  | CompleteAttachedFileUploadCommandOutput
1955
1965
  | CreateAgentStatusCommandOutput
1956
1966
  | CreateAttachedFileCommandOutput
1967
+ | CreateAuthCodeCommandOutput
1957
1968
  | CreateContactCommandOutput
1958
1969
  | CreateContactFlowCommandOutput
1959
1970
  | CreateContactFlowModuleAliasCommandOutput
@@ -2015,6 +2026,7 @@ export type ServiceOutputTypes =
2015
2026
  | DeleteRoutingProfileCommandOutput
2016
2027
  | DeleteRuleCommandOutput
2017
2028
  | DeleteSecurityProfileCommandOutput
2029
+ | DeleteSessionCommandOutput
2018
2030
  | DeleteTaskTemplateCommandOutput
2019
2031
  | DeleteTestCaseCommandOutput
2020
2032
  | DeleteTrafficDistributionGroupCommandOutput
@@ -0,0 +1,43 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ CreateAuthCodeRequest,
4
+ CreateAuthCodeResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface CreateAuthCodeCommandInput extends CreateAuthCodeRequest {}
8
+ export interface CreateAuthCodeCommandOutput
9
+ extends CreateAuthCodeResponse,
10
+ __MetadataBearer {}
11
+ declare const CreateAuthCodeCommand_base: {
12
+ new (
13
+ input: CreateAuthCodeCommandInput
14
+ ): import("@smithy/core/client").CommandImpl<
15
+ CreateAuthCodeCommandInput,
16
+ CreateAuthCodeCommandOutput,
17
+ import("..").ConnectClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
20
+ >;
21
+ new (
22
+ input: CreateAuthCodeCommandInput
23
+ ): import("@smithy/core/client").CommandImpl<
24
+ CreateAuthCodeCommandInput,
25
+ CreateAuthCodeCommandOutput,
26
+ import("..").ConnectClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
29
+ >;
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
31
+ };
32
+ export declare class CreateAuthCodeCommand extends CreateAuthCodeCommand_base {
33
+ protected static __types: {
34
+ api: {
35
+ input: CreateAuthCodeRequest;
36
+ output: CreateAuthCodeResponse;
37
+ };
38
+ sdk: {
39
+ input: CreateAuthCodeCommandInput;
40
+ output: CreateAuthCodeCommandOutput;
41
+ };
42
+ };
43
+ }