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