@aws-sdk/client-qbusiness 3.928.0 → 3.929.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 (110) hide show
  1. package/dist-cjs/index.js +4259 -4204
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/QBusinessClient.js +2 -0
  4. package/dist-es/commands/AssociatePermissionCommand.js +3 -9
  5. package/dist-es/commands/BatchDeleteDocumentCommand.js +3 -9
  6. package/dist-es/commands/BatchPutDocumentCommand.js +3 -9
  7. package/dist-es/commands/CancelSubscriptionCommand.js +3 -9
  8. package/dist-es/commands/ChatCommand.js +3 -12
  9. package/dist-es/commands/ChatSyncCommand.js +3 -9
  10. package/dist-es/commands/CheckDocumentAccessCommand.js +3 -9
  11. package/dist-es/commands/CreateAnonymousWebExperienceUrlCommand.js +3 -9
  12. package/dist-es/commands/CreateApplicationCommand.js +3 -10
  13. package/dist-es/commands/CreateChatResponseConfigurationCommand.js +3 -9
  14. package/dist-es/commands/CreateDataAccessorCommand.js +3 -10
  15. package/dist-es/commands/CreateDataSourceCommand.js +3 -9
  16. package/dist-es/commands/CreateIndexCommand.js +3 -9
  17. package/dist-es/commands/CreatePluginCommand.js +3 -10
  18. package/dist-es/commands/CreateRetrieverCommand.js +3 -9
  19. package/dist-es/commands/CreateSubscriptionCommand.js +3 -9
  20. package/dist-es/commands/CreateUserCommand.js +3 -9
  21. package/dist-es/commands/CreateWebExperienceCommand.js +3 -9
  22. package/dist-es/commands/DeleteApplicationCommand.js +3 -9
  23. package/dist-es/commands/DeleteAttachmentCommand.js +3 -9
  24. package/dist-es/commands/DeleteChatControlsConfigurationCommand.js +3 -9
  25. package/dist-es/commands/DeleteChatResponseConfigurationCommand.js +3 -9
  26. package/dist-es/commands/DeleteConversationCommand.js +3 -9
  27. package/dist-es/commands/DeleteDataAccessorCommand.js +3 -9
  28. package/dist-es/commands/DeleteDataSourceCommand.js +3 -9
  29. package/dist-es/commands/DeleteGroupCommand.js +3 -9
  30. package/dist-es/commands/DeleteIndexCommand.js +3 -9
  31. package/dist-es/commands/DeletePluginCommand.js +3 -9
  32. package/dist-es/commands/DeleteRetrieverCommand.js +3 -9
  33. package/dist-es/commands/DeleteUserCommand.js +3 -9
  34. package/dist-es/commands/DeleteWebExperienceCommand.js +3 -9
  35. package/dist-es/commands/DisassociatePermissionCommand.js +3 -9
  36. package/dist-es/commands/GetApplicationCommand.js +3 -10
  37. package/dist-es/commands/GetChatControlsConfigurationCommand.js +3 -9
  38. package/dist-es/commands/GetChatResponseConfigurationCommand.js +3 -9
  39. package/dist-es/commands/GetDataAccessorCommand.js +3 -10
  40. package/dist-es/commands/GetDataSourceCommand.js +3 -9
  41. package/dist-es/commands/GetDocumentContentCommand.js +3 -9
  42. package/dist-es/commands/GetGroupCommand.js +3 -9
  43. package/dist-es/commands/GetIndexCommand.js +3 -9
  44. package/dist-es/commands/GetMediaCommand.js +3 -9
  45. package/dist-es/commands/GetPluginCommand.js +3 -10
  46. package/dist-es/commands/GetPolicyCommand.js +3 -9
  47. package/dist-es/commands/GetRetrieverCommand.js +3 -9
  48. package/dist-es/commands/GetUserCommand.js +3 -9
  49. package/dist-es/commands/GetWebExperienceCommand.js +3 -9
  50. package/dist-es/commands/ListApplicationsCommand.js +3 -9
  51. package/dist-es/commands/ListAttachmentsCommand.js +3 -9
  52. package/dist-es/commands/ListChatResponseConfigurationsCommand.js +3 -9
  53. package/dist-es/commands/ListConversationsCommand.js +3 -9
  54. package/dist-es/commands/ListDataAccessorsCommand.js +3 -10
  55. package/dist-es/commands/ListDataSourceSyncJobsCommand.js +3 -9
  56. package/dist-es/commands/ListDataSourcesCommand.js +3 -9
  57. package/dist-es/commands/ListDocumentsCommand.js +3 -9
  58. package/dist-es/commands/ListGroupsCommand.js +3 -9
  59. package/dist-es/commands/ListIndicesCommand.js +3 -9
  60. package/dist-es/commands/ListMessagesCommand.js +3 -9
  61. package/dist-es/commands/ListPluginActionsCommand.js +3 -9
  62. package/dist-es/commands/ListPluginTypeActionsCommand.js +3 -9
  63. package/dist-es/commands/ListPluginTypeMetadataCommand.js +3 -9
  64. package/dist-es/commands/ListPluginsCommand.js +3 -9
  65. package/dist-es/commands/ListRetrieversCommand.js +3 -9
  66. package/dist-es/commands/ListSubscriptionsCommand.js +3 -9
  67. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  68. package/dist-es/commands/ListWebExperiencesCommand.js +3 -9
  69. package/dist-es/commands/PutFeedbackCommand.js +3 -9
  70. package/dist-es/commands/PutGroupCommand.js +3 -9
  71. package/dist-es/commands/SearchRelevantContentCommand.js +3 -9
  72. package/dist-es/commands/StartDataSourceSyncJobCommand.js +3 -9
  73. package/dist-es/commands/StopDataSourceSyncJobCommand.js +3 -9
  74. package/dist-es/commands/TagResourceCommand.js +3 -9
  75. package/dist-es/commands/UntagResourceCommand.js +3 -9
  76. package/dist-es/commands/UpdateApplicationCommand.js +3 -9
  77. package/dist-es/commands/UpdateChatControlsConfigurationCommand.js +3 -9
  78. package/dist-es/commands/UpdateChatResponseConfigurationCommand.js +3 -9
  79. package/dist-es/commands/UpdateDataAccessorCommand.js +3 -10
  80. package/dist-es/commands/UpdateDataSourceCommand.js +3 -9
  81. package/dist-es/commands/UpdateIndexCommand.js +3 -9
  82. package/dist-es/commands/UpdatePluginCommand.js +3 -10
  83. package/dist-es/commands/UpdateRetrieverCommand.js +3 -9
  84. package/dist-es/commands/UpdateSubscriptionCommand.js +3 -9
  85. package/dist-es/commands/UpdateUserCommand.js +3 -9
  86. package/dist-es/commands/UpdateWebExperienceCommand.js +3 -9
  87. package/dist-es/models/models_0.js +0 -77
  88. package/dist-es/models/models_1.js +0 -39
  89. package/dist-es/runtimeConfig.shared.js +2 -0
  90. package/dist-es/schemas/schemas_0.js +4079 -0
  91. package/dist-types/QBusinessClient.d.ts +10 -1
  92. package/dist-types/models/models_0.d.ts +0 -48
  93. package/dist-types/models/models_1.d.ts +0 -20
  94. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  95. package/dist-types/runtimeConfig.d.ts +1 -0
  96. package/dist-types/runtimeConfig.native.d.ts +1 -0
  97. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  98. package/dist-types/schemas/schemas_0.d.ts +485 -0
  99. package/dist-types/ts3.4/QBusinessClient.d.ts +4 -0
  100. package/dist-types/ts3.4/models/models_0.d.ts +0 -30
  101. package/dist-types/ts3.4/models/models_1.d.ts +0 -13
  102. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  103. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  104. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  105. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  106. package/dist-types/ts3.4/schemas/schemas_0.d.ts +492 -0
  107. package/package.json +2 -3
  108. package/dist-es/protocols/Aws_restJson1.js +0 -3464
  109. package/dist-types/protocols/Aws_restJson1.d.ts +0 -749
  110. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1001
