@aws-sdk/client-connect 3.1105.0 → 3.1107.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 (41) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +27 -1
  3. package/dist-es/Connect.js +2 -0
  4. package/dist-es/commands/UpdateContactTaskTemplateCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/index.js +1 -1
  7. package/dist-es/models/enums.js +2 -0
  8. package/dist-es/schemas/schemas_0.js +16 -0
  9. package/dist-types/Connect.d.ts +7 -0
  10. package/dist-types/ConnectClient.d.ts +3 -2
  11. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteContactDataCommand.d.ts +9 -7
  13. package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
  15. package/dist-types/commands/SearchContactFlowsCommand.d.ts +1 -1
  16. package/dist-types/commands/SearchDataTablesCommand.d.ts +2 -1
  17. package/dist-types/commands/SearchEvaluationFormsCommand.d.ts +1 -1
  18. package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +2 -1
  19. package/dist-types/commands/UpdateContactTaskTemplateCommand.d.ts +131 -0
  20. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +1 -1
  21. package/dist-types/commands/index.d.ts +1 -0
  22. package/dist-types/index.d.ts +1 -1
  23. package/dist-types/models/enums.d.ts +2 -0
  24. package/dist-types/models/errors.d.ts +3 -3
  25. package/dist-types/models/models_0.d.ts +4 -4
  26. package/dist-types/models/models_1.d.ts +19 -10
  27. package/dist-types/models/models_3.d.ts +27 -71
  28. package/dist-types/models/models_4.d.ts +71 -1
  29. package/dist-types/schemas/schemas_0.d.ts +3 -0
  30. package/dist-types/ts3.4/Connect.d.ts +17 -0
  31. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  32. package/dist-types/ts3.4/commands/SearchContactFlowsCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/SearchDataTablesCommand.d.ts +2 -1
  34. package/dist-types/ts3.4/commands/UpdateContactTaskTemplateCommand.d.ts +42 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  36. package/dist-types/ts3.4/index.d.ts +1 -1
  37. package/dist-types/ts3.4/models/enums.d.ts +2 -0
  38. package/dist-types/ts3.4/models/models_3.d.ts +6 -15
  39. package/dist-types/ts3.4/models/models_4.d.ts +18 -0
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  41. package/package.json +1 -1
@@ -327,6 +327,7 @@ export * from "./UpdateContactFlowModuleMetadataCommand";
327
327
  export * from "./UpdateContactFlowNameCommand";
328
328
  export * from "./UpdateContactRoutingDataCommand";
329
329
  export * from "./UpdateContactScheduleCommand";
330
+ export * from "./UpdateContactTaskTemplateCommand";
330
331
  export * from "./UpdateDataTableAttributeCommand";
331
332
  export * from "./UpdateDataTableMetadataCommand";
332
333
  export * from "./UpdateDataTablePrimaryValuesCommand";
@@ -35,8 +35,8 @@ export type { RuntimeExtension } from "./runtimeExtensions";
35
35
  export type { ConnectExtensionConfiguration } from "./extensionConfiguration";
36
36
  export * from "./commands";
37
37
  export { Command as $Command } from "@smithy/core/client";
38
- export * from "./schemas/schemas_0";
39
38
  export * from "./pagination";
39
+ export * from "./schemas/schemas_0";
40
40
  export * from "./models/enums";
41
41
  export * from "./models/errors";
42
42
  export * from "./models/models_0";
@@ -780,6 +780,7 @@ export declare const EvaluationFormLanguageCode: {
780
780
  readonly IT_IT: "it-IT";
781
781
  readonly JA_JP: "ja-JP";
782
782
  readonly KO_KR: "ko-KR";
783
+ readonly MS_MY: "ms-MY";
783
784
  readonly PT_BR: "pt-BR";
784
785
  readonly ZH_CN: "zh-CN";
785
786
  };
@@ -1187,6 +1188,7 @@ export declare const PropertyValidationExceptionReason: {
1187
1188
  readonly REFERENCED_RESOURCE_NOT_FOUND: "REFERENCED_RESOURCE_NOT_FOUND";
1188
1189
  readonly REQUIRED_PROPERTY_MISSING: "REQUIRED_PROPERTY_MISSING";
1189
1190
  readonly RESOURCE_NAME_ALREADY_EXISTS: "RESOURCE_NAME_ALREADY_EXISTS";
1191
+ readonly TYPE_MISMATCH: "TYPE_MISMATCH";
1190
1192
  readonly UNIQUE_CONSTRAINT_VIOLATED: "UNIQUE_CONSTRAINT_VIOLATED";
1191
1193
  };
