@aws-sdk/client-connect 3.787.0 → 3.796.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/dist-cjs/index.js +60 -5
  2. package/dist-es/models/models_0.js +8 -0
  3. package/dist-es/models/models_1.js +0 -4
  4. package/dist-es/models/models_2.js +4 -0
  5. package/dist-es/protocols/Aws_restJson1.js +47 -0
  6. package/dist-types/commands/CreateContactCommand.d.ts +3 -3
  7. package/dist-types/commands/CreateRuleCommand.d.ts +19 -2
  8. package/dist-types/commands/DeletePushNotificationRegistrationCommand.d.ts +2 -1
  9. package/dist-types/commands/DeleteQueueCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteQuickConnectCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteRoutingProfileCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeRuleCommand.d.ts +19 -2
  13. package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +2 -1
  14. package/dist-types/commands/ListQueuesCommand.d.ts +1 -2
  15. package/dist-types/commands/ListRulesCommand.d.ts +3 -3
  16. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +7 -6
  17. package/dist-types/commands/TransferContactCommand.d.ts +1 -1
  18. package/dist-types/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +1 -1
  19. package/dist-types/commands/UpdateQueueStatusCommand.d.ts +1 -1
  20. package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
  21. package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
  22. package/dist-types/commands/UpdateRuleCommand.d.ts +18 -1
  23. package/dist-types/models/models_0.d.ts +77 -50
  24. package/dist-types/models/models_1.d.ts +54 -102
  25. package/dist-types/models/models_2.d.ts +108 -89
  26. package/dist-types/models/models_3.d.ts +101 -9
  27. package/dist-types/ts3.4/commands/DeletePushNotificationRegistrationCommand.d.ts +2 -4
  28. package/dist-types/ts3.4/commands/DeleteQueueCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/DeleteQuickConnectCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/DeleteRoutingProfileCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/ListQueueQuickConnectsCommand.d.ts +2 -4
  32. package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +1 -2
  33. package/dist-types/ts3.4/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/UpdateQueueStatusCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/models/models_0.d.ts +23 -13
  38. package/dist-types/ts3.4/models/models_1.d.ts +13 -26
  39. package/dist-types/ts3.4/models/models_2.d.ts +25 -26
  40. package/dist-types/ts3.4/models/models_3.d.ts +24 -0
  41. package/package.json +5 -5
package/dist-cjs/index.js CHANGED
@@ -400,6 +400,8 @@ __export(index_exports, {
400
400
  ServiceQuotaExceededException: () => ServiceQuotaExceededException,
401
401
  ServiceQuotaExceededExceptionReason: () => ServiceQuotaExceededExceptionReason,
402
402
  SingleSelectQuestionRuleCategoryAutomationCondition: () => SingleSelectQuestionRuleCategoryAutomationCondition,
403
+ SlaAssignmentType: () => SlaAssignmentType,
404
+ SlaType: () => SlaType,
403
405
  SortOrder: () => SortOrder,
404
406
  SortableFieldName: () => SortableFieldName,
405
407
  SourceType: () => SourceType,
@@ -786,6 +788,7 @@ var AccessDeniedException = class _AccessDeniedException extends ConnectServiceE
786
788
  };
787
789
  var ActionType = {
788
790
  ASSIGN_CONTACT_CATEGORY: "ASSIGN_CONTACT_CATEGORY",
791
+ ASSIGN_SLA: "ASSIGN_SLA",
789
792
  CREATE_CASE: "CREATE_CASE",
790
793
  CREATE_TASK: "CREATE_TASK",
791
794
  END_ASSOCIATED_TASKS: "END_ASSOCIATED_TASKS",
@@ -1452,6 +1455,12 @@ var BehaviorType = {
1452
1455
  ROUTE_ANY_CHANNEL: "ROUTE_ANY_CHANNEL",
1453
1456
  ROUTE_CURRENT_CHANNEL_ONLY: "ROUTE_CURRENT_CHANNEL_ONLY"
1454
1457
  };
1458
+ var SlaType = {
1459
+ CASE_FIELD: "CaseField"
1460
+ };
1461
+ var SlaAssignmentType = {
1462
+ CASES: "CASES"
1463
+ };
1455
1464
  var NotificationContentType = {
1456
1465
  PLAIN_TEXT: "PLAIN_TEXT"
1457
1466
  };
@@ -1472,6 +1481,7 @@ var EventSourceName = {
1472
1481
  OnRealTimeCallAnalysisAvailable: "OnRealTimeCallAnalysisAvailable",
1473
1482
  OnRealTimeChatAnalysisAvailable: "OnRealTimeChatAnalysisAvailable",
1474
1483
  OnSalesforceCaseCreate: "OnSalesforceCaseCreate",
1484
+ OnSlaBreach: "OnSlaBreach",
1475
1485
  OnZendeskTicketCreate: "OnZendeskTicketCreate",
1476
1486
  OnZendeskTicketStatusUpdate: "OnZendeskTicketStatusUpdate"
1477
1487
  };
@@ -2154,10 +2164,6 @@ var ReferenceSummary;
2154
2164
  return visitor._(value.$unknown[0], value.$unknown[1]);
2155
2165
  }, "visit");
