@aws-sdk/client-connect 3.319.0 → 3.320.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 (113) hide show
  1. package/README.md +119 -7
  2. package/dist-cjs/Connect.js +28 -0
  3. package/dist-cjs/commands/ActivateEvaluationFormCommand.js +45 -0
  4. package/dist-cjs/commands/CreateEvaluationFormCommand.js +45 -0
  5. package/dist-cjs/commands/DeactivateEvaluationFormCommand.js +45 -0
  6. package/dist-cjs/commands/DeleteContactEvaluationCommand.js +45 -0
  7. package/dist-cjs/commands/DeleteEvaluationFormCommand.js +45 -0
  8. package/dist-cjs/commands/DescribeContactEvaluationCommand.js +45 -0
  9. package/dist-cjs/commands/DescribeEvaluationFormCommand.js +45 -0
  10. package/dist-cjs/commands/GetFederationTokenCommand.js +2 -2
  11. package/dist-cjs/commands/ListContactEvaluationsCommand.js +45 -0
  12. package/dist-cjs/commands/ListEvaluationFormVersionsCommand.js +45 -0
  13. package/dist-cjs/commands/ListEvaluationFormsCommand.js +45 -0
  14. package/dist-cjs/commands/StartContactEvaluationCommand.js +45 -0
  15. package/dist-cjs/commands/SubmitContactEvaluationCommand.js +45 -0
  16. package/dist-cjs/commands/UpdateContactEvaluationCommand.js +45 -0
  17. package/dist-cjs/commands/UpdateEvaluationFormCommand.js +45 -0
  18. package/dist-cjs/commands/index.js +14 -0
  19. package/dist-cjs/models/models_0.js +142 -125
  20. package/dist-cjs/models/models_1.js +71 -1
  21. package/dist-cjs/pagination/ListContactEvaluationsPaginator.js +28 -0
  22. package/dist-cjs/pagination/ListEvaluationFormVersionsPaginator.js +29 -0
  23. package/dist-cjs/pagination/ListEvaluationFormsPaginator.js +29 -0
  24. package/dist-cjs/pagination/index.js +3 -0
  25. package/dist-cjs/protocols/Aws_restJson1.js +1272 -41
  26. package/dist-es/Connect.js +28 -0
  27. package/dist-es/commands/ActivateEvaluationFormCommand.js +41 -0
  28. package/dist-es/commands/CreateEvaluationFormCommand.js +41 -0
  29. package/dist-es/commands/DeactivateEvaluationFormCommand.js +41 -0
  30. package/dist-es/commands/DeleteContactEvaluationCommand.js +41 -0
  31. package/dist-es/commands/DeleteEvaluationFormCommand.js +41 -0
  32. package/dist-es/commands/DescribeContactEvaluationCommand.js +41 -0
  33. package/dist-es/commands/DescribeEvaluationFormCommand.js +41 -0
  34. package/dist-es/commands/GetFederationTokenCommand.js +1 -1
  35. package/dist-es/commands/ListContactEvaluationsCommand.js +41 -0
  36. package/dist-es/commands/ListEvaluationFormVersionsCommand.js +41 -0
  37. package/dist-es/commands/ListEvaluationFormsCommand.js +41 -0
  38. package/dist-es/commands/StartContactEvaluationCommand.js +41 -0
  39. package/dist-es/commands/SubmitContactEvaluationCommand.js +41 -0
  40. package/dist-es/commands/UpdateContactEvaluationCommand.js +41 -0
  41. package/dist-es/commands/UpdateEvaluationFormCommand.js +41 -0
  42. package/dist-es/commands/index.js +14 -0
  43. package/dist-es/models/models_0.js +136 -116
  44. package/dist-es/models/models_1.js +67 -0
  45. package/dist-es/pagination/ListContactEvaluationsPaginator.js +24 -0
  46. package/dist-es/pagination/ListEvaluationFormVersionsPaginator.js +25 -0
  47. package/dist-es/pagination/ListEvaluationFormsPaginator.js +25 -0
  48. package/dist-es/pagination/index.js +3 -0
  49. package/dist-es/protocols/Aws_restJson1.js +1235 -33
  50. package/dist-types/Connect.d.ts +98 -0
  51. package/dist-types/ConnectClient.d.ts +16 -2
  52. package/dist-types/commands/ActivateEvaluationFormCommand.d.ts +81 -0
  53. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +213 -0
  54. package/dist-types/commands/CreateParticipantCommand.d.ts +1 -1
  55. package/dist-types/commands/DeactivateEvaluationFormCommand.d.ts +81 -0
  56. package/dist-types/commands/DeleteContactEvaluationCommand.d.ts +79 -0
  57. package/dist-types/commands/DeleteEvaluationFormCommand.d.ts +89 -0
  58. package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +77 -0
  59. package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +79 -0
  60. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +1 -1
  61. package/dist-types/commands/GetFederationTokenCommand.d.ts +1 -1
  62. package/dist-types/commands/GetMetricDataCommand.d.ts +1 -1
  63. package/dist-types/commands/GetMetricDataV2Command.d.ts +1 -1
  64. package/dist-types/commands/GetTaskTemplateCommand.d.ts +1 -1
  65. package/dist-types/commands/GetTrafficDistributionCommand.d.ts +1 -1
  66. package/dist-types/commands/ListAgentStatusesCommand.d.ts +1 -2
  67. package/dist-types/commands/ListContactEvaluationsCommand.d.ts +77 -0
  68. package/dist-types/commands/ListEvaluationFormVersionsCommand.d.ts +78 -0
  69. package/dist-types/commands/ListEvaluationFormsCommand.d.ts +77 -0
  70. package/dist-types/commands/StartContactEvaluationCommand.d.ts +91 -0
  71. package/dist-types/commands/SubmitContactEvaluationCommand.d.ts +98 -0
  72. package/dist-types/commands/UpdateContactEvaluationCommand.d.ts +96 -0
  73. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +215 -0
  74. package/dist-types/commands/index.d.ts +14 -0
  75. package/dist-types/models/models_0.d.ts +859 -1281
  76. package/dist-types/models/models_1.d.ts +1758 -3
  77. package/dist-types/pagination/ListContactEvaluationsPaginator.d.ts +7 -0
  78. package/dist-types/pagination/ListEvaluationFormVersionsPaginator.d.ts +7 -0
  79. package/dist-types/pagination/ListEvaluationFormsPaginator.d.ts +7 -0
  80. package/dist-types/pagination/index.d.ts +3 -0
  81. package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
  82. package/dist-types/ts3.4/Connect.d.ts +238 -0
  83. package/dist-types/ts3.4/ConnectClient.d.ts +84 -0
  84. package/dist-types/ts3.4/commands/ActivateEvaluationFormCommand.d.ts +41 -0
  85. package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +39 -0
  86. package/dist-types/ts3.4/commands/DeactivateEvaluationFormCommand.d.ts +41 -0
  87. package/dist-types/ts3.4/commands/DeleteContactEvaluationCommand.d.ts +37 -0
  88. package/dist-types/ts3.4/commands/DeleteEvaluationFormCommand.d.ts +36 -0
  89. package/dist-types/ts3.4/commands/DescribeContactEvaluationCommand.d.ts +39 -0
  90. package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +39 -0
  91. package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/GetTrafficDistributionCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/ListAgentStatusesCommand.d.ts +4 -2
  98. package/dist-types/ts3.4/commands/ListContactEvaluationsCommand.d.ts +41 -0
  99. package/dist-types/ts3.4/commands/ListEvaluationFormVersionsCommand.d.ts +41 -0
  100. package/dist-types/ts3.4/commands/ListEvaluationFormsCommand.d.ts +38 -0
  101. package/dist-types/ts3.4/commands/StartContactEvaluationCommand.d.ts +41 -0
  102. package/dist-types/ts3.4/commands/SubmitContactEvaluationCommand.d.ts +41 -0
  103. package/dist-types/ts3.4/commands/UpdateContactEvaluationCommand.d.ts +41 -0
  104. package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +41 -0
  105. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  106. package/dist-types/ts3.4/models/models_0.d.ts +328 -262
  107. package/dist-types/ts3.4/models/models_1.d.ts +425 -1
  108. package/dist-types/ts3.4/pagination/ListContactEvaluationsPaginator.d.ts +11 -0
  109. package/dist-types/ts3.4/pagination/ListEvaluationFormVersionsPaginator.d.ts +11 -0
  110. package/dist-types/ts3.4/pagination/ListEvaluationFormsPaginator.d.ts +11 -0
  111. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  112. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
  113. package/package.json +1 -1
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteEvaluationFormCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DeleteEvaluationFormCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteEvaluationFormCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "ConnectClient";
27
+ const commandName = "DeleteEvaluationFormCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_DeleteEvaluationFormCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_DeleteEvaluationFormCommand)(output, context);
43
+ }
44
+ }
45
+ exports.DeleteEvaluationFormCommand = DeleteEvaluationFormCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeContactEvaluationCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DescribeContactEvaluationCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeContactEvaluationCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "ConnectClient";
27
+ const commandName = "DescribeContactEvaluationCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_DescribeContactEvaluationCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_DescribeContactEvaluationCommand)(output, context);
43
+ }
44
+ }
45
+ exports.DescribeContactEvaluationCommand = DescribeContactEvaluationCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeEvaluationFormCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DescribeEvaluationFormCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeEvaluationFormCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "ConnectClient";
27
+ const commandName = "DescribeEvaluationFormCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_DescribeEvaluationFormCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_DescribeEvaluationFormCommand)(output, context);
43
+ }
44
+ }
45
+ exports.DescribeEvaluationFormCommand = DescribeEvaluationFormCommand;
@@ -4,7 +4,7 @@ exports.GetFederationTokenCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
7
+ const models_1_1 = require("../models/models_1");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class GetFederationTokenCommand extends smithy_client_1.Command {
10
10
  static getEndpointParameterInstructions() {
@@ -31,7 +31,7 @@ class GetFederationTokenCommand extends smithy_client_1.Command {
31
31
  clientName,
32
32
  commandName,
33
33
  inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: models_0_1.GetFederationTokenResponseFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_1_1.GetFederationTokenResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListContactEvaluationsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListContactEvaluationsCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListContactEvaluationsCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "ConnectClient";
27
+ const commandName = "ListContactEvaluationsCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_ListContactEvaluationsCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_ListContactEvaluationsCommand)(output, context);
43
+ }
44
+ }
45
+ exports.ListContactEvaluationsCommand = ListContactEvaluationsCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListEvaluationFormVersionsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListEvaluationFormVersionsCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListEvaluationFormVersionsCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "ConnectClient";
27
+ const commandName = "ListEvaluationFormVersionsCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_ListEvaluationFormVersionsCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_ListEvaluationFormVersionsCommand)(output, context);
43
+ }
44
+ }
45
+ exports.ListEvaluationFormVersionsCommand = ListEvaluationFormVersionsCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListEvaluationFormsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListEvaluationFormsCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListEvaluationFormsCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "ConnectClient";
27
+ const commandName = "ListEvaluationFormsCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_ListEvaluationFormsCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_ListEvaluationFormsCommand)(output, context);
43
+ }
44
+ }
45
+ exports.ListEvaluationFormsCommand = ListEvaluationFormsCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartContactEvaluationCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class StartContactEvaluationCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartContactEvaluationCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "ConnectClient";
27
+ const commandName = "StartContactEvaluationCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_StartContactEvaluationCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_StartContactEvaluationCommand)(output, context);
43
+ }
44
+ }
45
+ exports.StartContactEvaluationCommand = StartContactEvaluationCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubmitContactEvaluationCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class SubmitContactEvaluationCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SubmitContactEvaluationCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "ConnectClient";
27
+ const commandName = "SubmitContactEvaluationCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_SubmitContactEvaluationCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_SubmitContactEvaluationCommand)(output, context);
43
+ }
44
+ }
45
+ exports.SubmitContactEvaluationCommand = SubmitContactEvaluationCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateContactEvaluationCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdateContactEvaluationCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateContactEvaluationCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "ConnectClient";
27
+ const commandName = "UpdateContactEvaluationCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_UpdateContactEvaluationCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_UpdateContactEvaluationCommand)(output, context);
43
+ }
44
+ }
45
+ exports.UpdateContactEvaluationCommand = UpdateContactEvaluationCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateEvaluationFormCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdateEvaluationFormCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateEvaluationFormCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "ConnectClient";
27
+ const commandName = "UpdateEvaluationFormCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_UpdateEvaluationFormCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_UpdateEvaluationFormCommand)(output, context);
43
+ }
44
+ }
45
+ exports.UpdateEvaluationFormCommand = UpdateEvaluationFormCommand;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./ActivateEvaluationFormCommand"), exports);
4
5
  tslib_1.__exportStar(require("./AssociateApprovedOriginCommand"), exports);
