@aws-sdk/client-connect 3.623.0 → 3.628.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 +39 -1
- package/dist-es/protocols/Aws_restJson1.js +42 -0
- package/dist-types/commands/CreateInstanceCommand.d.ts +2 -0
- package/dist-types/commands/CreatePredefinedAttributeCommand.d.ts +4 -1
- package/dist-types/commands/CreateSecurityProfileCommand.d.ts +4 -0
- package/dist-types/commands/DeleteInstanceCommand.d.ts +3 -1
- package/dist-types/commands/DeleteQueueCommand.d.ts +1 -1
- package/dist-types/commands/DescribePredefinedAttributeCommand.d.ts +4 -1
- package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +5 -1
- package/dist-types/commands/ListPredefinedAttributesCommand.d.ts +4 -1
- package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +4 -0
- package/dist-types/commands/ListSecurityProfilesCommand.d.ts +3 -1
- package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +4 -1
- package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +4 -0
- package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +50 -0
- package/dist-types/commands/UpdatePredefinedAttributeCommand.d.ts +4 -1
- package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +4 -4
- package/dist-types/models/models_1.d.ts +9 -13
- package/dist-types/models/models_2.d.ts +74 -22
- package/dist-types/ts3.4/models/models_2.d.ts +16 -5
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -5716,7 +5716,8 @@ var se_UpdateContactRoutingDataCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
5716
5716
|
body = JSON.stringify(
|
|
5717
5717
|
(0, import_smithy_client.take)(input, {
|
|
5718
5718
|
QueuePriority: [],
|
|
5719
|
-
QueueTimeAdjustmentSeconds: []
|
|
5719
|
+
QueueTimeAdjustmentSeconds: [],
|
|
5720
|
+
RoutingCriteria: (_) => se_RoutingCriteriaInput(_, context)
|
|
5720
5721
|
})
|
|
5721
5722
|
);
|
|
5722
5723
|
b.m("POST").h(headers).b(body);
|
|
@@ -10151,6 +10152,15 @@ var se_AgentStatusSearchCriteria = /* @__PURE__ */ __name((input, context) => {
|
|
|
10151
10152
|
StringCondition: import_smithy_client._json
|
|
10152
10153
|
});
|
|
10153
10154
|
}, "se_AgentStatusSearchCriteria");
|
|
10155
|
+
var se_AttributeCondition = /* @__PURE__ */ __name((input, context) => {
|
|
10156
|
+
return (0, import_smithy_client.take)(input, {
|
|
10157
|
+
ComparisonOperator: [],
|
|
10158
|
+
MatchCriteria: import_smithy_client._json,
|
|
10159
|
+
Name: [],
|
|
10160
|
+
ProficiencyLevel: import_smithy_client.serializeFloat,
|
|
10161
|
+
Value: []
|
|
10162
|
+
});
|
|
10163
|
+
}, "se_AttributeCondition");
|
|
10154
10164
|
var se_ContactFlowModuleSearchConditionList = /* @__PURE__ */ __name((input, context) => {
|
|
10155
10165
|
return input.filter((e) => e != null).map((entry) => {
|
|
10156
10166
|
return se_ContactFlowModuleSearchCriteria(entry, context);
|
|
@@ -10238,6 +10248,18 @@ var se_EvaluationFormSection = /* @__PURE__ */ __name((input, context) => {
|
|
|
10238
10248
|
Weight: import_smithy_client.serializeFloat
|
|
10239
10249
|
});
|
|
10240
10250
|
}, "se_EvaluationFormSection");
|
|
10251
|
+
var se_Expression = /* @__PURE__ */ __name((input, context) => {
|
|
10252
|
+
return (0, import_smithy_client.take)(input, {
|
|
10253
|
+
AndExpression: (_) => se_Expressions(_, context),
|
|
10254
|
+
AttributeCondition: (_) => se_AttributeCondition(_, context),
|
|
10255
|
+
OrExpression: (_) => se_Expressions(_, context)
|
|
10256
|
+
});
|
|
10257
|
+
}, "se_Expression");
|
|
10258
|
+
var se_Expressions = /* @__PURE__ */ __name((input, context) => {
|
|
10259
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
10260
|
+
return se_Expression(entry, context);
|
|
10261
|
+
});
|
|
10262
|
+
}, "se_Expressions");
|
|
10241
10263
|
var se_FieldValue = /* @__PURE__ */ __name((input, context) => {
|
|
10242
10264
|
return (0, import_smithy_client.take)(input, {
|
|
10243
10265
|
Id: [],
|
|
@@ -10343,6 +10365,22 @@ var se_QuickConnectSearchCriteria = /* @__PURE__ */ __name((input, context) => {
|
|
|
10343
10365
|
StringCondition: import_smithy_client._json
|
|
10344
10366
|
});
|
|
10345
10367
|
}, "se_QuickConnectSearchCriteria");
|
|
10368
|
+
var se_RoutingCriteriaInput = /* @__PURE__ */ __name((input, context) => {
|
|
10369
|
+
return (0, import_smithy_client.take)(input, {
|
|
10370
|
+
Steps: (_) => se_RoutingCriteriaInputSteps(_, context)
|
|
10371
|
+
});
|
|
10372
|
+
}, "se_RoutingCriteriaInput");
|
|
10373
|
+
var se_RoutingCriteriaInputStep = /* @__PURE__ */ __name((input, context) => {
|
|
10374
|
+
return (0, import_smithy_client.take)(input, {
|
|
10375
|
+
Expiry: import_smithy_client._json,
|
|
10376
|
+
Expression: (_) => se_Expression(_, context)
|
|
10377
|
+
});
|
|
10378
|
+
}, "se_RoutingCriteriaInputStep");
|
|
10379
|
+
var se_RoutingCriteriaInputSteps = /* @__PURE__ */ __name((input, context) => {
|
|
10380
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
10381
|
+
return se_RoutingCriteriaInputStep(entry, context);
|
|
10382
|
+
});
|
|
10383
|
+
}, "se_RoutingCriteriaInputSteps");
|
|
10346
10384
|
var se_RoutingProfileSearchConditionList = /* @__PURE__ */ __name((input, context) => {
|
|
10347
10385
|
return input.filter((e) => e != null).map((entry) => {
|
|
10348
10386
|
return se_RoutingProfileSearchCriteria(entry, context);
|
|
@@ -3152,6 +3152,7 @@ export const se_UpdateContactRoutingDataCommand = async (input, context) => {
|
|
|
3152
3152
|
body = JSON.stringify(take(input, {
|
|
3153
3153
|
QueuePriority: [],
|
|
3154
3154
|
QueueTimeAdjustmentSeconds: [],
|
|
3155
|
+
RoutingCriteria: (_) => se_RoutingCriteriaInput(_, context),
|
|
3155
3156
|
}));
|
|
3156
3157
|
b.m("POST").h(headers).b(body);
|
|
3157
3158
|
return b.build();
|
|
@@ -7515,6 +7516,15 @@ const se_AgentStatusSearchCriteria = (input, context) => {
|
|
|
7515
7516
|
StringCondition: _json,
|
|
7516
7517
|
});
|
|
7517
7518
|
};
|
|
7519
|
+
const se_AttributeCondition = (input, context) => {
|
|
7520
|
+
return take(input, {
|
|
7521
|
+
ComparisonOperator: [],
|
|
7522
|
+
MatchCriteria: _json,
|
|
7523
|
+
Name: [],
|
|
7524
|
+
ProficiencyLevel: __serializeFloat,
|
|
7525
|
+
Value: [],
|
|
7526
|
+
});
|
|
7527
|
+
};
|
|
7518
7528
|
const se_ContactFlowModuleSearchConditionList = (input, context) => {
|
|
7519
7529
|
return input
|
|
7520
7530
|
.filter((e) => e != null)
|
|
@@ -7608,6 +7618,20 @@ const se_EvaluationFormSection = (input, context) => {
|
|
|
7608
7618
|
Weight: __serializeFloat,
|
|
7609
7619
|
});
|
|
7610
7620
|
};
|
|
7621
|
+
const se_Expression = (input, context) => {
|
|
7622
|
+
return take(input, {
|
|
7623
|
+
AndExpression: (_) => se_Expressions(_, context),
|
|
7624
|
+
AttributeCondition: (_) => se_AttributeCondition(_, context),
|
|
7625
|
+
OrExpression: (_) => se_Expressions(_, context),
|
|
7626
|
+
});
|
|
7627
|
+
};
|
|
7628
|
+
const se_Expressions = (input, context) => {
|
|
7629
|
+
return input
|
|
7630
|
+
.filter((e) => e != null)
|
|
7631
|
+
.map((entry) => {
|
|
7632
|
+
return se_Expression(entry, context);
|
|
7633
|
+
});
|
|
7634
|
+
};
|
|
7611
7635
|
const se_FieldValue = (input, context) => {
|
|
7612
7636
|
return take(input, {
|
|
7613
7637
|
Id: [],
|
|
@@ -7729,6 +7753,24 @@ const se_QuickConnectSearchCriteria = (input, context) => {
|
|
|
7729
7753
|
StringCondition: _json,
|
|
7730
7754
|
});
|
|
7731
7755
|
};
|
|
7756
|
+
const se_RoutingCriteriaInput = (input, context) => {
|
|
7757
|
+
return take(input, {
|
|
7758
|
+
Steps: (_) => se_RoutingCriteriaInputSteps(_, context),
|
|
7759
|
+
});
|
|
7760
|
+
};
|
|
7761
|
+
const se_RoutingCriteriaInputStep = (input, context) => {
|
|
7762
|
+
return take(input, {
|
|
7763
|
+
Expiry: _json,
|
|
7764
|
+
Expression: (_) => se_Expression(_, context),
|
|
7765
|
+
});
|
|
7766
|
+
};
|
|
7767
|
+
const se_RoutingCriteriaInputSteps = (input, context) => {
|
|
7768
|
+
return input
|
|
7769
|
+
.filter((e) => e != null)
|
|
7770
|
+
.map((entry) => {
|
|
7771
|
+
return se_RoutingCriteriaInputStep(entry, context);
|
|
7772
|
+
});
|
|
7773
|
+
};
|
|
7732
7774
|
const se_RoutingProfileSearchConditionList = (input, context) => {
|
|
7733
7775
|
return input
|
|
7734
7776
|
.filter((e) => e != null)
|
|
@@ -31,6 +31,8 @@ declare const CreateInstanceCommand_base: {
|
|
|
31
31
|
* <p>Initiates an Amazon Connect instance with all the supported channels enabled. It does
|
|
32
32
|
* not attach any storage, such as Amazon Simple Storage Service (Amazon S3) or Amazon Kinesis. It
|
|
33
33
|
* also does not allow for any configurations on features, such as Contact Lens for Amazon Connect. </p>
|
|
34
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-instances.html">Create an Amazon Connect
|
|
35
|
+
* instance</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
34
36
|
* <p>Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days.
|
|
35
37
|
* If you exceed this limit, you will get an error message indicating there has been an excessive number of attempts at creating or deleting instances.
|
|
36
38
|
* You must wait 30 days before you can restart creating and deleting instances in your account.</p>
|
|
@@ -27,7 +27,10 @@ declare const CreatePredefinedAttributeCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a new predefined attribute for the specified Amazon Connect instance
|
|
30
|
+
* <p>Creates a new predefined attribute for the specified Amazon Connect instance. <i>Predefined
|
|
31
|
+
* attributes</i> are attributes in an Amazon Connect instance that can be used to route
|
|
32
|
+
* contacts to an agent or pools of agents within a queue. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/predefined-attributes.html">Create
|
|
33
|
+
* predefined attributes for routing contacts to agents</a>.</p>
|
|
31
34
|
* @example
|
|
32
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
36
|
* ```javascript
|
|
@@ -28,6 +28,10 @@ declare const CreateSecurityProfileCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a security profile.</p>
|
|
31
|
+
* <p>For information about security profiles, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/connect-security-profiles.html">Security Profiles</a> in the
|
|
32
|
+
* <i>Amazon Connect Administrator Guide</i>. For a mapping of the API name and
|
|
33
|
+
* user interface name of the security profile permissions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html">List of security profile
|
|
34
|
+
* permissions</a>. </p>
|
|
31
35
|
* @example
|
|
32
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
37
|
* ```javascript
|
|
@@ -28,7 +28,9 @@ declare const DeleteInstanceCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>This API is in preview release for Amazon Connect and is subject to change.</p>
|
|
31
|
-
* <p>Deletes the Amazon Connect instance
|
|
31
|
+
* <p>Deletes the Amazon Connect instance. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/delete-connect-instance.html">Delete your
|
|
32
|
+
* Amazon Connect instance</a> in the <i>Amazon Connect Administrator
|
|
33
|
+
* Guide</i>.</p>
|
|
32
34
|
* <p>Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days.
|
|
33
35
|
* If you exceed this limit, you will get an error message indicating there has been an excessive number of attempts at creating or deleting instances.
|
|
34
36
|
* You must wait 30 days before you can restart creating and deleting instances in your account.</p>
|
|
@@ -27,7 +27,7 @@ declare const DeleteQueueCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a queue.</p>
|
|
30
|
+
* <p>Deletes a queue. It isn't possible to delete a queue by using the Amazon Connect admin website.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,10 @@ declare const DescribePredefinedAttributeCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Describes a predefined attribute for the specified Amazon Connect instance
|
|
30
|
+
* <p>Describes a predefined attribute for the specified Amazon Connect instance. <i>Predefined
|
|
31
|
+
* attributes</i> are attributes in an Amazon Connect instance that can be used to route
|
|
32
|
+
* contacts to an agent or pools of agents within a queue. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/predefined-attributes.html">Create
|
|
33
|
+
* predefined attributes for routing contacts to agents</a>.</p>
|
|
31
34
|
* @example
|
|
32
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
36
|
* ```javascript
|
|
@@ -27,7 +27,11 @@ declare const DescribeSecurityProfileCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Gets basic information about the security
|
|
30
|
+
* <p>Gets basic information about the security profile.</p>
|
|
31
|
+
* <p>For information about security profiles, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/connect-security-profiles.html">Security Profiles</a> in the
|
|
32
|
+
* <i>Amazon Connect Administrator Guide</i>. For a mapping of the API name and
|
|
33
|
+
* user interface name of the security profile permissions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html">List of security profile
|
|
34
|
+
* permissions</a>. </p>
|
|
31
35
|
* @example
|
|
32
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
37
|
* ```javascript
|
|
@@ -27,7 +27,10 @@ declare const ListPredefinedAttributesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists predefined attributes for the specified Amazon Connect instance
|
|
30
|
+
* <p>Lists predefined attributes for the specified Amazon Connect instance. <i>Predefined
|
|
31
|
+
* attributes</i> are attributes in an Amazon Connect instance that can be used to route
|
|
32
|
+
* contacts to an agent or pools of agents within a queue. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/predefined-attributes.html">Create
|
|
33
|
+
* predefined attributes for routing contacts to agents</a>.</p>
|
|
31
34
|
* @example
|
|
32
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
36
|
* ```javascript
|
|
@@ -28,6 +28,10 @@ declare const ListSecurityProfilePermissionsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Lists the permissions granted to a security profile.</p>
|
|
31
|
+
* <p>For information about security profiles, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/connect-security-profiles.html">Security Profiles</a> in the
|
|
32
|
+
* <i>Amazon Connect Administrator Guide</i>. For a mapping of the API name and
|
|
33
|
+
* user interface name of the security profile permissions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html">List of security profile
|
|
34
|
+
* permissions</a>. </p>
|
|
31
35
|
* @example
|
|
32
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
37
|
* ```javascript
|
|
@@ -29,7 +29,9 @@ declare const ListSecurityProfilesCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Provides summary information about the security profiles for the specified Amazon Connect instance.</p>
|
|
31
31
|
* <p>For more information about security profiles, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/connect-security-profiles.html">Security Profiles</a> in the
|
|
32
|
-
* <i>Amazon Connect Administrator Guide</i
|
|
32
|
+
* <i>Amazon Connect Administrator Guide</i>. For a mapping of the API name and
|
|
33
|
+
* user interface name of the security profile permissions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html">List of security profile
|
|
34
|
+
* permissions</a>. </p>
|
|
33
35
|
* @example
|
|
34
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
37
|
* ```javascript
|
|
@@ -27,7 +27,10 @@ declare const SearchPredefinedAttributesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Searches predefined attributes that meet certain criteria. <i>Predefined
|
|
31
|
+
* attributes</i> are attributes in an Amazon Connect instance that can be used to route
|
|
32
|
+
* contacts to an agent or pools of agents within a queue. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/predefined-attributes.html">Create
|
|
33
|
+
* predefined attributes for routing contacts to agents</a>.</p>
|
|
31
34
|
* @example
|
|
32
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
36
|
* ```javascript
|
|
@@ -29,6 +29,10 @@ declare const SearchSecurityProfilesCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Searches security profiles in an Amazon Connect instance, with optional
|
|
31
31
|
* filtering.</p>
|
|
32
|
+
* <p>For information about security profiles, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/connect-security-profiles.html">Security Profiles</a> in the
|
|
33
|
+
* <i>Amazon Connect Administrator Guide</i>. For a mapping of the API name and
|
|
34
|
+
* user interface name of the security profile permissions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html">List of security profile
|
|
35
|
+
* permissions</a>. </p>
|
|
32
36
|
* @example
|
|
33
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
38
|
* ```javascript
|
|
@@ -51,6 +51,56 @@ declare const UpdateContactRoutingDataCommand_base: {
|
|
|
51
51
|
* ContactId: "STRING_VALUE", // required
|
|
52
52
|
* QueueTimeAdjustmentSeconds: Number("int"),
|
|
53
53
|
* QueuePriority: Number("long"),
|
|
54
|
+
* RoutingCriteria: { // RoutingCriteriaInput
|
|
55
|
+
* Steps: [ // RoutingCriteriaInputSteps
|
|
56
|
+
* { // RoutingCriteriaInputStep
|
|
57
|
+
* Expiry: { // RoutingCriteriaInputStepExpiry
|
|
58
|
+
* DurationInSeconds: Number("int"),
|
|
59
|
+
* },
|
|
60
|
+
* Expression: { // Expression
|
|
61
|
+
* AttributeCondition: { // AttributeCondition
|
|
62
|
+
* Name: "STRING_VALUE",
|
|
63
|
+
* Value: "STRING_VALUE",
|
|
64
|
+
* ProficiencyLevel: Number("float"),
|
|
65
|
+
* MatchCriteria: { // MatchCriteria
|
|
66
|
+
* AgentsCriteria: { // AgentsCriteria
|
|
67
|
+
* AgentIds: [ // AgentIds
|
|
68
|
+
* "STRING_VALUE",
|
|
69
|
+
* ],
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* ComparisonOperator: "STRING_VALUE",
|
|
73
|
+
* },
|
|
74
|
+
* AndExpression: [ // Expressions
|
|
75
|
+
* {
|
|
76
|
+
* AttributeCondition: {
|
|
77
|
+
* Name: "STRING_VALUE",
|
|
78
|
+
* Value: "STRING_VALUE",
|
|
79
|
+
* ProficiencyLevel: Number("float"),
|
|
80
|
+
* MatchCriteria: {
|
|
81
|
+
* AgentsCriteria: {
|
|
82
|
+
* AgentIds: [
|
|
83
|
+
* "STRING_VALUE",
|
|
84
|
+
* ],
|
|
85
|
+
* },
|
|
86
|
+
* },
|
|
87
|
+
* ComparisonOperator: "STRING_VALUE",
|
|
88
|
+
* },
|
|
89
|
+
* AndExpression: [
|
|
90
|
+
* "<Expression>",
|
|
91
|
+
* ],
|
|
92
|
+
* OrExpression: [
|
|
93
|
+
* "<Expression>",
|
|
94
|
+
* ],
|
|
95
|
+
* },
|
|
96
|
+
* ],
|
|
97
|
+
* OrExpression: [
|
|
98
|
+
* "<Expression>",
|
|
99
|
+
* ],
|
|
100
|
+
* },
|
|
101
|
+
* },
|
|
102
|
+
* ],
|
|
103
|
+
* },
|
|
54
104
|
* };
|
|
55
105
|
* const command = new UpdateContactRoutingDataCommand(input);
|
|
56
106
|
* const response = await client.send(command);
|
|
@@ -27,7 +27,10 @@ declare const UpdatePredefinedAttributeCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates a predefined attribute for the specified Amazon Connect instance
|
|
30
|
+
* <p>Updates a predefined attribute for the specified Amazon Connect instance. <i>Predefined
|
|
31
|
+
* attributes</i> are attributes in an Amazon Connect instance that can be used to route
|
|
32
|
+
* contacts to an agent or pools of agents within a queue. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/predefined-attributes.html">Create
|
|
33
|
+
* predefined attributes for routing contacts to agents</a>.</p>
|
|
31
34
|
* @example
|
|
32
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
36
|
* ```javascript
|
|
@@ -28,6 +28,10 @@ declare const UpdateSecurityProfileCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Updates a security profile.</p>
|
|
31
|
+
* <p>For information about security profiles, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/connect-security-profiles.html">Security Profiles</a> in the
|
|
32
|
+
* <i>Amazon Connect Administrator Guide</i>. For a mapping of the API name and
|
|
33
|
+
* user interface name of the security profile permissions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html">List of security profile
|
|
34
|
+
* permissions</a>. </p>
|
|
31
35
|
* @example
|
|
32
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
37
|
* ```javascript
|
|
@@ -503,14 +503,14 @@ export interface AgentQualityMetrics {
|
|
|
503
503
|
Audio?: AudioQualityMetricsInfo;
|
|
504
504
|
}
|
|
505
505
|
/**
|
|
506
|
-
* <p>Can be used to define a list of preferred agents to target the contact within the queue.
|
|
506
|
+
* <p>Can be used to define a list of preferred agents to target the contact to within the queue.
|
|
507
507
|
* Note that agents must have the queue in their routing profile in order to be offered the
|
|
508
508
|
* contact.</p>
|
|
509
509
|
* @public
|
|
510
510
|
*/
|
|
511
511
|
export interface AgentsCriteria {
|
|
512
512
|
/**
|
|
513
|
-
* <p>An object to specify a list of agents, by
|
|
513
|
+
* <p>An object to specify a list of agents, by user ID.</p>
|
|
514
514
|
* @public
|
|
515
515
|
*/
|
|
516
516
|
AgentIds?: string[];
|
|
@@ -6082,12 +6082,12 @@ export interface Expiry {
|
|
|
6082
6082
|
ExpiryTimestamp?: Date;
|
|
6083
6083
|
}
|
|
6084
6084
|
/**
|
|
6085
|
-
* <p>An object to define
|
|
6085
|
+
* <p>An object to define AgentsCriteria.</p>
|
|
6086
6086
|
* @public
|
|
6087
6087
|
*/
|
|
6088
6088
|
export interface MatchCriteria {
|
|
6089
6089
|
/**
|
|
6090
|
-
* <p>An object to define
|
|
6090
|
+
* <p>An object to define agentIds.</p>
|
|
6091
6091
|
* @public
|
|
6092
6092
|
*/
|
|
6093
6093
|
AgentsCriteria?: AgentsCriteria;
|
|
@@ -7875,31 +7875,27 @@ export interface RealTimeContactAnalysisSegmentPostContactSummary {
|
|
|
7875
7875
|
*/
|
|
7876
7876
|
Status: RealTimeContactAnalysisPostContactSummaryStatus | undefined;
|
|
7877
7877
|
/**
|
|
7878
|
-
* <p>If the summary failed to be generated, one of the following failure codes
|
|
7879
|
-
* occurs:</p>
|
|
7878
|
+
* <p>If the summary failed to be generated, one of the following failure codes occurs:</p>
|
|
7880
7879
|
* <ul>
|
|
7881
7880
|
* <li>
|
|
7882
7881
|
* <p>
|
|
7883
|
-
* <code>QUOTA_EXCEEDED</code>: The number of concurrent analytics jobs reached
|
|
7884
|
-
*
|
|
7882
|
+
* <code>QUOTA_EXCEEDED</code>: The number of concurrent analytics jobs reached your service
|
|
7883
|
+
* quota.</p>
|
|
7885
7884
|
* </li>
|
|
7886
7885
|
* <li>
|
|
7887
7886
|
* <p>
|
|
7888
|
-
* <code>INSUFFICIENT_CONVERSATION_CONTENT</code>: The conversation needs to have
|
|
7889
|
-
*
|
|
7890
|
-
* summary.</p>
|
|
7887
|
+
* <code>INSUFFICIENT_CONVERSATION_CONTENT</code>: The conversation needs to have at least
|
|
7888
|
+
* one turn from both the participants in order to generate the summary.</p>
|
|
7891
7889
|
* </li>
|
|
7892
7890
|
* <li>
|
|
7893
7891
|
* <p>
|
|
7894
|
-
* <code>FAILED_SAFETY_GUIDELINES</code>: The generated summary cannot be
|
|
7895
|
-
*
|
|
7892
|
+
* <code>FAILED_SAFETY_GUIDELINES</code>: The generated summary cannot be provided because it
|
|
7893
|
+
* failed to meet system safety guidelines.</p>
|
|
7896
7894
|
* </li>
|
|
7897
7895
|
* <li>
|
|
7898
7896
|
* <p>
|
|
7899
|
-
* <code>INVALID_ANALYSIS_CONFIGURATION</code>: This code occurs when, for
|
|
7900
|
-
*
|
|
7901
|
-
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/supported-languages.html#supported-languages-contact-lens">language</a>
|
|
7902
|
-
* that isn't supported by generative AI-powered post-contact summaries.
|
|
7897
|
+
* <code>INVALID_ANALYSIS_CONFIGURATION</code>: This code occurs when, for example, you're
|
|
7898
|
+
* using a <a href="https://docs.aws.amazon.com/connect/latest/adminguide/supported-languages.html#supported-languages-contact-lens">language</a> that isn't supported by generative AI-powered post-contact summaries.
|
|
7903
7899
|
* </p>
|
|
7904
7900
|
* </li>
|
|
7905
7901
|
* <li>
|
|
@@ -4108,33 +4108,19 @@ export interface UpdateContactFlowNameRequest {
|
|
|
4108
4108
|
export interface UpdateContactFlowNameResponse {
|
|
4109
4109
|
}
|
|
4110
4110
|
/**
|
|
4111
|
+
* <p>Specify whether this routing criteria step should apply for only a limited amount of time,
|
|
4112
|
+
or if it should
|
|
4113
|
+
* never expire.</p>
|
|
4111
4114
|
* @public
|
|
4112
4115
|
*/
|
|
4113
|
-
export interface
|
|
4114
|
-
/**
|
|
4115
|
-
* <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>
|
|
4116
|
-
* @public
|
|
4117
|
-
*/
|
|
4118
|
-
InstanceId: string | undefined;
|
|
4116
|
+
export interface RoutingCriteriaInputStepExpiry {
|
|
4119
4117
|
/**
|
|
4120
|
-
* <p>The
|
|
4118
|
+
* <p>The number of seconds that the contact will be routed only to agents matching this routing
|
|
4119
|
+
step, if expiry
|
|
4120
|
+
* was configured for this routing step.</p>
|
|
4121
4121
|
* @public
|
|
4122
4122
|
*/
|
|
4123
|
-
|
|
4124
|
-
/**
|
|
4125
|
-
* <p>The number of seconds to add or subtract from the contact's routing age. Contacts are routed
|
|
4126
|
-
* to agents on a first-come, first-serve basis. This means that changing their amount of time in
|
|
4127
|
-
* queue compared to others also changes their position in queue.</p>
|
|
4128
|
-
* @public
|
|
4129
|
-
*/
|
|
4130
|
-
QueueTimeAdjustmentSeconds?: number;
|
|
4131
|
-
/**
|
|
4132
|
-
* <p>Priority of the contact in the queue. The default priority for new contacts is 5. You can
|
|
4133
|
-
* raise the priority of a contact compared to other contacts in the queue by assigning them a
|
|
4134
|
-
* higher priority, such as 1 or 2.</p>
|
|
4135
|
-
* @public
|
|
4136
|
-
*/
|
|
4137
|
-
QueuePriority?: number;
|
|
4123
|
+
DurationInSeconds?: number;
|
|
4138
4124
|
}
|
|
4139
4125
|
/**
|
|
4140
4126
|
* @public
|
|
@@ -6036,6 +6022,23 @@ export interface DescribeEvaluationFormResponse {
|
|
|
6036
6022
|
*/
|
|
6037
6023
|
EvaluationForm: EvaluationForm | undefined;
|
|
6038
6024
|
}
|
|
6025
|
+
/**
|
|
6026
|
+
* <p>Step defines the list of agents to be routed or route based on the agent requirements such as ProficiencyLevel,
|
|
6027
|
+
* Name, or Value.</p>
|
|
6028
|
+
* @public
|
|
6029
|
+
*/
|
|
6030
|
+
export interface RoutingCriteriaInputStep {
|
|
6031
|
+
/**
|
|
6032
|
+
* <p>An object to specify the expiration of a routing step.</p>
|
|
6033
|
+
* @public
|
|
6034
|
+
*/
|
|
6035
|
+
Expiry?: RoutingCriteriaInputStepExpiry;
|
|
6036
|
+
/**
|
|
6037
|
+
* <p>A tagged union to specify expression for a routing step.</p>
|
|
6038
|
+
* @public
|
|
6039
|
+
*/
|
|
6040
|
+
Expression?: Expression;
|
|
6041
|
+
}
|
|
6039
6042
|
/**
|
|
6040
6043
|
* @public
|
|
6041
6044
|
*/
|
|
@@ -6493,6 +6496,20 @@ export interface RoutingCriteria {
|
|
|
6493
6496
|
*/
|
|
6494
6497
|
Index?: number;
|
|
6495
6498
|
}
|
|
6499
|
+
/**
|
|
6500
|
+
* <p>An object to define the RoutingCriteria.</p>
|
|
6501
|
+
* @public
|
|
6502
|
+
*/
|
|
6503
|
+
export interface RoutingCriteriaInput {
|
|
6504
|
+
/**
|
|
6505
|
+
* <p>When Amazon Connect does not find an available agent meeting the requirements in a step for
|
|
6506
|
+
* a given step duration, the routing criteria will move on to the next step sequentially until a
|
|
6507
|
+
* join is completed with an agent. When all steps are exhausted, the contact will be offered to any agent
|
|
6508
|
+
* in the queue.</p>
|
|
6509
|
+
* @public
|
|
6510
|
+
*/
|
|
6511
|
+
Steps?: RoutingCriteriaInputStep[];
|
|
6512
|
+
}
|
|
6496
6513
|
/**
|
|
6497
6514
|
* <p>Contains information about a contact.</p>
|
|
6498
6515
|
* @public
|
|
@@ -6678,6 +6695,41 @@ export interface Contact {
|
|
|
6678
6695
|
*/
|
|
6679
6696
|
SegmentAttributes?: Record<string, SegmentAttributeValue>;
|
|
6680
6697
|
}
|
|
6698
|
+
/**
|
|
6699
|
+
* @public
|
|
6700
|
+
*/
|
|
6701
|
+
export interface UpdateContactRoutingDataRequest {
|
|
6702
|
+
/**
|
|
6703
|
+
* <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>
|
|
6704
|
+
* @public
|
|
6705
|
+
*/
|
|
6706
|
+
InstanceId: string | undefined;
|
|
6707
|
+
/**
|
|
6708
|
+
* <p>The identifier of the contact in this instance of Amazon Connect. </p>
|
|
6709
|
+
* @public
|
|
6710
|
+
*/
|
|
6711
|
+
ContactId: string | undefined;
|
|
6712
|
+
/**
|
|
6713
|
+
* <p>The number of seconds to add or subtract from the contact's routing age. Contacts are routed
|
|
6714
|
+
* to agents on a first-come, first-serve basis. This means that changing their amount of time in
|
|
6715
|
+
* queue compared to others also changes their position in queue.</p>
|
|
6716
|
+
* @public
|
|
6717
|
+
*/
|
|
6718
|
+
QueueTimeAdjustmentSeconds?: number;
|
|
6719
|
+
/**
|
|
6720
|
+
* <p>Priority of the contact in the queue. The default priority for new contacts is 5. You can
|
|
6721
|
+
* raise the priority of a contact compared to other contacts in the queue by assigning them a
|
|
6722
|
+
* higher priority, such as 1 or 2.</p>
|
|
6723
|
+
* @public
|
|
6724
|
+
*/
|
|
6725
|
+
QueuePriority?: number;
|
|
6726
|
+
/**
|
|
6727
|
+
* <p>Updates the routing criteria on the contact. These properties can be used to change how a
|
|
6728
|
+
* contact is routed within the queue.</p>
|
|
6729
|
+
* @public
|
|
6730
|
+
*/
|
|
6731
|
+
RoutingCriteria?: RoutingCriteriaInput;
|
|
6732
|
+
}
|
|
6681
6733
|
/**
|
|
6682
6734
|
* @public
|
|
6683
6735
|
*/
|
|
@@ -997,11 +997,8 @@ export interface UpdateContactFlowNameRequest {
|
|
|
997
997
|
Description?: string;
|
|
998
998
|
}
|
|
999
999
|
export interface UpdateContactFlowNameResponse {}
|
|
1000
|
-
export interface
|
|
1001
|
-
|
|
1002
|
-
ContactId: string | undefined;
|
|
1003
|
-
QueueTimeAdjustmentSeconds?: number;
|
|
1004
|
-
QueuePriority?: number;
|
|
1000
|
+
export interface RoutingCriteriaInputStepExpiry {
|
|
1001
|
+
DurationInSeconds?: number;
|
|
1005
1002
|
}
|
|
1006
1003
|
export interface UpdateContactRoutingDataResponse {}
|
|
1007
1004
|
export interface UpdateContactScheduleRequest {
|
|
@@ -1479,6 +1476,10 @@ export interface DescribeContactEvaluationResponse {
|
|
|
1479
1476
|
export interface DescribeEvaluationFormResponse {
|
|
1480
1477
|
EvaluationForm: EvaluationForm | undefined;
|
|
1481
1478
|
}
|
|
1479
|
+
export interface RoutingCriteriaInputStep {
|
|
1480
|
+
Expiry?: RoutingCriteriaInputStepExpiry;
|
|
1481
|
+
Expression?: Expression;
|
|
1482
|
+
}
|
|
1482
1483
|
export interface SearchAgentStatusesRequest {
|
|
1483
1484
|
InstanceId: string | undefined;
|
|
1484
1485
|
NextToken?: string;
|
|
@@ -1572,6 +1573,9 @@ export interface RoutingCriteria {
|
|
|
1572
1573
|
ActivationTimestamp?: Date;
|
|
1573
1574
|
Index?: number;
|
|
1574
1575
|
}
|
|
1576
|
+
export interface RoutingCriteriaInput {
|
|
1577
|
+
Steps?: RoutingCriteriaInputStep[];
|
|
1578
|
+
}
|
|
1575
1579
|
export interface Contact {
|
|
1576
1580
|
Arn?: string;
|
|
1577
1581
|
Id?: string;
|
|
@@ -1606,6 +1610,13 @@ export interface Contact {
|
|
|
1606
1610
|
DisconnectDetails?: DisconnectDetails;
|
|
1607
1611
|
SegmentAttributes?: Record<string, SegmentAttributeValue>;
|
|
1608
1612
|
}
|
|
1613
|
+
export interface UpdateContactRoutingDataRequest {
|
|
1614
|
+
InstanceId: string | undefined;
|
|
1615
|
+
ContactId: string | undefined;
|
|
1616
|
+
QueueTimeAdjustmentSeconds?: number;
|
|
1617
|
+
QueuePriority?: number;
|
|
1618
|
+
RoutingCriteria?: RoutingCriteriaInput;
|
|
1619
|
+
}
|
|
1609
1620
|
export interface DescribeContactResponse {
|
|
1610
1621
|
Contact?: Contact;
|
|
1611
1622
|
}
|
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.
|
|
4
|
+
"version": "3.628.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",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.624.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.624.0",
|
|
25
|
+
"@aws-sdk/core": "3.624.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.624.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|