@aws-sdk/client-qbusiness 3.952.0 → 3.953.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 (103) hide show
  1. package/dist-cjs/index.js +1364 -901
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/AssociatePermissionCommand.js +2 -2
  4. package/dist-es/commands/BatchDeleteDocumentCommand.js +2 -2
  5. package/dist-es/commands/BatchPutDocumentCommand.js +2 -2
  6. package/dist-es/commands/CancelSubscriptionCommand.js +2 -2
  7. package/dist-es/commands/ChatCommand.js +2 -2
  8. package/dist-es/commands/ChatSyncCommand.js +2 -2
  9. package/dist-es/commands/CheckDocumentAccessCommand.js +2 -2
  10. package/dist-es/commands/CreateAnonymousWebExperienceUrlCommand.js +2 -2
  11. package/dist-es/commands/CreateApplicationCommand.js +2 -2
  12. package/dist-es/commands/CreateChatResponseConfigurationCommand.js +2 -2
  13. package/dist-es/commands/CreateDataAccessorCommand.js +2 -2
  14. package/dist-es/commands/CreateDataSourceCommand.js +2 -2
  15. package/dist-es/commands/CreateIndexCommand.js +2 -2
  16. package/dist-es/commands/CreatePluginCommand.js +2 -2
  17. package/dist-es/commands/CreateRetrieverCommand.js +2 -2
  18. package/dist-es/commands/CreateSubscriptionCommand.js +2 -2
  19. package/dist-es/commands/CreateUserCommand.js +2 -2
  20. package/dist-es/commands/CreateWebExperienceCommand.js +2 -2
  21. package/dist-es/commands/DeleteApplicationCommand.js +2 -2
  22. package/dist-es/commands/DeleteAttachmentCommand.js +2 -2
  23. package/dist-es/commands/DeleteChatControlsConfigurationCommand.js +2 -2
  24. package/dist-es/commands/DeleteChatResponseConfigurationCommand.js +2 -2
  25. package/dist-es/commands/DeleteConversationCommand.js +2 -2
  26. package/dist-es/commands/DeleteDataAccessorCommand.js +2 -2
  27. package/dist-es/commands/DeleteDataSourceCommand.js +2 -2
  28. package/dist-es/commands/DeleteGroupCommand.js +2 -2
  29. package/dist-es/commands/DeleteIndexCommand.js +2 -2
  30. package/dist-es/commands/DeletePluginCommand.js +2 -2
  31. package/dist-es/commands/DeleteRetrieverCommand.js +2 -2
  32. package/dist-es/commands/DeleteUserCommand.js +2 -2
  33. package/dist-es/commands/DeleteWebExperienceCommand.js +2 -2
  34. package/dist-es/commands/DisassociatePermissionCommand.js +2 -2
  35. package/dist-es/commands/GetApplicationCommand.js +2 -2
  36. package/dist-es/commands/GetChatControlsConfigurationCommand.js +2 -2
  37. package/dist-es/commands/GetChatResponseConfigurationCommand.js +2 -2
  38. package/dist-es/commands/GetDataAccessorCommand.js +2 -2
  39. package/dist-es/commands/GetDataSourceCommand.js +2 -2
  40. package/dist-es/commands/GetDocumentContentCommand.js +2 -2
  41. package/dist-es/commands/GetGroupCommand.js +2 -2
  42. package/dist-es/commands/GetIndexCommand.js +2 -2
  43. package/dist-es/commands/GetMediaCommand.js +2 -2
  44. package/dist-es/commands/GetPluginCommand.js +2 -2
  45. package/dist-es/commands/GetPolicyCommand.js +2 -2
  46. package/dist-es/commands/GetRetrieverCommand.js +2 -2
  47. package/dist-es/commands/GetUserCommand.js +2 -2
  48. package/dist-es/commands/GetWebExperienceCommand.js +2 -2
  49. package/dist-es/commands/ListApplicationsCommand.js +2 -2
  50. package/dist-es/commands/ListAttachmentsCommand.js +2 -2
  51. package/dist-es/commands/ListChatResponseConfigurationsCommand.js +2 -2
  52. package/dist-es/commands/ListConversationsCommand.js +2 -2
  53. package/dist-es/commands/ListDataAccessorsCommand.js +2 -2
  54. package/dist-es/commands/ListDataSourceSyncJobsCommand.js +2 -2
  55. package/dist-es/commands/ListDataSourcesCommand.js +2 -2
  56. package/dist-es/commands/ListDocumentsCommand.js +2 -2
  57. package/dist-es/commands/ListGroupsCommand.js +2 -2
  58. package/dist-es/commands/ListIndicesCommand.js +2 -2
  59. package/dist-es/commands/ListMessagesCommand.js +2 -2
  60. package/dist-es/commands/ListPluginActionsCommand.js +2 -2
  61. package/dist-es/commands/ListPluginTypeActionsCommand.js +2 -2
  62. package/dist-es/commands/ListPluginTypeMetadataCommand.js +2 -2
  63. package/dist-es/commands/ListPluginsCommand.js +2 -2
  64. package/dist-es/commands/ListRetrieversCommand.js +2 -2
  65. package/dist-es/commands/ListSubscriptionsCommand.js +2 -2
  66. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  67. package/dist-es/commands/ListWebExperiencesCommand.js +2 -2
  68. package/dist-es/commands/PutFeedbackCommand.js +2 -2
  69. package/dist-es/commands/PutGroupCommand.js +2 -2
  70. package/dist-es/commands/SearchRelevantContentCommand.js +2 -2
  71. package/dist-es/commands/StartDataSourceSyncJobCommand.js +2 -2
  72. package/dist-es/commands/StopDataSourceSyncJobCommand.js +2 -2
  73. package/dist-es/commands/TagResourceCommand.js +2 -2
  74. package/dist-es/commands/UntagResourceCommand.js +2 -2
  75. package/dist-es/commands/UpdateApplicationCommand.js +2 -2
  76. package/dist-es/commands/UpdateChatControlsConfigurationCommand.js +2 -2
  77. package/dist-es/commands/UpdateChatResponseConfigurationCommand.js +2 -2
  78. package/dist-es/commands/UpdateDataAccessorCommand.js +2 -2
  79. package/dist-es/commands/UpdateDataSourceCommand.js +2 -2
  80. package/dist-es/commands/UpdateIndexCommand.js +2 -2
  81. package/dist-es/commands/UpdatePluginCommand.js +2 -2
  82. package/dist-es/commands/UpdateRetrieverCommand.js +2 -2
  83. package/dist-es/commands/UpdateSubscriptionCommand.js +2 -2
  84. package/dist-es/commands/UpdateUserCommand.js +2 -2
  85. package/dist-es/commands/UpdateWebExperienceCommand.js +2 -2
  86. package/dist-es/index.js +1 -0
  87. package/dist-es/runtimeConfig.shared.js +6 -1
  88. package/dist-es/schemas/schemas_0.js +865 -813
  89. package/dist-types/QBusinessClient.d.ts +1 -10
  90. package/dist-types/index.d.ts +1 -0
  91. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  92. package/dist-types/runtimeConfig.d.ts +6 -2
  93. package/dist-types/runtimeConfig.native.d.ts +6 -2
  94. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  95. package/dist-types/schemas/schemas_0.d.ts +412 -485
  96. package/dist-types/ts3.4/QBusinessClient.d.ts +0 -4
  97. package/dist-types/ts3.4/index.d.ts +1 -0
  98. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  99. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  100. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  101. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  102. package/dist-types/ts3.4/schemas/schemas_0.d.ts +411 -487
  103. package/package.json +39 -39
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("ExpertQ", "UntagResource", {})
13
13
  .n("QBusinessClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateApplication } from "../schemas/schemas_0";
4
+ import { UpdateApplication$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateApplicationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateApplicationCommand extends $Command
11
11
  })
