@aws-sdk/client-connect 3.100.0 → 3.104.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/CHANGELOG.md +11 -0
- package/dist-cjs/Connect.js +90 -0
- package/dist-cjs/commands/CreateTaskTemplateCommand.js +36 -0
- package/dist-cjs/commands/DeleteTaskTemplateCommand.js +36 -0
- package/dist-cjs/commands/GetTaskTemplateCommand.js +36 -0
- package/dist-cjs/commands/ListSecurityKeysCommand.js +3 -3
- package/dist-cjs/commands/ListSecurityProfilePermissionsCommand.js +3 -3
- package/dist-cjs/commands/ListSecurityProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTaskTemplatesCommand.js +36 -0
- package/dist-cjs/commands/ListUseCasesCommand.js +3 -3
- package/dist-cjs/commands/ListUserHierarchyGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListUsersCommand.js +3 -3
- package/dist-cjs/commands/PutUserStatusCommand.js +3 -3
- package/dist-cjs/commands/ReleasePhoneNumberCommand.js +2 -2
- package/dist-cjs/commands/ResumeContactRecordingCommand.js +3 -3
- package/dist-cjs/commands/TransferContactCommand.js +36 -0
- package/dist-cjs/commands/UpdateTaskTemplateCommand.js +36 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +183 -143
- package/dist-cjs/models/models_1.js +183 -2
- package/dist-cjs/pagination/ListTaskTemplatesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1044 -38
- package/dist-es/Connect.js +90 -0
- package/dist-es/commands/CreateTaskTemplateCommand.js +39 -0
- package/dist-es/commands/DeleteTaskTemplateCommand.js +39 -0
- package/dist-es/commands/GetTaskTemplateCommand.js +39 -0
- package/dist-es/commands/ListSecurityKeysCommand.js +1 -1
- package/dist-es/commands/ListSecurityProfilePermissionsCommand.js +1 -1
- package/dist-es/commands/ListSecurityProfilesCommand.js +1 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -1
- package/dist-es/commands/ListTaskTemplatesCommand.js +39 -0
- package/dist-es/commands/ListUseCasesCommand.js +1 -1
- package/dist-es/commands/ListUserHierarchyGroupsCommand.js +1 -1
- package/dist-es/commands/ListUsersCommand.js +1 -1
- package/dist-es/commands/PutUserStatusCommand.js +1 -1
- package/dist-es/commands/ReleasePhoneNumberCommand.js +1 -1
- package/dist-es/commands/ResumeContactRecordingCommand.js +1 -1
- package/dist-es/commands/TransferContactCommand.js +39 -0
- package/dist-es/commands/UpdateTaskTemplateCommand.js +39 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +139 -92
- package/dist-es/models/models_1.js +120 -0
- package/dist-es/pagination/ListTaskTemplatesPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +1175 -54
- package/dist-types/Connect.d.ts +97 -22
- package/dist-types/ConnectClient.d.ts +8 -2
- package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +2 -1
- package/dist-types/commands/CreateTaskTemplateCommand.d.ts +35 -0
- package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +35 -0
- package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +2 -1
- package/dist-types/commands/GetTaskTemplateCommand.d.ts +35 -0
- package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +1 -1
- package/dist-types/commands/ListSecurityKeysCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTaskTemplatesCommand.d.ts +35 -0
- package/dist-types/commands/ListUseCasesCommand.d.ts +1 -1
- package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListUsersCommand.d.ts +1 -1
- package/dist-types/commands/PutUserStatusCommand.d.ts +5 -6
- package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +1 -1
- package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -1
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +2 -1
- package/dist-types/commands/StartChatContactCommand.d.ts +3 -3
- package/dist-types/commands/StartContactRecordingCommand.d.ts +9 -7
- package/dist-types/commands/StopContactCommand.d.ts +3 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/TransferContactCommand.d.ts +58 -0
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +2 -1
- package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +573 -470
- package/dist-types/models/models_1.d.ts +719 -26
- package/dist-types/pagination/ListTaskTemplatesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Connect.d.ts +30 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/CreateTaskTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteTaskTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTaskTemplatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListUseCasesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserHierarchyGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutUserStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +333 -254
- package/dist-types/ts3.4/models/models_1.d.ts +388 -2
- package/dist-types/ts3.4/pagination/ListTaskTemplatesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ListUseCasesRequest, ListUseCasesResponse } from "../models/
|
|
4
|
+
import { ListUseCasesRequest, ListUseCasesResponse } from "../models/models_1";
|
|
5
5
|
export interface ListUseCasesCommandInput extends ListUseCasesRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListUseCasesCommandOutput extends ListUseCasesResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ListUserHierarchyGroupsRequest, ListUserHierarchyGroupsResponse } from "../models/
|
|
4
|
+
import { ListUserHierarchyGroupsRequest, ListUserHierarchyGroupsResponse } from "../models/models_1";
|
|
5
5
|
export interface ListUserHierarchyGroupsCommandInput extends ListUserHierarchyGroupsRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListUserHierarchyGroupsCommandOutput extends ListUserHierarchyGroupsResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ListUsersRequest, ListUsersResponse } from "../models/
|
|
4
|
+
import { ListUsersRequest, ListUsersResponse } from "../models/models_1";
|
|
5
5
|
export interface ListUsersCommandInput extends ListUsersRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBearer {
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { PutUserStatusRequest, PutUserStatusResponse } from "../models/
|
|
4
|
+
import { PutUserStatusRequest, PutUserStatusResponse } from "../models/models_1";
|
|
5
5
|
export interface PutUserStatusCommandInput extends PutUserStatusRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface PutUserStatusCommandOutput extends PutUserStatusResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Changes the current status of a user or agent in Amazon Connect.
|
|
11
|
-
*
|
|
12
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-agent-status.html">Agent status</a>
|
|
13
|
-
*
|
|
14
|
-
* in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
10
|
+
* <p>Changes the current status of a user or agent in Amazon Connect. If the agent is currently handling a
|
|
11
|
+
* contact, this sets the agent's next status.</p>
|
|
12
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-agent-status.html">Agent status</a> and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/set-next-status.html">Set your next
|
|
13
|
+
* status</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
15
14
|
* @example
|
|
16
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
16
|
* ```javascript
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ReleasePhoneNumberRequest } from "../models/
|
|
4
|
+
import { ReleasePhoneNumberRequest } from "../models/models_1";
|
|
5
5
|
export interface ReleasePhoneNumberCommandInput extends ReleasePhoneNumberRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ReleasePhoneNumberCommandOutput extends __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ResumeContactRecordingRequest, ResumeContactRecordingResponse } from "../models/
|
|
4
|
+
import { ResumeContactRecordingRequest, ResumeContactRecordingResponse } from "../models/models_1";
|
|
5
5
|
export interface ResumeContactRecordingCommandInput extends ResumeContactRecordingRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ResumeContactRecordingCommandOutput extends ResumeContactRecordingResponse, __MetadataBearer {
|
|
@@ -7,7 +7,8 @@ export interface SearchVocabulariesCommandInput extends SearchVocabulariesReques
|
|
|
7
7
|
export interface SearchVocabulariesCommandOutput extends SearchVocabulariesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Searches for vocabularies within a specific Amazon Connect instance using <code>State</code>,
|
|
10
|
+
* <p>Searches for vocabularies within a specific Amazon Connect instance using <code>State</code>,
|
|
11
|
+
* <code>NameStartsWith</code>, and <code>LanguageCode</code>.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -25,9 +25,9 @@ export interface StartChatContactCommandOutput extends StartChatContactResponse,
|
|
|
25
25
|
* <code>LimitExceededException</code>.</p>
|
|
26
26
|
* </li>
|
|
27
27
|
* </ul>
|
|
28
|
-
* <p>If you use the <code>ChatDurationInMinutes</code> parameter and receive a 400 error, your
|
|
29
|
-
* not support the ability to configure custom chat durations. For more information,
|
|
30
|
-
*
|
|
28
|
+
* <p>If you use the <code>ChatDurationInMinutes</code> parameter and receive a 400 error, your
|
|
29
|
+
* account may not support the ability to configure custom chat durations. For more information,
|
|
30
|
+
* contact Amazon Web Services Support. </p>
|
|
31
31
|
*
|
|
32
32
|
* <p>For more information about chat, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat.html">Chat</a> in the <i>Amazon Connect Administrator
|
|
33
33
|
* Guide</i>.</p>
|
|
@@ -10,18 +10,20 @@ export interface StartContactRecordingCommandOutput extends StartContactRecordin
|
|
|
10
10
|
* <p>Starts recording the contact: </p>
|
|
11
11
|
* <ul>
|
|
12
12
|
* <li>
|
|
13
|
-
* <p>If the API is called <i>before</i> the agent joins the call, recording
|
|
13
|
+
* <p>If the API is called <i>before</i> the agent joins the call, recording
|
|
14
|
+
* starts when the agent joins the call.</p>
|
|
14
15
|
* </li>
|
|
15
16
|
* <li>
|
|
16
|
-
* <p>If the API is called <i>after</i> the agent joins the call, recording starts
|
|
17
|
+
* <p>If the API is called <i>after</i> the agent joins the call, recording starts
|
|
18
|
+
* at the time of the API call.</p>
|
|
17
19
|
* </li>
|
|
18
20
|
* </ul>
|
|
19
21
|
*
|
|
20
|
-
* <p>StartContactRecording is a
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
22
|
+
* <p>StartContactRecording is a one-time action. For example, if you use StopContactRecording to
|
|
23
|
+
* stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios
|
|
24
|
+
* where the recording has started and you want to suspend and resume it, such as when collecting
|
|
25
|
+
* sensitive information (for example, a credit card number), use SuspendContactRecording and
|
|
26
|
+
* ResumeContactRecording.</p>
|
|
25
27
|
* <p>You can use this API to override the recording behavior configured in the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/set-recording-behavior.html">Set recording
|
|
26
28
|
* behavior</a> block.</p>
|
|
27
29
|
* <p>Only voice recordings are supported at this time.</p>
|
|
@@ -7,7 +7,9 @@ export interface StopContactCommandInput extends StopContactRequest {
|
|
|
7
7
|
export interface StopContactCommandOutput extends StopContactResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Ends the specified contact. This call does not work for the following initiation
|
|
10
|
+
* <p>Ends the specified contact. This call does not work for the following initiation
|
|
11
|
+
* methods:</p>
|
|
12
|
+
*
|
|
11
13
|
* <ul>
|
|
12
14
|
* <li>
|
|
13
15
|
* <p>DISCONNECT</p>
|
|
@@ -9,7 +9,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Adds the specified tags to the specified resource.</p>
|
|
11
11
|
* <p>The supported resource types are users, routing profiles, queues, quick connects, contact
|
|
12
|
-
* flows, agent status, hours of operation,
|
|
12
|
+
* flows, agent status, hours of operation, phone number, security profiles, and task
|
|
13
|
+
* templates.</p>
|
|
13
14
|
* <p>For sample policies that use tags, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security_iam_id-based-policy-examples.html">Amazon Connect Identity-Based
|
|
14
15
|
* Policy Examples</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
15
16
|
* @example
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
+
import { TransferContactRequest, TransferContactResponse } from "../models/models_1";
|
|
5
|
+
export interface TransferContactCommandInput extends TransferContactRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface TransferContactCommandOutput extends TransferContactResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Transfers contacts from one agent or queue to another agent or queue at any point after a
|
|
11
|
+
* contact is created. You can transfer a contact to another queue by providing the contact flow
|
|
12
|
+
* which orchestrates the contact to the destination queue. This gives you more control over contact
|
|
13
|
+
* handling and helps you adhere to the service level agreement (SLA) guaranteed to your
|
|
14
|
+
* customers.</p>
|
|
15
|
+
* <p>Note the following requirements:</p>
|
|
16
|
+
* <ul>
|
|
17
|
+
* <li>
|
|
18
|
+
* <p>Transfer is supported for only <code>TASK</code> contacts.</p>
|
|
19
|
+
* </li>
|
|
20
|
+
* <li>
|
|
21
|
+
* <p>Do not use both <code>QueueId</code> and <code>UserId</code> in the same call.</p>
|
|
22
|
+
* </li>
|
|
23
|
+
* <li>
|
|
24
|
+
* <p>The following contact flow types are supported: Inbound contact flow, Transfer to agent
|
|
25
|
+
* flow, and Transfer to queue flow.</p>
|
|
26
|
+
* </li>
|
|
27
|
+
* <li>
|
|
28
|
+
* <p>The <code>TransferContact</code> API can be called only on active contacts.</p>
|
|
29
|
+
* </li>
|
|
30
|
+
* <li>
|
|
31
|
+
* <p>A contact cannot be transferred more than 11 times.</p>
|
|
32
|
+
* </li>
|
|
33
|
+
* </ul>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { ConnectClient, TransferContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
38
|
+
* // const { ConnectClient, TransferContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
39
|
+
* const client = new ConnectClient(config);
|
|
40
|
+
* const command = new TransferContactCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @see {@link TransferContactCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link TransferContactCommandOutput} for command's `response` shape.
|
|
46
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
export declare class TransferContactCommand extends $Command<TransferContactCommandInput, TransferContactCommandOutput, ConnectClientResolvedConfig> {
|
|
50
|
+
readonly input: TransferContactCommandInput;
|
|
51
|
+
constructor(input: TransferContactCommandInput);
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TransferContactCommandInput, TransferContactCommandOutput>;
|
|
56
|
+
private serialize;
|
|
57
|
+
private deserialize;
|
|
58
|
+
}
|
|
@@ -7,7 +7,8 @@ export interface UpdatePhoneNumberCommandInput extends UpdatePhoneNumberRequest
|
|
|
7
7
|
export interface UpdatePhoneNumberCommandOutput extends UpdatePhoneNumberResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Updates your claimed phone number from its current Amazon Connect instance to another Amazon Connect instance
|
|
10
|
+
* <p>Updates your claimed phone number from its current Amazon Connect instance to another Amazon Connect instance
|
|
11
|
+
* in the same Region.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
+
import { UpdateTaskTemplateRequest, UpdateTaskTemplateResponse } from "../models/models_1";
|
|
5
|
+
export interface UpdateTaskTemplateCommandInput extends UpdateTaskTemplateRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateTaskTemplateCommandOutput extends UpdateTaskTemplateResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates details about a specific task template in the specified Amazon Connect instance. This
|
|
11
|
+
* operation does not support partial updates. Instead it does a full update of template
|
|
12
|
+
* content.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { ConnectClient, UpdateTaskTemplateCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
17
|
+
* // const { ConnectClient, UpdateTaskTemplateCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
18
|
+
* const client = new ConnectClient(config);
|
|
19
|
+
* const command = new UpdateTaskTemplateCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link UpdateTaskTemplateCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link UpdateTaskTemplateCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class UpdateTaskTemplateCommand extends $Command<UpdateTaskTemplateCommandInput, UpdateTaskTemplateCommandOutput, ConnectClientResolvedConfig> {
|
|
29
|
+
readonly input: UpdateTaskTemplateCommandInput;
|
|
30
|
+
constructor(input: UpdateTaskTemplateCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTaskTemplateCommandInput, UpdateTaskTemplateCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -19,6 +19,7 @@ export * from "./CreateQueueCommand";
|
|
|
19
19
|
export * from "./CreateQuickConnectCommand";
|
|
20
20
|
export * from "./CreateRoutingProfileCommand";
|
|
21
21
|
export * from "./CreateSecurityProfileCommand";
|
|
22
|
+
export * from "./CreateTaskTemplateCommand";
|
|
22
23
|
export * from "./CreateUseCaseCommand";
|
|
23
24
|
export * from "./CreateUserCommand";
|
|
24
25
|
export * from "./CreateUserHierarchyGroupCommand";
|
|
@@ -30,6 +31,7 @@ export * from "./DeleteInstanceCommand";
|
|
|
30
31
|
export * from "./DeleteIntegrationAssociationCommand";
|
|
31
32
|
export * from "./DeleteQuickConnectCommand";
|
|
32
33
|
export * from "./DeleteSecurityProfileCommand";
|
|
34
|
+
export * from "./DeleteTaskTemplateCommand";
|
|
33
35
|
export * from "./DeleteUseCaseCommand";
|
|
34
36
|
export * from "./DeleteUserCommand";
|
|
35
37
|
export * from "./DeleteUserHierarchyGroupCommand";
|
|
@@ -64,6 +66,7 @@ export * from "./GetContactAttributesCommand";
|
|
|
64
66
|
export * from "./GetCurrentMetricDataCommand";
|
|
65
67
|
export * from "./GetFederationTokenCommand";
|
|
66
68
|
export * from "./GetMetricDataCommand";
|
|
69
|
+
export * from "./GetTaskTemplateCommand";
|
|
67
70
|
export * from "./ListAgentStatusesCommand";
|
|
68
71
|
export * from "./ListApprovedOriginsCommand";
|
|
69
72
|
export * from "./ListBotsCommand";
|
|
@@ -90,6 +93,7 @@ export * from "./ListSecurityKeysCommand";
|
|
|
90
93
|
export * from "./ListSecurityProfilePermissionsCommand";
|
|
91
94
|
export * from "./ListSecurityProfilesCommand";
|
|
92
95
|
export * from "./ListTagsForResourceCommand";
|
|
96
|
+
export * from "./ListTaskTemplatesCommand";
|
|
93
97
|
export * from "./ListUseCasesCommand";
|
|
94
98
|
export * from "./ListUserHierarchyGroupsCommand";
|
|
95
99
|
export * from "./ListUsersCommand";
|
|
@@ -109,6 +113,7 @@ export * from "./StopContactRecordingCommand";
|
|
|
109
113
|
export * from "./StopContactStreamingCommand";
|
|
110
114
|
export * from "./SuspendContactRecordingCommand";
|
|
111
115
|
export * from "./TagResourceCommand";
|
|
116
|
+
export * from "./TransferContactCommand";
|
|
112
117
|
export * from "./UntagResourceCommand";
|
|
113
118
|
export * from "./UpdateAgentStatusCommand";
|
|
114
119
|
export * from "./UpdateContactAttributesCommand";
|
|
@@ -135,6 +140,7 @@ export * from "./UpdateRoutingProfileDefaultOutboundQueueCommand";
|
|
|
135
140
|
export * from "./UpdateRoutingProfileNameCommand";
|
|
136
141
|
export * from "./UpdateRoutingProfileQueuesCommand";
|
|
137
142
|
export * from "./UpdateSecurityProfileCommand";
|
|
143
|
+
export * from "./UpdateTaskTemplateCommand";
|
|
138
144
|
export * from "./UpdateUserHierarchyCommand";
|
|
139
145
|
export * from "./UpdateUserHierarchyGroupNameCommand";
|
|
140
146
|
export * from "./UpdateUserHierarchyStructureCommand";
|