5
6
  tslib_1.__exportStar(require("./AssociateBotCommand"), exports);
6
7
  tslib_1.__exportStar(require("./AssociateDefaultVocabularyCommand"), exports);
@@ -15,6 +16,7 @@ tslib_1.__exportStar(require("./ClaimPhoneNumberCommand"), exports);
15
16
  tslib_1.__exportStar(require("./CreateAgentStatusCommand"), exports);
16
17
  tslib_1.__exportStar(require("./CreateContactFlowCommand"), exports);
17
18
  tslib_1.__exportStar(require("./CreateContactFlowModuleCommand"), exports);
19
+ tslib_1.__exportStar(require("./CreateEvaluationFormCommand"), exports);
18
20
  tslib_1.__exportStar(require("./CreateHoursOfOperationCommand"), exports);
19
21
  tslib_1.__exportStar(require("./CreateInstanceCommand"), exports);
20
22
  tslib_1.__exportStar(require("./CreateIntegrationAssociationCommand"), exports);
@@ -30,8 +32,11 @@ tslib_1.__exportStar(require("./CreateUseCaseCommand"), exports);
30
32
  tslib_1.__exportStar(require("./CreateUserCommand"), exports);
31
33
  tslib_1.__exportStar(require("./CreateUserHierarchyGroupCommand"), exports);
