@aws-sdk/client-connect 3.95.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.
Files changed (107) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/Connect.js +90 -0
  3. package/dist-cjs/commands/CreateTaskTemplateCommand.js +36 -0
  4. package/dist-cjs/commands/DeleteTaskTemplateCommand.js +36 -0
  5. package/dist-cjs/commands/GetTaskTemplateCommand.js +36 -0
  6. package/dist-cjs/commands/ListSecurityKeysCommand.js +3 -3
  7. package/dist-cjs/commands/ListSecurityProfilePermissionsCommand.js +3 -3
  8. package/dist-cjs/commands/ListSecurityProfilesCommand.js +3 -3
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  10. package/dist-cjs/commands/ListTaskTemplatesCommand.js +36 -0
  11. package/dist-cjs/commands/ListUseCasesCommand.js +3 -3
  12. package/dist-cjs/commands/ListUserHierarchyGroupsCommand.js +3 -3
  13. package/dist-cjs/commands/ListUsersCommand.js +3 -3
  14. package/dist-cjs/commands/PutUserStatusCommand.js +3 -3
  15. package/dist-cjs/commands/ReleasePhoneNumberCommand.js +2 -2
  16. package/dist-cjs/commands/ResumeContactRecordingCommand.js +3 -3
  17. package/dist-cjs/commands/TransferContactCommand.js +36 -0
  18. package/dist-cjs/commands/UpdateTaskTemplateCommand.js +36 -0
  19. package/dist-cjs/commands/index.js +6 -0
  20. package/dist-cjs/models/models_0.js +183 -143
  21. package/dist-cjs/models/models_1.js +183 -2
  22. package/dist-cjs/pagination/ListTaskTemplatesPaginator.js +36 -0
  23. package/dist-cjs/pagination/index.js +1 -0
  24. package/dist-cjs/protocols/Aws_restJson1.js +1044 -38
  25. package/dist-cjs/runtimeConfig.js +2 -0
  26. package/dist-es/Connect.js +90 -0
  27. package/dist-es/commands/CreateTaskTemplateCommand.js +39 -0
  28. package/dist-es/commands/DeleteTaskTemplateCommand.js +39 -0
  29. package/dist-es/commands/GetTaskTemplateCommand.js +39 -0
  30. package/dist-es/commands/ListSecurityKeysCommand.js +1 -1
  31. package/dist-es/commands/ListSecurityProfilePermissionsCommand.js +1 -1
  32. package/dist-es/commands/ListSecurityProfilesCommand.js +1 -1
  33. package/dist-es/commands/ListTagsForResourceCommand.js +1 -1
  34. package/dist-es/commands/ListTaskTemplatesCommand.js +39 -0
  35. package/dist-es/commands/ListUseCasesCommand.js +1 -1
  36. package/dist-es/commands/ListUserHierarchyGroupsCommand.js +1 -1
  37. package/dist-es/commands/ListUsersCommand.js +1 -1
  38. package/dist-es/commands/PutUserStatusCommand.js +1 -1
  39. package/dist-es/commands/ReleasePhoneNumberCommand.js +1 -1
  40. package/dist-es/commands/ResumeContactRecordingCommand.js +1 -1
  41. package/dist-es/commands/TransferContactCommand.js +39 -0
  42. package/dist-es/commands/UpdateTaskTemplateCommand.js +39 -0
  43. package/dist-es/commands/index.js +6 -0
  44. package/dist-es/models/models_0.js +139 -92
  45. package/dist-es/models/models_1.js +120 -0
  46. package/dist-es/pagination/ListTaskTemplatesPaginator.js +75 -0
  47. package/dist-es/pagination/index.js +1 -0
  48. package/dist-es/protocols/Aws_restJson1.js +1175 -54
  49. package/dist-es/runtimeConfig.js +2 -0
  50. package/dist-types/Connect.d.ts +97 -22
  51. package/dist-types/ConnectClient.d.ts +8 -2
  52. package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +2 -1
  53. package/dist-types/commands/CreateTaskTemplateCommand.d.ts +35 -0
  54. package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +35 -0
  55. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +2 -1
  56. package/dist-types/commands/GetTaskTemplateCommand.d.ts +35 -0
  57. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +1 -1
  58. package/dist-types/commands/ListSecurityKeysCommand.d.ts +1 -1
  59. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -1
  60. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -1
  61. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  62. package/dist-types/commands/ListTaskTemplatesCommand.d.ts +35 -0
  63. package/dist-types/commands/ListUseCasesCommand.d.ts +1 -1
  64. package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +1 -1
  65. package/dist-types/commands/ListUsersCommand.d.ts +1 -1
  66. package/dist-types/commands/PutUserStatusCommand.d.ts +5 -6
  67. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  68. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -1
  69. package/dist-types/commands/SearchVocabulariesCommand.d.ts +2 -1
  70. package/dist-types/commands/StartChatContactCommand.d.ts +3 -3
  71. package/dist-types/commands/StartContactRecordingCommand.d.ts +9 -7
  72. package/dist-types/commands/StopContactCommand.d.ts +3 -1
  73. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  74. package/dist-types/commands/TransferContactCommand.d.ts +58 -0
  75. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +2 -1
  76. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +37 -0
  77. package/dist-types/commands/index.d.ts +6 -0
  78. package/dist-types/models/models_0.d.ts +573 -470
  79. package/dist-types/models/models_1.d.ts +719 -26
  80. package/dist-types/pagination/ListTaskTemplatesPaginator.d.ts +4 -0
  81. package/dist-types/pagination/index.d.ts +1 -0
  82. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  83. package/dist-types/ts3.4/Connect.d.ts +30 -0
  84. package/dist-types/ts3.4/ConnectClient.d.ts +8 -2
  85. package/dist-types/ts3.4/commands/CreateTaskTemplateCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/DeleteTaskTemplateCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/ListSecurityProfilesCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/ListTaskTemplatesCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/ListUseCasesCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/ListUserHierarchyGroupsCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/PutUserStatusCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  102. package/dist-types/ts3.4/models/models_0.d.ts +333 -254
  103. package/dist-types/ts3.4/models/models_1.d.ts +388 -2
  104. package/dist-types/ts3.4/pagination/ListTaskTemplatesPaginator.d.ts +4 -0
  105. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  106. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
  107. package/package.json +6 -6