1192
1194
  /**
@@ -315,9 +315,9 @@ export declare class TooManyRequestsException extends __BaseException {
315
315
  constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
316
316
  }
317
317
  /**
318
- * <p>The contact has not been disconnected and is not in a terminated state. PII can be deleted
319
- * only from a contact that has been disconnected. This error is returned with an HTTP 409 status
320
- * code.</p>
318
+ * <p>The contact has not been disconnected and is not in a terminated state. To delete PII,
319
+ * disconnect the contact first. Wait for it to reach the terminated state, then retry the
320
+ * request.</p>
321
321
  * @public
322
322
  */
323
323
  export declare class ContactNotTerminatedException extends __BaseException {
@@ -2344,7 +2344,7 @@ export interface BatchGetAttachedFileMetadataRequest {
2344
2344
  */
2345
2345
  InstanceId: string | undefined;
2346
2346
  /**
2347
- * <p>The resource to which the attached file is (being) uploaded to. The supported resources are <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Cases</a> and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Email</a>.</p>
2347
+ * <p>The resource to which the attached file is (being) uploaded to. The supported resources are <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Cases</a>, <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Email</a>, and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html">Task</a>.</p>
2348
2348
  * <note>
2349
2349
  * <p>This value must be a valid ARN.</p>
2350
2350
  * </note>
@@ -2467,8 +2467,8 @@ export interface AttachedFile {
2467
2467
  */
2468
2468
  FileUseCaseType?: FileUseCaseType | undefined;
2469
2469
  /**
2470
- * <p>The resource to which the attached file is (being) uploaded to. <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html">Cases</a> are the only current supported
2471
- * resource.</p>
2470
+ * <p>The resource to which the attached file is (being) uploaded to. The supported resources are <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Cases</a>, <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Email</a>, and
2471
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html">Task</a>.</p>
2472
2472
  * <note>
2473
2473
  * <p>This value must be a valid ARN.</p>
2474
2474
  * </note>
@@ -2882,7 +2882,7 @@ export interface CompleteAttachedFileUploadRequest {
2882
2882
  */
2883
2883
  FileId: string | undefined;
2884
2884
  /**
2885
- * <p>The resource to which the attached file is (being) uploaded to. The supported resources are <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Cases</a> and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Email</a>.</p>
2885
+ * <p>The resource to which the attached file is (being) uploaded to. The supported resources are <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Cases</a>, <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Email</a>, and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html">Task</a>.</p>
2886
2886
  * <note>
2887
2887
  * <p>This value must be a valid ARN.</p>
2888
2888
  * </note>
@@ -653,8 +653,7 @@ export interface DeleteAttachedFileRequest {
653
653
  */
654
654
  FileId: string | undefined;
655
655
  /**
656
- * <p>The resource to which the attached file is (being) uploaded to. <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html">Cases</a> are the only current supported
657
- * resource.</p>
656
+ * <p>The resource to which the attached file is (being) uploaded to. The supported resources are <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Cases</a>, <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Email</a>, and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html">Task</a>.</p>
658
657
  * <note>
659
658
  * <p>This value must be a valid ARN.</p>
660
659
  * </note>
@@ -678,16 +677,27 @@ export interface DeleteContactDataRequest {
678
677
  */
679
678
  InstanceId: string | undefined;
680
679
  /**
681
- * <p>The identifier of the contact. PII can be deleted only from a contact that has been
680
+ * <p>The identifier of the contact. You can delete PII only from a contact that has been
682
681
  * disconnected (is in a terminated state).</p>
683
682
  * @public
684
683
  */
685
684
  ContactId: string | undefined;
686
685
  /**
687
- * <p>The categories of PII to redact from the contact. Valid values are
688
- * <code>CUSTOMER_ENDPOINT</code>, <code>ADDITIONAL_EMAIL_RECIPIENTS</code>, and
689
- * <code>EMAIL_SUBJECT</code>. <code>ADDITIONAL_EMAIL_RECIPIENTS</code> and <code>EMAIL_SUBJECT</code>
690
- * are supported only for contacts in the email channel.</p>
686
+ * <p>The categories of PII to redact from the contact. Specify one or more of the following values:</p>
687
+ * <ul>
688
+ * <li>
689
+ * <p>
690
+ * <code>CUSTOMER_ENDPOINT</code> – The customer's contact endpoint.</p>
691
+ * </li>
692
+ * <li>
693
+ * <p>
694
+ * <code>ADDITIONAL_EMAIL_RECIPIENTS</code> – Additional recipients on an email contact (email channel only).</p>
695
+ * </li>
696
+ * <li>
697
+ * <p>
698
+ * <code>EMAIL_SUBJECT</code> – The subject line of an email contact (email channel only).</p>
699
+ * </li>
700
+ * </ul>
691
701
  * @public
692
702
  */
693
703
  ContactFields: ContactField[] | undefined;
@@ -6018,7 +6028,7 @@ export interface GetAttachedFileRequest {
6018
6028
  */
6019
6029
  UrlExpiryInSeconds?: number | undefined;
6020
6030
  /**
6021
- * <p>The resource to which the attached file is (being) uploaded to. The supported resources are <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Cases</a> and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Email</a>.</p>
6031
+ * <p>The resource to which the attached file is (being) uploaded to. The supported resources are <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Cases</a>, <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Email</a>, and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html">Task</a>.</p>
6022
6032
  * <note>
6023
6033
  * <p>This value must be a valid ARN.</p>
6024
6034
  * </note>
@@ -6080,8 +6090,7 @@ export interface GetAttachedFileResponse {
6080
6090
  */
6081
6091
  FileSizeInBytes: number | undefined;
6082
6092
  /**
6083
- * <p>The resource to which the attached file is (being) uploaded to. <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html">Cases</a> are the only current supported
6084
- * resource.</p>
6093
+ * <p>The resource to which the attached file is (being) uploaded to. The supported resources are <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Cases</a>, <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Email</a>, and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html">Task</a>.</p>
6085
6094
  * @public
6086
6095
  */
6087
6096
  AssociatedResourceArn?: string | undefined;
@@ -1,7 +1,7 @@
1
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, RuleCapabilityTier, RulePublishStatus, SearchableQueueType, StringComparisonType, SummaryMode, TargetListType, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TimerEligibleParticipantRoles, TrafficType, ViewStatus, ViewType, Visibility, VocabularyLanguageCode, VocabularyState, VoiceRecordingTrack } from "./enums";
2
2
  import type { ActionSummary, 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, RuleTriggerEventSource, StringCondition, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TestCaseEntryPoint, UserIdentityInfo, UserPhoneConfig, UserProficiency, Validation, VoiceEnhancementConfig } from "./models_0";
3
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, SearchContactsTimeRange, SearchCriteria, SignInConfig, Sort, TelephonyConfig } from "./models_2";
4
+ import type { BooleanCondition, ContactFlowModuleSearchFilter, ControlPlaneTagFilter, DateTimeCondition, DecimalCondition, EvaluationSearchFilter, NumberCondition, SearchContactsTimeRange, SearchCriteria, SignInConfig, Sort, TelephonyConfig } from "./models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -2217,7 +2217,7 @@ export interface StartAttachedFileUploadRequest {
2217
2217
  */
2218
2218
  FileUseCaseType: FileUseCaseType | undefined;
2219
2219
  /**
2220
- * <p>The resource to which the attached file is (being) uploaded to. The supported resources are <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Cases</a> and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Email</a>.</p>
2220
+ * <p>The resource to which the attached file is (being) uploaded to. The supported resources are <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Cases</a>, <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Email</a>, and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html">Task</a>.</p>
2221
2221
  * <note>
2222
2222
  * <p>This value must be a valid ARN.</p>
2223
2223
  * </note>
@@ -4274,6 +4274,31 @@ export interface UpdateContactScheduleRequest {
4274
4274
  */
4275
4275
  export interface UpdateContactScheduleResponse {
4276
4276
  }
4277
+ /**
4278
+ * @public
4279
+ */
4280
+ export interface UpdateContactTaskTemplateRequest {
4281
+ /**
4282
+ * <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>
4283
+ * @public
4284
+ */
4285
+ InstanceId: string | undefined;
4286
+ /**
4287
+ * <p>A unique identifier for the task template. For more information about task templates, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/task-templates.html">Task templates</a> in the <i>Connect Customer Administrator Guide</i>.</p>
4288
+ * @public
4289
+ */
4290
+ TaskTemplateId: string | undefined;
4291
+ /**
4292
+ * <p>The identifier of the contact in this instance of Connect Customer. </p>
4293
+ * @public
4294
+ */
4295
+ ContactId: string | undefined;
4296
+ }
4297
+ /**
4298
+ * @public
4299
+ */
4300
+ export interface UpdateContactTaskTemplateResponse {
4301
+ }
4277
4302
  /**
4278
4303
  * @public
4279
4304
  */
@@ -7067,72 +7092,3 @@ export interface SearchContactFlowModulesRequest {
7067
7092
  */
7068
7093
  SearchCriteria?: ContactFlowModuleSearchCriteria | undefined;
7069
7094
  }
7070
- /**
7071
- * @public
7072
- */
7073
- export interface SearchContactFlowsRequest {
7074
- /**
7075
- * <p>The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name
7076
- * (ARN) of the instance.</p>
7077
- * @public
7078
- */
7079
- InstanceId: string | undefined;
7080
- /**
7081
- * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
7082
- * retrieve the next set of results.</p>
7083
- * @public
7084
- */
7085
- NextToken?: string | undefined;
7086
- /**
7087
- * <p>The maximum number of results to return per page.</p>
7088
- * @public
7089
- */
7090
- MaxResults?: number | undefined;
7091
- /**
7092
- * <p>Filters to be applied to search results.</p>
7093
- * @public
7094
- */
7095
- SearchFilter?: ContactFlowSearchFilter | undefined;
7096
- /**
7097
- * <p>The search criteria to be used to return flows.</p>
7098
- * <note>
7099
- * <p>The <code>name</code> and <code>description</code> fields support "contains" queries with a minimum of 2
7100
- * characters and a maximum of 25 characters. Any queries with character lengths outside of this range will result in
7101
- * invalid results.</p>
7102
- * </note>
7103
- * @public
7104
- */
7105
- SearchCriteria?: ContactFlowSearchCriteria | undefined;
7106
- }
7107
- /**
7108
- * @public
7109
- */
7110
- export interface SearchDataTablesRequest {
7111
- /**
7112
- * <p>The unique identifier for the Amazon Connect instance to search within.</p>
7113
- * @public
7114
- */
7115
- InstanceId: string | undefined;
7116
- /**
7117
- * <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
7118
- * @public
7119
- */
7120
- NextToken?: string | undefined;
7121
- /**
7122
- * <p>The maximum number of data tables to return in one page of results.</p>
7123
- * @public
7124
- */
7125
- MaxResults?: number | undefined;
7126
- /**
7127
- * <p>Optional filters to apply to the search results, such as tag-based filtering for attribute-based access
7128
- * control.</p>
7129
- * @public
7130
- */
7131
- SearchFilter?: DataTableSearchFilter | undefined;
7132
- /**
7133
- * <p>Search criteria including string conditions for matching table names, descriptions, or resource IDs. Supports
7134
- * STARTS_WITH, CONTAINS, and EXACT comparison types.</p>
7135
- * @public
7136
- */
7137
- SearchCriteria?: DataTableSearchCriteria | undefined;
7138
- }
@@ -1,7 +1,77 @@
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 { ChatMessage, ContactSearchSummaryAgentInfo, ContactSearchSummaryAiAgentInfo, ContactSearchSummaryQueueInfo, EmailAddressInfo, EmailAddressSearchCriteria, EmailAddressSearchFilter, EmailAttachment, EvaluationFormQuestion, EvaluationFormSearchCriteria, EvaluationFormSearchFilter, Expression, HoursOfOperationOverrideSearchCriteria, HoursOfOperationSearchCriteria, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, NotificationSearchCriteria, NotificationSearchFilter, ParticipantConfiguration, ParticipantDetails, PersistentChat, PredefinedAttributeSearchCriteria, PromptSearchCriteria, PromptSearchFilter, QueueInfoInput, QueueSearchCriteria, QueueSearchFilter, QuickConnectSearchCriteria, QuickConnectSearchFilter, RoutingCriteriaInputStep, RoutingProfileSearchCriteria, RoutingProfileSearchFilter, RulesSearchCriteria, RulesSearchFilter, SecurityProfileSearchCriteria, SecurityProfilesSearchFilter, SegmentAttributeValue, TaskAttachment, TemplatedMessageConfig, TestCaseSearchCriteria, TestCaseSearchFilter, UserHierarchyGroupSearchCriteria, UserHierarchyGroupSearchFilter, UserSearchCriteria, UserSearchFilter, ViewSearchCriteria, ViewSearchFilter, WorkspaceAssociationSearchCriteria, WorkspaceAssociationSearchFilter, WorkspaceSearchCriteria, WorkspaceSearchFilter } from "./models_3";
4
+ import type { ContactFlowSearchFilter } from "./models_2";
5
+ import type { ChatMessage, ContactFlowSearchCriteria, ContactSearchSummaryAgentInfo, ContactSearchSummaryAiAgentInfo, ContactSearchSummaryQueueInfo, DataTableSearchCriteria, DataTableSearchFilter, EmailAddressInfo, EmailAddressSearchCriteria, EmailAddressSearchFilter, EmailAttachment, EvaluationFormQuestion, EvaluationFormSearchCriteria, EvaluationFormSearchFilter, Expression, HoursOfOperationOverrideSearchCriteria, HoursOfOperationSearchCriteria, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, NotificationSearchCriteria, NotificationSearchFilter, ParticipantConfiguration, ParticipantDetails, PersistentChat, PredefinedAttributeSearchCriteria, PromptSearchCriteria, PromptSearchFilter, QueueInfoInput, QueueSearchCriteria, QueueSearchFilter, QuickConnectSearchCriteria, QuickConnectSearchFilter, RoutingCriteriaInputStep, RoutingProfileSearchCriteria, RoutingProfileSearchFilter, RulesSearchCriteria, RulesSearchFilter, 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 SearchContactFlowsRequest {
10
+ /**
11
+ * <p>The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name
12
+ * (ARN) of the instance.</p>
13
+ * @public
14
+ */
15
+ InstanceId: string | undefined;
16
+ /**
17
+ * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
18
+ * retrieve the next set of results.</p>
19
+ * @public
20
+ */
21
+ NextToken?: string | undefined;
22
+ /**
23
+ * <p>The maximum number of results to return per page.</p>
24
+ * @public
25
+ */
26
+ MaxResults?: number | undefined;
27
+ /**
28
+ * <p>Filters to be applied to search results.</p>
29
+ * @public
30
+ */
31
+ SearchFilter?: ContactFlowSearchFilter | undefined;
32
+ /**
33
+ * <p>The search criteria to be used to return flows.</p>
34
+ * <note>
35
+ * <p>The <code>name</code> and <code>description</code> fields support "contains" queries with a minimum of 2
36
+ * characters and a maximum of 25 characters. Any queries with character lengths outside of this range will result in
37
+ * invalid results.</p>
38
+ * </note>
39
+ * @public
40
+ */
41
+ SearchCriteria?: ContactFlowSearchCriteria | undefined;
42
+ }
43
+ /**
44
+ * @public
45
+ */
46
+ export interface SearchDataTablesRequest {
47
+ /**
48
+ * <p>The unique identifier for the Amazon Connect instance to search within.</p>
49
+ * @public
50
+ */
51
+ InstanceId: string | undefined;
52
+ /**
53
+ * <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
54
+ * @public
55
+ */
56
+ NextToken?: string | undefined;
57
+ /**
58
+ * <p>The maximum number of data tables to return in one page of results.</p>
59
+ * @public
60
+ */
61
+ MaxResults?: number | undefined;
62
+ /**
63
+ * <p>Optional filters to apply to the search results, such as tag-based filtering for attribute-based access
64
+ * control.</p>
65
+ * @public
66
+ */
67
+ SearchFilter?: DataTableSearchFilter | undefined;
68
+ /**
69
+ * <p>Search criteria including string conditions for matching table names, descriptions, or resource IDs. Supports
70
+ * STARTS_WITH, CONTAINS, and EXACT comparison types.</p>
71
+ * @public
72
+ */
73
+ SearchCriteria?: DataTableSearchCriteria | undefined;
74
+ }
5
75
  /**
6
76
  * @public
7
77
  */
@@ -1134,6 +1134,8 @@ export declare var UpdateContactRoutingDataRequest$: StaticStructureSchema;
1134
1134
  export declare var UpdateContactRoutingDataResponse$: StaticStructureSchema;
1135
1135
  export declare var UpdateContactScheduleRequest$: StaticStructureSchema;
1136
1136
  export declare var UpdateContactScheduleResponse$: StaticStructureSchema;
1137
+ export declare var UpdateContactTaskTemplateRequest$: StaticStructureSchema;
1138
+ export declare var UpdateContactTaskTemplateResponse$: StaticStructureSchema;
1137
1139
  export declare var UpdateDataTableAttributeRequest$: StaticStructureSchema;
1138
1140
  export declare var UpdateDataTableAttributeResponse$: StaticStructureSchema;
1139
1141
  export declare var UpdateDataTableMetadataRequest$: StaticStructureSchema;
@@ -1606,6 +1608,7 @@ export declare var UpdateContactFlowModuleMetadata$: StaticOperationSchema;
1606
1608
  export declare var UpdateContactFlowName$: StaticOperationSchema;
1607
1609
  export declare var UpdateContactRoutingData$: StaticOperationSchema;
1608
1610
  export declare var UpdateContactSchedule$: StaticOperationSchema;
1611
+ export declare var UpdateContactTaskTemplate$: StaticOperationSchema;
1609
1612
  export declare var UpdateDataTableAttribute$: StaticOperationSchema;
1610
1613
  export declare var UpdateDataTableMetadata$: StaticOperationSchema;
1611
1614
  export declare var UpdateDataTablePrimaryValues$: StaticOperationSchema;
@@ -1256,6 +1256,10 @@ import {
1256
1256
  UpdateContactScheduleCommandInput,
1257
1257
  UpdateContactScheduleCommandOutput,
1258
1258
  } from "./commands/UpdateContactScheduleCommand";
1259
+ import {
1260
+ UpdateContactTaskTemplateCommandInput,
1261
+ UpdateContactTaskTemplateCommandOutput,
1262
+ } from "./commands/UpdateContactTaskTemplateCommand";
1259
1263
  import {
1260
1264
  UpdateDataTableAttributeCommandInput,
1261
1265
  UpdateDataTableAttributeCommandOutput,
@@ -5734,6 +5738,19 @@ export interface Connect {
5734
5738
  options: __HttpHandlerOptions,
5735
5739
  cb: (err: any, data?: UpdateContactScheduleCommandOutput) => void,
5736
5740
  ): void;
5741
+ updateContactTaskTemplate(
5742
+ args: UpdateContactTaskTemplateCommandInput,
5743
+ options?: __HttpHandlerOptions,
5744
+ ): Promise<UpdateContactTaskTemplateCommandOutput>;
5745
+ updateContactTaskTemplate(
5746
+ args: UpdateContactTaskTemplateCommandInput,
5747
+ cb: (err: any, data?: UpdateContactTaskTemplateCommandOutput) => void,
5748
+ ): void;
5749
+ updateContactTaskTemplate(
5750
+ args: UpdateContactTaskTemplateCommandInput,
5751
+ options: __HttpHandlerOptions,
5752
+ cb: (err: any, data?: UpdateContactTaskTemplateCommandOutput) => void,
5753
+ ): void;
5737
5754
  updateDataTableAttribute(
5738
5755
  args: UpdateDataTableAttributeCommandInput,
5739
5756
  options?: __HttpHandlerOptions,
@@ -1286,6 +1286,10 @@ import {
1286
1286
  UpdateContactScheduleCommandInput,
1287
1287
  UpdateContactScheduleCommandOutput,
1288
1288
  } from "./commands/UpdateContactScheduleCommand";
1289
+ import {
1290
+ UpdateContactTaskTemplateCommandInput,
1291
+ UpdateContactTaskTemplateCommandOutput,
1292
+ } from "./commands/UpdateContactTaskTemplateCommand";
1289
1293
  import {
1290
1294
  UpdateDataTableAttributeCommandInput,
1291
1295
  UpdateDataTableAttributeCommandOutput,
@@ -1820,6 +1824,7 @@ export type ServiceInputTypes =
1820
1824
  | UpdateContactFlowNameCommandInput
1821
1825
  | UpdateContactRoutingDataCommandInput
1822
1826
  | UpdateContactScheduleCommandInput
1827
+ | UpdateContactTaskTemplateCommandInput
1823
1828
  | UpdateDataTableAttributeCommandInput
1824
1829
  | UpdateDataTableMetadataCommandInput
1825
1830
  | UpdateDataTablePrimaryValuesCommandInput
@@ -2200,6 +2205,7 @@ export type ServiceOutputTypes =
2200
2205
  | UpdateContactFlowNameCommandOutput
2201
2206
  | UpdateContactRoutingDataCommandOutput
2202
2207
  | UpdateContactScheduleCommandOutput
2208
+ | UpdateContactTaskTemplateCommandOutput
2203
2209
  | UpdateDataTableAttributeCommandOutput
2204
2210
  | UpdateDataTableMetadataCommandOutput
2205
2211
  | UpdateDataTablePrimaryValuesCommandOutput
@@ -1,6 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { SearchContactFlowsResponse } from "../models/models_2";
3
- import { SearchContactFlowsRequest } from "../models/models_3";
3
+ import { SearchContactFlowsRequest } from "../models/models_4";
4
4
  export { __MetadataBearer };
5
5
  export interface SearchContactFlowsCommandInput extends SearchContactFlowsRequest {}
6
6
  export interface SearchContactFlowsCommandOutput
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { SearchDataTablesRequest, SearchDataTablesResponse } from "../models/models_3";
2
+ import { SearchDataTablesResponse } from "../models/models_3";
3
+ import { SearchDataTablesRequest } from "../models/models_4";
3
4
  export { __MetadataBearer };
4
5
  export interface SearchDataTablesCommandInput extends SearchDataTablesRequest {}
5
6
  export interface SearchDataTablesCommandOutput extends SearchDataTablesResponse, __MetadataBearer {}
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ UpdateContactTaskTemplateRequest,
4
+ UpdateContactTaskTemplateResponse,
5
+ } from "../models/models_3";
6
+ export { __MetadataBearer };
7
+ export interface UpdateContactTaskTemplateCommandInput extends UpdateContactTaskTemplateRequest {}
8
+ export interface UpdateContactTaskTemplateCommandOutput
9
+ extends UpdateContactTaskTemplateResponse, __MetadataBearer {}
10
+ declare const UpdateContactTaskTemplateCommand_base: {
11
+ new (
12
+ input: UpdateContactTaskTemplateCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ UpdateContactTaskTemplateCommandInput,
15
+ UpdateContactTaskTemplateCommandOutput,
16
+ import("..").ConnectClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: UpdateContactTaskTemplateCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ UpdateContactTaskTemplateCommandInput,
24
+ UpdateContactTaskTemplateCommandOutput,
25
+ import("..").ConnectClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class UpdateContactTaskTemplateCommand extends UpdateContactTaskTemplateCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: UpdateContactTaskTemplateRequest;
35
+ output: {};
36
+ };
37
+ sdk: {
38
+ input: UpdateContactTaskTemplateCommandInput;
39
+ output: UpdateContactTaskTemplateCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -327,6 +327,7 @@ export * from "./UpdateContactFlowModuleMetadataCommand";
327
327
  export * from "./UpdateContactFlowNameCommand";
328
328
  export * from "./UpdateContactRoutingDataCommand";
329
329
  export * from "./UpdateContactScheduleCommand";
330
+ export * from "./UpdateContactTaskTemplateCommand";
330
331
  export * from "./UpdateDataTableAttributeCommand";
331
332
  export * from "./UpdateDataTableMetadataCommand";
332
333
  export * from "./UpdateDataTablePrimaryValuesCommand";
@@ -5,8 +5,8 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ConnectExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export { Command as $Command } from "@smithy/core/client";
8
- export * from "./schemas/schemas_0";
9
8
  export * from "./pagination";
9
+ export * from "./schemas/schemas_0";
10
10
  export * from "./models/enums";
11
11
  export * from "./models/errors";
12
12
  export * from "./models/models_0";
@@ -428,6 +428,7 @@ export declare const EvaluationFormLanguageCode: {
428
428
  readonly IT_IT: "it-IT";
429
429
  readonly JA_JP: "ja-JP";
430
430
  readonly KO_KR: "ko-KR";
431
+ readonly MS_MY: "ms-MY";
431
432
  readonly PT_BR: "pt-BR";
432
433
  readonly ZH_CN: "zh-CN";
433
434
  };
@@ -648,6 +649,7 @@ export declare const PropertyValidationExceptionReason: {
648
649
  readonly REFERENCED_RESOURCE_NOT_FOUND: "REFERENCED_RESOURCE_NOT_FOUND";
649
650
  readonly REQUIRED_PROPERTY_MISSING: "REQUIRED_PROPERTY_MISSING";
650
651
  readonly RESOURCE_NAME_ALREADY_EXISTS: "RESOURCE_NAME_ALREADY_EXISTS";
652
+ readonly TYPE_MISMATCH: "TYPE_MISMATCH";
651
653
  readonly UNIQUE_CONSTRAINT_VIOLATED: "UNIQUE_CONSTRAINT_VIOLATED";
652
654
  };
653
655
  export type PropertyValidationExceptionReason =
@@ -131,7 +131,6 @@ import {
131
131
  import {
132
132
  BooleanCondition,
133
133
  ContactFlowModuleSearchFilter,
134
- ContactFlowSearchFilter,
135
134
  ControlPlaneTagFilter,
136
135
  DateTimeCondition,
137
136
  DecimalCondition,
@@ -1061,6 +1060,12 @@ export interface UpdateContactScheduleRequest {
1061
1060
  ScheduledTime: Date | undefined;
1062
1061
  }
1063
1062
  export interface UpdateContactScheduleResponse {}
1063
+ export interface UpdateContactTaskTemplateRequest {
1064
+ InstanceId: string | undefined;
1065
+ TaskTemplateId: string | undefined;
1066
+ ContactId: string | undefined;
1067
+ }
1068
+ export interface UpdateContactTaskTemplateResponse {}
1064
1069
  export interface UpdateDataTableAttributeRequest {
1065
1070
  InstanceId: string | undefined;
1066
1071
  DataTableId: string | undefined;
@@ -1716,17 +1721,3 @@ export interface SearchContactFlowModulesRequest {
1716
1721
  SearchFilter?: ContactFlowModuleSearchFilter | undefined;
1717
1722
  SearchCriteria?: ContactFlowModuleSearchCriteria | undefined;
1718
1723
  }
1719
- export interface SearchContactFlowsRequest {
1720
- InstanceId: string | undefined;
1721
- NextToken?: string | undefined;
1722
- MaxResults?: number | undefined;
1723
- SearchFilter?: ContactFlowSearchFilter | undefined;
1724
- SearchCriteria?: ContactFlowSearchCriteria | undefined;
1725
- }
1726
- export interface SearchDataTablesRequest {
1727
- InstanceId: string | undefined;
1728
- NextToken?: string | undefined;
1729
- MaxResults?: number | undefined;
1730
- SearchFilter?: DataTableSearchFilter | undefined;
1731
- SearchCriteria?: DataTableSearchCriteria | undefined;
1732
- }
@@ -41,11 +41,15 @@ import {
41
41
  TaskTemplateInfoV2,
42
42
  WisdomInfo,
43
43
  } from "./models_1";
44
+ import { ContactFlowSearchFilter } from "./models_2";
44
45
  import {
45
46
  ChatMessage,
47
+ ContactFlowSearchCriteria,
46
48
  ContactSearchSummaryAgentInfo,
47
49
  ContactSearchSummaryAiAgentInfo,
48
50
  ContactSearchSummaryQueueInfo,
51
+ DataTableSearchCriteria,
52
+ DataTableSearchFilter,
49
53
  EmailAddressInfo,
50
54
  EmailAddressSearchCriteria,
51
55
  EmailAddressSearchFilter,
@@ -95,6 +99,20 @@ import {
95
99
  WorkspaceSearchCriteria,
96
100
  WorkspaceSearchFilter,
97
101
  } from "./models_3";
102
+ export interface SearchContactFlowsRequest {
103
+ InstanceId: string | undefined;
104
+ NextToken?: string | undefined;
105
+ MaxResults?: number | undefined;
106
+ SearchFilter?: ContactFlowSearchFilter | undefined;
107
+ SearchCriteria?: ContactFlowSearchCriteria | undefined;
108
+ }
109
+ export interface SearchDataTablesRequest {
110
+ InstanceId: string | undefined;
111
+ NextToken?: string | undefined;
112
+ MaxResults?: number | undefined;
113
+ SearchFilter?: DataTableSearchFilter | undefined;
114
+ SearchCriteria?: DataTableSearchCriteria | undefined;
115
+ }
98
116
  export interface SearchEmailAddressesRequest {
99
117
  InstanceId: string | undefined;
100
118
  MaxResults?: number | undefined;
@@ -1134,6 +1134,8 @@ export declare var UpdateContactRoutingDataRequest$: StaticStructureSchema;
1134
1134
  export declare var UpdateContactRoutingDataResponse$: StaticStructureSchema;
1135
1135
  export declare var UpdateContactScheduleRequest$: StaticStructureSchema;
1136
1136
  export declare var UpdateContactScheduleResponse$: StaticStructureSchema;
1137
+ export declare var UpdateContactTaskTemplateRequest$: StaticStructureSchema;
1138
+ export declare var UpdateContactTaskTemplateResponse$: StaticStructureSchema;
1137
1139
  export declare var UpdateDataTableAttributeRequest$: StaticStructureSchema;
1138
1140
  export declare var UpdateDataTableAttributeResponse$: StaticStructureSchema;
1139
1141
  export declare var UpdateDataTableMetadataRequest$: StaticStructureSchema;
@@ -1606,6 +1608,7 @@ export declare var UpdateContactFlowModuleMetadata$: StaticOperationSchema;
1606
1608
  export declare var UpdateContactFlowName$: StaticOperationSchema;
1607
1609
  export declare var UpdateContactRoutingData$: StaticOperationSchema;
1608
1610
  export declare var UpdateContactSchedule$: StaticOperationSchema;
1611
+ export declare var UpdateContactTaskTemplate$: StaticOperationSchema;
1609
1612
  export declare var UpdateDataTableAttribute$: StaticOperationSchema;
1610
1613
  export declare var UpdateDataTableMetadata$: StaticOperationSchema;
1611
1614
  export declare var UpdateDataTablePrimaryValues$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
- "version": "3.1105.0",
3
+ "version": "3.1107.0",
4
4
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-connect",
6
6
  "license": "Apache-2.0",