@aws-sdk/client-connect 3.53.0 → 3.55.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 (189) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/ConnectClient.js +13 -13
  3. package/dist-cjs/commands/AssociateApprovedOriginCommand.js +3 -3
  4. package/dist-cjs/commands/AssociateBotCommand.js +3 -3
  5. package/dist-cjs/commands/AssociateDefaultVocabularyCommand.js +3 -3
  6. package/dist-cjs/commands/AssociateInstanceStorageConfigCommand.js +3 -3
  7. package/dist-cjs/commands/AssociateLambdaFunctionCommand.js +3 -3
  8. package/dist-cjs/commands/AssociateLexBotCommand.js +3 -3
  9. package/dist-cjs/commands/AssociateQueueQuickConnectsCommand.js +3 -3
  10. package/dist-cjs/commands/AssociateRoutingProfileQueuesCommand.js +3 -3
  11. package/dist-cjs/commands/AssociateSecurityKeyCommand.js +3 -3
  12. package/dist-cjs/commands/CreateAgentStatusCommand.js +3 -3
  13. package/dist-cjs/commands/CreateContactFlowCommand.js +3 -3
  14. package/dist-cjs/commands/CreateContactFlowModuleCommand.js +3 -3
  15. package/dist-cjs/commands/CreateHoursOfOperationCommand.js +3 -3
  16. package/dist-cjs/commands/CreateInstanceCommand.js +3 -3
  17. package/dist-cjs/commands/CreateIntegrationAssociationCommand.js +3 -3
  18. package/dist-cjs/commands/CreateQueueCommand.js +3 -3
  19. package/dist-cjs/commands/CreateQuickConnectCommand.js +3 -3
  20. package/dist-cjs/commands/CreateRoutingProfileCommand.js +3 -3
  21. package/dist-cjs/commands/CreateSecurityProfileCommand.js +3 -3
  22. package/dist-cjs/commands/CreateUseCaseCommand.js +3 -3
  23. package/dist-cjs/commands/CreateUserCommand.js +3 -3
  24. package/dist-cjs/commands/CreateUserHierarchyGroupCommand.js +3 -3
  25. package/dist-cjs/commands/CreateVocabularyCommand.js +3 -3
  26. package/dist-cjs/commands/DeleteContactFlowCommand.js +3 -3
  27. package/dist-cjs/commands/DeleteContactFlowModuleCommand.js +3 -3
  28. package/dist-cjs/commands/DeleteHoursOfOperationCommand.js +3 -3
  29. package/dist-cjs/commands/DeleteInstanceCommand.js +3 -3
  30. package/dist-cjs/commands/DeleteIntegrationAssociationCommand.js +3 -3
  31. package/dist-cjs/commands/DeleteQuickConnectCommand.js +3 -3
  32. package/dist-cjs/commands/DeleteSecurityProfileCommand.js +3 -3
  33. package/dist-cjs/commands/DeleteUseCaseCommand.js +3 -3
  34. package/dist-cjs/commands/DeleteUserCommand.js +3 -3
  35. package/dist-cjs/commands/DeleteUserHierarchyGroupCommand.js +3 -3
  36. package/dist-cjs/commands/DeleteVocabularyCommand.js +3 -3
  37. package/dist-cjs/commands/DescribeAgentStatusCommand.js +3 -3
  38. package/dist-cjs/commands/DescribeContactCommand.js +3 -3
  39. package/dist-cjs/commands/DescribeContactFlowCommand.js +3 -3
  40. package/dist-cjs/commands/DescribeContactFlowModuleCommand.js +3 -3
  41. package/dist-cjs/commands/DescribeHoursOfOperationCommand.js +3 -3
  42. package/dist-cjs/commands/DescribeInstanceAttributeCommand.js +3 -3
  43. package/dist-cjs/commands/DescribeInstanceCommand.js +3 -3
  44. package/dist-cjs/commands/DescribeInstanceStorageConfigCommand.js +3 -3
  45. package/dist-cjs/commands/DescribeQueueCommand.js +3 -3
  46. package/dist-cjs/commands/DescribeQuickConnectCommand.js +3 -3
  47. package/dist-cjs/commands/DescribeRoutingProfileCommand.js +3 -3
  48. package/dist-cjs/commands/DescribeSecurityProfileCommand.js +3 -3
  49. package/dist-cjs/commands/DescribeUserCommand.js +3 -3
  50. package/dist-cjs/commands/DescribeUserHierarchyGroupCommand.js +3 -3
  51. package/dist-cjs/commands/DescribeUserHierarchyStructureCommand.js +3 -3
  52. package/dist-cjs/commands/DescribeVocabularyCommand.js +3 -3
  53. package/dist-cjs/commands/DisassociateApprovedOriginCommand.js +3 -3
  54. package/dist-cjs/commands/DisassociateBotCommand.js +3 -3
  55. package/dist-cjs/commands/DisassociateInstanceStorageConfigCommand.js +3 -3
  56. package/dist-cjs/commands/DisassociateLambdaFunctionCommand.js +3 -3
  57. package/dist-cjs/commands/DisassociateLexBotCommand.js +3 -3
  58. package/dist-cjs/commands/DisassociateQueueQuickConnectsCommand.js +3 -3
  59. package/dist-cjs/commands/DisassociateRoutingProfileQueuesCommand.js +3 -3
  60. package/dist-cjs/commands/DisassociateSecurityKeyCommand.js +3 -3
  61. package/dist-cjs/commands/GetContactAttributesCommand.js +3 -3
  62. package/dist-cjs/commands/GetCurrentMetricDataCommand.js +3 -3
  63. package/dist-cjs/commands/GetFederationTokenCommand.js +3 -3
  64. package/dist-cjs/commands/GetMetricDataCommand.js +3 -3
  65. package/dist-cjs/commands/ListAgentStatusesCommand.js +3 -3
  66. package/dist-cjs/commands/ListApprovedOriginsCommand.js +3 -3
  67. package/dist-cjs/commands/ListBotsCommand.js +3 -3
  68. package/dist-cjs/commands/ListContactFlowModulesCommand.js +3 -3
  69. package/dist-cjs/commands/ListContactFlowsCommand.js +3 -3
  70. package/dist-cjs/commands/ListContactReferencesCommand.js +3 -3
  71. package/dist-cjs/commands/ListDefaultVocabulariesCommand.js +3 -3
  72. package/dist-cjs/commands/ListHoursOfOperationsCommand.js +3 -3
  73. package/dist-cjs/commands/ListInstanceAttributesCommand.js +3 -3
  74. package/dist-cjs/commands/ListInstanceStorageConfigsCommand.js +3 -3
  75. package/dist-cjs/commands/ListInstancesCommand.js +3 -3
  76. package/dist-cjs/commands/ListIntegrationAssociationsCommand.js +3 -3
  77. package/dist-cjs/commands/ListLambdaFunctionsCommand.js +3 -3
  78. package/dist-cjs/commands/ListLexBotsCommand.js +3 -3
  79. package/dist-cjs/commands/ListPhoneNumbersCommand.js +3 -3
  80. package/dist-cjs/commands/ListPromptsCommand.js +3 -3
  81. package/dist-cjs/commands/ListQueueQuickConnectsCommand.js +3 -3
  82. package/dist-cjs/commands/ListQueuesCommand.js +3 -3
  83. package/dist-cjs/commands/ListQuickConnectsCommand.js +3 -3
  84. package/dist-cjs/commands/ListRoutingProfileQueuesCommand.js +3 -3
  85. package/dist-cjs/commands/ListRoutingProfilesCommand.js +3 -3
  86. package/dist-cjs/commands/ListSecurityKeysCommand.js +3 -3
  87. package/dist-cjs/commands/ListSecurityProfilePermissionsCommand.js +3 -3
  88. package/dist-cjs/commands/ListSecurityProfilesCommand.js +3 -3
  89. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  90. package/dist-cjs/commands/ListUseCasesCommand.js +3 -3
  91. package/dist-cjs/commands/ListUserHierarchyGroupsCommand.js +3 -3
  92. package/dist-cjs/commands/ListUsersCommand.js +3 -3
  93. package/dist-cjs/commands/ResumeContactRecordingCommand.js +3 -3
  94. package/dist-cjs/commands/SearchVocabulariesCommand.js +3 -3
  95. package/dist-cjs/commands/StartChatContactCommand.js +3 -3
  96. package/dist-cjs/commands/StartContactRecordingCommand.js +3 -3
  97. package/dist-cjs/commands/StartContactStreamingCommand.js +3 -3
  98. package/dist-cjs/commands/StartOutboundVoiceContactCommand.js +3 -3
  99. package/dist-cjs/commands/StartTaskContactCommand.js +3 -3
  100. package/dist-cjs/commands/StopContactCommand.js +3 -3
  101. package/dist-cjs/commands/StopContactRecordingCommand.js +3 -3
  102. package/dist-cjs/commands/StopContactStreamingCommand.js +3 -3
  103. package/dist-cjs/commands/SuspendContactRecordingCommand.js +3 -3
  104. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  105. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  106. package/dist-cjs/commands/UpdateAgentStatusCommand.js +3 -3
  107. package/dist-cjs/commands/UpdateContactAttributesCommand.js +3 -3
  108. package/dist-cjs/commands/UpdateContactCommand.js +3 -3
  109. package/dist-cjs/commands/UpdateContactFlowContentCommand.js +3 -3
  110. package/dist-cjs/commands/UpdateContactFlowMetadataCommand.js +3 -3
  111. package/dist-cjs/commands/UpdateContactFlowModuleContentCommand.js +3 -3
  112. package/dist-cjs/commands/UpdateContactFlowModuleMetadataCommand.js +3 -3
  113. package/dist-cjs/commands/UpdateContactFlowNameCommand.js +3 -3
  114. package/dist-cjs/commands/UpdateContactScheduleCommand.js +3 -3
  115. package/dist-cjs/commands/UpdateHoursOfOperationCommand.js +3 -3
  116. package/dist-cjs/commands/UpdateInstanceAttributeCommand.js +3 -3
  117. package/dist-cjs/commands/UpdateInstanceStorageConfigCommand.js +3 -3
  118. package/dist-cjs/commands/UpdateQueueHoursOfOperationCommand.js +3 -3
  119. package/dist-cjs/commands/UpdateQueueMaxContactsCommand.js +3 -3
  120. package/dist-cjs/commands/UpdateQueueNameCommand.js +3 -3
  121. package/dist-cjs/commands/UpdateQueueOutboundCallerConfigCommand.js +3 -3
  122. package/dist-cjs/commands/UpdateQueueStatusCommand.js +3 -3
  123. package/dist-cjs/commands/UpdateQuickConnectConfigCommand.js +3 -3
  124. package/dist-cjs/commands/UpdateQuickConnectNameCommand.js +3 -3
  125. package/dist-cjs/commands/UpdateRoutingProfileConcurrencyCommand.js +3 -3
  126. package/dist-cjs/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +3 -3
  127. package/dist-cjs/commands/UpdateRoutingProfileNameCommand.js +3 -3
  128. package/dist-cjs/commands/UpdateRoutingProfileQueuesCommand.js +3 -3
  129. package/dist-cjs/commands/UpdateSecurityProfileCommand.js +3 -3
  130. package/dist-cjs/commands/UpdateUserHierarchyCommand.js +3 -3
  131. package/dist-cjs/commands/UpdateUserHierarchyGroupNameCommand.js +3 -3
  132. package/dist-cjs/commands/UpdateUserHierarchyStructureCommand.js +3 -3
  133. package/dist-cjs/commands/UpdateUserIdentityInfoCommand.js +3 -3
  134. package/dist-cjs/commands/UpdateUserPhoneConfigCommand.js +3 -3
  135. package/dist-cjs/commands/UpdateUserRoutingProfileCommand.js +3 -3
  136. package/dist-cjs/commands/UpdateUserSecurityProfilesCommand.js +3 -3
  137. package/dist-cjs/endpoints.js +1 -1
  138. package/dist-cjs/models/models_0.js +1 -0
  139. package/dist-cjs/protocols/Aws_restJson1.js +765 -751
  140. package/dist-cjs/runtimeConfig.browser.js +4 -4
  141. package/dist-cjs/runtimeConfig.js +9 -9
  142. package/dist-cjs/runtimeConfig.native.js +1 -1
  143. package/dist-es/Connect.js +134 -134
  144. package/dist-es/models/models_0.js +1 -0
  145. package/dist-es/pagination/GetCurrentMetricDataPaginator.js +4 -4
  146. package/dist-es/pagination/GetMetricDataPaginator.js +4 -4
  147. package/dist-es/pagination/ListAgentStatusesPaginator.js +4 -4
  148. package/dist-es/pagination/ListApprovedOriginsPaginator.js +4 -4
  149. package/dist-es/pagination/ListBotsPaginator.js +4 -4
  150. package/dist-es/pagination/ListContactFlowModulesPaginator.js +4 -4
  151. package/dist-es/pagination/ListContactFlowsPaginator.js +4 -4
  152. package/dist-es/pagination/ListContactReferencesPaginator.js +4 -4
  153. package/dist-es/pagination/ListDefaultVocabulariesPaginator.js +4 -4
  154. package/dist-es/pagination/ListHoursOfOperationsPaginator.js +4 -4
  155. package/dist-es/pagination/ListInstanceAttributesPaginator.js +4 -4
  156. package/dist-es/pagination/ListInstanceStorageConfigsPaginator.js +4 -4
  157. package/dist-es/pagination/ListInstancesPaginator.js +4 -4
  158. package/dist-es/pagination/ListIntegrationAssociationsPaginator.js +4 -4
  159. package/dist-es/pagination/ListLambdaFunctionsPaginator.js +4 -4
  160. package/dist-es/pagination/ListLexBotsPaginator.js +4 -4
  161. package/dist-es/pagination/ListPhoneNumbersPaginator.js +4 -4
  162. package/dist-es/pagination/ListPromptsPaginator.js +4 -4
  163. package/dist-es/pagination/ListQueueQuickConnectsPaginator.js +4 -4
  164. package/dist-es/pagination/ListQueuesPaginator.js +4 -4
  165. package/dist-es/pagination/ListQuickConnectsPaginator.js +4 -4
  166. package/dist-es/pagination/ListRoutingProfileQueuesPaginator.js +4 -4
  167. package/dist-es/pagination/ListRoutingProfilesPaginator.js +4 -4
  168. package/dist-es/pagination/ListSecurityKeysPaginator.js +4 -4
  169. package/dist-es/pagination/ListSecurityProfilePermissionsPaginator.js +4 -4
  170. package/dist-es/pagination/ListSecurityProfilesPaginator.js +4 -4
  171. package/dist-es/pagination/ListUseCasesPaginator.js +4 -4
  172. package/dist-es/pagination/ListUserHierarchyGroupsPaginator.js +4 -4
  173. package/dist-es/pagination/ListUsersPaginator.js +4 -4
  174. package/dist-es/pagination/SearchVocabulariesPaginator.js +4 -4
  175. package/dist-es/protocols/Aws_restJson1.js +148 -135
  176. package/dist-types/Connect.d.ts +26 -2
  177. package/dist-types/ConnectClient.d.ts +2 -2
  178. package/dist-types/commands/StartContactRecordingCommand.d.ts +11 -1
  179. package/dist-types/commands/StopContactCommand.d.ts +15 -1
  180. package/dist-types/models/models_0.d.ts +6 -1
  181. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  182. package/dist-types/runtimeConfig.d.ts +1 -1
  183. package/dist-types/runtimeConfig.native.d.ts +3 -3
  184. package/dist-types/ts3.4/ConnectClient.d.ts +2 -2
  185. package/dist-types/ts3.4/models/models_0.d.ts +3 -0
  186. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  187. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  188. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  189. package/package.json +34 -34
