@aws-sdk/client-connect 3.185.0 → 3.188.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 (208) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +4 -0
  3. package/dist-es/Connect.js +618 -625
  4. package/dist-es/ConnectClient.js +22 -28
  5. package/dist-es/commands/AssociateApprovedOriginCommand.js +22 -29
  6. package/dist-es/commands/AssociateBotCommand.js +22 -29
  7. package/dist-es/commands/AssociateDefaultVocabularyCommand.js +21 -28
  8. package/dist-es/commands/AssociateInstanceStorageConfigCommand.js +21 -28
  9. package/dist-es/commands/AssociateLambdaFunctionCommand.js +22 -29
  10. package/dist-es/commands/AssociateLexBotCommand.js +22 -29
  11. package/dist-es/commands/AssociatePhoneNumberContactFlowCommand.js +22 -29
  12. package/dist-es/commands/AssociateQueueQuickConnectsCommand.js +22 -29
  13. package/dist-es/commands/AssociateRoutingProfileQueuesCommand.js +22 -29
  14. package/dist-es/commands/AssociateSecurityKeyCommand.js +21 -28
  15. package/dist-es/commands/ClaimPhoneNumberCommand.js +21 -28
  16. package/dist-es/commands/CreateAgentStatusCommand.js +21 -28
  17. package/dist-es/commands/CreateContactFlowCommand.js +21 -28
  18. package/dist-es/commands/CreateContactFlowModuleCommand.js +21 -28
  19. package/dist-es/commands/CreateHoursOfOperationCommand.js +21 -28
  20. package/dist-es/commands/CreateInstanceCommand.js +21 -28
  21. package/dist-es/commands/CreateIntegrationAssociationCommand.js +21 -28
  22. package/dist-es/commands/CreateQueueCommand.js +21 -28
  23. package/dist-es/commands/CreateQuickConnectCommand.js +21 -28
  24. package/dist-es/commands/CreateRoutingProfileCommand.js +21 -28
  25. package/dist-es/commands/CreateSecurityProfileCommand.js +21 -28
  26. package/dist-es/commands/CreateTaskTemplateCommand.js +21 -28
  27. package/dist-es/commands/CreateUseCaseCommand.js +21 -28
  28. package/dist-es/commands/CreateUserCommand.js +21 -28
  29. package/dist-es/commands/CreateUserHierarchyGroupCommand.js +21 -28
  30. package/dist-es/commands/CreateVocabularyCommand.js +21 -28
  31. package/dist-es/commands/DeleteContactFlowCommand.js +22 -29
  32. package/dist-es/commands/DeleteContactFlowModuleCommand.js +21 -28
  33. package/dist-es/commands/DeleteHoursOfOperationCommand.js +22 -29
  34. package/dist-es/commands/DeleteInstanceCommand.js +22 -29
  35. package/dist-es/commands/DeleteIntegrationAssociationCommand.js +22 -29
  36. package/dist-es/commands/DeleteQuickConnectCommand.js +22 -29
  37. package/dist-es/commands/DeleteSecurityProfileCommand.js +22 -29
  38. package/dist-es/commands/DeleteTaskTemplateCommand.js +21 -28
  39. package/dist-es/commands/DeleteUseCaseCommand.js +22 -29
  40. package/dist-es/commands/DeleteUserCommand.js +22 -29
  41. package/dist-es/commands/DeleteUserHierarchyGroupCommand.js +22 -29
  42. package/dist-es/commands/DeleteVocabularyCommand.js +21 -28
  43. package/dist-es/commands/DescribeAgentStatusCommand.js +21 -28
  44. package/dist-es/commands/DescribeContactCommand.js +21 -28
  45. package/dist-es/commands/DescribeContactFlowCommand.js +21 -28
  46. package/dist-es/commands/DescribeContactFlowModuleCommand.js +21 -28
  47. package/dist-es/commands/DescribeHoursOfOperationCommand.js +21 -28
  48. package/dist-es/commands/DescribeInstanceAttributeCommand.js +21 -28
  49. package/dist-es/commands/DescribeInstanceCommand.js +21 -28
  50. package/dist-es/commands/DescribeInstanceStorageConfigCommand.js +21 -28
  51. package/dist-es/commands/DescribePhoneNumberCommand.js +21 -28
  52. package/dist-es/commands/DescribeQueueCommand.js +21 -28
  53. package/dist-es/commands/DescribeQuickConnectCommand.js +21 -28
  54. package/dist-es/commands/DescribeRoutingProfileCommand.js +21 -28
  55. package/dist-es/commands/DescribeSecurityProfileCommand.js +21 -28
  56. package/dist-es/commands/DescribeUserCommand.js +21 -28
  57. package/dist-es/commands/DescribeUserHierarchyGroupCommand.js +21 -28
  58. package/dist-es/commands/DescribeUserHierarchyStructureCommand.js +21 -28
  59. package/dist-es/commands/DescribeVocabularyCommand.js +21 -28
  60. package/dist-es/commands/DisassociateApprovedOriginCommand.js +22 -29
  61. package/dist-es/commands/DisassociateBotCommand.js +22 -29
  62. package/dist-es/commands/DisassociateInstanceStorageConfigCommand.js +22 -29
  63. package/dist-es/commands/DisassociateLambdaFunctionCommand.js +22 -29
  64. package/dist-es/commands/DisassociateLexBotCommand.js +22 -29
  65. package/dist-es/commands/DisassociatePhoneNumberContactFlowCommand.js +22 -29
  66. package/dist-es/commands/DisassociateQueueQuickConnectsCommand.js +22 -29
  67. package/dist-es/commands/DisassociateRoutingProfileQueuesCommand.js +22 -29
  68. package/dist-es/commands/DisassociateSecurityKeyCommand.js +22 -29
  69. package/dist-es/commands/GetContactAttributesCommand.js +21 -28
  70. package/dist-es/commands/GetCurrentMetricDataCommand.js +21 -28
  71. package/dist-es/commands/GetCurrentUserDataCommand.js +21 -28
  72. package/dist-es/commands/GetFederationTokenCommand.js +21 -28
  73. package/dist-es/commands/GetMetricDataCommand.js +21 -28
  74. package/dist-es/commands/GetTaskTemplateCommand.js +21 -28
  75. package/dist-es/commands/ListAgentStatusesCommand.js +21 -28
  76. package/dist-es/commands/ListApprovedOriginsCommand.js +21 -28
  77. package/dist-es/commands/ListBotsCommand.js +21 -28
  78. package/dist-es/commands/ListContactFlowModulesCommand.js +21 -28
  79. package/dist-es/commands/ListContactFlowsCommand.js +21 -28
  80. package/dist-es/commands/ListContactReferencesCommand.js +21 -28
  81. package/dist-es/commands/ListDefaultVocabulariesCommand.js +21 -28
  82. package/dist-es/commands/ListHoursOfOperationsCommand.js +21 -28
  83. package/dist-es/commands/ListInstanceAttributesCommand.js +21 -28
  84. package/dist-es/commands/ListInstanceStorageConfigsCommand.js +21 -28
  85. package/dist-es/commands/ListInstancesCommand.js +21 -28
  86. package/dist-es/commands/ListIntegrationAssociationsCommand.js +21 -28
  87. package/dist-es/commands/ListLambdaFunctionsCommand.js +21 -28
  88. package/dist-es/commands/ListLexBotsCommand.js +21 -28
  89. package/dist-es/commands/ListPhoneNumbersCommand.js +21 -28
  90. package/dist-es/commands/ListPhoneNumbersV2Command.js +21 -28
  91. package/dist-es/commands/ListPromptsCommand.js +21 -28
  92. package/dist-es/commands/ListQueueQuickConnectsCommand.js +21 -28
  93. package/dist-es/commands/ListQueuesCommand.js +21 -28
  94. package/dist-es/commands/ListQuickConnectsCommand.js +21 -28
  95. package/dist-es/commands/ListRoutingProfileQueuesCommand.js +21 -28
  96. package/dist-es/commands/ListRoutingProfilesCommand.js +21 -28
  97. package/dist-es/commands/ListSecurityKeysCommand.js +21 -28
  98. package/dist-es/commands/ListSecurityProfilePermissionsCommand.js +21 -28
  99. package/dist-es/commands/ListSecurityProfilesCommand.js +21 -28
  100. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  101. package/dist-es/commands/ListTaskTemplatesCommand.js +21 -28
  102. package/dist-es/commands/ListUseCasesCommand.js +21 -28
  103. package/dist-es/commands/ListUserHierarchyGroupsCommand.js +21 -28
  104. package/dist-es/commands/ListUsersCommand.js +21 -28
  105. package/dist-es/commands/PutUserStatusCommand.js +21 -28
  106. package/dist-es/commands/ReleasePhoneNumberCommand.js +22 -29
  107. package/dist-es/commands/ResumeContactRecordingCommand.js +21 -28
  108. package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +21 -28
  109. package/dist-es/commands/SearchQueuesCommand.js +21 -28
  110. package/dist-es/commands/SearchRoutingProfilesCommand.js +21 -28
  111. package/dist-es/commands/SearchSecurityProfilesCommand.js +21 -28
  112. package/dist-es/commands/SearchUsersCommand.js +21 -28
  113. package/dist-es/commands/SearchVocabulariesCommand.js +21 -28
  114. package/dist-es/commands/StartChatContactCommand.js +21 -28
  115. package/dist-es/commands/StartContactRecordingCommand.js +21 -28
  116. package/dist-es/commands/StartContactStreamingCommand.js +21 -28
  117. package/dist-es/commands/StartOutboundVoiceContactCommand.js +21 -28
  118. package/dist-es/commands/StartTaskContactCommand.js +21 -28
  119. package/dist-es/commands/StopContactCommand.js +21 -28
  120. package/dist-es/commands/StopContactRecordingCommand.js +21 -28
  121. package/dist-es/commands/StopContactStreamingCommand.js +21 -28
  122. package/dist-es/commands/SuspendContactRecordingCommand.js +21 -28
  123. package/dist-es/commands/TagResourceCommand.js +22 -29
  124. package/dist-es/commands/TransferContactCommand.js +21 -28
  125. package/dist-es/commands/UntagResourceCommand.js +22 -29
  126. package/dist-es/commands/UpdateAgentStatusCommand.js +22 -29
  127. package/dist-es/commands/UpdateContactAttributesCommand.js +21 -28
  128. package/dist-es/commands/UpdateContactCommand.js +21 -28
  129. package/dist-es/commands/UpdateContactFlowContentCommand.js +22 -29
  130. package/dist-es/commands/UpdateContactFlowMetadataCommand.js +22 -29
  131. package/dist-es/commands/UpdateContactFlowModuleContentCommand.js +21 -28
  132. package/dist-es/commands/UpdateContactFlowModuleMetadataCommand.js +21 -28
  133. package/dist-es/commands/UpdateContactFlowNameCommand.js +22 -29
  134. package/dist-es/commands/UpdateContactScheduleCommand.js +21 -28
  135. package/dist-es/commands/UpdateHoursOfOperationCommand.js +22 -29
  136. package/dist-es/commands/UpdateInstanceAttributeCommand.js +22 -29
  137. package/dist-es/commands/UpdateInstanceStorageConfigCommand.js +22 -29
  138. package/dist-es/commands/UpdatePhoneNumberCommand.js +21 -28
  139. package/dist-es/commands/UpdateQueueHoursOfOperationCommand.js +22 -29
  140. package/dist-es/commands/UpdateQueueMaxContactsCommand.js +22 -29
  141. package/dist-es/commands/UpdateQueueNameCommand.js +22 -29
  142. package/dist-es/commands/UpdateQueueOutboundCallerConfigCommand.js +22 -29
  143. package/dist-es/commands/UpdateQueueStatusCommand.js +22 -29
  144. package/dist-es/commands/UpdateQuickConnectConfigCommand.js +22 -29
  145. package/dist-es/commands/UpdateQuickConnectNameCommand.js +22 -29
  146. package/dist-es/commands/UpdateRoutingProfileConcurrencyCommand.js +22 -29
  147. package/dist-es/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +22 -29
  148. package/dist-es/commands/UpdateRoutingProfileNameCommand.js +22 -29
  149. package/dist-es/commands/UpdateRoutingProfileQueuesCommand.js +22 -29
  150. package/dist-es/commands/UpdateSecurityProfileCommand.js +22 -29
  151. package/dist-es/commands/UpdateTaskTemplateCommand.js +21 -28
  152. package/dist-es/commands/UpdateUserHierarchyCommand.js +22 -29
  153. package/dist-es/commands/UpdateUserHierarchyGroupNameCommand.js +22 -29
  154. package/dist-es/commands/UpdateUserHierarchyStructureCommand.js +22 -29
  155. package/dist-es/commands/UpdateUserIdentityInfoCommand.js +22 -29
  156. package/dist-es/commands/UpdateUserPhoneConfigCommand.js +22 -29
  157. package/dist-es/commands/UpdateUserRoutingProfileCommand.js +22 -29
  158. package/dist-es/commands/UpdateUserSecurityProfilesCommand.js +22 -29
  159. package/dist-es/endpoints.js +8 -8
  160. package/dist-es/models/ConnectServiceException.js +5 -10
  161. package/dist-es/models/models_0.js +949 -458
  162. package/dist-es/models/models_1.js +444 -173
  163. package/dist-es/pagination/GetCurrentMetricDataPaginator.js +25 -68
  164. package/dist-es/pagination/GetCurrentUserDataPaginator.js +25 -68
  165. package/dist-es/pagination/GetMetricDataPaginator.js +25 -68
  166. package/dist-es/pagination/ListAgentStatusesPaginator.js +25 -68
  167. package/dist-es/pagination/ListApprovedOriginsPaginator.js +25 -68
  168. package/dist-es/pagination/ListBotsPaginator.js +25 -68
  169. package/dist-es/pagination/ListContactFlowModulesPaginator.js +25 -68
  170. package/dist-es/pagination/ListContactFlowsPaginator.js +25 -68
  171. package/dist-es/pagination/ListContactReferencesPaginator.js +24 -67
  172. package/dist-es/pagination/ListDefaultVocabulariesPaginator.js +25 -68
  173. package/dist-es/pagination/ListHoursOfOperationsPaginator.js +25 -68
  174. package/dist-es/pagination/ListInstanceAttributesPaginator.js +25 -68
  175. package/dist-es/pagination/ListInstanceStorageConfigsPaginator.js +25 -68
  176. package/dist-es/pagination/ListInstancesPaginator.js +25 -68
  177. package/dist-es/pagination/ListIntegrationAssociationsPaginator.js +25 -68
  178. package/dist-es/pagination/ListLambdaFunctionsPaginator.js +25 -68
  179. package/dist-es/pagination/ListLexBotsPaginator.js +25 -68
  180. package/dist-es/pagination/ListPhoneNumbersPaginator.js +25 -68
  181. package/dist-es/pagination/ListPhoneNumbersV2Paginator.js +25 -68
  182. package/dist-es/pagination/ListPromptsPaginator.js +25 -68
  183. package/dist-es/pagination/ListQueueQuickConnectsPaginator.js +25 -68
  184. package/dist-es/pagination/ListQueuesPaginator.js +25 -68
  185. package/dist-es/pagination/ListQuickConnectsPaginator.js +25 -68
  186. package/dist-es/pagination/ListRoutingProfileQueuesPaginator.js +25 -68
  187. package/dist-es/pagination/ListRoutingProfilesPaginator.js +25 -68
  188. package/dist-es/pagination/ListSecurityKeysPaginator.js +25 -68
  189. package/dist-es/pagination/ListSecurityProfilePermissionsPaginator.js +25 -68
  190. package/dist-es/pagination/ListSecurityProfilesPaginator.js +25 -68
  191. package/dist-es/pagination/ListTaskTemplatesPaginator.js +25 -68
  192. package/dist-es/pagination/ListUseCasesPaginator.js +25 -68
  193. package/dist-es/pagination/ListUserHierarchyGroupsPaginator.js +25 -68
  194. package/dist-es/pagination/ListUsersPaginator.js +25 -68
  195. package/dist-es/pagination/SearchAvailablePhoneNumbersPaginator.js +25 -68
  196. package/dist-es/pagination/SearchQueuesPaginator.js +25 -68
  197. package/dist-es/pagination/SearchRoutingProfilesPaginator.js +25 -68
  198. package/dist-es/pagination/SearchSecurityProfilesPaginator.js +25 -68
  199. package/dist-es/pagination/SearchUsersPaginator.js +25 -68
  200. package/dist-es/pagination/SearchVocabulariesPaginator.js +25 -68
  201. package/dist-es/protocols/Aws_restJson1.js +11525 -15998
  202. package/dist-es/runtimeConfig.browser.js +26 -12
  203. package/dist-es/runtimeConfig.js +30 -12
  204. package/dist-es/runtimeConfig.native.js +8 -5
  205. package/dist-es/runtimeConfig.shared.js +8 -11
  206. package/dist-types/models/models_0.d.ts +10 -0
  207. package/dist-types/ts3.4/models/models_0.d.ts +2 -0
  208. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeContactRequestFilterSensitiveLog, DescribeContactResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeContactCommand, serializeAws_restJson1DescribeContactCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeContactCommand = (function (_super) {
7
- __extends(DescribeContactCommand, _super);
8
- function DescribeContactCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeContactCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeContactCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ConnectClient";
18
- var commandName = "DescribeContactCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectClient";
15
+ const commandName = "DescribeContactCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeContactRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeContactResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeContactCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeContactCommand(input, context);
33
- };
34
- DescribeContactCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeContactCommand(output, context);
36
- };
37
- return DescribeContactCommand;
38
- }($Command));
39
- export { DescribeContactCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeContactFlowRequestFilterSensitiveLog, DescribeContactFlowResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeContactFlowCommand, serializeAws_restJson1DescribeContactFlowCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeContactFlowCommand = (function (_super) {
7
- __extends(DescribeContactFlowCommand, _super);
8
- function DescribeContactFlowCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeContactFlowCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeContactFlowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ConnectClient";
18
- var commandName = "DescribeContactFlowCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectClient";
15
+ const commandName = "DescribeContactFlowCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeContactFlowRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeContactFlowResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeContactFlowCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeContactFlowCommand(input, context);
33
- };
34
- DescribeContactFlowCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeContactFlowCommand(output, context);
36
- };
37
- return DescribeContactFlowCommand;
38
- }($Command));
39
- export { DescribeContactFlowCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeContactFlowModuleRequestFilterSensitiveLog, DescribeContactFlowModuleResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeContactFlowModuleCommand, serializeAws_restJson1DescribeContactFlowModuleCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeContactFlowModuleCommand = (function (_super) {
7
- __extends(DescribeContactFlowModuleCommand, _super);
8
- function DescribeContactFlowModuleCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeContactFlowModuleCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeContactFlowModuleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ConnectClient";
18
- var commandName = "DescribeContactFlowModuleCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectClient";
15
+ const commandName = "DescribeContactFlowModuleCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeContactFlowModuleRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeContactFlowModuleResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeContactFlowModuleCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeContactFlowModuleCommand(input, context);
33
- };
34
- DescribeContactFlowModuleCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeContactFlowModuleCommand(output, context);
36
- };
37
- return DescribeContactFlowModuleCommand;
38
- }($Command));
39
- export { DescribeContactFlowModuleCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeHoursOfOperationRequestFilterSensitiveLog, DescribeHoursOfOperationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeHoursOfOperationCommand, serializeAws_restJson1DescribeHoursOfOperationCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeHoursOfOperationCommand = (function (_super) {
7
- __extends(DescribeHoursOfOperationCommand, _super);
8
- function DescribeHoursOfOperationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeHoursOfOperationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeHoursOfOperationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ConnectClient";
18
- var commandName = "DescribeHoursOfOperationCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectClient";
15
+ const commandName = "DescribeHoursOfOperationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeHoursOfOperationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeHoursOfOperationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeHoursOfOperationCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeHoursOfOperationCommand(input, context);
33
- };
34
- DescribeHoursOfOperationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeHoursOfOperationCommand(output, context);
36
- };
37
- return DescribeHoursOfOperationCommand;
38
- }($Command));
39
- export { DescribeHoursOfOperationCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeInstanceAttributeRequestFilterSensitiveLog, DescribeInstanceAttributeResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeInstanceAttributeCommand, serializeAws_restJson1DescribeInstanceAttributeCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeInstanceAttributeCommand = (function (_super) {
7
- __extends(DescribeInstanceAttributeCommand, _super);
8
- function DescribeInstanceAttributeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeInstanceAttributeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeInstanceAttributeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ConnectClient";
18
- var commandName = "DescribeInstanceAttributeCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectClient";
15
+ const commandName = "DescribeInstanceAttributeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeInstanceAttributeRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeInstanceAttributeResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeInstanceAttributeCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeInstanceAttributeCommand(input, context);
33
- };
34
- DescribeInstanceAttributeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeInstanceAttributeCommand(output, context);
36
- };
37
- return DescribeInstanceAttributeCommand;
38
- }($Command));
39
- export { DescribeInstanceAttributeCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeInstanceRequestFilterSensitiveLog, DescribeInstanceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeInstanceCommand, serializeAws_restJson1DescribeInstanceCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeInstanceCommand = (function (_super) {
7
- __extends(DescribeInstanceCommand, _super);
8
- function DescribeInstanceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeInstanceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeInstanceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ConnectClient";
18
- var commandName = "DescribeInstanceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectClient";
15
+ const commandName = "DescribeInstanceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeInstanceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeInstanceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeInstanceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeInstanceCommand(input, context);
33
- };
34
- DescribeInstanceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeInstanceCommand(output, context);
36
- };
37
- return DescribeInstanceCommand;
38
- }($Command));
39
- export { DescribeInstanceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeInstanceStorageConfigRequestFilterSensitiveLog, DescribeInstanceStorageConfigResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeInstanceStorageConfigCommand, serializeAws_restJson1DescribeInstanceStorageConfigCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeInstanceStorageConfigCommand = (function (_super) {
7
- __extends(DescribeInstanceStorageConfigCommand, _super);
8
- function DescribeInstanceStorageConfigCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeInstanceStorageConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeInstanceStorageConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ConnectClient";
18
- var commandName = "DescribeInstanceStorageConfigCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectClient";
15
+ const commandName = "DescribeInstanceStorageConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeInstanceStorageConfigRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeInstanceStorageConfigResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeInstanceStorageConfigCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeInstanceStorageConfigCommand(input, context);
33
- };
34
- DescribeInstanceStorageConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeInstanceStorageConfigCommand(output, context);
36
- };
37
- return DescribeInstanceStorageConfigCommand;
38
- }($Command));
39
- export { DescribeInstanceStorageConfigCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribePhoneNumberRequestFilterSensitiveLog, DescribePhoneNumberResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribePhoneNumberCommand, serializeAws_restJson1DescribePhoneNumberCommand, } from "../protocols/Aws_restJson1";
6
- var DescribePhoneNumberCommand = (function (_super) {
7
- __extends(DescribePhoneNumberCommand, _super);
8
- function DescribePhoneNumberCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribePhoneNumberCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribePhoneNumberCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ConnectClient";
18
- var commandName = "DescribePhoneNumberCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectClient";
15
+ const commandName = "DescribePhoneNumberCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribePhoneNumberRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribePhoneNumberResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribePhoneNumberCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribePhoneNumberCommand(input, context);
33
- };
34
- DescribePhoneNumberCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribePhoneNumberCommand(output, context);
36
- };
37
- return DescribePhoneNumberCommand;
38
- }($Command));
39
- export { DescribePhoneNumberCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeQueueRequestFilterSensitiveLog, DescribeQueueResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeQueueCommand, serializeAws_restJson1DescribeQueueCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeQueueCommand = (function (_super) {
7
- __extends(DescribeQueueCommand, _super);
8
- function DescribeQueueCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeQueueCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeQueueCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ConnectClient";
18
- var commandName = "DescribeQueueCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectClient";
15
+ const commandName = "DescribeQueueCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeQueueRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeQueueResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeQueueCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeQueueCommand(input, context);
33
- };
34
- DescribeQueueCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeQueueCommand(output, context);
36
- };
37
- return DescribeQueueCommand;
38
- }($Command));
39
- export { DescribeQueueCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeQuickConnectRequestFilterSensitiveLog, DescribeQuickConnectResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeQuickConnectCommand, serializeAws_restJson1DescribeQuickConnectCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeQuickConnectCommand = (function (_super) {
7
- __extends(DescribeQuickConnectCommand, _super);
8
- function DescribeQuickConnectCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeQuickConnectCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeQuickConnectCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ConnectClient";
18
- var commandName = "DescribeQuickConnectCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectClient";
15
+ const commandName = "DescribeQuickConnectCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeQuickConnectRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeQuickConnectResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeQuickConnectCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeQuickConnectCommand(input, context);
33
- };
34
- DescribeQuickConnectCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeQuickConnectCommand(output, context);
36
- };
37
- return DescribeQuickConnectCommand;
38
- }($Command));
39
- export { DescribeQuickConnectCommand };
31
+ }
32
+ }