@aws-sdk/client-connectcases 3.928.0 → 3.930.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 (66) hide show
  1. package/dist-cjs/index.js +1928 -2515
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/ConnectCasesClient.js +2 -0
  4. package/dist-es/commands/BatchGetCaseRuleCommand.js +3 -9
  5. package/dist-es/commands/BatchGetFieldCommand.js +3 -9
  6. package/dist-es/commands/BatchPutFieldOptionsCommand.js +3 -9
  7. package/dist-es/commands/CreateCaseCommand.js +3 -10
  8. package/dist-es/commands/CreateCaseRuleCommand.js +3 -9
  9. package/dist-es/commands/CreateDomainCommand.js +3 -9
  10. package/dist-es/commands/CreateFieldCommand.js +3 -9
  11. package/dist-es/commands/CreateLayoutCommand.js +3 -9
  12. package/dist-es/commands/CreateRelatedItemCommand.js +3 -10
  13. package/dist-es/commands/CreateTemplateCommand.js +3 -9
  14. package/dist-es/commands/DeleteCaseCommand.js +3 -9
  15. package/dist-es/commands/DeleteCaseRuleCommand.js +3 -9
  16. package/dist-es/commands/DeleteDomainCommand.js +3 -9
  17. package/dist-es/commands/DeleteFieldCommand.js +3 -9
  18. package/dist-es/commands/DeleteLayoutCommand.js +3 -9
  19. package/dist-es/commands/DeleteRelatedItemCommand.js +3 -9
  20. package/dist-es/commands/DeleteTemplateCommand.js +3 -9
  21. package/dist-es/commands/GetCaseAuditEventsCommand.js +3 -10
  22. package/dist-es/commands/GetCaseCommand.js +3 -9
  23. package/dist-es/commands/GetCaseEventConfigurationCommand.js +3 -9
  24. package/dist-es/commands/GetDomainCommand.js +3 -9
  25. package/dist-es/commands/GetLayoutCommand.js +3 -9
  26. package/dist-es/commands/GetTemplateCommand.js +3 -9
  27. package/dist-es/commands/ListCaseRulesCommand.js +3 -9
  28. package/dist-es/commands/ListCasesForContactCommand.js +3 -9
  29. package/dist-es/commands/ListDomainsCommand.js +3 -9
  30. package/dist-es/commands/ListFieldOptionsCommand.js +3 -9
  31. package/dist-es/commands/ListFieldsCommand.js +3 -9
  32. package/dist-es/commands/ListLayoutsCommand.js +3 -9
  33. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  34. package/dist-es/commands/ListTemplatesCommand.js +3 -9
  35. package/dist-es/commands/PutCaseEventConfigurationCommand.js +3 -9
  36. package/dist-es/commands/SearchAllRelatedItemsCommand.js +3 -10
  37. package/dist-es/commands/SearchCasesCommand.js +3 -9
  38. package/dist-es/commands/SearchRelatedItemsCommand.js +3 -10
  39. package/dist-es/commands/TagResourceCommand.js +3 -9
  40. package/dist-es/commands/UntagResourceCommand.js +3 -9
  41. package/dist-es/commands/UpdateCaseCommand.js +3 -10
  42. package/dist-es/commands/UpdateCaseRuleCommand.js +3 -9
  43. package/dist-es/commands/UpdateFieldCommand.js +3 -9
  44. package/dist-es/commands/UpdateLayoutCommand.js +3 -9
  45. package/dist-es/commands/UpdateTemplateCommand.js +3 -9
  46. package/dist-es/models/models_0.js +0 -349
  47. package/dist-es/runtimeConfig.shared.js +2 -0
  48. package/dist-es/schemas/schemas_0.js +1832 -0
  49. package/dist-types/ConnectCasesClient.d.ts +10 -1
  50. package/dist-types/models/models_0.d.ts +64 -100
  51. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  52. package/dist-types/runtimeConfig.d.ts +1 -0
  53. package/dist-types/runtimeConfig.native.d.ts +1 -0
  54. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  55. package/dist-types/schemas/schemas_0.d.ts +250 -0
  56. package/dist-types/ts3.4/ConnectCasesClient.d.ts +4 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +0 -71
  58. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  59. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  60. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  61. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  62. package/dist-types/ts3.4/schemas/schemas_0.d.ts +257 -0
  63. package/package.json +33 -34
  64. package/dist-es/protocols/Aws_restJson1.js +0 -1837
  65. package/dist-types/protocols/Aws_restJson1.d.ts +0 -380
  66. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -509
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.connectcases" }),
28
30
  serviceId: config?.serviceId ?? "ConnectCases",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class ConnectCasesClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetCaseRuleCommand, se_BatchGetCaseRuleCommand } from "../protocols/Aws_restJson1";
