@aws-sdk/client-connect 3.474.0 → 3.476.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/README.md +16 -0
- package/dist-cjs/Connect.js +4 -0
- package/dist-cjs/commands/PauseContactCommand.js +51 -0
- package/dist-cjs/commands/ResumeContactCommand.js +51 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +7 -5
- package/dist-cjs/models/models_1.js +19 -6
- package/dist-cjs/models/models_2.js +6 -1
- package/dist-cjs/protocols/Aws_restJson1.js +281 -10
- package/dist-es/Connect.js +4 -0
- package/dist-es/commands/PauseContactCommand.js +47 -0
- package/dist-es/commands/ResumeContactCommand.js +47 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +6 -4
- package/dist-es/models/models_1.js +17 -5
- package/dist-es/models/models_2.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +271 -4
- package/dist-types/Connect.d.ts +14 -0
- package/dist-types/ConnectClient.d.ts +4 -2
- package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateRuleCommand.d.ts +30 -2
- package/dist-types/commands/DescribeContactCommand.d.ts +5 -0
- package/dist-types/commands/DescribePromptCommand.d.ts +2 -1
- package/dist-types/commands/DescribeQueueCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuleCommand.d.ts +30 -2
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListRulesCommand.d.ts +3 -3
- package/dist-types/commands/PauseContactCommand.d.ts +97 -0
- package/dist-types/commands/ResumeContactCommand.d.ts +94 -0
- package/dist-types/commands/SearchUsersCommand.d.ts +1 -2
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +9 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +29 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +132 -149
- package/dist-types/models/models_1.d.ts +225 -307
- package/dist-types/models/models_2.d.ts +336 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Connect.d.ts +34 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeQueueCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PauseContactCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ResumeContactCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -37
- package/dist-types/ts3.4/models/models_1.d.ts +56 -65
- package/dist-types/ts3.4/models/models_2.d.ts +72 -5
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +4 -4
|
@@ -36,13 +36,13 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
|
|
|
36
36
|
* InstanceId: "STRING_VALUE", // required
|
|
37
37
|
* Name: "STRING_VALUE", // required
|
|
38
38
|
* TriggerEventSource: { // RuleTriggerEventSource
|
|
39
|
-
* EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate", // required
|
|
39
|
+
* EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate", // required
|
|
40
40
|
* IntegrationAssociationId: "STRING_VALUE",
|
|
41
41
|
* },
|
|
42
42
|
* Function: "STRING_VALUE", // required
|
|
43
43
|
* Actions: [ // RuleActions // required
|
|
44
44
|
* { // RuleAction
|
|
45
|
-
* ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION", // required
|
|
45
|
+
* ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "END_ASSOCIATED_TASKS", // required
|
|
46
46
|
* TaskAction: { // TaskActionDefinition
|
|
47
47
|
* Name: "STRING_VALUE", // required
|
|
48
48
|
* Description: "STRING_VALUE",
|
|
@@ -72,6 +72,34 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
|
|
|
72
72
|
* ],
|
|
73
73
|
* },
|
|
74
74
|
* },
|
|
75
|
+
* CreateCaseAction: { // CreateCaseActionDefinition
|
|
76
|
+
* Fields: [ // FieldValues // required
|
|
77
|
+
* { // FieldValue
|
|
78
|
+
* Id: "STRING_VALUE", // required
|
|
79
|
+
* Value: { // FieldValueUnion
|
|
80
|
+
* BooleanValue: true || false,
|
|
81
|
+
* DoubleValue: Number("double"),
|
|
82
|
+
* EmptyValue: {},
|
|
83
|
+
* StringValue: "STRING_VALUE",
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* ],
|
|
87
|
+
* TemplateId: "STRING_VALUE", // required
|
|
88
|
+
* },
|
|
89
|
+
* UpdateCaseAction: { // UpdateCaseActionDefinition
|
|
90
|
+
* Fields: [ // required
|
|
91
|
+
* {
|
|
92
|
+
* Id: "STRING_VALUE", // required
|
|
93
|
+
* Value: {
|
|
94
|
+
* BooleanValue: true || false,
|
|
95
|
+
* DoubleValue: Number("double"),
|
|
96
|
+
* EmptyValue: {},
|
|
97
|
+
* StringValue: "STRING_VALUE",
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
|
+
* ],
|
|
101
|
+
* },
|
|
102
|
+
* EndAssociatedTasksAction: {},
|
|
75
103
|
* },
|
|
76
104
|
* ],
|
|
77
105
|
* PublishStatus: "DRAFT" || "PUBLISHED", // required
|
|
@@ -60,10 +60,15 @@ export interface DescribeContactCommandOutput extends DescribeContactResponse, _
|
|
|
60
60
|
* // AgentInfo: { // AgentInfo
|
|
61
61
|
* // Id: "STRING_VALUE",
|
|
62
62
|
* // ConnectedToAgentTimestamp: new Date("TIMESTAMP"),
|
|
63
|
+
* // AgentPauseDurationInSeconds: Number("int"),
|
|
63
64
|
* // },
|
|
64
65
|
* // InitiationTimestamp: new Date("TIMESTAMP"),
|
|
65
66
|
* // DisconnectTimestamp: new Date("TIMESTAMP"),
|
|
66
67
|
* // LastUpdateTimestamp: new Date("TIMESTAMP"),
|
|
68
|
+
* // LastPausedTimestamp: new Date("TIMESTAMP"),
|
|
69
|
+
* // LastResumedTimestamp: new Date("TIMESTAMP"),
|
|
70
|
+
* // TotalPauseCount: Number("int"),
|
|
71
|
+
* // TotalPauseDurationInSeconds: Number("int"),
|
|
67
72
|
* // ScheduledTimestamp: new Date("TIMESTAMP"),
|
|
68
73
|
* // RelatedContactId: "STRING_VALUE",
|
|
69
74
|
* // WisdomInfo: { // WisdomInfo
|
|
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { DescribePromptRequest
|
|
5
|
+
import { DescribePromptRequest } from "../models/models_0";
|
|
6
|
+
import { DescribePromptResponse } from "../models/models_1";
|
|
6
7
|
/**
|
|
7
8
|
* @public
|
|
8
9
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { DescribeQueueRequest, DescribeQueueResponse } from "../models/
|
|
5
|
+
import { DescribeQueueRequest, DescribeQueueResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -42,13 +42,13 @@ export interface DescribeRuleCommandOutput extends DescribeRuleResponse, __Metad
|
|
|
42
42
|
* // RuleId: "STRING_VALUE", // required
|
|
43
43
|
* // RuleArn: "STRING_VALUE", // required
|
|
44
44
|
* // TriggerEventSource: { // RuleTriggerEventSource
|
|
45
|
-
* // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate", // required
|
|
45
|
+
* // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate", // required
|
|
46
46
|
* // IntegrationAssociationId: "STRING_VALUE",
|
|
47
47
|
* // },
|
|
48
48
|
* // Function: "STRING_VALUE", // required
|
|
49
49
|
* // Actions: [ // RuleActions // required
|
|
50
50
|
* // { // RuleAction
|
|
51
|
-
* // ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION", // required
|
|
51
|
+
* // ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "END_ASSOCIATED_TASKS", // required
|
|
52
52
|
* // TaskAction: { // TaskActionDefinition
|
|
53
53
|
* // Name: "STRING_VALUE", // required
|
|
54
54
|
* // Description: "STRING_VALUE",
|
|
@@ -78,6 +78,34 @@ export interface DescribeRuleCommandOutput extends DescribeRuleResponse, __Metad
|
|
|
78
78
|
* // ],
|
|
79
79
|
* // },
|
|
80
80
|
* // },
|
|
81
|
+
* // CreateCaseAction: { // CreateCaseActionDefinition
|
|
82
|
+
* // Fields: [ // FieldValues // required
|
|
83
|
+
* // { // FieldValue
|
|
84
|
+
* // Id: "STRING_VALUE", // required
|
|
85
|
+
* // Value: { // FieldValueUnion
|
|
86
|
+
* // BooleanValue: true || false,
|
|
87
|
+
* // DoubleValue: Number("double"),
|
|
88
|
+
* // EmptyValue: {},
|
|
89
|
+
* // StringValue: "STRING_VALUE",
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
93
|
+
* // TemplateId: "STRING_VALUE", // required
|
|
94
|
+
* // },
|
|
95
|
+
* // UpdateCaseAction: { // UpdateCaseActionDefinition
|
|
96
|
+
* // Fields: [ // required
|
|
97
|
+
* // {
|
|
98
|
+
* // Id: "STRING_VALUE", // required
|
|
99
|
+
* // Value: {
|
|
100
|
+
* // BooleanValue: true || false,
|
|
101
|
+
* // DoubleValue: Number("double"),
|
|
102
|
+
* // EmptyValue: {},
|
|
103
|
+
* // StringValue: "STRING_VALUE",
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // },
|
|
108
|
+
* // EndAssociatedTasksAction: {},
|
|
81
109
|
* // },
|
|
82
110
|
* // ],
|
|
83
111
|
* // PublishStatus: "DRAFT" || "PUBLISHED", // required
|
|
@@ -50,7 +50,7 @@ export interface ListIntegrationAssociationsCommandOutput extends ListIntegratio
|
|
|
50
50
|
* // IntegrationArn: "STRING_VALUE",
|
|
51
51
|
* // SourceApplicationUrl: "STRING_VALUE",
|
|
52
52
|
* // SourceApplicationName: "STRING_VALUE",
|
|
53
|
-
* // SourceType: "SALESFORCE" || "ZENDESK",
|
|
53
|
+
* // SourceType: "SALESFORCE" || "ZENDESK" || "CASES",
|
|
54
54
|
* // },
|
|
55
55
|
* // ],
|
|
56
56
|
* // NextToken: "STRING_VALUE",
|
|
@@ -33,7 +33,7 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
|
|
|
33
33
|
* const input = { // ListRulesRequest
|
|
34
34
|
* InstanceId: "STRING_VALUE", // required
|
|
35
35
|
* PublishStatus: "DRAFT" || "PUBLISHED",
|
|
36
|
-
* EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate",
|
|
36
|
+
* EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate",
|
|
37
37
|
* MaxResults: Number("int"),
|
|
38
38
|
* NextToken: "STRING_VALUE",
|
|
39
39
|
* };
|
|
@@ -45,11 +45,11 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
|
|
|
45
45
|
* // Name: "STRING_VALUE", // required
|
|
46
46
|
* // RuleId: "STRING_VALUE", // required
|
|
47
47
|
* // RuleArn: "STRING_VALUE", // required
|
|
48
|
-
* // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate", // required
|
|
48
|
+
* // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate" || "OnCaseCreate" || "OnCaseUpdate", // required
|
|
49
49
|
* // PublishStatus: "DRAFT" || "PUBLISHED", // required
|
|
50
50
|
* // ActionSummaries: [ // ActionSummaries // required
|
|
51
51
|
* // { // ActionSummary
|
|
52
|
-
* // ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION", // required
|
|
52
|
+
* // ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "END_ASSOCIATED_TASKS", // required
|
|
53
53
|
* // },
|
|
54
54
|
* // ],
|
|
55
55
|
* // CreatedTime: new Date("TIMESTAMP"), // required
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { PauseContactRequest, PauseContactResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PauseContactCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PauseContactCommandInput extends PauseContactRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PauseContactCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PauseContactCommandOutput extends PauseContactResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Allows pausing an ongoing task contact.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { ConnectClient, PauseContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
31
|
+
* // const { ConnectClient, PauseContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
32
|
+
* const client = new ConnectClient(config);
|
|
33
|
+
* const input = { // PauseContactRequest
|
|
34
|
+
* ContactId: "STRING_VALUE", // required
|
|
35
|
+
* InstanceId: "STRING_VALUE", // required
|
|
36
|
+
* ContactFlowId: "STRING_VALUE",
|
|
37
|
+
* };
|
|
38
|
+
* const command = new PauseContactCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @param PauseContactCommandInput - {@link PauseContactCommandInput}
|
|
45
|
+
* @returns {@link PauseContactCommandOutput}
|
|
46
|
+
* @see {@link PauseContactCommandInput} for command's `input` shape.
|
|
47
|
+
* @see {@link PauseContactCommandOutput} for command's `response` shape.
|
|
48
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
51
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ConflictException} (client fault)
|
|
54
|
+
* <p>Operation cannot be performed at this time as there is a conflict with another operation or contact state.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
57
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
60
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
63
|
+
* <p>The request is not valid.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
66
|
+
* <p>The allowed limit for the resource has been exceeded.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* <p>The specified resource was not found.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ConnectServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
export declare class PauseContactCommand extends $Command<PauseContactCommandInput, PauseContactCommandOutput, ConnectClientResolvedConfig> {
|
|
79
|
+
readonly input: PauseContactCommandInput;
|
|
80
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
constructor(input: PauseContactCommandInput);
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PauseContactCommandInput, PauseContactCommandOutput>;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
private serialize;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private deserialize;
|
|
97
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { ResumeContactRequest, ResumeContactResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ResumeContactCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ResumeContactCommandInput extends ResumeContactRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ResumeContactCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ResumeContactCommandOutput extends ResumeContactResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Allows resuming a task contact in a paused state.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { ConnectClient, ResumeContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
31
|
+
* // const { ConnectClient, ResumeContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
32
|
+
* const client = new ConnectClient(config);
|
|
33
|
+
* const input = { // ResumeContactRequest
|
|
34
|
+
* ContactId: "STRING_VALUE", // required
|
|
35
|
+
* InstanceId: "STRING_VALUE", // required
|
|
36
|
+
* ContactFlowId: "STRING_VALUE",
|
|
37
|
+
* };
|
|
38
|
+
* const command = new ResumeContactCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @param ResumeContactCommandInput - {@link ResumeContactCommandInput}
|
|
45
|
+
* @returns {@link ResumeContactCommandOutput}
|
|
46
|
+
* @see {@link ResumeContactCommandInput} for command's `input` shape.
|
|
47
|
+
* @see {@link ResumeContactCommandOutput} for command's `response` shape.
|
|
48
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
51
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ConflictException} (client fault)
|
|
54
|
+
* <p>Operation cannot be performed at this time as there is a conflict with another operation or contact state.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
57
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
60
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
63
|
+
* <p>The request is not valid.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The specified resource was not found.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ConnectServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
export declare class ResumeContactCommand extends $Command<ResumeContactCommandInput, ResumeContactCommandOutput, ConnectClientResolvedConfig> {
|
|
76
|
+
readonly input: ResumeContactCommandInput;
|
|
77
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
constructor(input: ResumeContactCommandInput);
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ResumeContactCommandInput, ResumeContactCommandOutput>;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
private serialize;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private deserialize;
|
|
94
|
+
}
|
|
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { SearchUsersResponse } from "../models/
|
|
6
|
-
import { SearchUsersRequest } from "../models/models_2";
|
|
5
|
+
import { SearchUsersRequest, SearchUsersResponse } from "../models/models_2";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { SearchVocabulariesRequest, SearchVocabulariesResponse } from "../models/
|
|
5
|
+
import { SearchVocabulariesRequest, SearchVocabulariesResponse } from "../models/models_2";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -48,6 +48,15 @@ export interface StartOutboundVoiceContactCommandOutput extends StartOutboundVoi
|
|
|
48
48
|
* // const { ConnectClient, StartOutboundVoiceContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
49
49
|
* const client = new ConnectClient(config);
|
|
50
50
|
* const input = { // StartOutboundVoiceContactRequest
|
|
51
|
+
* Name: "STRING_VALUE",
|
|
52
|
+
* Description: "STRING_VALUE",
|
|
53
|
+
* References: { // ContactReferences
|
|
54
|
+
* "<keys>": { // Reference
|
|
55
|
+
* Value: "STRING_VALUE", // required
|
|
56
|
+
* Type: "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL", // required
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* RelatedContactId: "STRING_VALUE",
|
|
51
60
|
* DestinationPhoneNumber: "STRING_VALUE", // required
|
|
52
61
|
* ContactFlowId: "STRING_VALUE", // required
|
|
53
62
|
* InstanceId: "STRING_VALUE", // required
|
|
@@ -39,7 +39,7 @@ export interface UpdateRuleCommandOutput extends __MetadataBearer {
|
|
|
39
39
|
* Function: "STRING_VALUE", // required
|
|
40
40
|
* Actions: [ // RuleActions // required
|
|
41
41
|
* { // RuleAction
|
|
42
|
-
* ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION", // required
|
|
42
|
+
* ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION" || "CREATE_CASE" || "UPDATE_CASE" || "END_ASSOCIATED_TASKS", // required
|
|
43
43
|
* TaskAction: { // TaskActionDefinition
|
|
44
44
|
* Name: "STRING_VALUE", // required
|
|
45
45
|
* Description: "STRING_VALUE",
|
|
@@ -69,6 +69,34 @@ export interface UpdateRuleCommandOutput extends __MetadataBearer {
|
|
|
69
69
|
* ],
|
|
70
70
|
* },
|
|
71
71
|
* },
|
|
72
|
+
* CreateCaseAction: { // CreateCaseActionDefinition
|
|
73
|
+
* Fields: [ // FieldValues // required
|
|
74
|
+
* { // FieldValue
|
|
75
|
+
* Id: "STRING_VALUE", // required
|
|
76
|
+
* Value: { // FieldValueUnion
|
|
77
|
+
* BooleanValue: true || false,
|
|
78
|
+
* DoubleValue: Number("double"),
|
|
79
|
+
* EmptyValue: {},
|
|
80
|
+
* StringValue: "STRING_VALUE",
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
83
|
+
* ],
|
|
84
|
+
* TemplateId: "STRING_VALUE", // required
|
|
85
|
+
* },
|
|
86
|
+
* UpdateCaseAction: { // UpdateCaseActionDefinition
|
|
87
|
+
* Fields: [ // required
|
|
88
|
+
* {
|
|
89
|
+
* Id: "STRING_VALUE", // required
|
|
90
|
+
* Value: {
|
|
91
|
+
* BooleanValue: true || false,
|
|
92
|
+
* DoubleValue: Number("double"),
|
|
93
|
+
* EmptyValue: {},
|
|
94
|
+
* StringValue: "STRING_VALUE",
|
|
95
|
+
* },
|
|
96
|
+
* },
|
|
97
|
+
* ],
|
|
98
|
+
* },
|
|
99
|
+
* EndAssociatedTasksAction: {},
|
|
72
100
|
* },
|
|
73
101
|
* ],
|
|
74
102
|
* PublishStatus: "DRAFT" || "PUBLISHED", // required
|
|
@@ -152,9 +152,11 @@ export * from "./ListUsersCommand";
|
|
|
152
152
|
export * from "./ListViewVersionsCommand";
|
|
153
153
|
export * from "./ListViewsCommand";
|
|
154
154
|
export * from "./MonitorContactCommand";
|
|
155
|
+
export * from "./PauseContactCommand";
|
|
155
156
|
export * from "./PutUserStatusCommand";
|
|
156
157
|
export * from "./ReleasePhoneNumberCommand";
|
|
157
158
|
export * from "./ReplicateInstanceCommand";
|
|
159
|
+
export * from "./ResumeContactCommand";
|
|
158
160
|
export * from "./ResumeContactRecordingCommand";
|
|
159
161
|
export * from "./SearchAvailablePhoneNumbersCommand";
|
|
160
162
|
export * from "./SearchHoursOfOperationsCommand";
|