@aws-sdk/client-connect 3.398.0 → 3.408.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 (144) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/Connect.js +18 -0
  3. package/dist-cjs/commands/CreateViewCommand.js +47 -0
  4. package/dist-cjs/commands/CreateViewVersionCommand.js +47 -0
  5. package/dist-cjs/commands/DeleteViewCommand.js +46 -0
  6. package/dist-cjs/commands/DeleteViewVersionCommand.js +46 -0
  7. package/dist-cjs/commands/DescribeViewCommand.js +47 -0
  8. package/dist-cjs/commands/ListViewVersionsCommand.js +47 -0
  9. package/dist-cjs/commands/ListViewsCommand.js +47 -0
  10. package/dist-cjs/commands/UpdateViewContentCommand.js +47 -0
  11. package/dist-cjs/commands/UpdateViewMetadataCommand.js +47 -0
  12. package/dist-cjs/commands/index.js +9 -0
  13. package/dist-cjs/models/models_0.js +66 -6
  14. package/dist-cjs/models/models_1.js +25 -1
  15. package/dist-cjs/models/models_2.js +18 -1
  16. package/dist-cjs/pagination/ListViewVersionsPaginator.js +29 -0
  17. package/dist-cjs/pagination/ListViewsPaginator.js +29 -0
  18. package/dist-cjs/pagination/index.js +2 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +713 -20
  20. package/dist-es/Connect.js +18 -0
  21. package/dist-es/commands/CreateViewCommand.js +43 -0
  22. package/dist-es/commands/CreateViewVersionCommand.js +43 -0
  23. package/dist-es/commands/DeleteViewCommand.js +42 -0
  24. package/dist-es/commands/DeleteViewVersionCommand.js +42 -0
  25. package/dist-es/commands/DescribeViewCommand.js +43 -0
  26. package/dist-es/commands/ListViewVersionsCommand.js +43 -0
  27. package/dist-es/commands/ListViewsCommand.js +43 -0
  28. package/dist-es/commands/UpdateViewContentCommand.js +43 -0
  29. package/dist-es/commands/UpdateViewMetadataCommand.js +43 -0
  30. package/dist-es/commands/index.js +9 -0
  31. package/dist-es/models/models_0.js +57 -5
  32. package/dist-es/models/models_1.js +20 -0
  33. package/dist-es/models/models_2.js +14 -0
  34. package/dist-es/pagination/ListViewVersionsPaginator.js +25 -0
  35. package/dist-es/pagination/ListViewsPaginator.js +25 -0
  36. package/dist-es/pagination/index.js +2 -0
  37. package/dist-es/protocols/Aws_restJson1.js +687 -13
  38. package/dist-types/Connect.d.ts +63 -0
  39. package/dist-types/ConnectClient.d.ts +11 -2
  40. package/dist-types/commands/CreateQueueCommand.d.ts +20 -13
  41. package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +8 -0
  42. package/dist-types/commands/CreateViewCommand.d.ts +140 -0
  43. package/dist-types/commands/CreateViewVersionCommand.d.ts +126 -0
  44. package/dist-types/commands/DeleteViewCommand.d.ts +93 -0
  45. package/dist-types/commands/DeleteViewVersionCommand.d.ts +94 -0
  46. package/dist-types/commands/DescribeViewCommand.d.ts +121 -0
  47. package/dist-types/commands/DescribeVocabularyCommand.d.ts +2 -1
  48. package/dist-types/commands/DisassociateApprovedOriginCommand.d.ts +1 -1
  49. package/dist-types/commands/DisassociateBotCommand.d.ts +1 -1
  50. package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
  51. package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
  52. package/dist-types/commands/DisassociateLexBotCommand.d.ts +1 -1
  53. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +1 -1
  54. package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -1
  55. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
  56. package/dist-types/commands/DisassociateSecurityKeyCommand.d.ts +1 -1
  57. package/dist-types/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +1 -1
  58. package/dist-types/commands/DismissUserContactCommand.d.ts +1 -1
  59. package/dist-types/commands/GetContactAttributesCommand.d.ts +1 -2
  60. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +14 -4
  61. package/dist-types/commands/ListViewVersionsCommand.d.ts +106 -0
  62. package/dist-types/commands/ListViewsCommand.d.ts +105 -0
  63. package/dist-types/commands/StopContactCommand.d.ts +5 -3
  64. package/dist-types/commands/UpdatePromptCommand.d.ts +2 -1
  65. package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
  66. package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
  67. package/dist-types/commands/UpdateQueueNameCommand.d.ts +1 -1
  68. package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +21 -14
  69. package/dist-types/commands/UpdateQueueStatusCommand.d.ts +1 -1
  70. package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
  71. package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +1 -1
  73. package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
  74. package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
  75. package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
  76. package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  77. package/dist-types/commands/UpdateRuleCommand.d.ts +1 -1
  78. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +1 -1
  79. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +1 -1
  80. package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +6 -3
  81. package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  82. package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  83. package/dist-types/commands/UpdateViewContentCommand.d.ts +127 -0
  84. package/dist-types/commands/UpdateViewMetadataCommand.d.ts +99 -0
  85. package/dist-types/commands/index.d.ts +9 -0
  86. package/dist-types/models/models_0.d.ts +359 -317
  87. package/dist-types/models/models_1.d.ts +478 -553
  88. package/dist-types/models/models_2.d.ts +632 -2
  89. package/dist-types/pagination/ListViewVersionsPaginator.d.ts +7 -0
  90. package/dist-types/pagination/ListViewsPaginator.d.ts +7 -0
  91. package/dist-types/pagination/index.d.ts +2 -0
  92. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  93. package/dist-types/ts3.4/Connect.d.ts +153 -0
  94. package/dist-types/ts3.4/ConnectClient.d.ts +56 -2
  95. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +35 -0
  96. package/dist-types/ts3.4/commands/CreateViewVersionCommand.d.ts +39 -0
  97. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +35 -0
  98. package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +39 -0
  99. package/dist-types/ts3.4/commands/DescribeViewCommand.d.ts +35 -0
  100. package/dist-types/ts3.4/commands/DescribeVocabularyCommand.d.ts +2 -4
  101. package/dist-types/ts3.4/commands/DisassociateApprovedOriginCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/DisassociateBotCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/DisassociateLexBotCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/DisassociateSecurityKeyCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DismissUserContactCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/GetContactAttributesCommand.d.ts +4 -2
  113. package/dist-types/ts3.4/commands/ListViewVersionsCommand.d.ts +38 -0
  114. package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +35 -0
  115. package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +2 -1
  116. package/dist-types/ts3.4/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/UpdateQueueNameCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/UpdateQueueStatusCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/UpdateTrafficDistributionCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/UpdateViewContentCommand.d.ts +39 -0
  135. package/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +39 -0
  136. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  137. package/dist-types/ts3.4/models/models_0.d.ts +117 -90
  138. package/dist-types/ts3.4/models/models_1.d.ts +121 -135
  139. package/dist-types/ts3.4/models/models_2.d.ts +171 -1
  140. package/dist-types/ts3.4/pagination/ListViewVersionsPaginator.d.ts +11 -0
  141. package/dist-types/ts3.4/pagination/ListViewsPaginator.d.ts +11 -0
  142. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  143. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  144. package/package.json +15 -15