@@ -864,7 +864,17 @@ export declare class Connect extends ConnectClient {
864
864
  startChatContact(args: StartChatContactCommandInput, cb: (err: any, data?: StartChatContactCommandOutput) => void): void;
865
865
  startChatContact(args: StartChatContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartChatContactCommandOutput) => void): void;
866
866
  /**
867
- * <p>Starts recording the contact when the agent joins the call. StartContactRecording is a
867
+ * <p>Starts recording the contact: </p>
868
+ * <ul>
869
+ * <li>
870
+ * <p>If the API is called <i>before</i> the agent joins the call, recording starts when the agent joins the call.</p>
871
+ * </li>
872
+ * <li>
873
+ * <p>If the API is called <i>after</i> the agent joins the call, recording starts at the time of the API call.</p>
874
+ * </li>
875
+ * </ul>
876
+ *
877
+ * <p>StartContactRecording is a
868
878
  * one-time action. For example, if you use StopContactRecording to stop recording an ongoing call,
869
879
  * you can't use StartContactRecording to restart it. For scenarios where the recording has started
870
880
  * and you want to suspend and resume it, such as when collecting sensitive information (for
@@ -916,7 +926,21 @@ export declare class Connect extends ConnectClient {
916
926
  startTaskContact(args: StartTaskContactCommandInput, cb: (err: any, data?: StartTaskContactCommandOutput) => void): void;
917
927
  startTaskContact(args: StartTaskContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTaskContactCommandOutput) => void): void;
918
928
  /**
919
- * <p>Ends the specified contact.</p>
929
+ * <p>Ends the specified contact. This call does not work for the following initiation methods:</p>
930
+ * <ul>
931
+ * <li>
932
+ * <p>CALLBACK</p>
933
+ * </li>
934
+ * <li>
935
+ * <p>DISCONNECT</p>
936
+ * </li>
937
+ * <li>
938
+ * <p>TRANSFER</p>
939
+ * </li>
940
+ * <li>
941
+ * <p>QUEUE_TRANSFER</p>
942
+ * </li>
943
+ * </ul>
920
944
  */