32
34
  tslib_1.__exportStar(require("./CreateVocabularyCommand"), exports);
35
+ tslib_1.__exportStar(require("./DeactivateEvaluationFormCommand"), exports);
36
+ tslib_1.__exportStar(require("./DeleteContactEvaluationCommand"), exports);
33
37
  tslib_1.__exportStar(require("./DeleteContactFlowCommand"), exports);
34
38
  tslib_1.__exportStar(require("./DeleteContactFlowModuleCommand"), exports);
39
+ tslib_1.__exportStar(require("./DeleteEvaluationFormCommand"), exports);
35
40
  tslib_1.__exportStar(require("./DeleteHoursOfOperationCommand"), exports);
36
41
  tslib_1.__exportStar(require("./DeleteInstanceCommand"), exports);
37
42
  tslib_1.__exportStar(require("./DeleteIntegrationAssociationCommand"), exports);
@@ -46,8 +51,10 @@ tslib_1.__exportStar(require("./DeleteUserHierarchyGroupCommand"), exports);
46
51
  tslib_1.__exportStar(require("./DeleteVocabularyCommand"), exports);
47
52
  tslib_1.__exportStar(require("./DescribeAgentStatusCommand"), exports);
48
53
  tslib_1.__exportStar(require("./DescribeContactCommand"), exports);