package/README.md CHANGED
@@ -468,6 +468,22 @@ CreateUserHierarchyGroup
468
468
 
469
469
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/createuserhierarchygroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createuserhierarchygroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createuserhierarchygroupcommandoutput.html)
470
470
 
471
+ </details>
472
+ <details>
473
+ <summary>
474
+ CreateView
475
+ </summary>
476
+
477
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/createviewcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createviewcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createviewcommandoutput.html)
478
+
479
+ </details>
480
+ <details>
481
+ <summary>
482
+ CreateViewVersion
483
+ </summary>
484
+
485
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/createviewversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createviewversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createviewversioncommandoutput.html)
486
+
471
487
  </details>
472
488
  <details>
473
489
  <summary>
@@ -628,6 +644,22 @@ DeleteUserHierarchyGroup
628
644
 
629
645
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/deleteuserhierarchygroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/deleteuserhierarchygroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/deleteuserhierarchygroupcommandoutput.html)
630
646
 
647
+ </details>
648
+ <details>
649
+ <summary>
650
+ DeleteView
651
+ </summary>
652
+
653
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/deleteviewcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/deleteviewcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/deleteviewcommandoutput.html)
654
+
655
+ </details>
656
+ <details>
657
+ <summary>
658
+ DeleteViewVersion
659
+ </summary>
660
+
661
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/deleteviewversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/deleteviewversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/deleteviewversioncommandoutput.html)
662
+
631
663
  </details>