921
945
  stopContact(args: StopContactCommandInput, options?: __HttpHandlerOptions): Promise<StopContactCommandOutput>;
922
946
  stopContact(args: StopContactCommandInput, cb: (err: any, data?: StopContactCommandOutput) => void): void;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociateApprovedOriginCommandInput, AssociateApprovedOriginCommandOutput } from "./commands/AssociateApprovedOriginCommand";
10
10
  import { AssociateBotCommandInput, AssociateBotCommandOutput } from "./commands/AssociateBotCommand";
11
11
  import { AssociateDefaultVocabularyCommandInput, AssociateDefaultVocabularyCommandOutput } from "./commands/AssociateDefaultVocabularyCommand";
@@ -162,7 +162,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
162
162
  * A function that can calculate the length of a request body.
163
163
  * @internal
164
164
  */
165
- bodyLengthChecker?: (body: any) => number | undefined;
165
+ bodyLengthChecker?: __BodyLengthCalculator;
166
166
  /**
167
167
  * A function that converts a stream into an array of bytes.
168
168
  * @internal
@@ -7,7 +7,17 @@ export interface StartContactRecordingCommandInput extends StartContactRecording
7
7
  export interface StartContactRecordingCommandOutput extends StartContactRecordingResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Starts recording the contact when the agent joins the call. StartContactRecording is a
10
+ * <p>Starts recording the contact: </p>
11
+ * <ul>
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>
14
+ * </li>
15
+ * <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
+ * </li>
18
+ * </ul>
19
+ *
20
+ * <p>StartContactRecording is a
11
21
  * one-time action. For example, if you use StopContactRecording to stop recording an ongoing call,
12
22
  * you can't use StartContactRecording to restart it. For scenarios where the recording has started
13
23
  * and you want to suspend and resume it, such as when collecting sensitive information (for
@@ -7,7 +7,21 @@ export interface StopContactCommandInput extends StopContactRequest {
7
7
  export interface StopContactCommandOutput extends StopContactResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Ends the specified contact.</p>
10
+ * <p>Ends the specified contact. This call does not work for the following initiation methods:</p>
11
+ * <ul>
12
+ * <li>
13
+ * <p>CALLBACK</p>
14
+ * </li>
15
+ * <li>
16
+ * <p>DISCONNECT</p>
17
+ * </li>
18
+ * <li>
19
+ * <p>TRANSFER</p>
20
+ * </li>
21
+ * <li>
22
+ * <p>QUEUE_TRANSFER</p>
23
+ * </li>
24
+ * </ul>
11
25
  * @example
12
26
  * Use a bare-bones client and the command you need to make an API call.
13
27
  * ```javascript
@@ -352,6 +352,7 @@ export declare enum InstanceStorageResourceType {
352
352
  CHAT_TRANSCRIPTS = "CHAT_TRANSCRIPTS",
353
353
  CONTACT_TRACE_RECORDS = "CONTACT_TRACE_RECORDS",
354
354
  MEDIA_STREAMS = "MEDIA_STREAMS",
355
+ REAL_TIME_CONTACT_ANALYSIS_SEGMENTS = "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS",
355
356
  SCHEDULED_REPORTS = "SCHEDULED_REPORTS"
356
357
  }
357
358
  /**
@@ -6159,7 +6160,7 @@ export declare namespace SearchVocabulariesResponse {
6159
6160
  */
