@aws-sdk/client-connect 3.716.0 → 3.717.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -2086,14 +2086,6 @@ var RealTimeContactAnalysisOutputType = {
2086
2086
  Raw: "Raw",
2087
2087
  Redacted: "Redacted"
2088
2088
  };
2089
- var RealTimeContactAnalysisSegmentType = {
2090
- Attachments: "Attachments",
2091
- Categories: "Categories",
2092
- Event: "Event",
2093
- Issues: "Issues",
2094
- PostContactSummary: "PostContactSummary",
2095
- Transcript: "Transcript"
2096
- };
2097
2089
  var DescribeEmailAddressResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2098
2090
  ...obj,
2099
2091
  ...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },
@@ -2142,6 +2134,14 @@ var ListInstancesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2142
2134
 
2143
2135
  // src/models/models_2.ts
2144
2136
 
2137
+ var RealTimeContactAnalysisSegmentType = {
2138
+ Attachments: "Attachments",
2139
+ Categories: "Categories",
2140
+ Event: "Event",
2141
+ Issues: "Issues",
2142
+ PostContactSummary: "PostContactSummary",
2143
+ Transcript: "Transcript"
2144
+ };
2145
2145
  var RealTimeContactAnalysisSupportedChannel = {
2146
2146
  CHAT: "CHAT",
2147
2147
  VOICE: "VOICE"
@@ -11290,6 +11290,7 @@ var se_AttributeCondition = /* @__PURE__ */ __name((input, context) => {
11290
11290
  MatchCriteria: import_smithy_client._json,
11291
11291
  Name: [],
11292
11292
  ProficiencyLevel: import_smithy_client.serializeFloat,
11293
+ Range: (_) => se_Range(_, context),
11293
11294
  Value: []
11294
11295
  });
11295
11296
  }, "se_AttributeCondition");
@@ -11398,6 +11399,7 @@ var se_Expression = /* @__PURE__ */ __name((input, context) => {
11398
11399
  return (0, import_smithy_client.take)(input, {
11399
11400
  AndExpression: (_) => se_Expressions(_, context),
11400
11401
  AttributeCondition: (_) => se_AttributeCondition(_, context),
11402
+ NotAttributeCondition: (_) => se_AttributeCondition(_, context),
11401
11403
  OrExpression: (_) => se_Expressions(_, context)
11402
11404
  });
11403
11405
  }, "se_Expression");
@@ -11524,6 +11526,12 @@ var se_QuickConnectSearchCriteria = /* @__PURE__ */ __name((input, context) => {
11524
11526
  StringCondition: import_smithy_client._json
11525
11527
  });
11526
11528
  }, "se_QuickConnectSearchCriteria");
11529
+ var se_Range = /* @__PURE__ */ __name((input, context) => {
11530
+ return (0, import_smithy_client.take)(input, {
11531
+ MaxProficiencyLevel: import_smithy_client.serializeFloat,
11532
+ MinProficiencyLevel: import_smithy_client.serializeFloat
11533
+ });
11534
+ }, "se_Range");
11527
11535
  var se_RoutingCriteriaInput = /* @__PURE__ */ __name((input, context) => {
11528
11536
  return (0, import_smithy_client.take)(input, {
11529
11537
  Steps: (_) => se_RoutingCriteriaInputSteps(_, context)
@@ -11774,6 +11782,7 @@ var de_AttributeCondition = /* @__PURE__ */ __name((output, context) => {
11774
11782
  MatchCriteria: import_smithy_client._json,
11775
11783
  Name: import_smithy_client.expectString,
11776
11784
  ProficiencyLevel: import_smithy_client.limitedParseFloat32,
11785
+ Range: (_) => de_Range(_, context),
11777
11786
  Value: import_smithy_client.expectString
11778
11787
  });
11779
11788
  }, "de_AttributeCondition");
@@ -12165,6 +12174,7 @@ var de_Expression = /* @__PURE__ */ __name((output, context) => {
12165
12174
  return (0, import_smithy_client.take)(output, {
12166
12175
  AndExpression: (_) => de_Expressions(_, context),
12167
12176
  AttributeCondition: (_) => de_AttributeCondition(_, context),
12177
+ NotAttributeCondition: (_) => de_AttributeCondition(_, context),
12168
12178
  OrExpression: (_) => de_Expressions(_, context)
12169
12179
  });
12170
12180
  }, "de_Expression");
@@ -12532,6 +12542,12 @@ var de_QuickConnectSummaryList = /* @__PURE__ */ __name((output, context) => {
12532
12542
  });
12533
12543
  return retVal;
12534
12544
  }, "de_QuickConnectSummaryList");