4
+ import { BatchGetCaseRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetCaseRuleCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "BatchGetCaseRule", {})
17
13
  .n("ConnectCasesClient", "BatchGetCaseRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetCaseRuleCommand)
20
- .de(de_BatchGetCaseRuleCommand)
14
+ .sc(BatchGetCaseRule)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetFieldCommand, se_BatchGetFieldCommand } from "../protocols/Aws_restJson1";
4
+ import { BatchGetField } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetFieldCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "BatchGetField", {})
17
13
  .n("ConnectCasesClient", "BatchGetFieldCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetFieldCommand)
20
- .de(de_BatchGetFieldCommand)
14
+ .sc(BatchGetField)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchPutFieldOptionsCommand, se_BatchPutFieldOptionsCommand } from "../protocols/Aws_restJson1";
4
+ import { BatchPutFieldOptions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchPutFieldOptionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "BatchPutFieldOptions", {})
17
13
  .n("ConnectCasesClient", "BatchPutFieldOptionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchPutFieldOptionsCommand)
20
- .de(de_BatchPutFieldOptionsCommand)
14
+ .sc(BatchPutFieldOptions)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateCaseRequestFilterSensitiveLog } from "../models/models_0";
6
- import { de_CreateCaseCommand, se_CreateCaseCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateCase } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateCaseCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonConnectCases", "CreateCase", {})
18
13
  .n("ConnectCasesClient", "CreateCaseCommand")
19
- .f(CreateCaseRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateCaseCommand)
21
- .de(de_CreateCaseCommand)
14
+ .sc(CreateCase)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateCaseRuleCommand, se_CreateCaseRuleCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateCaseRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCaseRuleCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "CreateCaseRule", {})
17
13
  .n("ConnectCasesClient", "CreateCaseRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCaseRuleCommand)
20
- .de(de_CreateCaseRuleCommand)
14
+ .sc(CreateCaseRule)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateDomainCommand, se_CreateDomainCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDomain } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDomainCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "CreateDomain", {})
17
13
  .n("ConnectCasesClient", "CreateDomainCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDomainCommand)
20
- .de(de_CreateDomainCommand)
14
+ .sc(CreateDomain)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateFieldCommand, se_CreateFieldCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateField } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateFieldCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "CreateField", {})
17
13
  .n("ConnectCasesClient", "CreateFieldCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateFieldCommand)
20
- .de(de_CreateFieldCommand)
14
+ .sc(CreateField)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateLayoutCommand, se_CreateLayoutCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateLayout } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateLayoutCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "CreateLayout", {})
17
13
  .n("ConnectCasesClient", "CreateLayoutCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateLayoutCommand)
20
- .de(de_CreateLayoutCommand)
14
+ .sc(CreateLayout)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateRelatedItemRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateRelatedItemCommand, se_CreateRelatedItemCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateRelatedItem } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateRelatedItemCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonConnectCases", "CreateRelatedItem", {})
18
13
  .n("ConnectCasesClient", "CreateRelatedItemCommand")