12
12
  .s("ExpertQ", "UpdateApplication", {})
13
13
  .n("QBusinessClient", "UpdateApplicationCommand")
14
- .sc(UpdateApplication)
14
+ .sc(UpdateApplication$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateChatControlsConfiguration } from "../schemas/schemas_0";
4
+ import { UpdateChatControlsConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateChatControlsConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateChatControlsConfigurationCommand extends $Command
11
11
  })
12
12
  .s("ExpertQ", "UpdateChatControlsConfiguration", {})
13
13
  .n("QBusinessClient", "UpdateChatControlsConfigurationCommand")
14
- .sc(UpdateChatControlsConfiguration)
14
+ .sc(UpdateChatControlsConfiguration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateChatResponseConfiguration } from "../schemas/schemas_0";
4
+ import { UpdateChatResponseConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateChatResponseConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateChatResponseConfigurationCommand extends $Command
11
11
  })
12
12
  .s("ExpertQ", "UpdateChatResponseConfiguration", {})
13
13
  .n("QBusinessClient", "UpdateChatResponseConfigurationCommand")
14
- .sc(UpdateChatResponseConfiguration)
14
+ .sc(UpdateChatResponseConfiguration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateDataAccessor } from "../schemas/schemas_0";
4
+ import { UpdateDataAccessor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateDataAccessorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateDataAccessorCommand extends $Command
11
11
  })