@@ -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.qbusiness" }),
28
30
  serviceId: config?.serviceId ?? "QBusiness",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -5,6 +5,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
5
5
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
6
6
  import { resolveRegionConfig } from "@smithy/config-resolver";
7
7
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
8
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
9
  import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver";
9
10
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
10
11
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
@@ -32,6 +33,7 @@ export class QBusinessClient extends __Client {
32
33
  const _config_9 = resolveEventStreamConfig(_config_8);
33
34
  const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
34
35
  this.config = _config_10;
36
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
35
37
  this.middlewareStack.use(getUserAgentPlugin(this.config));
36
38
  this.middlewareStack.use(getRetryPlugin(this.config));
37
39
  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_AssociatePermissionCommand, se_AssociatePermissionCommand } from "../protocols/Aws_restJson1";
4
+ import { AssociatePermission } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociatePermissionCommand 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("ExpertQ", "AssociatePermission", {})
17
13
  .n("QBusinessClient", "AssociatePermissionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociatePermissionCommand)
20
- .de(de_AssociatePermissionCommand)
14
+ .sc(AssociatePermission)
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_BatchDeleteDocumentCommand, se_BatchDeleteDocumentCommand } from "../protocols/Aws_restJson1";
4
+ import { BatchDeleteDocument } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchDeleteDocumentCommand 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("ExpertQ", "BatchDeleteDocument", {})
17
13
  .n("QBusinessClient", "BatchDeleteDocumentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchDeleteDocumentCommand)
20
- .de(de_BatchDeleteDocumentCommand)
14
+ .sc(BatchDeleteDocument)
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_BatchPutDocumentCommand, se_BatchPutDocumentCommand } from "../protocols/Aws_restJson1";
4
+ import { BatchPutDocument } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchPutDocumentCommand 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("ExpertQ", "BatchPutDocument", {})
17
13
  .n("QBusinessClient", "BatchPutDocumentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchPutDocumentCommand)
20
- .de(de_BatchPutDocumentCommand)
14
+ .sc(BatchPutDocument)
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_CancelSubscriptionCommand, se_CancelSubscriptionCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelSubscription } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelSubscriptionCommand 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("ExpertQ", "CancelSubscription", {})
17
13
  .n("QBusinessClient", "CancelSubscriptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelSubscriptionCommand)
20
- .de(de_CancelSubscriptionCommand)
14
+ .sc(CancelSubscription)
21
15
  .build() {
22
16
  }
@@ -1,21 +1,14 @@
1
1
  import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
5
4
  import { commonParams } from "../endpoint/EndpointParameters";
6
- import { ChatOutputFilterSensitiveLog } from "../models/models_0";
7
- import { ChatInputFilterSensitiveLog } from "../models/models_1";
8
- import { de_ChatCommand, se_ChatCommand } from "../protocols/Aws_restJson1";
5
+ import { Chat } from "../schemas/schemas_0";
9
6
  export { $Command };
10
7
  export class ChatCommand extends $Command
11
8
  .classBuilder()
12
9
  .ep(commonParams)
13
10
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- getEventStreamPlugin(config),
18
- ];
11
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getEventStreamPlugin(config)];
19
12
  })