6160
6161
  export interface ChatMessage {
6161
6162
  /**
6162
- * <p>The type of the content. Supported types are text and plain.</p>
6163
+ * <p>The type of the content. Supported types are <code>text/plain</code>.</p>
6163
6164
  */
6164
6165
  ContentType: string | undefined;
6165
6166
  /**
@@ -6230,6 +6231,10 @@ export interface StartChatContactRequest {
6230
6231
  * The minumum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes (7 days).</p>
6231
6232
  */
6232
6233
  ChatDurationInMinutes?: number;
6234
+ /**
6235
+ * <p>The supported chat message content types. Content types can be text/plain or both text/plain and text/markdown.</p>
6236
+ */
6237
+ SupportedMessagingContentTypes?: string[];
6233
6238
  }
6234
6239
  export declare namespace StartChatContactRequest {
6235
6240
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociateApprovedOriginCommandInput, AssociateApprovedOriginCommandOutput } from "./commands/AssociateApprovedOriginCommand";
10
10
  import { AssociateBotCommandInput, AssociateBotCommandOutput } from "./commands/AssociateBotCommand";
11
11
  import { AssociateDefaultVocabularyCommandInput, AssociateDefaultVocabularyCommandOutput } from "./commands/AssociateDefaultVocabularyCommand";