632
664
  <details>
633
665
  <summary>
@@ -804,6 +836,14 @@ DescribeUserHierarchyStructure
804
836
 
805
837
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/describeuserhierarchystructurecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/describeuserhierarchystructurecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/describeuserhierarchystructurecommandoutput.html)
806
838
 
839
+ </details>
840
+ <details>
841
+ <summary>
842
+ DescribeView
843
+ </summary>
844
+
845
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/describeviewcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/describeviewcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/describeviewcommandoutput.html)
846
+
807
847
  </details>
808
848
  <details>
809
849
  <summary>
@@ -1260,6 +1300,22 @@ ListUsers
1260
1300
 
1261
1301
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/listuserscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/listuserscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/listuserscommandoutput.html)
1262
1302
 
1303
+ </details>
1304
+ <details>
1305
+ <summary>
1306
+ ListViews
1307
+ </summary>
1308
+
1309
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/listviewscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/listviewscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/listviewscommandoutput.html)
1310
+
1311
+ </details>
1312
+ <details>
1313
+ <summary>
1314
+ ListViewVersions
1315
+ </summary>
1316
+
1317
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/listviewversionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/listviewversionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/listviewversionscommandoutput.html)
1318
+
1263
1319
  </details>
1264
1320
  <details>
1265
1321
  <summary>
@@ -1813,3 +1869,19 @@ UpdateUserSecurityProfiles
1813
1869
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/updateusersecurityprofilescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/updateusersecurityprofilescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/updateusersecurityprofilescommandoutput.html)
1814
1870
 
1815
1871
  </details>