54
+ tslib_1.__exportStar(require("./DescribeContactEvaluationCommand"), exports);
49
55
  tslib_1.__exportStar(require("./DescribeContactFlowCommand"), exports);
50
56
  tslib_1.__exportStar(require("./DescribeContactFlowModuleCommand"), exports);
57
+ tslib_1.__exportStar(require("./DescribeEvaluationFormCommand"), exports);
51
58
  tslib_1.__exportStar(require("./DescribeHoursOfOperationCommand"), exports);
52
59
  tslib_1.__exportStar(require("./DescribeInstanceAttributeCommand"), exports);
53
60
  tslib_1.__exportStar(require("./DescribeInstanceCommand"), exports);
@@ -84,10 +91,13 @@ tslib_1.__exportStar(require("./GetTrafficDistributionCommand"), exports);
84
91
  tslib_1.__exportStar(require("./ListAgentStatusesCommand"), exports);
85
92
  tslib_1.__exportStar(require("./ListApprovedOriginsCommand"), exports);
86
93
  tslib_1.__exportStar(require("./ListBotsCommand"), exports);
94
+ tslib_1.__exportStar(require("./ListContactEvaluationsCommand"), exports);
87
95
  tslib_1.__exportStar(require("./ListContactFlowModulesCommand"), exports);