12
12
  .s("ExpertQ", "UpdateDataAccessor", {})
13
13
  .n("QBusinessClient", "UpdateDataAccessorCommand")
14
- .sc(UpdateDataAccessor)
14
+ .sc(UpdateDataAccessor$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateDataSource } from "../schemas/schemas_0";
4
+ import { UpdateDataSource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateDataSourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateDataSourceCommand extends $Command
11
11
  })
12
12
  .s("ExpertQ", "UpdateDataSource", {})
13
13
  .n("QBusinessClient", "UpdateDataSourceCommand")
14
- .sc(UpdateDataSource)
14
+ .sc(UpdateDataSource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateIndex } from "../schemas/schemas_0";
4
+ import { UpdateIndex$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateIndexCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateIndexCommand extends $Command
11
11
  })
12
12
  .s("ExpertQ", "UpdateIndex", {})
13
13
  .n("QBusinessClient", "UpdateIndexCommand")
14
- .sc(UpdateIndex)
14
+ .sc(UpdateIndex$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdatePlugin } from "../schemas/schemas_0";
4
+ import { UpdatePlugin$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdatePluginCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdatePluginCommand extends $Command
11
11
  })
12
12
  .s("ExpertQ", "UpdatePlugin", {})
13
13
  .n("QBusinessClient", "UpdatePluginCommand")
14
- .sc(UpdatePlugin)
14
+ .sc(UpdatePlugin$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateRetriever } from "../schemas/schemas_0";
4
+ import { UpdateRetriever$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateRetrieverCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateRetrieverCommand extends $Command
11
11
  })
12
12
  .s("ExpertQ", "UpdateRetriever", {})
13
13
  .n("QBusinessClient", "UpdateRetrieverCommand")
14
- .sc(UpdateRetriever)
14
+ .sc(UpdateRetriever$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateSubscription } from "../schemas/schemas_0";
4
+ import { UpdateSubscription$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateSubscriptionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateSubscriptionCommand extends $Command
11
11
  })
12
12
  .s("ExpertQ", "UpdateSubscription", {})
13
13
  .n("QBusinessClient", "UpdateSubscriptionCommand")
14
- .sc(UpdateSubscription)
14
+ .sc(UpdateSubscription$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateUser } from "../schemas/schemas_0";
4
+ import { UpdateUser$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateUserCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateUserCommand extends $Command
11
11
  })
12
12
  .s("ExpertQ", "UpdateUser", {})
13
13
  .n("QBusinessClient", "UpdateUserCommand")
14
- .sc(UpdateUser)
14
+ .sc(UpdateUser$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateWebExperience } from "../schemas/schemas_0";
4
+ import { UpdateWebExperience$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateWebExperienceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateWebExperienceCommand extends $Command
11
11
  })
12
12
  .s("ExpertQ", "UpdateWebExperience", {})
13
13
  .n("QBusinessClient", "UpdateWebExperienceCommand")
14
- .sc(UpdateWebExperience)
14
+ .sc(UpdateWebExperience$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./QBusinessClient";
2
2
  export * from "./QBusiness";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.qbusiness" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.qbusiness",
29
+ version: "2023-11-27",
30
+ serviceTarget: "ExpertQ",
31
+ },
27
32
  serviceId: config?.serviceId ?? "QBusiness",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,