@@ -0,0 +1,35 @@
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 { ListTaskTemplatesRequest, ListTaskTemplatesResponse } from "../models/models_1";
5
+ export interface ListTaskTemplatesCommandInput extends ListTaskTemplatesRequest {
6
+ }
7
+ export interface ListTaskTemplatesCommandOutput extends ListTaskTemplatesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists task templates for the specified Amazon Connect instance.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { ConnectClient, ListTaskTemplatesCommand } from "@aws-sdk/client-connect"; // ES Modules import
15
+ * // const { ConnectClient, ListTaskTemplatesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
16
+ * const client = new ConnectClient(config);
17
+ * const command = new ListTaskTemplatesCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListTaskTemplatesCommandInput} for command's `input` shape.
22
+ * @see {@link ListTaskTemplatesCommandOutput} for command's `response` shape.
23
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListTaskTemplatesCommand extends $Command<ListTaskTemplatesCommandInput, ListTaskTemplatesCommandOutput, ConnectClientResolvedConfig> {
27
+ readonly input: ListTaskTemplatesCommandInput;
28
+ constructor(input: ListTaskTemplatesCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTaskTemplatesCommandInput, ListTaskTemplatesCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -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/models_0";
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/models_0";
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/models_0";
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/models_0";
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
- * If the agent is currently handling a 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>
13
- * and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/set-next-status.html">Set your next status</a>
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/models_0";
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/models_0";
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>, <code>NameStartsWith</code>, and <code>LanguageCode</code>.</p>
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 account may
29
- * not support the ability to configure custom chat durations. For more information, contact Amazon Web Services Support.
30
- * </p>
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 starts when the agent joins the call.</p>
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 at the time of the API call.</p>
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
- * one-time action. For example, if you use StopContactRecording to stop recording an ongoing call,
22
- * you can't use StartContactRecording to restart it. For scenarios where the recording has started
23
- * and you want to suspend and resume it, such as when collecting sensitive information (for
24
- * example, a credit card number), use SuspendContactRecording and ResumeContactRecording.</p>
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 methods:</p>
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, and phone number.</p>
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 in the same Region.</p>
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";