88
96
  tslib_1.__exportStar(require("./ListContactFlowsCommand"), exports);
89
97
  tslib_1.__exportStar(require("./ListContactReferencesCommand"), exports);
90
98
  tslib_1.__exportStar(require("./ListDefaultVocabulariesCommand"), exports);
99
+ tslib_1.__exportStar(require("./ListEvaluationFormVersionsCommand"), exports);
100
+ tslib_1.__exportStar(require("./ListEvaluationFormsCommand"), exports);
91
101
  tslib_1.__exportStar(require("./ListHoursOfOperationsCommand"), exports);
92
102
  tslib_1.__exportStar(require("./ListInstanceAttributesCommand"), exports);
93
103
  tslib_1.__exportStar(require("./ListInstanceStorageConfigsCommand"), exports);
@@ -125,6 +135,7 @@ tslib_1.__exportStar(require("./SearchSecurityProfilesCommand"), exports);
125
135
  tslib_1.__exportStar(require("./SearchUsersCommand"), exports);
126
136
  tslib_1.__exportStar(require("./SearchVocabulariesCommand"), exports);
127
137
  tslib_1.__exportStar(require("./StartChatContactCommand"), exports);
138
+ tslib_1.__exportStar(require("./StartContactEvaluationCommand"), exports);
128
139
  tslib_1.__exportStar(require("./StartContactRecordingCommand"), exports);
129
140
  tslib_1.__exportStar(require("./StartContactStreamingCommand"), exports);
130
141
  tslib_1.__exportStar(require("./StartOutboundVoiceContactCommand"), exports);
@@ -132,6 +143,7 @@ tslib_1.__exportStar(require("./StartTaskContactCommand"), exports);
132
143
  tslib_1.__exportStar(require("./StopContactCommand"), exports);
133
144
  tslib_1.__exportStar(require("./StopContactRecordingCommand"), exports);
134
145
  tslib_1.__exportStar(require("./StopContactStreamingCommand"), exports);
146
+ tslib_1.__exportStar(require("./SubmitContactEvaluationCommand"), exports);
135
147
  tslib_1.__exportStar(require("./SuspendContactRecordingCommand"), exports);
136
148
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
137
149
  tslib_1.__exportStar(require("./TransferContactCommand"), exports);
@@ -139,12 +151,14 @@ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
139
151
  tslib_1.__exportStar(require("./UpdateAgentStatusCommand"), exports);
140
152
  tslib_1.__exportStar(require("./UpdateContactAttributesCommand"), exports);
141
153
  tslib_1.__exportStar(require("./UpdateContactCommand"), exports);
154
+ tslib_1.__exportStar(require("./UpdateContactEvaluationCommand"), exports);
142
155
  tslib_1.__exportStar(require("./UpdateContactFlowContentCommand"), exports);
143
156
  tslib_1.__exportStar(require("./UpdateContactFlowMetadataCommand"), exports);
144
157
  tslib_1.__exportStar(require("./UpdateContactFlowModuleContentCommand"), exports);
145
158
  tslib_1.__exportStar(require("./UpdateContactFlowModuleMetadataCommand"), exports);
146
159
  tslib_1.__exportStar(require("./UpdateContactFlowNameCommand"), exports);
147
160
  tslib_1.__exportStar(require("./UpdateContactScheduleCommand"), exports);
161
+ tslib_1.__exportStar(require("./UpdateEvaluationFormCommand"), exports);
148
162
  tslib_1.__exportStar(require("./UpdateHoursOfOperationCommand"), exports);
149
163
  tslib_1.__exportStar(require("./UpdateInstanceAttributeCommand"), exports);
150
164
  tslib_1.__exportStar(require("./UpdateInstanceStorageConfigCommand"), exports);