@@ -150,7 +150,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
150
150
 
151
151
  urlParser?: __UrlParser;
152
152
 
153
- bodyLengthChecker?: (body: any) => number | undefined;
153
+ bodyLengthChecker?: __BodyLengthCalculator;
154
154
 
155
155
  streamCollector?: __StreamCollector;
156
156
 
@@ -226,6 +226,7 @@ export declare enum InstanceStorageResourceType {
226
226
  CHAT_TRANSCRIPTS = "CHAT_TRANSCRIPTS",
227
227
  CONTACT_TRACE_RECORDS = "CONTACT_TRACE_RECORDS",
228
228
  MEDIA_STREAMS = "MEDIA_STREAMS",
229
+ REAL_TIME_CONTACT_ANALYSIS_SEGMENTS = "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS",
229
230
  SCHEDULED_REPORTS = "SCHEDULED_REPORTS"
230
231
  }
231
232
 
@@ -3652,6 +3653,8 @@ export interface StartChatContactRequest {
3652
3653
  ClientToken?: string;
3653
3654
 
3654
3655
  ChatDurationInMinutes?: number;
3656
+
3657
+ SupportedMessagingContentTypes?: string[];
3655
3658
  }
3656
3659
  export declare namespace StartChatContactRequest {
3657
3660
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.53.0",
4
+ "version": "3.55.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,41 +18,41 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.53.0",
22
- "@aws-sdk/config-resolver": "3.53.0",
23
- "@aws-sdk/credential-provider-node": "3.53.0",
24
- "@aws-sdk/fetch-http-handler": "3.53.0",
25
- "@aws-sdk/hash-node": "3.53.0",
26
- "@aws-sdk/invalid-dependency": "3.53.0",
27
- "@aws-sdk/middleware-content-length": "3.53.0",
28
- "@aws-sdk/middleware-host-header": "3.53.0",
29
- "@aws-sdk/middleware-logger": "3.53.0",
30
- "@aws-sdk/middleware-retry": "3.53.0",
31
- "@aws-sdk/middleware-serde": "3.53.0",
32
- "@aws-sdk/middleware-signing": "3.53.0",
33
- "@aws-sdk/middleware-stack": "3.53.0",
34
- "@aws-sdk/middleware-user-agent": "3.53.0",
35
- "@aws-sdk/node-config-provider": "3.53.0",
36
- "@aws-sdk/node-http-handler": "3.53.0",
37
- "@aws-sdk/protocol-http": "3.53.0",
38
- "@aws-sdk/smithy-client": "3.53.0",
39
- "@aws-sdk/types": "3.53.0",
40
- "@aws-sdk/url-parser": "3.53.0",
41
- "@aws-sdk/util-base64-browser": "3.52.0",
42
- "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.52.0",
44
- "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
- "@aws-sdk/util-user-agent-browser": "3.53.0",
48
- "@aws-sdk/util-user-agent-node": "3.53.0",
49
- "@aws-sdk/util-utf8-browser": "3.52.0",
50
- "@aws-sdk/util-utf8-node": "3.52.0",
51
- "tslib": "^2.3.0",
21
+ "@aws-sdk/client-sts": "3.55.0",
22
+ "@aws-sdk/config-resolver": "3.55.0",
23
+ "@aws-sdk/credential-provider-node": "3.55.0",
24
+ "@aws-sdk/fetch-http-handler": "3.55.0",
25
+ "@aws-sdk/hash-node": "3.55.0",
26
+ "@aws-sdk/invalid-dependency": "3.55.0",
27
+ "@aws-sdk/middleware-content-length": "3.55.0",
28
+ "@aws-sdk/middleware-host-header": "3.55.0",
29
+ "@aws-sdk/middleware-logger": "3.55.0",
30
+ "@aws-sdk/middleware-retry": "3.55.0",
31
+ "@aws-sdk/middleware-serde": "3.55.0",
32
+ "@aws-sdk/middleware-signing": "3.55.0",
33
+ "@aws-sdk/middleware-stack": "3.55.0",
34
+ "@aws-sdk/middleware-user-agent": "3.55.0",
35
+ "@aws-sdk/node-config-provider": "3.55.0",
36
+ "@aws-sdk/node-http-handler": "3.55.0",
37
+ "@aws-sdk/protocol-http": "3.55.0",
38
+ "@aws-sdk/smithy-client": "3.55.0",
39
+ "@aws-sdk/types": "3.55.0",
40
+ "@aws-sdk/url-parser": "3.55.0",
41
+ "@aws-sdk/util-base64-browser": "3.55.0",
42
+ "@aws-sdk/util-base64-node": "3.55.0",
43
+ "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-node": "3.55.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.55.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.55.0",
48
+ "@aws-sdk/util-user-agent-node": "3.55.0",
49
+ "@aws-sdk/util-utf8-browser": "3.55.0",
50
+ "@aws-sdk/util-utf8-node": "3.55.0",
51
+ "tslib": "^2.3.1",
52
52
  "uuid": "^8.3.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.52.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.55.0",
56
56
  "@tsconfig/recommended": "1.0.1",
57
57
  "@types/node": "^12.7.5",
58
58
  "@types/uuid": "^8.3.0",
@@ -60,7 +60,7 @@
60
60
  "downlevel-dts": "0.7.0",
61
61
  "rimraf": "3.0.2",
62
62
  "typedoc": "0.19.2",
63
- "typescript": "~4.3.5"
63
+ "typescript": "~4.6.2"
64
64
  },
65
65
  "engines": {
66
66
  "node": ">=12.0.0"