19
- .f(CreateRelatedItemRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateRelatedItemCommand)
21
- .de(de_CreateRelatedItemCommand)
14
+ .sc(CreateRelatedItem)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateTemplateCommand, se_CreateTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTemplateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "CreateTemplate", {})
17
13
  .n("ConnectCasesClient", "CreateTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateTemplateCommand)
20
- .de(de_CreateTemplateCommand)
14
+ .sc(CreateTemplate)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteCaseCommand, se_DeleteCaseCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteCase } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteCaseCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "DeleteCase", {})
17
13
  .n("ConnectCasesClient", "DeleteCaseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteCaseCommand)
20
- .de(de_DeleteCaseCommand)
14
+ .sc(DeleteCase)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteCaseRuleCommand, se_DeleteCaseRuleCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteCaseRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteCaseRuleCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "DeleteCaseRule", {})
17
13
  .n("ConnectCasesClient", "DeleteCaseRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteCaseRuleCommand)
20
- .de(de_DeleteCaseRuleCommand)
14
+ .sc(DeleteCaseRule)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteDomainCommand, se_DeleteDomainCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteDomain } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDomainCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "DeleteDomain", {})
17
13
  .n("ConnectCasesClient", "DeleteDomainCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDomainCommand)
20
- .de(de_DeleteDomainCommand)
14
+ .sc(DeleteDomain)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteFieldCommand, se_DeleteFieldCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteField } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteFieldCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "DeleteField", {})
17
13
  .n("ConnectCasesClient", "DeleteFieldCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteFieldCommand)
20
- .de(de_DeleteFieldCommand)
14
+ .sc(DeleteField)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteLayoutCommand, se_DeleteLayoutCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteLayout } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteLayoutCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "DeleteLayout", {})
17
13
  .n("ConnectCasesClient", "DeleteLayoutCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteLayoutCommand)
20
- .de(de_DeleteLayoutCommand)
14
+ .sc(DeleteLayout)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteRelatedItemCommand, se_DeleteRelatedItemCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteRelatedItem } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteRelatedItemCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "DeleteRelatedItem", {})
17
13
  .n("ConnectCasesClient", "DeleteRelatedItemCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteRelatedItemCommand)
20
- .de(de_DeleteRelatedItemCommand)
14
+ .sc(DeleteRelatedItem)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteTemplateCommand, se_DeleteTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteTemplateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "DeleteTemplate", {})
17
13
  .n("ConnectCasesClient", "DeleteTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteTemplateCommand)
20
- .de(de_DeleteTemplateCommand)
14
+ .sc(DeleteTemplate)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetCaseAuditEventsResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetCaseAuditEventsCommand, se_GetCaseAuditEventsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetCaseAuditEvents } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetCaseAuditEventsCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonConnectCases", "GetCaseAuditEvents", {})
18
13
  .n("ConnectCasesClient", "GetCaseAuditEventsCommand")
19
- .f(void 0, GetCaseAuditEventsResponseFilterSensitiveLog)
20
- .ser(se_GetCaseAuditEventsCommand)
21
- .de(de_GetCaseAuditEventsCommand)
14
+ .sc(GetCaseAuditEvents)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCaseCommand, se_GetCaseCommand } from "../protocols/Aws_restJson1";
4
+ import { GetCase } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCaseCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "GetCase", {})
17
13
  .n("ConnectCasesClient", "GetCaseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCaseCommand)
20
- .de(de_GetCaseCommand)
14
+ .sc(GetCase)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCaseEventConfigurationCommand, se_GetCaseEventConfigurationCommand } from "../protocols/Aws_restJson1";
4
+ import { GetCaseEventConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCaseEventConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "GetCaseEventConfiguration", {})
17
13
  .n("ConnectCasesClient", "GetCaseEventConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCaseEventConfigurationCommand)
20
- .de(de_GetCaseEventConfigurationCommand)
14
+ .sc(GetCaseEventConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetDomainCommand, se_GetDomainCommand } from "../protocols/Aws_restJson1";
4
+ import { GetDomain } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetDomainCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "GetDomain", {})
17
13
  .n("ConnectCasesClient", "GetDomainCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetDomainCommand)
20
- .de(de_GetDomainCommand)
14
+ .sc(GetDomain)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetLayoutCommand, se_GetLayoutCommand } from "../protocols/Aws_restJson1";
4
+ import { GetLayout } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetLayoutCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonConnectCases", "GetLayout", {})
17
13
  .n("ConnectCasesClient", "GetLayoutCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetLayoutCommand)
20
- .de(de_GetLayoutCommand)
14
+ .sc(GetLayout)
21
15
  .build() {
22
16
  }