2156
2166
  })(ReferenceSummary || (ReferenceSummary = {}));
2157
- var QueueType = {
2158
- AGENT: "AGENT",
2159
- STANDARD: "STANDARD"
2160
- };
2161
2167
  var DescribeEmailAddressResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2162
2168
  ...obj,
2163
2169
  ...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },
@@ -2206,6 +2212,10 @@ var ListInstancesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2206
2212
 
2207
2213
  // src/models/models_2.ts
2208
2214
 
2215
+ var QueueType = {
2216
+ AGENT: "AGENT",
2217
+ STANDARD: "STANDARD"
2218
+ };
2209
2219
  var RealTimeContactAnalysisOutputType = {
2210
2220
  Raw: "Raw",
2211
2221
  Redacted: "Redacted"
@@ -11443,6 +11453,12 @@ var se_AgentStatusSearchCriteria = /* @__PURE__ */ __name((input, context) => {
11443
11453
  StringCondition: import_smithy_client._json
11444
11454
  });
11445
11455
  }, "se_AgentStatusSearchCriteria");
11456
+ var se_AssignSlaActionDefinition = /* @__PURE__ */ __name((input, context) => {
11457
+ return (0, import_smithy_client.take)(input, {
11458
+ CaseSlaConfiguration: /* @__PURE__ */ __name((_) => se_CaseSlaConfiguration(_, context), "CaseSlaConfiguration"),
11459
+ SlaAssignmentType: []
11460
+ });
11461
+ }, "se_AssignSlaActionDefinition");
11446
11462
  var se_AttributeCondition = /* @__PURE__ */ __name((input, context) => {
11447
11463
  return (0, import_smithy_client.take)(input, {
11448
11464
  ComparisonOperator: [],
@@ -11453,6 +11469,15 @@ var se_AttributeCondition = /* @__PURE__ */ __name((input, context) => {
11453
11469
  Value: []
11454
11470
  });
11455
11471
  }, "se_AttributeCondition");
11472
+ var se_CaseSlaConfiguration = /* @__PURE__ */ __name((input, context) => {
11473
+ return (0, import_smithy_client.take)(input, {
11474
+ FieldId: [],
11475
+ Name: [],
11476
+ TargetFieldValues: /* @__PURE__ */ __name((_) => se_SlaFieldValueUnionList(_, context), "TargetFieldValues"),
11477
+ TargetSlaMinutes: [],
11478
+ Type: []
11479
+ });
11480
+ }, "se_CaseSlaConfiguration");
11456
11481
  var se_ContactFlowModuleSearchConditionList = /* @__PURE__ */ __name((input, context) => {
11457
11482
  return input.filter((e) => e != null).map((entry) => {
11458
11483
  return se_ContactFlowModuleSearchCriteria(entry, context);
@@ -11723,6 +11748,7 @@ var se_RuleAction = /* @__PURE__ */ __name((input, context) => {
11723
11748
  return (0, import_smithy_client.take)(input, {
11724
11749
  ActionType: [],
11725
11750
  AssignContactCategoryAction: import_smithy_client._json,
11751
+ AssignSlaAction: /* @__PURE__ */ __name((_) => se_AssignSlaActionDefinition(_, context), "AssignSlaAction"),
11726
11752
  CreateCaseAction: /* @__PURE__ */ __name((_) => se_CreateCaseActionDefinition(_, context), "CreateCaseAction"),
11727
11753
  EndAssociatedTasksAction: import_smithy_client._json,
11728
11754
  EventBridgeAction: import_smithy_client._json,
@@ -11781,6 +11807,11 @@ var se_SegmentAttributeValueMap = /* @__PURE__ */ __name((input, context) => {
11781
11807
  return acc;
11782
11808
  }, {});
11783
11809
  }, "se_SegmentAttributeValueMap");
11810
+ var se_SlaFieldValueUnionList = /* @__PURE__ */ __name((input, context) => {
11811
+ return input.filter((e) => e != null).map((entry) => {
11812
+ return se_FieldValueUnion(entry, context);
11813
+ });
11814
+ }, "se_SlaFieldValueUnionList");
11784
11815
  var se_Threshold = /* @__PURE__ */ __name((input, context) => {
11785
11816
  return (0, import_smithy_client.take)(input, {
11786
11817
  Comparison: [],
@@ -11916,6 +11947,12 @@ var de_AgentStatusSummaryList = /* @__PURE__ */ __name((output, context) => {
11916
11947
  });
11917
11948
  return retVal;
11918
11949
  }, "de_AgentStatusSummaryList");
11950
+ var de_AssignSlaActionDefinition = /* @__PURE__ */ __name((output, context) => {
11951
+ return (0, import_smithy_client.take)(output, {
11952
+ CaseSlaConfiguration: /* @__PURE__ */ __name((_) => de_CaseSlaConfiguration(_, context), "CaseSlaConfiguration"),
11953
+ SlaAssignmentType: import_smithy_client.expectString
11954
+ });
11955
+ }, "de_AssignSlaActionDefinition");
11919
11956
  var de_AssociatedContactSummary = /* @__PURE__ */ __name((output, context) => {
11920
11957
  return (0, import_smithy_client.take)(output, {
11921
11958
  Channel: import_smithy_client.expectString,
@@ -11983,6 +12020,15 @@ var de_AuthenticationProfileSummaryList = /* @__PURE__ */ __name((output, contex
11983
12020
  });
11984
12021
  return retVal;
11985
12022
  }, "de_AuthenticationProfileSummaryList");
12023
+ var de_CaseSlaConfiguration = /* @__PURE__ */ __name((output, context) => {
12024
+ return (0, import_smithy_client.take)(output, {
12025
+ FieldId: import_smithy_client.expectString,
12026
+ Name: import_smithy_client.expectString,
12027
+ TargetFieldValues: /* @__PURE__ */ __name((_) => de_SlaFieldValueUnionList(_, context), "TargetFieldValues"),
12028
+ TargetSlaMinutes: import_smithy_client.expectLong,
12029
+ Type: import_smithy_client.expectString
12030
+ });
12031
+ }, "de_CaseSlaConfiguration");
11986
12032
  var de_Contact = /* @__PURE__ */ __name((output, context) => {
11987
12033
  return (0, import_smithy_client.take)(output, {
11988
12034
  AdditionalEmailRecipients: import_smithy_client._json,
@@ -12853,6 +12899,7 @@ var de_RuleAction = /* @__PURE__ */ __name((output, context) => {
12853
12899
  return (0, import_smithy_client.take)(output, {
12854
12900
  ActionType: import_smithy_client.expectString,
12855
12901
  AssignContactCategoryAction: import_smithy_client._json,
12902
+ AssignSlaAction: /* @__PURE__ */ __name((_) => de_AssignSlaActionDefinition(_, context), "AssignSlaAction"),
12856
12903
  CreateCaseAction: /* @__PURE__ */ __name((_) => de_CreateCaseActionDefinition(_, context), "CreateCaseAction"),
12857
12904
  EndAssociatedTasksAction: import_smithy_client._json,
12858
12905
  EventBridgeAction: import_smithy_client._json,
@@ -12955,6 +13002,12 @@ var de_SegmentAttributeValueMap = /* @__PURE__ */ __name((output, context) => {
12955
13002
  return acc;
12956
13003
  }, {});
12957
13004
  }, "de_SegmentAttributeValueMap");
13005
+ var de_SlaFieldValueUnionList = /* @__PURE__ */ __name((output, context) => {
13006
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
13007
+ return de_FieldValueUnion(entry, context);
13008
+ });
13009
+ return retVal;
13010
+ }, "de_SlaFieldValueUnionList");
12958
13011
  var de_Step = /* @__PURE__ */ __name((output, context) => {
12959
13012
  return (0, import_smithy_client.take)(output, {
12960
13013
  Expiry: /* @__PURE__ */ __name((_) => de_Expiry(_, context), "Expiry"),
@@ -18400,6 +18453,8 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
18400
18453
  DeviceType,
18401
18454
  QuickConnectType,
18402
18455
  BehaviorType,
18456
+ SlaType,
18457
+ SlaAssignmentType,
18403
18458
  NotificationContentType,
18404
18459
  NotificationDeliveryType,
18405
18460
  RulePublishStatus,
@@ -18455,7 +18510,6 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
18455
18510
  IntervalPeriod,
18456
18511
  LexVersion,
18457
18512
  ReferenceSummary,
18458
- QueueType,
18459
18513
  DescribeEmailAddressResponseFilterSensitiveLog,
18460
18514
  InstanceFilterSensitiveLog,
18461
18515
  DescribeInstanceResponseFilterSensitiveLog,
@@ -18466,6 +18520,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
18466
18520
  GetFederationTokenResponseFilterSensitiveLog,
18467
18521
  InstanceSummaryFilterSensitiveLog,
18468
18522
  ListInstancesResponseFilterSensitiveLog,
18523
+ QueueType,
18469
18524
  RealTimeContactAnalysisOutputType,
18470
18525
  RealTimeContactAnalysisSegmentType,
18471
18526
  RealTimeContactAnalysisSupportedChannel,
@@ -16,6 +16,7 @@ export class AccessDeniedException extends __BaseException {
16
16
  }
17
17
  export const ActionType = {
18
18
  ASSIGN_CONTACT_CATEGORY: "ASSIGN_CONTACT_CATEGORY",
19
+ ASSIGN_SLA: "ASSIGN_SLA",
19
20
  CREATE_CASE: "CREATE_CASE",
20
21
  CREATE_TASK: "CREATE_TASK",
21
22
  END_ASSOCIATED_TASKS: "END_ASSOCIATED_TASKS",
@@ -577,6 +578,12 @@ export const BehaviorType = {
577
578
  ROUTE_ANY_CHANNEL: "ROUTE_ANY_CHANNEL",
578
579
  ROUTE_CURRENT_CHANNEL_ONLY: "ROUTE_CURRENT_CHANNEL_ONLY",
579
580
  };
581
+ export const SlaType = {
582
+ CASE_FIELD: "CaseField",
583
+ };
584
+ export const SlaAssignmentType = {
585
+ CASES: "CASES",
586
+ };
580
587
  export const NotificationContentType = {
581
588
  PLAIN_TEXT: "PLAIN_TEXT",
582
589
  };
@@ -597,6 +604,7 @@ export const EventSourceName = {
597
604
  OnRealTimeCallAnalysisAvailable: "OnRealTimeCallAnalysisAvailable",
598
605
  OnRealTimeChatAnalysisAvailable: "OnRealTimeChatAnalysisAvailable",
599
606
  OnSalesforceCaseCreate: "OnSalesforceCaseCreate",
607
+ OnSlaBreach: "OnSlaBreach",
600
608
  OnZendeskTicketCreate: "OnZendeskTicketCreate",
601
609
  OnZendeskTicketStatusUpdate: "OnZendeskTicketStatusUpdate",
602
610
  };
@@ -472,10 +472,6 @@ export var ReferenceSummary;
472
472
  return visitor._(value.$unknown[0], value.$unknown[1]);
473
473
  };
474
474
  })(ReferenceSummary || (ReferenceSummary = {}));
475
- export const QueueType = {
476
- AGENT: "AGENT",
477
- STANDARD: "STANDARD",
478
- };
479
475
  export const DescribeEmailAddressResponseFilterSensitiveLog = (obj) => ({
480
476
  ...obj,
481
477
  ...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
@@ -1,5 +1,9 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
+ export const QueueType = {
4
+ AGENT: "AGENT",
5
+ STANDARD: "STANDARD",
6
+ };
3
7
  export const RealTimeContactAnalysisOutputType = {
4
8
  Raw: "Raw",
5
9
  Redacted: "Redacted",
@@ -8364,6 +8364,12 @@ const se_AgentStatusSearchCriteria = (input, context) => {
8364
8364
  StringCondition: _json,
8365
8365
  });
8366
8366
  };
8367
+ const se_AssignSlaActionDefinition = (input, context) => {
8368
+ return take(input, {
8369
+ CaseSlaConfiguration: (_) => se_CaseSlaConfiguration(_, context),
8370
+ SlaAssignmentType: [],
8371
+ });
8372
+ };
8367
8373
  const se_AttributeCondition = (input, context) => {
8368
8374
  return take(input, {
8369
8375
  ComparisonOperator: [],
@@ -8374,6 +8380,15 @@ const se_AttributeCondition = (input, context) => {
8374
8380
  Value: [],
8375
8381
  });
8376
8382
  };
8383
+ const se_CaseSlaConfiguration = (input, context) => {
8384
+ return take(input, {
8385
+ FieldId: [],
8386
+ Name: [],
8387
+ TargetFieldValues: (_) => se_SlaFieldValueUnionList(_, context),
8388
+ TargetSlaMinutes: [],
8389
+ Type: [],
8390
+ });
8391
+ };
8377
8392
  const se_ContactFlowModuleSearchConditionList = (input, context) => {
8378
8393
  return input
8379
8394
  .filter((e) => e != null)
@@ -8676,6 +8691,7 @@ const se_RuleAction = (input, context) => {
8676
8691
  return take(input, {
8677
8692
  ActionType: [],
8678
8693
  AssignContactCategoryAction: _json,
8694
+ AssignSlaAction: (_) => se_AssignSlaActionDefinition(_, context),
8679
8695
  CreateCaseAction: (_) => se_CreateCaseActionDefinition(_, context),
8680
8696
  EndAssociatedTasksAction: _json,
8681
8697
  EventBridgeAction: _json,
@@ -8738,6 +8754,13 @@ const se_SegmentAttributeValueMap = (input, context) => {
8738
8754
  return acc;
8739
8755
  }, {});
8740
8756
  };
8757
+ const se_SlaFieldValueUnionList = (input, context) => {
8758
+ return input
8759
+ .filter((e) => e != null)
8760
+ .map((entry) => {
8761
+ return se_FieldValueUnion(entry, context);
8762
+ });
8763
+ };
8741
8764
  const se_Threshold = (input, context) => {
8742
8765
  return take(input, {
8743
8766
  Comparison: [],
@@ -8887,6 +8910,12 @@ const de_AgentStatusSummaryList = (output, context) => {
8887
8910
  });
8888
8911
  return retVal;
8889
8912
  };
8913
+ const de_AssignSlaActionDefinition = (output, context) => {
8914
+ return take(output, {
8915
+ CaseSlaConfiguration: (_) => de_CaseSlaConfiguration(_, context),
8916
+ SlaAssignmentType: __expectString,
8917
+ });
8918
+ };
8890
8919
  const de_AssociatedContactSummary = (output, context) => {
8891
8920
  return take(output, {
8892
8921
  Channel: __expectString,
@@ -8958,6 +8987,15 @@ const de_AuthenticationProfileSummaryList = (output, context) => {
8958
8987
  });
8959
8988
  return retVal;
8960
8989
  };
8990
+ const de_CaseSlaConfiguration = (output, context) => {
8991
+ return take(output, {
8992
+ FieldId: __expectString,
8993
+ Name: __expectString,
8994
+ TargetFieldValues: (_) => de_SlaFieldValueUnionList(_, context),
8995
+ TargetSlaMinutes: __expectLong,
8996
+ Type: __expectString,
8997
+ });
8998
+ };
8961
8999
  const de_Contact = (output, context) => {
8962
9000
  return take(output, {
8963
9001
  AdditionalEmailRecipients: _json,
@@ -9886,6 +9924,7 @@ const de_RuleAction = (output, context) => {
9886
9924
  return take(output, {
9887
9925
  ActionType: __expectString,
9888
9926
  AssignContactCategoryAction: _json,
9927
+ AssignSlaAction: (_) => de_AssignSlaActionDefinition(_, context),
9889
9928
  CreateCaseAction: (_) => de_CreateCaseActionDefinition(_, context),
9890
9929
  EndAssociatedTasksAction: _json,
9891
9930
  EventBridgeAction: _json,
@@ -9996,6 +10035,14 @@ const de_SegmentAttributeValueMap = (output, context) => {
9996
10035
  return acc;
9997
10036
  }, {});
9998
10037
  };
10038
+ const de_SlaFieldValueUnionList = (output, context) => {
10039
+ const retVal = (output || [])
10040
+ .filter((e) => e != null)
10041
+ .map((entry) => {
10042
+ return de_FieldValueUnion(entry, context);
10043
+ });
10044
+ return retVal;
10045
+ };
9999
10046
  const de_Step = (output, context) => {
10000
10047
  return take(output, {
10001
10048
  Expiry: (_) => de_Expiry(_, context),
@@ -29,10 +29,10 @@ declare const CreateContactCommand_base: {
29
29
  };
30
30
  /**
31
31
  * <important>
32
- * <p>Only the EMAIL channel is supported. The supported initiation methods are: OUTBOUND,
33
- * AGENT_REPLY, and FLOW.</p>
32
+ * <p>Only the EMAIL and VOICE channels are supported. The supported initiation methods for EMAIL are: OUTBOUND,
33
+ * AGENT_REPLY, and FLOW. For VOICE the supported initiation methods are TRANSFER and the subtype connect:ExternalAudio. </p>
34
34
  * </important>
35
- * <p>Creates a new EMAIL contact. </p>
35
+ * <p>Creates a new EMAIL or VOICE contact. </p>
36
36
  * @example
37
37
  * Use a bare-bones client and the command you need to make an API call.
38
38
  * ```javascript
@@ -40,13 +40,13 @@ declare const CreateRuleCommand_base: {
40
40
  * InstanceId: "STRING_VALUE", // required
41
41
  * Name: "STRING_VALUE", // required
42
42
  * TriggerEventSource: { // RuleTriggerEventSource
43
- * EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate", // required
43
+ * EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate" || "OnSlaBreach", // required
44
44
  * IntegrationAssociationId: "STRING_VALUE",
45
45
  * },
46
46
  * Function: "STRING_VALUE", // required
47
47
  * Actions: [ // RuleActions // required
48
48
  * { // RuleAction
49
- * ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "END_ASSOCIATED_TASKS" || "SUBMIT_AUTO_EVALUATION", // required
49
+ * ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "ASSIGN_SLA" || "END_ASSOCIATED_TASKS" || "SUBMIT_AUTO_EVALUATION", // required
50
50
  * TaskAction: { // TaskActionDefinition
51
51
  * Name: "STRING_VALUE", // required
52
52
  * Description: "STRING_VALUE",
@@ -106,6 +106,23 @@ declare const CreateRuleCommand_base: {
106
106
  * },
107
107
  * ],
108
108
  * },
109
+ * AssignSlaAction: { // AssignSlaActionDefinition
110
+ * SlaAssignmentType: "CASES", // required
111
+ * CaseSlaConfiguration: { // CaseSlaConfiguration
112
+ * Name: "STRING_VALUE", // required
113
+ * Type: "CaseField", // required
114
+ * FieldId: "STRING_VALUE",
115
+ * TargetFieldValues: [ // SlaFieldValueUnionList
116
+ * {
117
+ * BooleanValue: true || false,
118
+ * DoubleValue: Number("double"),
119
+ * EmptyValue: {},
120
+ * StringValue: "STRING_VALUE",
121
+ * },
122
+ * ],
123
+ * TargetSlaMinutes: Number("long"), // required
124
+ * },
125
+ * },
109
126
  * EndAssociatedTasksAction: {},
110
127
  * SubmitAutoEvaluationAction: { // SubmitAutoEvaluationActionDefinition
111
128
  * EvaluationFormId: "STRING_VALUE", // required
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { DeletePushNotificationRegistrationRequest, DeletePushNotificationRegistrationResponse } from "../models/models_0";
4
+ import { DeletePushNotificationRegistrationRequest } from "../models/models_0";
5
+ import { DeletePushNotificationRegistrationResponse } from "../models/models_1";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { DeleteQueueRequest } from "../models/models_0";
4
+ import { DeleteQueueRequest } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { DeleteQuickConnectRequest } from "../models/models_0";
4
+ import { DeleteQuickConnectRequest } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { DeleteRoutingProfileRequest } from "../models/models_0";
4
+ import { DeleteRoutingProfileRequest } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -46,13 +46,13 @@ declare const DescribeRuleCommand_base: {
46
46
  * // RuleId: "STRING_VALUE", // required
47
47
  * // RuleArn: "STRING_VALUE", // required
48
48
  * // TriggerEventSource: { // RuleTriggerEventSource
49
- * // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate", // required
49
+ * // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate" || "OnSlaBreach", // required
50
50
  * // IntegrationAssociationId: "STRING_VALUE",
51
51
  * // },
52
52
  * // Function: "STRING_VALUE", // required
53
53
  * // Actions: [ // RuleActions // required
54
54
  * // { // RuleAction
55
- * // ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "END_ASSOCIATED_TASKS" || "SUBMIT_AUTO_EVALUATION", // required
55
+ * // ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "ASSIGN_SLA" || "END_ASSOCIATED_TASKS" || "SUBMIT_AUTO_EVALUATION", // required
56
56
  * // TaskAction: { // TaskActionDefinition
57
57
  * // Name: "STRING_VALUE", // required
58
58
  * // Description: "STRING_VALUE",
@@ -112,6 +112,23 @@ declare const DescribeRuleCommand_base: {
112
112
  * // },
113
113
  * // ],
114
114
  * // },
115
+ * // AssignSlaAction: { // AssignSlaActionDefinition
116
+ * // SlaAssignmentType: "CASES", // required
117
+ * // CaseSlaConfiguration: { // CaseSlaConfiguration
118
+ * // Name: "STRING_VALUE", // required
119
+ * // Type: "CaseField", // required
120
+ * // FieldId: "STRING_VALUE",
121
+ * // TargetFieldValues: [ // SlaFieldValueUnionList
122
+ * // {
123
+ * // BooleanValue: true || false,
124
+ * // DoubleValue: Number("double"),
125
+ * // EmptyValue: {},
126
+ * // StringValue: "STRING_VALUE",
127
+ * // },
128
+ * // ],
129
+ * // TargetSlaMinutes: Number("long"), // required
130
+ * // },
131
+ * // },
115
132
  * // EndAssociatedTasksAction: {},
116
133
  * // SubmitAutoEvaluationAction: { // SubmitAutoEvaluationActionDefinition
117
134
  * // EvaluationFormId: "STRING_VALUE", // required
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { ListQueueQuickConnectsRequest, ListQueueQuickConnectsResponse } from "../models/models_1";
4
+ import { ListQueueQuickConnectsRequest } from "../models/models_1";
5
+ import { ListQueueQuickConnectsResponse } from "../models/models_2";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { ListQueuesRequest } from "../models/models_1";
5
- import { ListQueuesResponse } from "../models/models_2";
4
+ import { ListQueuesRequest, ListQueuesResponse } from "../models/models_2";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -37,7 +37,7 @@ declare const ListRulesCommand_base: {
37
37
  * const input = { // ListRulesRequest
38
38
  * InstanceId: "STRING_VALUE", // required
39
39
  * PublishStatus: "DRAFT" || "PUBLISHED",
40
- * EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate",
40
+ * EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate" || "OnSlaBreach",
41
41
  * MaxResults: Number("int"),
42
42
  * NextToken: "STRING_VALUE",
43
43
  * };
@@ -49,11 +49,11 @@ declare const ListRulesCommand_base: {
49
49
  * // Name: "STRING_VALUE", // required
50
50
  * // RuleId: "STRING_VALUE", // required
51
51
  * // RuleArn: "STRING_VALUE", // required
52
- * // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate", // required
52
+ * // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate" || "OnSlaBreach", // required
53
53
  * // PublishStatus: "DRAFT" || "PUBLISHED", // required
54
54
  * // ActionSummaries: [ // ActionSummaries // required
55
55
  * // { // ActionSummary
56
- * // ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "END_ASSOCIATED_TASKS" || "SUBMIT_AUTO_EVALUATION", // required
56
+ * // ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "ASSIGN_SLA" || "END_ASSOCIATED_TASKS" || "SUBMIT_AUTO_EVALUATION", // required
57
57
  * // },
58
58
  * // ],
59
59
  * // CreatedTime: new Date("TIMESTAMP"), // required
@@ -28,13 +28,14 @@ declare const SuspendContactRecordingCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>When a contact is being recorded, this API suspends recording whatever is selected in the
31
- * flow configuration: call, screen, or both. If only call recording or only screen recording is
32
- * enabled, then it would be suspended. For example, you might suspend the screen recording while
33
- * collecting sensitive information, such as a credit card number. Then use ResumeContactRecording
31
+ * flow configuration: call (IVR or agent), screen, or both. If only call recording or only screen
32
+ * recording is enabled, then it would be suspended. For example, you might suspend the screen
33
+ * recording while collecting sensitive information, such as a credit card number. Then use
34
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ResumeContactRecording.html">ResumeContactRecording</a>
34
35
  * to restart recording the screen.</p>
35
- * <p>The period of time that the recording is suspended is filled with silence in the final
36
- * recording.</p>
37
- * <p>Voice and screen recordings are supported.</p>
36
+ * <p>The period of time that the recording is suspended is filled with silence in the final recording.
37
+ * </p>
38
+ * <p> Voice (IVR, agent) and screen recordings are supported.</p>
38
39
  * @example
39
40
  * Use a bare-bones client and the command you need to make an API call.
40
41
  * ```javascript
@@ -36,7 +36,7 @@ declare const TransferContactCommand_base: {
36
36
  * <p>Note the following requirements:</p>
37
37
  * <ul>
38
38
  * <li>
39
- * <p>Transfer is supported for only <code>TASK</code> and <code>EMAIL</code> contacts.</p>
39
+ * <p>Transfer is only supported for <code>TASK</code> and <code>EMAIL</code> contacts.</p>
40
40
  * </li>
41
41
  * <li>
42
42
  * <p>Do not use both <code>QueueId</code> and <code>UserId</code> in the same call.</p>
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateQueueOutboundEmailConfigRequest } from "../models/models_2";
4
+ import { UpdateQueueOutboundEmailConfigRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateQueueStatusRequest } from "../models/models_2";
4
+ import { UpdateQueueStatusRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateQuickConnectConfigRequest } from "../models/models_2";
4
+ import { UpdateQuickConnectConfigRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateQuickConnectNameRequest } from "../models/models_2";
4
+ import { UpdateQuickConnectNameRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -43,7 +43,7 @@ declare const UpdateRuleCommand_base: {
43
43
  * Function: "STRING_VALUE", // required
44
44
  * Actions: [ // RuleActions // required
45
45
  * { // RuleAction
46
- * ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "END_ASSOCIATED_TASKS" || "SUBMIT_AUTO_EVALUATION", // required
46
+ * ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "ASSIGN_SLA" || "END_ASSOCIATED_TASKS" || "SUBMIT_AUTO_EVALUATION", // required
47
47
  * TaskAction: { // TaskActionDefinition
48
48
  * Name: "STRING_VALUE", // required
49
49
  * Description: "STRING_VALUE",
@@ -103,6 +103,23 @@ declare const UpdateRuleCommand_base: {
103
103
  * },
104
104
  * ],
105
105
  * },
106
+ * AssignSlaAction: { // AssignSlaActionDefinition
107
+ * SlaAssignmentType: "CASES", // required
108
+ * CaseSlaConfiguration: { // CaseSlaConfiguration
109
+ * Name: "STRING_VALUE", // required
110
+ * Type: "CaseField", // required
111
+ * FieldId: "STRING_VALUE",
112
+ * TargetFieldValues: [ // SlaFieldValueUnionList
113
+ * {
114
+ * BooleanValue: true || false,
115
+ * DoubleValue: Number("double"),
116
+ * EmptyValue: {},
117
+ * StringValue: "STRING_VALUE",
118
+ * },
119
+ * ],
120
+ * TargetSlaMinutes: Number("long"), // required
121
+ * },
122
+ * },
106
123
  * EndAssociatedTasksAction: {},
107
124
  * SubmitAutoEvaluationAction: { // SubmitAutoEvaluationActionDefinition
108
125
  * EvaluationFormId: "STRING_VALUE", // required