1872
+ <details>
1873
+ <summary>
1874
+ UpdateViewContent
1875
+ </summary>
1876
+
1877
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/updateviewcontentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/updateviewcontentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/updateviewcontentcommandoutput.html)
1878
+
1879
+ </details>
1880
+ <details>
1881
+ <summary>
1882
+ UpdateViewMetadata
1883
+ </summary>
1884
+
1885
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/updateviewmetadatacommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/updateviewmetadatacommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/updateviewmetadatacommandoutput.html)
1886
+
1887
+ </details>
@@ -34,6 +34,8 @@ const CreateTrafficDistributionGroupCommand_1 = require("./commands/CreateTraffi
34
34
  const CreateUseCaseCommand_1 = require("./commands/CreateUseCaseCommand");
35
35
  const CreateUserCommand_1 = require("./commands/CreateUserCommand");
36
36
  const CreateUserHierarchyGroupCommand_1 = require("./commands/CreateUserHierarchyGroupCommand");
37
+ const CreateViewCommand_1 = require("./commands/CreateViewCommand");
38
+ const CreateViewVersionCommand_1 = require("./commands/CreateViewVersionCommand");
37
39
  const CreateVocabularyCommand_1 = require("./commands/CreateVocabularyCommand");
38
40
  const DeactivateEvaluationFormCommand_1 = require("./commands/DeactivateEvaluationFormCommand");
39
41
  const DeleteContactEvaluationCommand_1 = require("./commands/DeleteContactEvaluationCommand");
@@ -54,6 +56,8 @@ const DeleteTrafficDistributionGroupCommand_1 = require("./commands/DeleteTraffi
54
56
  const DeleteUseCaseCommand_1 = require("./commands/DeleteUseCaseCommand");
55
57
  const DeleteUserCommand_1 = require("./commands/DeleteUserCommand");
56
58
  const DeleteUserHierarchyGroupCommand_1 = require("./commands/DeleteUserHierarchyGroupCommand");
59
+ const DeleteViewCommand_1 = require("./commands/DeleteViewCommand");
60
+ const DeleteViewVersionCommand_1 = require("./commands/DeleteViewVersionCommand");
57
61
  const DeleteVocabularyCommand_1 = require("./commands/DeleteVocabularyCommand");
58
62
  const DescribeAgentStatusCommand_1 = require("./commands/DescribeAgentStatusCommand");
59
63
  const DescribeContactCommand_1 = require("./commands/DescribeContactCommand");
@@ -76,6 +80,7 @@ const DescribeTrafficDistributionGroupCommand_1 = require("./commands/DescribeTr
76
80
  const DescribeUserCommand_1 = require("./commands/DescribeUserCommand");
77
81
  const DescribeUserHierarchyGroupCommand_1 = require("./commands/DescribeUserHierarchyGroupCommand");
78
82
  const DescribeUserHierarchyStructureCommand_1 = require("./commands/DescribeUserHierarchyStructureCommand");
83
+ const DescribeViewCommand_1 = require("./commands/DescribeViewCommand");
79
84
  const DescribeVocabularyCommand_1 = require("./commands/DescribeVocabularyCommand");
80
85
  const DisassociateApprovedOriginCommand_1 = require("./commands/DisassociateApprovedOriginCommand");
81
86
  const DisassociateBotCommand_1 = require("./commands/DisassociateBotCommand");
@@ -133,6 +138,8 @@ const ListTrafficDistributionGroupUsersCommand_1 = require("./commands/ListTraff
133
138
  const ListUseCasesCommand_1 = require("./commands/ListUseCasesCommand");
134
139
  const ListUserHierarchyGroupsCommand_1 = require("./commands/ListUserHierarchyGroupsCommand");
135
140
  const ListUsersCommand_1 = require("./commands/ListUsersCommand");
141
+ const ListViewsCommand_1 = require("./commands/ListViewsCommand");
142
+ const ListViewVersionsCommand_1 = require("./commands/ListViewVersionsCommand");
136
143
  const MonitorContactCommand_1 = require("./commands/MonitorContactCommand");
137
144
  const PutUserStatusCommand_1 = require("./commands/PutUserStatusCommand");
138
145
  const ReleasePhoneNumberCommand_1 = require("./commands/ReleasePhoneNumberCommand");
@@ -202,6 +209,8 @@ const UpdateUserIdentityInfoCommand_1 = require("./commands/UpdateUserIdentityIn
202
209
  const UpdateUserPhoneConfigCommand_1 = require("./commands/UpdateUserPhoneConfigCommand");
203
210
  const UpdateUserRoutingProfileCommand_1 = require("./commands/UpdateUserRoutingProfileCommand");
204
211
  const UpdateUserSecurityProfilesCommand_1 = require("./commands/UpdateUserSecurityProfilesCommand");
212
+ const UpdateViewContentCommand_1 = require("./commands/UpdateViewContentCommand");
213
+ const UpdateViewMetadataCommand_1 = require("./commands/UpdateViewMetadataCommand");
205
214
  const ConnectClient_1 = require("./ConnectClient");
206
215
  const commands = {
207
216
  ActivateEvaluationFormCommand: ActivateEvaluationFormCommand_1.ActivateEvaluationFormCommand,
@@ -236,6 +245,8 @@ const commands = {
236
245
  CreateUseCaseCommand: CreateUseCaseCommand_1.CreateUseCaseCommand,
237
246
  CreateUserCommand: CreateUserCommand_1.CreateUserCommand,
238
247
  CreateUserHierarchyGroupCommand: CreateUserHierarchyGroupCommand_1.CreateUserHierarchyGroupCommand,
248
+ CreateViewCommand: CreateViewCommand_1.CreateViewCommand,
249
+ CreateViewVersionCommand: CreateViewVersionCommand_1.CreateViewVersionCommand,
239
250
  CreateVocabularyCommand: CreateVocabularyCommand_1.CreateVocabularyCommand,
240
251
  DeactivateEvaluationFormCommand: DeactivateEvaluationFormCommand_1.DeactivateEvaluationFormCommand,
241
252
  DeleteContactEvaluationCommand: DeleteContactEvaluationCommand_1.DeleteContactEvaluationCommand,
@@ -256,6 +267,8 @@ const commands = {
256
267
  DeleteUseCaseCommand: DeleteUseCaseCommand_1.DeleteUseCaseCommand,
257
268
  DeleteUserCommand: DeleteUserCommand_1.DeleteUserCommand,
258
269
  DeleteUserHierarchyGroupCommand: DeleteUserHierarchyGroupCommand_1.DeleteUserHierarchyGroupCommand,
270
+ DeleteViewCommand: DeleteViewCommand_1.DeleteViewCommand,
271
+ DeleteViewVersionCommand: DeleteViewVersionCommand_1.DeleteViewVersionCommand,
259
272
  DeleteVocabularyCommand: DeleteVocabularyCommand_1.DeleteVocabularyCommand,
260
273
  DescribeAgentStatusCommand: DescribeAgentStatusCommand_1.DescribeAgentStatusCommand,
261
274
  DescribeContactCommand: DescribeContactCommand_1.DescribeContactCommand,
@@ -278,6 +291,7 @@ const commands = {
278
291
  DescribeUserCommand: DescribeUserCommand_1.DescribeUserCommand,
279
292
  DescribeUserHierarchyGroupCommand: DescribeUserHierarchyGroupCommand_1.DescribeUserHierarchyGroupCommand,
280
293
  DescribeUserHierarchyStructureCommand: DescribeUserHierarchyStructureCommand_1.DescribeUserHierarchyStructureCommand,
294
+ DescribeViewCommand: DescribeViewCommand_1.DescribeViewCommand,
281
295
  DescribeVocabularyCommand: DescribeVocabularyCommand_1.DescribeVocabularyCommand,
282
296
  DisassociateApprovedOriginCommand: DisassociateApprovedOriginCommand_1.DisassociateApprovedOriginCommand,
283
297
  DisassociateBotCommand: DisassociateBotCommand_1.DisassociateBotCommand,
@@ -335,6 +349,8 @@ const commands = {
335
349
  ListUseCasesCommand: ListUseCasesCommand_1.ListUseCasesCommand,
336
350
  ListUserHierarchyGroupsCommand: ListUserHierarchyGroupsCommand_1.ListUserHierarchyGroupsCommand,
337
351
  ListUsersCommand: ListUsersCommand_1.ListUsersCommand,
352
+ ListViewsCommand: ListViewsCommand_1.ListViewsCommand,
353
+ ListViewVersionsCommand: ListViewVersionsCommand_1.ListViewVersionsCommand,
338
354
  MonitorContactCommand: MonitorContactCommand_1.MonitorContactCommand,
339
355
  PutUserStatusCommand: PutUserStatusCommand_1.PutUserStatusCommand,
340
356
  ReleasePhoneNumberCommand: ReleasePhoneNumberCommand_1.ReleasePhoneNumberCommand,
@@ -404,6 +420,8 @@ const commands = {
404
420
  UpdateUserPhoneConfigCommand: UpdateUserPhoneConfigCommand_1.UpdateUserPhoneConfigCommand,
405
421
  UpdateUserRoutingProfileCommand: UpdateUserRoutingProfileCommand_1.UpdateUserRoutingProfileCommand,
406
422
  UpdateUserSecurityProfilesCommand: UpdateUserSecurityProfilesCommand_1.UpdateUserSecurityProfilesCommand,
423
+ UpdateViewContentCommand: UpdateViewContentCommand_1.UpdateViewContentCommand,
424
+ UpdateViewMetadataCommand: UpdateViewMetadataCommand_1.UpdateViewMetadataCommand,
407
425
  };
408
426
  class Connect extends ConnectClient_1.ConnectClient {
409
427
  }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateViewCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const models_0_1 = require("../models/models_0");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class CreateViewCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateViewCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "CreateViewCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: models_0_1.CreateViewRequestFilterSensitiveLog,
35
+ outputFilterSensitiveLog: models_0_1.CreateViewResponseFilterSensitiveLog,
36
+ };
37
+ const { requestHandler } = configuration;
38
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
+ }
40
+ serialize(input, context) {
41
+ return (0, Aws_restJson1_1.se_CreateViewCommand)(input, context);
42
+ }
43
+ deserialize(output, context) {
44
+ return (0, Aws_restJson1_1.de_CreateViewCommand)(output, context);
45
+ }
46
+ }
47
+ exports.CreateViewCommand = CreateViewCommand;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateViewVersionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const models_0_1 = require("../models/models_0");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class CreateViewVersionCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateViewVersionCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "CreateViewVersionCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: models_0_1.CreateViewVersionResponseFilterSensitiveLog,
36
+ };
37
+ const { requestHandler } = configuration;
38
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
+ }
40
+ serialize(input, context) {
41
+ return (0, Aws_restJson1_1.se_CreateViewVersionCommand)(input, context);
42
+ }
43
+ deserialize(output, context) {
44
+ return (0, Aws_restJson1_1.de_CreateViewVersionCommand)(output, context);
45
+ }
46
+ }
47
+ exports.CreateViewVersionCommand = CreateViewVersionCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteViewCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class DeleteViewCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteViewCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "ConnectClient";
28
+ const commandName = "DeleteViewCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_DeleteViewCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_DeleteViewCommand)(output, context);
44
+ }
45
+ }
46
+ exports.DeleteViewCommand = DeleteViewCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteViewVersionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class DeleteViewVersionCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteViewVersionCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "ConnectClient";
28
+ const commandName = "DeleteViewVersionCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_DeleteViewVersionCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_DeleteViewVersionCommand)(output, context);
44
+ }
45
+ }
46
+ exports.DeleteViewVersionCommand = DeleteViewVersionCommand;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeViewCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const models_0_1 = require("../models/models_0");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DescribeViewCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeViewCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "DescribeViewCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: models_0_1.DescribeViewResponseFilterSensitiveLog,
36
+ };
37
+ const { requestHandler } = configuration;
38
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
+ }
40
+ serialize(input, context) {
41
+ return (0, Aws_restJson1_1.se_DescribeViewCommand)(input, context);
42
+ }
43
+ deserialize(output, context) {
44
+ return (0, Aws_restJson1_1.de_DescribeViewCommand)(output, context);
45
+ }
46
+ }
47
+ exports.DescribeViewCommand = DescribeViewCommand;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListViewVersionsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const models_1_1 = require("../models/models_1");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListViewVersionsCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListViewVersionsCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "ListViewVersionsCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: models_1_1.ListViewVersionsResponseFilterSensitiveLog,
36
+ };
37
+ const { requestHandler } = configuration;
38
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
+ }
40
+ serialize(input, context) {
41
+ return (0, Aws_restJson1_1.se_ListViewVersionsCommand)(input, context);
42
+ }
43
+ deserialize(output, context) {
44
+ return (0, Aws_restJson1_1.de_ListViewVersionsCommand)(output, context);
45
+ }
46
+ }
47
+ exports.ListViewVersionsCommand = ListViewVersionsCommand;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListViewsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const models_1_1 = require("../models/models_1");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListViewsCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListViewsCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "ListViewsCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: models_1_1.ListViewsResponseFilterSensitiveLog,
36
+ };
37
+ const { requestHandler } = configuration;
38
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
+ }
40
+ serialize(input, context) {
41
+ return (0, Aws_restJson1_1.se_ListViewsCommand)(input, context);
42
+ }
43
+ deserialize(output, context) {
44
+ return (0, Aws_restJson1_1.de_ListViewsCommand)(output, context);
45
+ }
46
+ }
47
+ exports.ListViewsCommand = ListViewsCommand;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateViewContentCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const models_2_1 = require("../models/models_2");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UpdateViewContentCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateViewContentCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "UpdateViewContentCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: models_2_1.UpdateViewContentRequestFilterSensitiveLog,
35
+ outputFilterSensitiveLog: models_2_1.UpdateViewContentResponseFilterSensitiveLog,
36
+ };
37
+ const { requestHandler } = configuration;
38
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
+ }
40
+ serialize(input, context) {
41
+ return (0, Aws_restJson1_1.se_UpdateViewContentCommand)(input, context);
42
+ }
43
+ deserialize(output, context) {
44
+ return (0, Aws_restJson1_1.de_UpdateViewContentCommand)(output, context);
45
+ }
46
+ }
47
+ exports.UpdateViewContentCommand = UpdateViewContentCommand;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateViewMetadataCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const models_2_1 = require("../models/models_2");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UpdateViewMetadataCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateViewMetadataCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "UpdateViewMetadataCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: models_2_1.UpdateViewMetadataRequestFilterSensitiveLog,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ };
37
+ const { requestHandler } = configuration;
38
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
+ }
40
+ serialize(input, context) {
41
+ return (0, Aws_restJson1_1.se_UpdateViewMetadataCommand)(input, context);
42
+ }
43
+ deserialize(output, context) {
44
+ return (0, Aws_restJson1_1.de_UpdateViewMetadataCommand)(output, context);
45
+ }
46
+ }
47
+ exports.UpdateViewMetadataCommand = UpdateViewMetadataCommand;