12545
+ var de_Range = /* @__PURE__ */ __name((output, context) => {
12546
+ return (0, import_smithy_client.take)(output, {
12547
+ MaxProficiencyLevel: import_smithy_client.limitedParseFloat32,
12548
+ MinProficiencyLevel: import_smithy_client.limitedParseFloat32
12549
+ });
12550
+ }, "de_Range");
12535
12551
  var de_RealtimeContactAnalysisSegment = /* @__PURE__ */ __name((output, context) => {
12536
12552
  if (output.Attachments != null) {
12537
12553
  return {
@@ -17967,7 +17983,6 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
17967
17983
  ReferenceSummary,
17968
17984
  QueueType,
17969
17985
  RealTimeContactAnalysisOutputType,
17970
- RealTimeContactAnalysisSegmentType,
17971
17986
  DescribeEmailAddressResponseFilterSensitiveLog,
17972
17987
  InstanceFilterSensitiveLog,
17973
17988
  DescribeInstanceResponseFilterSensitiveLog,
@@ -17978,6 +17993,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
17978
17993
  GetFederationTokenResponseFilterSensitiveLog,
17979
17994
  InstanceSummaryFilterSensitiveLog,
17980
17995
  ListInstancesResponseFilterSensitiveLog,
17996
+ RealTimeContactAnalysisSegmentType,
17981
17997
  RealTimeContactAnalysisSupportedChannel,
17982
17998
  ArtifactStatus,
17983
17999
  RealTimeContactAnalysisTimeData,
@@ -478,14 +478,6 @@ export const RealTimeContactAnalysisOutputType = {
478
478
  Raw: "Raw",
479
479
  Redacted: "Redacted",
480
480
  };
481
- export const RealTimeContactAnalysisSegmentType = {
482
- Attachments: "Attachments",
483
- Categories: "Categories",
484
- Event: "Event",
485
- Issues: "Issues",
486
- PostContactSummary: "PostContactSummary",
487
- Transcript: "Transcript",
488
- };
489
481
  export const DescribeEmailAddressResponseFilterSensitiveLog = (obj) => ({
490
482
  ...obj,
491
483
  ...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
@@ -1,5 +1,13 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
+ export const RealTimeContactAnalysisSegmentType = {
4
+ Attachments: "Attachments",
5
+ Categories: "Categories",
6
+ Event: "Event",
7
+ Issues: "Issues",
8
+ PostContactSummary: "PostContactSummary",
9
+ Transcript: "Transcript",
10
+ };
3
11
  export const RealTimeContactAnalysisSupportedChannel = {
4
12
  CHAT: "CHAT",
5
13
  VOICE: "VOICE",
@@ -8300,6 +8300,7 @@ const se_AttributeCondition = (input, context) => {
8300
8300
  MatchCriteria: _json,
8301
8301
  Name: [],
8302
8302
  ProficiencyLevel: __serializeFloat,
8303
+ Range: (_) => se_Range(_, context),
8303
8304
  Value: [],
8304
8305
  });
8305
8306
  };
@@ -8416,6 +8417,7 @@ const se_Expression = (input, context) => {
8416
8417
  return take(input, {
8417
8418
  AndExpression: (_) => se_Expressions(_, context),
8418
8419
  AttributeCondition: (_) => se_AttributeCondition(_, context),
8420
+ NotAttributeCondition: (_) => se_AttributeCondition(_, context),
8419
8421
  OrExpression: (_) => se_Expressions(_, context),
8420
8422
  });
8421
8423
  };
@@ -8562,6 +8564,12 @@ const se_QuickConnectSearchCriteria = (input, context) => {
8562
8564
  StringCondition: _json,
8563
8565
  });
8564
8566
  };
8567
+ const se_Range = (input, context) => {
8568
+ return take(input, {
8569
+ MaxProficiencyLevel: __serializeFloat,
8570
+ MinProficiencyLevel: __serializeFloat,
8571
+ });
8572
+ };
8565
8573
  const se_RoutingCriteriaInput = (input, context) => {
8566
8574
  return take(input, {
8567
8575
  Steps: (_) => se_RoutingCriteriaInputSteps(_, context),
@@ -8836,6 +8844,7 @@ const de_AttributeCondition = (output, context) => {
8836
8844
  MatchCriteria: _json,
8837
8845
  Name: __expectString,
8838
8846
  ProficiencyLevel: __limitedParseFloat32,
8847
+ Range: (_) => de_Range(_, context),
8839
8848
  Value: __expectString,
8840
8849
  });
8841
8850
  };
@@ -9245,6 +9254,7 @@ const de_Expression = (output, context) => {
9245
9254
  return take(output, {
9246
9255
  AndExpression: (_) => de_Expressions(_, context),
9247
9256
  AttributeCondition: (_) => de_AttributeCondition(_, context),
9257
+ NotAttributeCondition: (_) => de_AttributeCondition(_, context),
9248
9258
  OrExpression: (_) => de_Expressions(_, context),
9249
9259
  });
9250
9260
  };
@@ -9648,6 +9658,12 @@ const de_QuickConnectSummaryList = (output, context) => {
9648
9658
  });
9649
9659
  return retVal;
9650
9660
  };
9661
+ const de_Range = (output, context) => {
9662
+ return take(output, {
9663
+ MaxProficiencyLevel: __limitedParseFloat32,
9664
+ MinProficiencyLevel: __limitedParseFloat32,
9665
+ });
9666
+ };
9651
9667
  const de_RealtimeContactAnalysisSegment = (output, context) => {
9652
9668
  if (output.Attachments != null) {
9653
9669
  return {
@@ -134,6 +134,10 @@ declare const DescribeContactCommand_base: {
134
134
  * // Name: "STRING_VALUE",
135
135
  * // Value: "STRING_VALUE",
136
136
  * // ProficiencyLevel: Number("float"),
137
+ * // Range: { // Range
138
+ * // MinProficiencyLevel: Number("float"),
139
+ * // MaxProficiencyLevel: Number("float"),
140
+ * // },
137
141
  * // MatchCriteria: { // MatchCriteria
138
142
  * // AgentsCriteria: { // AgentsCriteria
139
143
  * // AgentIds: [ // AgentIds
@@ -149,6 +153,10 @@ declare const DescribeContactCommand_base: {
149
153
  * // Name: "STRING_VALUE",
150
154
  * // Value: "STRING_VALUE",
151
155
  * // ProficiencyLevel: Number("float"),
156
+ * // Range: {
157
+ * // MinProficiencyLevel: Number("float"),
158
+ * // MaxProficiencyLevel: Number("float"),
159
+ * // },
152
160
  * // MatchCriteria: {
153
161
  * // AgentsCriteria: {
154
162
  * // AgentIds: [
@@ -164,11 +172,45 @@ declare const DescribeContactCommand_base: {
164
172
  * // OrExpression: [
165
173
  * // "<Expression>",
166
174
  * // ],
175
+ * // NotAttributeCondition: {
176
+ * // Name: "STRING_VALUE",
177
+ * // Value: "STRING_VALUE",
178
+ * // ProficiencyLevel: Number("float"),
179
+ * // Range: {
180
+ * // MinProficiencyLevel: Number("float"),
181
+ * // MaxProficiencyLevel: Number("float"),
182
+ * // },
183
+ * // MatchCriteria: {
184
+ * // AgentsCriteria: {
185
+ * // AgentIds: [
186
+ * // "STRING_VALUE",
187
+ * // ],
188
+ * // },
189
+ * // },
190
+ * // ComparisonOperator: "STRING_VALUE",
191
+ * // },
167
192
  * // },
168
193
  * // ],
169
194
  * // OrExpression: [
170
195
  * // "<Expression>",
171
196
  * // ],
197
+ * // NotAttributeCondition: {
198
+ * // Name: "STRING_VALUE",
199
+ * // Value: "STRING_VALUE",
200
+ * // ProficiencyLevel: Number("float"),
201
+ * // Range: {
202
+ * // MinProficiencyLevel: Number("float"),
203
+ * // MaxProficiencyLevel: Number("float"),
204
+ * // },
205
+ * // MatchCriteria: {
206
+ * // AgentsCriteria: {
207
+ * // AgentIds: [
208
+ * // "STRING_VALUE",
209
+ * // ],
210
+ * // },
211
+ * // },
212
+ * // ComparisonOperator: "STRING_VALUE",
213
+ * // },
172
214
  * // },
173
215
  * // Status: "ACTIVE" || "INACTIVE" || "JOINED" || "EXPIRED",
174
216
  * // },
@@ -63,6 +63,10 @@ declare const UpdateContactRoutingDataCommand_base: {
63
63
  * Name: "STRING_VALUE",
64
64
  * Value: "STRING_VALUE",
65
65
  * ProficiencyLevel: Number("float"),
66
+ * Range: { // Range
67
+ * MinProficiencyLevel: Number("float"),
68
+ * MaxProficiencyLevel: Number("float"),
69
+ * },
66
70
  * MatchCriteria: { // MatchCriteria
67
71
  * AgentsCriteria: { // AgentsCriteria
68
72
  * AgentIds: [ // AgentIds
@@ -78,6 +82,10 @@ declare const UpdateContactRoutingDataCommand_base: {
78
82
  * Name: "STRING_VALUE",
79
83
  * Value: "STRING_VALUE",
80
84
  * ProficiencyLevel: Number("float"),
85
+ * Range: {
86
+ * MinProficiencyLevel: Number("float"),
87
+ * MaxProficiencyLevel: Number("float"),
88
+ * },
81
89
  * MatchCriteria: {
82
90
  * AgentsCriteria: {
83
91
  * AgentIds: [
@@ -93,11 +101,45 @@ declare const UpdateContactRoutingDataCommand_base: {
93
101
  * OrExpression: [
94
102
  * "<Expression>",
95
103
  * ],
104
+ * NotAttributeCondition: {
105
+ * Name: "STRING_VALUE",
106
+ * Value: "STRING_VALUE",
107
+ * ProficiencyLevel: Number("float"),
108
+ * Range: {
109
+ * MinProficiencyLevel: Number("float"),
110
+ * MaxProficiencyLevel: Number("float"),
111
+ * },
112
+ * MatchCriteria: {
113
+ * AgentsCriteria: {
114
+ * AgentIds: [
115
+ * "STRING_VALUE",
116
+ * ],
117
+ * },
118
+ * },
119
+ * ComparisonOperator: "STRING_VALUE",
120
+ * },
96
121
  * },
97
122
  * ],
98
123
  * OrExpression: [
99
124
  * "<Expression>",
100
125
  * ],
126
+ * NotAttributeCondition: {
127
+ * Name: "STRING_VALUE",
128
+ * Value: "STRING_VALUE",
129
+ * ProficiencyLevel: Number("float"),
130
+ * Range: {
131
+ * MinProficiencyLevel: Number("float"),
132
+ * MaxProficiencyLevel: Number("float"),
133
+ * },
134
+ * MatchCriteria: {
135
+ * AgentsCriteria: {
136
+ * AgentIds: [
137
+ * "STRING_VALUE",
138
+ * ],
139
+ * },
140
+ * },
141
+ * ComparisonOperator: "STRING_VALUE",
142
+ * },
101
143
  * },
102
144
  * },
103
145
  * ],
@@ -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 { UpdateRuleRequest } from "../models/models_2";
4
+ import { UpdateRuleRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -483,6 +483,22 @@ export interface MatchCriteria {
483
483
  */
484
484
  AgentsCriteria?: AgentsCriteria | undefined;
485
485
  }
486
+ /**
487
+ * <p>An Object to define the minimum and maximum proficiency levels.</p>
488
+ * @public
489
+ */
490
+ export interface Range {
491
+ /**
492
+ * <p>The minimum proficiency level of the range.</p>
493
+ * @public
494
+ */
495
+ MinProficiencyLevel?: number | undefined;
496
+ /**
497
+ * <p>The maximum proficiency level of the range.</p>
498
+ * @public
499
+ */
500
+ MaxProficiencyLevel?: number | undefined;
501
+ }
486
502
  /**
487
503
  * <p>An object to specify the predefined attribute condition.</p>
488
504
  * @public
@@ -503,6 +519,11 @@ export interface AttributeCondition {
503
519
  * @public
504
520
  */
505
521
  ProficiencyLevel?: number | undefined;
522
+ /**
523
+ * <p>An Object to define the minimum and maximum proficiency levels.</p>
524
+ * @public
525
+ */
526
+ Range?: Range | undefined;
506
527
  /**
507
528
  * <p>An object to define <code>AgentsCriteria</code>.</p>
508
529
  * @public
@@ -8732,22 +8753,6 @@ export declare const RealTimeContactAnalysisOutputType: {
8732
8753
  * @public
8733
8754
  */
8734
8755
  export type RealTimeContactAnalysisOutputType = (typeof RealTimeContactAnalysisOutputType)[keyof typeof RealTimeContactAnalysisOutputType];
8735
- /**
8736
- * @public
8737
- * @enum
8738
- */
8739
- export declare const RealTimeContactAnalysisSegmentType: {
8740
- readonly Attachments: "Attachments";
8741
- readonly Categories: "Categories";
8742
- readonly Event: "Event";
8743
- readonly Issues: "Issues";
8744
- readonly PostContactSummary: "PostContactSummary";
8745
- readonly Transcript: "Transcript";
8746
- };
8747
- /**
8748
- * @public
8749
- */
8750
- export type RealTimeContactAnalysisSegmentType = (typeof RealTimeContactAnalysisSegmentType)[keyof typeof RealTimeContactAnalysisSegmentType];
8751
8756
  /**
8752
8757
  * @internal
8753
8758
  */
@@ -1,7 +1,23 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { ActionSummary, AgentAvailabilityTimer, AgentHierarchyGroups, AgentStatus, AgentStatusState, AllowedCapabilities, Application, Channel, ContactInitiationMethod, ControlPlaneAttributeFilter, CreatedByInfo, EventSourceName, FileStatusType, FileUseCaseType, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, MonitorCapability, OutboundCallerConfig, OutboundEmailConfig, ParticipantRole, PredefinedAttributeValues, QuickConnectConfig, Reference, RehydrationType, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, StringComparisonType, StringCondition, TagCondition, TaskTemplateStatus, UseCaseType, UserPhoneConfig, UserProficiency, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
- import { ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, EvaluationAnswerData, EvaluationNote, HierarchyGroup, HierarchyGroupSummary, HoursOfOperation, HoursOfOperationOverride, InstanceAttributeType, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QueueStatus, QuickConnect, RealTimeContactAnalysisOutputType, RealTimeContactAnalysisSegmentType, RoutingProfile, SortOrder, TrafficDistributionGroupStatus } from "./models_1";
3
+ import { ActionSummary, AgentAvailabilityTimer, AgentHierarchyGroups, AgentStatus, AgentStatusState, AllowedCapabilities, Application, Channel, ContactInitiationMethod, ControlPlaneAttributeFilter, CreatedByInfo, EventSourceName, FileStatusType, FileUseCaseType, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, MonitorCapability, OutboundCallerConfig, OutboundEmailConfig, ParticipantRole, PredefinedAttributeValues, QuickConnectConfig, Reference, RehydrationType, RoutingProfileQueueConfig, RulePublishStatus, StringComparisonType, StringCondition, TagCondition, TaskTemplateStatus, UseCaseType, UserPhoneConfig, UserProficiency, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ import { ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, EvaluationAnswerData, EvaluationNote, HierarchyGroup, HierarchyGroupSummary, HoursOfOperation, HoursOfOperationOverride, InstanceAttributeType, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QueueStatus, QuickConnect, RealTimeContactAnalysisOutputType, RoutingProfile, SortOrder, TrafficDistributionGroupStatus } from "./models_1";
5
+ /**
6
+ * @public
7
+ * @enum
8
+ */
9
+ export declare const RealTimeContactAnalysisSegmentType: {
10
+ readonly Attachments: "Attachments";
11
+ readonly Categories: "Categories";
12
+ readonly Event: "Event";
13
+ readonly Issues: "Issues";
14
+ readonly PostContactSummary: "PostContactSummary";
15
+ readonly Transcript: "Transcript";
16
+ };
17
+ /**
18
+ * @public
19
+ */
20
+ export type RealTimeContactAnalysisSegmentType = (typeof RealTimeContactAnalysisSegmentType)[keyof typeof RealTimeContactAnalysisSegmentType];
5
21
  /**
6
22
  * @public
7
23
  */
@@ -4214,7 +4230,7 @@ export interface StartAttachedFileUploadResponse {
4214
4230
  */
4215
4231
  CreatedBy?: CreatedByInfo | undefined;
4216
4232
  /**
4217
- * <p>Information to be used while uploading the attached file. </p>
4233
+ * <p>The headers to be provided while uploading the file to the URL.</p>
4218
4234
  * @public
4219
4235
  */
4220
4236
  UploadUrlMetadata?: UploadUrlMetadata | undefined;
@@ -6624,44 +6640,6 @@ export interface UpdateRoutingProfileQueuesRequest {
6624
6640
  */
6625
6641
  QueueConfigs: RoutingProfileQueueConfig[] | undefined;
6626
6642
  }
6627
- /**
6628
- * @public
6629
- */
6630
- export interface UpdateRuleRequest {
6631
- /**
6632
- * <p>A unique identifier for the rule.</p>
6633
- * @public
6634
- */
6635
- RuleId: string | undefined;
6636
- /**
6637
- * <p>The identifier of the Amazon Connect 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>
6638
- * @public
6639
- */
6640
- InstanceId: string | undefined;
6641
- /**
6642
- * <p>The name of the rule. You can change the name only if <code>TriggerEventSource</code> is one
6643
- * of the following values: <code>OnZendeskTicketCreate</code> |
6644
- * <code>OnZendeskTicketStatusUpdate</code> | <code>OnSalesforceCaseCreate</code>
6645
- * </p>
6646
- * @public
6647
- */
6648
- Name: string | undefined;
6649
- /**
6650
- * <p>The conditions of the rule.</p>
6651
- * @public
6652
- */
6653
- Function: string | undefined;
6654
- /**
6655
- * <p>A list of actions to be run when the rule is triggered.</p>
6656
- * @public
6657
- */
6658
- Actions: RuleAction[] | undefined;
6659
- /**
6660
- * <p>The publish status of the rule.</p>
6661
- * @public
6662
- */
6663
- PublishStatus: RulePublishStatus | undefined;
6664
- }
6665
6643
  /**
6666
6644
  * @internal
6667
6645
  */
@@ -1,6 +1,44 @@
1
- import { AdditionalEmailRecipients, AgentConfig, AgentInfo, AgentStatusSearchFilter, Application, Campaign, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, Endpoint, EvaluationFormQuestion, EvaluationFormScoringStrategy, InitiateAs, Reference, StringCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserInfo, UserPhoneConfig, UserProficiency, View, ViewInputContent, ViewStatus } from "./models_0";
1
+ import { AdditionalEmailRecipients, AgentConfig, AgentInfo, AgentStatusSearchFilter, Application, Campaign, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, Endpoint, EvaluationFormQuestion, EvaluationFormScoringStrategy, InitiateAs, Reference, RuleAction, RulePublishStatus, StringCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserInfo, UserPhoneConfig, UserProficiency, View, ViewInputContent, ViewStatus } from "./models_0";
2
2
  import { AnsweringMachineDetectionStatus, AttributeCondition, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, Customer, CustomerVoiceActivity, DisconnectDetails, EndpointInfo, Evaluation, EvaluationFormVersionStatus, Expiry, QualityMetrics, QueueInfo, RoutingCriteriaStepStatus, SignInConfig, TelephonyConfig, WisdomInfo } from "./models_1";
3
3
  import { ChatMessage, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, DateCondition, EmailAddressInfo, EmailAddressSearchFilter, EmailAttachment, HierarchyGroupCondition, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, ListCondition, ParticipantDetails, PersistentChat, PromptSearchFilter, QueueInfoInput, QueueSearchFilter, QuickConnectSearchFilter, RoutingCriteriaInputStepExpiry, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, UserHierarchyGroupSearchFilter, UserSearchFilter } from "./models_2";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface UpdateRuleRequest {
8
+ /**
9
+ * <p>A unique identifier for the rule.</p>
10
+ * @public
11
+ */
12
+ RuleId: string | undefined;
13
+ /**
14
+ * <p>The identifier of the Amazon Connect 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>
15
+ * @public
16
+ */
17
+ InstanceId: string | undefined;
18
+ /**
19
+ * <p>The name of the rule. You can change the name only if <code>TriggerEventSource</code> is one
20
+ * of the following values: <code>OnZendeskTicketCreate</code> |
21
+ * <code>OnZendeskTicketStatusUpdate</code> | <code>OnSalesforceCaseCreate</code>
22
+ * </p>
23
+ * @public
24
+ */
25
+ Name: string | undefined;
26
+ /**
27
+ * <p>The conditions of the rule.</p>
28
+ * @public
29
+ */
30
+ Function: string | undefined;
31
+ /**
32
+ * <p>A list of actions to be run when the rule is triggered.</p>
33
+ * @public
34
+ */
35
+ Actions: RuleAction[] | undefined;
36
+ /**
37
+ * <p>The publish status of the rule.</p>
38
+ * @public
39
+ */
40
+ PublishStatus: RulePublishStatus | undefined;
41
+ }
4
42
  /**
5
43
  * @public
6
44
  */
@@ -974,6 +1012,11 @@ export interface Expression {
974
1012
  * @public
975
1013
  */
976
1014
  OrExpression?: Expression[] | undefined;
1015
+ /**
1016
+ * <p>An object to specify the predefined attribute condition.</p>
1017
+ * @public
1018
+ */
1019
+ NotAttributeCondition?: AttributeCondition | undefined;
977
1020
  }
978
1021
  /**
979
1022
  * <p>The search criteria to be used to return hours of operations overrides.</p>
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { UpdateRuleRequest } from "../models/models_2";
8
+ import { UpdateRuleRequest } from "../models/models_3";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface UpdateRuleCommandInput extends UpdateRuleRequest {}
@@ -186,10 +186,15 @@ export interface Expiry {
186
186
  export interface MatchCriteria {
187
187
  AgentsCriteria?: AgentsCriteria | undefined;
188
188
  }
189
+ export interface Range {
190
+ MinProficiencyLevel?: number | undefined;
191
+ MaxProficiencyLevel?: number | undefined;
192
+ }
189
193
  export interface AttributeCondition {
190
194
  Name?: string | undefined;
191
195
  Value?: string | undefined;
192
196
  ProficiencyLevel?: number | undefined;
197
+ Range?: Range | undefined;
193
198
  MatchCriteria?: MatchCriteria | undefined;
194
199
  ComparisonOperator?: string | undefined;
195
200
  }
@@ -2121,16 +2126,6 @@ export declare const RealTimeContactAnalysisOutputType: {
2121
2126
  };
2122
2127
  export type RealTimeContactAnalysisOutputType =
2123
2128
  (typeof RealTimeContactAnalysisOutputType)[keyof typeof RealTimeContactAnalysisOutputType];
2124
- export declare const RealTimeContactAnalysisSegmentType: {
2125
- readonly Attachments: "Attachments";
2126
- readonly Categories: "Categories";
2127
- readonly Event: "Event";
2128
- readonly Issues: "Issues";
2129
- readonly PostContactSummary: "PostContactSummary";
2130
- readonly Transcript: "Transcript";
2131
- };
2132
- export type RealTimeContactAnalysisSegmentType =
2133
- (typeof RealTimeContactAnalysisSegmentType)[keyof typeof RealTimeContactAnalysisSegmentType];
2134
2129
  export declare const DescribeEmailAddressResponseFilterSensitiveLog: (
2135
2130
  obj: DescribeEmailAddressResponse
2136
2131
  ) => any;
@@ -29,7 +29,6 @@ import {
29
29
  Reference,
30
30
  RehydrationType,
31
31
  RoutingProfileQueueConfig,
32
- RuleAction,
33
32
  RulePublishStatus,
34
33
  StringComparisonType,
35
34
  StringCondition,
@@ -63,11 +62,20 @@ import {
63
62
  QueueStatus,
64
63
  QuickConnect,
65
64
  RealTimeContactAnalysisOutputType,
66
- RealTimeContactAnalysisSegmentType,
67
65
  RoutingProfile,
68
66
  SortOrder,
69
67
  TrafficDistributionGroupStatus,
70
68
  } from "./models_1";
69
+ export declare const RealTimeContactAnalysisSegmentType: {
70
+ readonly Attachments: "Attachments";
71
+ readonly Categories: "Categories";
72
+ readonly Event: "Event";
73
+ readonly Issues: "Issues";
74
+ readonly PostContactSummary: "PostContactSummary";
75
+ readonly Transcript: "Transcript";
76
+ };
77
+ export type RealTimeContactAnalysisSegmentType =
78
+ (typeof RealTimeContactAnalysisSegmentType)[keyof typeof RealTimeContactAnalysisSegmentType];
71
79
  export interface ListRealtimeContactAnalysisSegmentsV2Request {
72
80
  InstanceId: string | undefined;
73
81
  ContactId: string | undefined;
@@ -1751,14 +1759,6 @@ export interface UpdateRoutingProfileQueuesRequest {
1751
1759
  RoutingProfileId: string | undefined;
1752
1760
  QueueConfigs: RoutingProfileQueueConfig[] | undefined;
1753
1761
  }
1754
- export interface UpdateRuleRequest {
1755
- RuleId: string | undefined;
1756
- InstanceId: string | undefined;
1757
- Name: string | undefined;
1758
- Function: string | undefined;
1759
- Actions: RuleAction[] | undefined;
1760
- PublishStatus: RulePublishStatus | undefined;
1761
- }
1762
1762
  export declare const ViewSummaryFilterSensitiveLog: (obj: ViewSummary) => any;
1763
1763
  export declare const ListViewsResponseFilterSensitiveLog: (
1764
1764
  obj: ListViewsResponse
@@ -14,6 +14,8 @@ import {
14
14
  EvaluationFormScoringStrategy,
15
15
  InitiateAs,
16
16
  Reference,
17
+ RuleAction,
18
+ RulePublishStatus,
17
19
  StringCondition,
18
20
  TaskTemplateConstraints,
19
21
  TaskTemplateDefaults,
@@ -73,6 +75,14 @@ import {
73
75
  UserHierarchyGroupSearchFilter,
74
76
  UserSearchFilter,
75
77
  } from "./models_2";
78
+ export interface UpdateRuleRequest {
79
+ RuleId: string | undefined;
80
+ InstanceId: string | undefined;
81
+ Name: string | undefined;
82
+ Function: string | undefined;
83
+ Actions: RuleAction[] | undefined;
84
+ PublishStatus: RulePublishStatus | undefined;
85
+ }
76
86
  export interface UpdateSecurityProfileRequest {
77
87
  Description?: string | undefined;
78
88
  Permissions?: string[] | undefined;
@@ -299,6 +309,7 @@ export interface Expression {
299
309
  AttributeCondition?: AttributeCondition | undefined;
300
310
  AndExpression?: Expression[] | undefined;
301
311
  OrExpression?: Expression[] | undefined;
312
+ NotAttributeCondition?: AttributeCondition | undefined;
302
313
  }
303
314
  export interface HoursOfOperationOverrideSearchCriteria {
304
315
  OrConditions?: HoursOfOperationOverrideSearchCriteria[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.716.0",
4
+ "version": "3.717.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-connect",