20
13
  .s("ExpertQ", "Chat", {
21
14
  eventStream: {
@@ -24,8 +17,6 @@ export class ChatCommand extends $Command
24
17
  },
25
18
  })
26
19
  .n("QBusinessClient", "ChatCommand")
27
- .f(ChatInputFilterSensitiveLog, ChatOutputFilterSensitiveLog)
28
- .ser(se_ChatCommand)
29
- .de(de_ChatCommand)
20
+ .sc(Chat)
30
21
  .build() {
31
22
  }
@@ -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_ChatSyncCommand, se_ChatSyncCommand } from "../protocols/Aws_restJson1";
4
+ import { ChatSync } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ChatSyncCommand 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("ExpertQ", "ChatSync", {})
17
13
  .n("QBusinessClient", "ChatSyncCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ChatSyncCommand)
20
- .de(de_ChatSyncCommand)
14
+ .sc(ChatSync)
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_CheckDocumentAccessCommand, se_CheckDocumentAccessCommand } from "../protocols/Aws_restJson1";
4
+ import { CheckDocumentAccess } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CheckDocumentAccessCommand 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("ExpertQ", "CheckDocumentAccess", {})
17
13
  .n("QBusinessClient", "CheckDocumentAccessCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CheckDocumentAccessCommand)
20
- .de(de_CheckDocumentAccessCommand)
14
+ .sc(CheckDocumentAccess)
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_CreateAnonymousWebExperienceUrlCommand, se_CreateAnonymousWebExperienceUrlCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreateAnonymousWebExperienceUrl } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAnonymousWebExperienceUrlCommand 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("ExpertQ", "CreateAnonymousWebExperienceUrl", {})
17
13
  .n("QBusinessClient", "CreateAnonymousWebExperienceUrlCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAnonymousWebExperienceUrlCommand)
20
- .de(de_CreateAnonymousWebExperienceUrlCommand)
14
+ .sc(CreateAnonymousWebExperienceUrl)
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 { CreateApplicationRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateApplicationCommand, se_CreateApplicationCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateApplication } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateApplicationCommand 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("ExpertQ", "CreateApplication", {})
18
13
  .n("QBusinessClient", "CreateApplicationCommand")
19
- .f(CreateApplicationRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateApplicationCommand)
21
- .de(de_CreateApplicationCommand)
14
+ .sc(CreateApplication)
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_CreateChatResponseConfigurationCommand, se_CreateChatResponseConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreateChatResponseConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateChatResponseConfigurationCommand 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("ExpertQ", "CreateChatResponseConfiguration", {})
17
13
  .n("QBusinessClient", "CreateChatResponseConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateChatResponseConfigurationCommand)
20
- .de(de_CreateChatResponseConfigurationCommand)
14
+ .sc(CreateChatResponseConfiguration)
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 { CreateDataAccessorRequestFilterSensitiveLog } from "../models/models_1";
6
- import { de_CreateDataAccessorCommand, se_CreateDataAccessorCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDataAccessor } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateDataAccessorCommand 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("ExpertQ", "CreateDataAccessor", {})
18
13
  .n("QBusinessClient", "CreateDataAccessorCommand")
19
- .f(CreateDataAccessorRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateDataAccessorCommand)
21
- .de(de_CreateDataAccessorCommand)
14
+ .sc(CreateDataAccessor)
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_CreateDataSourceCommand, se_CreateDataSourceCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDataSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDataSourceCommand 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("ExpertQ", "CreateDataSource", {})
17
13
  .n("QBusinessClient", "CreateDataSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDataSourceCommand)
20
- .de(de_CreateDataSourceCommand)
14
+ .sc(CreateDataSource)
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_CreateIndexCommand, se_CreateIndexCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateIndex } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateIndexCommand 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("ExpertQ", "CreateIndex", {})
17
13
  .n("QBusinessClient", "CreateIndexCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateIndexCommand)
20
- .de(de_CreateIndexCommand)
14
+ .sc(CreateIndex)
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 { CreatePluginRequestFilterSensitiveLog } from "../models/models_0";
6
- import { de_CreatePluginCommand, se_CreatePluginCommand } from "../protocols/Aws_restJson1";
4
+ import { CreatePlugin } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreatePluginCommand 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("ExpertQ", "CreatePlugin", {})
18
13
  .n("QBusinessClient", "CreatePluginCommand")
19
- .f(CreatePluginRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreatePluginCommand)
21
- .de(de_CreatePluginCommand)
14
+ .sc(CreatePlugin)
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_CreateRetrieverCommand, se_CreateRetrieverCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateRetriever } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateRetrieverCommand 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("ExpertQ", "CreateRetriever", {})
17
13
  .n("QBusinessClient", "CreateRetrieverCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateRetrieverCommand)
20
- .de(de_CreateRetrieverCommand)
14
+ .sc(CreateRetriever)
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_CreateSubscriptionCommand, se_CreateSubscriptionCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateSubscription } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSubscriptionCommand 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("ExpertQ", "CreateSubscription", {})
17
13
  .n("QBusinessClient", "CreateSubscriptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSubscriptionCommand)
20
- .de(de_CreateSubscriptionCommand)
14
+ .sc(CreateSubscription)
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_CreateUserCommand, se_CreateUserCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateUser } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateUserCommand 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("ExpertQ", "CreateUser", {})
17
13
  .n("QBusinessClient", "CreateUserCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateUserCommand)
20
- .de(de_CreateUserCommand)
14
+ .sc(CreateUser)
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_CreateWebExperienceCommand, se_CreateWebExperienceCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateWebExperience } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateWebExperienceCommand 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("ExpertQ", "CreateWebExperience", {})
17
13
  .n("QBusinessClient", "CreateWebExperienceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateWebExperienceCommand)
20
- .de(de_CreateWebExperienceCommand)
14
+ .sc(CreateWebExperience)
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_DeleteApplicationCommand, se_DeleteApplicationCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteApplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteApplicationCommand 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("ExpertQ", "DeleteApplication", {})
17
13
  .n("QBusinessClient", "DeleteApplicationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteApplicationCommand)
20
- .de(de_DeleteApplicationCommand)
14
+ .sc(DeleteApplication)
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_DeleteAttachmentCommand, se_DeleteAttachmentCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAttachment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAttachmentCommand 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("ExpertQ", "DeleteAttachment", {})
17
13
  .n("QBusinessClient", "DeleteAttachmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAttachmentCommand)
20
- .de(de_DeleteAttachmentCommand)
14
+ .sc(DeleteAttachment)
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_DeleteChatControlsConfigurationCommand, se_DeleteChatControlsConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeleteChatControlsConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteChatControlsConfigurationCommand 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("ExpertQ", "DeleteChatControlsConfiguration", {})
17
13
  .n("QBusinessClient", "DeleteChatControlsConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteChatControlsConfigurationCommand)
20
- .de(de_DeleteChatControlsConfigurationCommand)
14
+ .sc(DeleteChatControlsConfiguration)
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_DeleteChatResponseConfigurationCommand, se_DeleteChatResponseConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeleteChatResponseConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteChatResponseConfigurationCommand 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("ExpertQ", "DeleteChatResponseConfiguration", {})
17
13
  .n("QBusinessClient", "DeleteChatResponseConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteChatResponseConfigurationCommand)
20
- .de(de_DeleteChatResponseConfigurationCommand)
14
+ .sc(DeleteChatResponseConfiguration)
21
15
  .build() {
22
16
  }