@aws-sdk/client-qbusiness 3.798.0 → 3.803.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 (33) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +50 -0
  3. package/dist-cjs/runtimeConfig.js +1 -0
  4. package/dist-es/QBusiness.js +2 -0
  5. package/dist-es/commands/CreateAnonymousWebExperienceUrlCommand.js +22 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/models/models_0.js +1 -0
  8. package/dist-es/protocols/Aws_restJson1.js +29 -0
  9. package/dist-es/runtimeConfig.js +2 -1
  10. package/dist-types/QBusiness.d.ts +7 -0
  11. package/dist-types/QBusinessClient.d.ts +3 -2
  12. package/dist-types/commands/CreateAnonymousWebExperienceUrlCommand.d.ts +92 -0
  13. package/dist-types/commands/CreateApplicationCommand.d.ts +1 -1
  14. package/dist-types/commands/GetApplicationCommand.d.ts +1 -1
  15. package/dist-types/commands/ListApplicationsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +2 -1
  17. package/dist-types/commands/ListDocumentsCommand.d.ts +1 -2
  18. package/dist-types/commands/index.d.ts +1 -0
  19. package/dist-types/models/models_0.d.ts +32 -46
  20. package/dist-types/models/models_1.d.ts +46 -1
  21. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  22. package/dist-types/runtimeConfig.d.ts +1 -1
  23. package/dist-types/ts3.4/QBusiness.d.ts +17 -0
  24. package/dist-types/ts3.4/QBusinessClient.d.ts +6 -0
  25. package/dist-types/ts3.4/commands/CreateAnonymousWebExperienceUrlCommand.d.ts +51 -0
  26. package/dist-types/ts3.4/commands/ListDataSourceSyncJobsCommand.d.ts +2 -4
  27. package/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts +4 -2
  28. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +9 -11
  30. package/dist-types/ts3.4/models/models_1.d.ts +12 -0
  31. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  32. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -4
  33. package/package.json +7 -7
package/README.md CHANGED
@@ -258,6 +258,14 @@ CheckDocumentAccess
258
258
 
259
259
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/CheckDocumentAccessCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/CheckDocumentAccessCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/CheckDocumentAccessCommandOutput/)
260
260
 
261
+ </details>
262
+ <details>
263
+ <summary>
264
+ CreateAnonymousWebExperienceUrl
265
+ </summary>
266
+
267
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/CreateAnonymousWebExperienceUrlCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/CreateAnonymousWebExperienceUrlCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/CreateAnonymousWebExperienceUrlCommandOutput/)
268
+
261
269
  </details>
262
270
  <details>
263
271
  <summary>
package/dist-cjs/index.js CHANGED
@@ -54,6 +54,7 @@ __export(index_exports, {
54
54
  ContentSource: () => ContentSource,
55
55
  ContentType: () => ContentType,
56
56
  CopyFromSource: () => CopyFromSource,
57
+ CreateAnonymousWebExperienceUrlCommand: () => CreateAnonymousWebExperienceUrlCommand,
57
58
  CreateApplicationCommand: () => CreateApplicationCommand,
58
59
  CreateApplicationRequestFilterSensitiveLog: () => CreateApplicationRequestFilterSensitiveLog,
59
60
  CreateDataAccessorCommand: () => CreateDataAccessorCommand,
@@ -483,6 +484,7 @@ var APISchemaType = {
483
484
  OPEN_API_V3: "OPEN_API_V3"
484
485
  };
485
486
  var IdentityType = {
487
+ ANONYMOUS: "ANONYMOUS",
486
488
  AWS_IAM_IDC: "AWS_IAM_IDC",
487
489
  AWS_IAM_IDP_OIDC: "AWS_IAM_IDP_OIDC",
488
490
  AWS_IAM_IDP_SAML: "AWS_IAM_IDP_SAML",
@@ -1325,6 +1327,23 @@ var se_CheckDocumentAccessCommand = /* @__PURE__ */ __name(async (input, context
1325
1327
  b.m("GET").h(headers).q(query).b(body);
1326
1328
  return b.build();
1327
1329
  }, "se_CheckDocumentAccessCommand");
1330
+ var se_CreateAnonymousWebExperienceUrlCommand = /* @__PURE__ */ __name(async (input, context) => {
1331
+ const b = (0, import_core.requestBuilder)(input, context);
1332
+ const headers = {
1333
+ "content-type": "application/json"
1334
+ };
1335
+ b.bp("/applications/{applicationId}/experiences/{webExperienceId}/anonymous-url");
1336
+ b.p("applicationId", () => input.applicationId, "{applicationId}", false);
1337
+ b.p("webExperienceId", () => input.webExperienceId, "{webExperienceId}", false);
1338
+ let body;
1339
+ body = JSON.stringify(
1340
+ (0, import_smithy_client.take)(input, {
1341
+ sessionDurationInMinutes: []
1342
+ })
1343
+ );
1344
+ b.m("POST").h(headers).b(body);
1345
+ return b.build();
1346
+ }, "se_CreateAnonymousWebExperienceUrlCommand");
1328
1347
  var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
1329
1348
  const b = (0, import_core.requestBuilder)(input, context);
1330
1349
  const headers = {
@@ -2471,6 +2490,20 @@ var de_CheckDocumentAccessCommand = /* @__PURE__ */ __name(async (output, contex
2471
2490
  Object.assign(contents, doc);
2472
2491
  return contents;
2473
2492
  }, "de_CheckDocumentAccessCommand");
2493
+ var de_CreateAnonymousWebExperienceUrlCommand = /* @__PURE__ */ __name(async (output, context) => {
2494
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2495
+ return de_CommandError(output, context);
2496
+ }
2497
+ const contents = (0, import_smithy_client.map)({
2498
+ $metadata: deserializeMetadata(output)
2499
+ });
2500
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2501
+ const doc = (0, import_smithy_client.take)(data, {
2502
+ anonymousUrl: import_smithy_client.expectString
2503
+ });
2504
+ Object.assign(contents, doc);
2505
+ return contents;
2506
+ }, "de_CreateAnonymousWebExperienceUrlCommand");
2474
2507
  var de_CreateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
2475
2508
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2476
2509
  return de_CommandError(output, context);
@@ -4543,6 +4576,21 @@ var CheckDocumentAccessCommand = class extends import_smithy_client.Command.clas
4543
4576
  }
4544
4577
  };
4545
4578
 
4579
+ // src/commands/CreateAnonymousWebExperienceUrlCommand.ts
4580
+
4581
+
4582
+
4583
+ var CreateAnonymousWebExperienceUrlCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4584
+ return [
4585
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4586
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4587
+ ];
4588
+ }).s("ExpertQ", "CreateAnonymousWebExperienceUrl", {}).n("QBusinessClient", "CreateAnonymousWebExperienceUrlCommand").f(void 0, void 0).ser(se_CreateAnonymousWebExperienceUrlCommand).de(de_CreateAnonymousWebExperienceUrlCommand).build() {
4589
+ static {
4590
+ __name(this, "CreateAnonymousWebExperienceUrlCommand");
4591
+ }
4592
+ };
4593
+
4546
4594
  // src/commands/CreateApplicationCommand.ts
4547
4595
 
4548
4596
 
@@ -5587,6 +5635,7 @@ var commands = {
5587
5635
  ChatCommand,
5588
5636
  ChatSyncCommand,
5589
5637
  CheckDocumentAccessCommand,
5638
+ CreateAnonymousWebExperienceUrlCommand,
5590
5639
  CreateApplicationCommand,
5591
5640
  CreateDataAccessorCommand,
5592
5641
  CreateDataSourceCommand,
@@ -5754,6 +5803,7 @@ var paginateSearchRelevantContent = (0, import_core.createPaginator)(QBusinessCl
5754
5803
  ChatCommand,
5755
5804
  ChatSyncCommand,
5756
5805
  CheckDocumentAccessCommand,
5806
+ CreateAnonymousWebExperienceUrlCommand,
5757
5807
  CreateApplicationCommand,
5758
5808
  CreateDataAccessorCommand,
5759
5809
  CreateDataSourceCommand,
@@ -31,6 +31,7 @@ const getRuntimeConfig = (config) => {
31
31
  ...config,
32
32
  runtime: "node",
33
33
  defaultsMode,
34
+ authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
34
35
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
35
36
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
36
37
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
@@ -6,6 +6,7 @@ import { CancelSubscriptionCommand, } from "./commands/CancelSubscriptionCommand
6
6
  import { ChatCommand } from "./commands/ChatCommand";
7
7
  import { ChatSyncCommand } from "./commands/ChatSyncCommand";
8
8
  import { CheckDocumentAccessCommand, } from "./commands/CheckDocumentAccessCommand";
9
+ import { CreateAnonymousWebExperienceUrlCommand, } from "./commands/CreateAnonymousWebExperienceUrlCommand";
9
10
  import { CreateApplicationCommand, } from "./commands/CreateApplicationCommand";
10
11
  import { CreateDataAccessorCommand, } from "./commands/CreateDataAccessorCommand";
11
12
  import { CreateDataSourceCommand, } from "./commands/CreateDataSourceCommand";
@@ -84,6 +85,7 @@ const commands = {
84
85
  ChatCommand,
85
86
  ChatSyncCommand,
86
87
  CheckDocumentAccessCommand,
88
+ CreateAnonymousWebExperienceUrlCommand,
87
89
  CreateApplicationCommand,
88
90
  CreateDataAccessorCommand,
89
91
  CreateDataSourceCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateAnonymousWebExperienceUrlCommand, se_CreateAnonymousWebExperienceUrlCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateAnonymousWebExperienceUrlCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ExpertQ", "CreateAnonymousWebExperienceUrl", {})
17
+ .n("QBusinessClient", "CreateAnonymousWebExperienceUrlCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateAnonymousWebExperienceUrlCommand)
20
+ .de(de_CreateAnonymousWebExperienceUrlCommand)
21
+ .build() {
22
+ }
@@ -5,6 +5,7 @@ export * from "./CancelSubscriptionCommand";
5
5
  export * from "./ChatCommand";
6
6
  export * from "./ChatSyncCommand";
7
7
  export * from "./CheckDocumentAccessCommand";
8
+ export * from "./CreateAnonymousWebExperienceUrlCommand";
8
9
  export * from "./CreateApplicationCommand";
9
10
  export * from "./CreateDataAccessorCommand";
10
11
  export * from "./CreateDataSourceCommand";
@@ -87,6 +87,7 @@ export const APISchemaType = {
87
87
  OPEN_API_V3: "OPEN_API_V3",
88
88
  };
89
89
  export const IdentityType = {
90
+ ANONYMOUS: "ANONYMOUS",
90
91
  AWS_IAM_IDC: "AWS_IAM_IDC",
91
92
  AWS_IAM_IDP_OIDC: "AWS_IAM_IDP_OIDC",
92
93
  AWS_IAM_IDP_SAML: "AWS_IAM_IDP_SAML",
@@ -128,6 +128,21 @@ export const se_CheckDocumentAccessCommand = async (input, context) => {
128
128
  b.m("GET").h(headers).q(query).b(body);
129
129
  return b.build();
130
130
  };
131
+ export const se_CreateAnonymousWebExperienceUrlCommand = async (input, context) => {
132
+ const b = rb(input, context);
133
+ const headers = {
134
+ "content-type": "application/json",
135
+ };
136
+ b.bp("/applications/{applicationId}/experiences/{webExperienceId}/anonymous-url");
137
+ b.p("applicationId", () => input.applicationId, "{applicationId}", false);
138
+ b.p("webExperienceId", () => input.webExperienceId, "{webExperienceId}", false);
139
+ let body;
140
+ body = JSON.stringify(take(input, {
141
+ sessionDurationInMinutes: [],
142
+ }));
143
+ b.m("POST").h(headers).b(body);
144
+ return b.build();
145
+ };
131
146
  export const se_CreateApplicationCommand = async (input, context) => {
132
147
  const b = rb(input, context);
133
148
  const headers = {
@@ -1228,6 +1243,20 @@ export const de_CheckDocumentAccessCommand = async (output, context) => {
1228
1243
  Object.assign(contents, doc);
1229
1244
  return contents;
1230
1245
  };
1246
+ export const de_CreateAnonymousWebExperienceUrlCommand = async (output, context) => {
1247
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1248
+ return de_CommandError(output, context);
1249
+ }
1250
+ const contents = map({
1251
+ $metadata: deserializeMetadata(output),
1252
+ });
1253
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1254
+ const doc = take(data, {
1255
+ anonymousUrl: __expectString,
1256
+ });
1257
+ Object.assign(contents, doc);
1258
+ return contents;
1259
+ };
1231
1260
  export const de_CreateApplicationCommand = async (output, context) => {
1232
1261
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1233
1262
  return de_CommandError(output, context);
@@ -1,5 +1,5 @@
1
1
  import packageInfo from "../package.json";
2
- import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
2
+ import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
3
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
4
  import { eventStreamPayloadHandlerProvider } from "@aws-sdk/eventstream-handler-node";
5
5
  import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
@@ -27,6 +27,7 @@ export const getRuntimeConfig = (config) => {
27
27
  ...config,
28
28
  runtime: "node",
29
29
  defaultsMode,
30
+ authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
30
31
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
31
32
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
32
33
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
@@ -6,6 +6,7 @@ import { CancelSubscriptionCommandInput, CancelSubscriptionCommandOutput } from
6
6
  import { ChatCommandInput, ChatCommandOutput } from "./commands/ChatCommand";
7
7
  import { ChatSyncCommandInput, ChatSyncCommandOutput } from "./commands/ChatSyncCommand";
8
8
  import { CheckDocumentAccessCommandInput, CheckDocumentAccessCommandOutput } from "./commands/CheckDocumentAccessCommand";
9
+ import { CreateAnonymousWebExperienceUrlCommandInput, CreateAnonymousWebExperienceUrlCommandOutput } from "./commands/CreateAnonymousWebExperienceUrlCommand";
9
10
  import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
10
11
  import { CreateDataAccessorCommandInput, CreateDataAccessorCommandOutput } from "./commands/CreateDataAccessorCommand";
11
12
  import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
@@ -119,6 +120,12 @@ export interface QBusiness {
119
120
  checkDocumentAccess(args: CheckDocumentAccessCommandInput, options?: __HttpHandlerOptions): Promise<CheckDocumentAccessCommandOutput>;
120
121
  checkDocumentAccess(args: CheckDocumentAccessCommandInput, cb: (err: any, data?: CheckDocumentAccessCommandOutput) => void): void;
121
122
  checkDocumentAccess(args: CheckDocumentAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CheckDocumentAccessCommandOutput) => void): void;
123
+ /**
124
+ * @see {@link CreateAnonymousWebExperienceUrlCommand}
125
+ */
126
+ createAnonymousWebExperienceUrl(args: CreateAnonymousWebExperienceUrlCommandInput, options?: __HttpHandlerOptions): Promise<CreateAnonymousWebExperienceUrlCommandOutput>;
127
+ createAnonymousWebExperienceUrl(args: CreateAnonymousWebExperienceUrlCommandInput, cb: (err: any, data?: CreateAnonymousWebExperienceUrlCommandOutput) => void): void;
128
+ createAnonymousWebExperienceUrl(args: CreateAnonymousWebExperienceUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAnonymousWebExperienceUrlCommandOutput) => void): void;
122
129
  /**
123
130
  * @see {@link CreateApplicationCommand}
124
131
  */
@@ -17,6 +17,7 @@ import { CancelSubscriptionCommandInput, CancelSubscriptionCommandOutput } from
17
17
  import { ChatCommandInput, ChatCommandOutput } from "./commands/ChatCommand";
18
18
  import { ChatSyncCommandInput, ChatSyncCommandOutput } from "./commands/ChatSyncCommand";
19
19
  import { CheckDocumentAccessCommandInput, CheckDocumentAccessCommandOutput } from "./commands/CheckDocumentAccessCommand";
20
+ import { CreateAnonymousWebExperienceUrlCommandInput, CreateAnonymousWebExperienceUrlCommandOutput } from "./commands/CreateAnonymousWebExperienceUrlCommand";
20
21
  import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
21
22
  import { CreateDataAccessorCommandInput, CreateDataAccessorCommandOutput } from "./commands/CreateDataAccessorCommand";
22
23
  import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
@@ -92,11 +93,11 @@ export { __Client };
92
93
  /**
93
94
  * @public
94
95
  */
95
- export type ServiceInputTypes = AssociatePermissionCommandInput | BatchDeleteDocumentCommandInput | BatchPutDocumentCommandInput | CancelSubscriptionCommandInput | ChatCommandInput | ChatSyncCommandInput | CheckDocumentAccessCommandInput | CreateApplicationCommandInput | CreateDataAccessorCommandInput | CreateDataSourceCommandInput | CreateIndexCommandInput | CreatePluginCommandInput | CreateRetrieverCommandInput | CreateSubscriptionCommandInput | CreateUserCommandInput | CreateWebExperienceCommandInput | DeleteApplicationCommandInput | DeleteAttachmentCommandInput | DeleteChatControlsConfigurationCommandInput | DeleteConversationCommandInput | DeleteDataAccessorCommandInput | DeleteDataSourceCommandInput | DeleteGroupCommandInput | DeleteIndexCommandInput | DeletePluginCommandInput | DeleteRetrieverCommandInput | DeleteUserCommandInput | DeleteWebExperienceCommandInput | DisassociatePermissionCommandInput | GetApplicationCommandInput | GetChatControlsConfigurationCommandInput | GetDataAccessorCommandInput | GetDataSourceCommandInput | GetGroupCommandInput | GetIndexCommandInput | GetMediaCommandInput | GetPluginCommandInput | GetPolicyCommandInput | GetRetrieverCommandInput | GetUserCommandInput | GetWebExperienceCommandInput | ListApplicationsCommandInput | ListAttachmentsCommandInput | ListConversationsCommandInput | ListDataAccessorsCommandInput | ListDataSourceSyncJobsCommandInput | ListDataSourcesCommandInput | ListDocumentsCommandInput | ListGroupsCommandInput | ListIndicesCommandInput | ListMessagesCommandInput | ListPluginActionsCommandInput | ListPluginTypeActionsCommandInput | ListPluginTypeMetadataCommandInput | ListPluginsCommandInput | ListRetrieversCommandInput | ListSubscriptionsCommandInput | ListTagsForResourceCommandInput | ListWebExperiencesCommandInput | PutFeedbackCommandInput | PutGroupCommandInput | SearchRelevantContentCommandInput | StartDataSourceSyncJobCommandInput | StopDataSourceSyncJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateChatControlsConfigurationCommandInput | UpdateDataAccessorCommandInput | UpdateDataSourceCommandInput | UpdateIndexCommandInput | UpdatePluginCommandInput | UpdateRetrieverCommandInput | UpdateSubscriptionCommandInput | UpdateUserCommandInput | UpdateWebExperienceCommandInput;
96
+ export type ServiceInputTypes = AssociatePermissionCommandInput | BatchDeleteDocumentCommandInput | BatchPutDocumentCommandInput | CancelSubscriptionCommandInput | ChatCommandInput | ChatSyncCommandInput | CheckDocumentAccessCommandInput | CreateAnonymousWebExperienceUrlCommandInput | CreateApplicationCommandInput | CreateDataAccessorCommandInput | CreateDataSourceCommandInput | CreateIndexCommandInput | CreatePluginCommandInput | CreateRetrieverCommandInput | CreateSubscriptionCommandInput | CreateUserCommandInput | CreateWebExperienceCommandInput | DeleteApplicationCommandInput | DeleteAttachmentCommandInput | DeleteChatControlsConfigurationCommandInput | DeleteConversationCommandInput | DeleteDataAccessorCommandInput | DeleteDataSourceCommandInput | DeleteGroupCommandInput | DeleteIndexCommandInput | DeletePluginCommandInput | DeleteRetrieverCommandInput | DeleteUserCommandInput | DeleteWebExperienceCommandInput | DisassociatePermissionCommandInput | GetApplicationCommandInput | GetChatControlsConfigurationCommandInput | GetDataAccessorCommandInput | GetDataSourceCommandInput | GetGroupCommandInput | GetIndexCommandInput | GetMediaCommandInput | GetPluginCommandInput | GetPolicyCommandInput | GetRetrieverCommandInput | GetUserCommandInput | GetWebExperienceCommandInput | ListApplicationsCommandInput | ListAttachmentsCommandInput | ListConversationsCommandInput | ListDataAccessorsCommandInput | ListDataSourceSyncJobsCommandInput | ListDataSourcesCommandInput | ListDocumentsCommandInput | ListGroupsCommandInput | ListIndicesCommandInput | ListMessagesCommandInput | ListPluginActionsCommandInput | ListPluginTypeActionsCommandInput | ListPluginTypeMetadataCommandInput | ListPluginsCommandInput | ListRetrieversCommandInput | ListSubscriptionsCommandInput | ListTagsForResourceCommandInput | ListWebExperiencesCommandInput | PutFeedbackCommandInput | PutGroupCommandInput | SearchRelevantContentCommandInput | StartDataSourceSyncJobCommandInput | StopDataSourceSyncJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateChatControlsConfigurationCommandInput | UpdateDataAccessorCommandInput | UpdateDataSourceCommandInput | UpdateIndexCommandInput | UpdatePluginCommandInput | UpdateRetrieverCommandInput | UpdateSubscriptionCommandInput | UpdateUserCommandInput | UpdateWebExperienceCommandInput;
96
97
  /**
97
98
  * @public
98
99
  */
99
- export type ServiceOutputTypes = AssociatePermissionCommandOutput | BatchDeleteDocumentCommandOutput | BatchPutDocumentCommandOutput | CancelSubscriptionCommandOutput | ChatCommandOutput | ChatSyncCommandOutput | CheckDocumentAccessCommandOutput | CreateApplicationCommandOutput | CreateDataAccessorCommandOutput | CreateDataSourceCommandOutput | CreateIndexCommandOutput | CreatePluginCommandOutput | CreateRetrieverCommandOutput | CreateSubscriptionCommandOutput | CreateUserCommandOutput | CreateWebExperienceCommandOutput | DeleteApplicationCommandOutput | DeleteAttachmentCommandOutput | DeleteChatControlsConfigurationCommandOutput | DeleteConversationCommandOutput | DeleteDataAccessorCommandOutput | DeleteDataSourceCommandOutput | DeleteGroupCommandOutput | DeleteIndexCommandOutput | DeletePluginCommandOutput | DeleteRetrieverCommandOutput | DeleteUserCommandOutput | DeleteWebExperienceCommandOutput | DisassociatePermissionCommandOutput | GetApplicationCommandOutput | GetChatControlsConfigurationCommandOutput | GetDataAccessorCommandOutput | GetDataSourceCommandOutput | GetGroupCommandOutput | GetIndexCommandOutput | GetMediaCommandOutput | GetPluginCommandOutput | GetPolicyCommandOutput | GetRetrieverCommandOutput | GetUserCommandOutput | GetWebExperienceCommandOutput | ListApplicationsCommandOutput | ListAttachmentsCommandOutput | ListConversationsCommandOutput | ListDataAccessorsCommandOutput | ListDataSourceSyncJobsCommandOutput | ListDataSourcesCommandOutput | ListDocumentsCommandOutput | ListGroupsCommandOutput | ListIndicesCommandOutput | ListMessagesCommandOutput | ListPluginActionsCommandOutput | ListPluginTypeActionsCommandOutput | ListPluginTypeMetadataCommandOutput | ListPluginsCommandOutput | ListRetrieversCommandOutput | ListSubscriptionsCommandOutput | ListTagsForResourceCommandOutput | ListWebExperiencesCommandOutput | PutFeedbackCommandOutput | PutGroupCommandOutput | SearchRelevantContentCommandOutput | StartDataSourceSyncJobCommandOutput | StopDataSourceSyncJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateChatControlsConfigurationCommandOutput | UpdateDataAccessorCommandOutput | UpdateDataSourceCommandOutput | UpdateIndexCommandOutput | UpdatePluginCommandOutput | UpdateRetrieverCommandOutput | UpdateSubscriptionCommandOutput | UpdateUserCommandOutput | UpdateWebExperienceCommandOutput;
100
+ export type ServiceOutputTypes = AssociatePermissionCommandOutput | BatchDeleteDocumentCommandOutput | BatchPutDocumentCommandOutput | CancelSubscriptionCommandOutput | ChatCommandOutput | ChatSyncCommandOutput | CheckDocumentAccessCommandOutput | CreateAnonymousWebExperienceUrlCommandOutput | CreateApplicationCommandOutput | CreateDataAccessorCommandOutput | CreateDataSourceCommandOutput | CreateIndexCommandOutput | CreatePluginCommandOutput | CreateRetrieverCommandOutput | CreateSubscriptionCommandOutput | CreateUserCommandOutput | CreateWebExperienceCommandOutput | DeleteApplicationCommandOutput | DeleteAttachmentCommandOutput | DeleteChatControlsConfigurationCommandOutput | DeleteConversationCommandOutput | DeleteDataAccessorCommandOutput | DeleteDataSourceCommandOutput | DeleteGroupCommandOutput | DeleteIndexCommandOutput | DeletePluginCommandOutput | DeleteRetrieverCommandOutput | DeleteUserCommandOutput | DeleteWebExperienceCommandOutput | DisassociatePermissionCommandOutput | GetApplicationCommandOutput | GetChatControlsConfigurationCommandOutput | GetDataAccessorCommandOutput | GetDataSourceCommandOutput | GetGroupCommandOutput | GetIndexCommandOutput | GetMediaCommandOutput | GetPluginCommandOutput | GetPolicyCommandOutput | GetRetrieverCommandOutput | GetUserCommandOutput | GetWebExperienceCommandOutput | ListApplicationsCommandOutput | ListAttachmentsCommandOutput | ListConversationsCommandOutput | ListDataAccessorsCommandOutput | ListDataSourceSyncJobsCommandOutput | ListDataSourcesCommandOutput | ListDocumentsCommandOutput | ListGroupsCommandOutput | ListIndicesCommandOutput | ListMessagesCommandOutput | ListPluginActionsCommandOutput | ListPluginTypeActionsCommandOutput | ListPluginTypeMetadataCommandOutput | ListPluginsCommandOutput | ListRetrieversCommandOutput | ListSubscriptionsCommandOutput | ListTagsForResourceCommandOutput | ListWebExperiencesCommandOutput | PutFeedbackCommandOutput | PutGroupCommandOutput | SearchRelevantContentCommandOutput | StartDataSourceSyncJobCommandOutput | StopDataSourceSyncJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateChatControlsConfigurationCommandOutput | UpdateDataAccessorCommandOutput | UpdateDataSourceCommandOutput | UpdateIndexCommandOutput | UpdatePluginCommandOutput | UpdateRetrieverCommandOutput | UpdateSubscriptionCommandOutput | UpdateUserCommandOutput | UpdateWebExperienceCommandOutput;
100
101
  /**
101
102
  * @public
102
103
  */
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateAnonymousWebExperienceUrlRequest, CreateAnonymousWebExperienceUrlResponse } from "../models/models_0";
4
+ import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateAnonymousWebExperienceUrlCommand}.
14
+ */
15
+ export interface CreateAnonymousWebExperienceUrlCommandInput extends CreateAnonymousWebExperienceUrlRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAnonymousWebExperienceUrlCommand}.
21
+ */
22
+ export interface CreateAnonymousWebExperienceUrlCommandOutput extends CreateAnonymousWebExperienceUrlResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateAnonymousWebExperienceUrlCommand_base: {
25
+ new (input: CreateAnonymousWebExperienceUrlCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAnonymousWebExperienceUrlCommandInput, CreateAnonymousWebExperienceUrlCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateAnonymousWebExperienceUrlCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAnonymousWebExperienceUrlCommandInput, CreateAnonymousWebExperienceUrlCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a unique URL for anonymous Amazon Q Business web experience. This URL can only be used once and must be used within 5 minutes after it's generated.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { QBusinessClient, CreateAnonymousWebExperienceUrlCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
35
+ * // const { QBusinessClient, CreateAnonymousWebExperienceUrlCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
36
+ * const client = new QBusinessClient(config);
37
+ * const input = { // CreateAnonymousWebExperienceUrlRequest
38
+ * applicationId: "STRING_VALUE", // required
39
+ * webExperienceId: "STRING_VALUE", // required
40
+ * sessionDurationInMinutes: Number("int"),
41
+ * };
42
+ * const command = new CreateAnonymousWebExperienceUrlCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // CreateAnonymousWebExperienceUrlResponse
45
+ * // anonymousUrl: "STRING_VALUE",
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param CreateAnonymousWebExperienceUrlCommandInput - {@link CreateAnonymousWebExperienceUrlCommandInput}
51
+ * @returns {@link CreateAnonymousWebExperienceUrlCommandOutput}
52
+ * @see {@link CreateAnonymousWebExperienceUrlCommandInput} for command's `input` shape.
53
+ * @see {@link CreateAnonymousWebExperienceUrlCommandOutput} for command's `response` shape.
54
+ * @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p> You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.</p>
64
+ *
65
+ * @throws {@link ServiceQuotaExceededException} (client fault)
66
+ * <p>You have exceeded the set limits for your Amazon Q Business service. </p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request was denied due to throttling. Reduce the number of requests and try again.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.</p>
73
+ *
74
+ * @throws {@link QBusinessServiceException}
75
+ * <p>Base exception class for all service exceptions from QBusiness service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class CreateAnonymousWebExperienceUrlCommand extends CreateAnonymousWebExperienceUrlCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: CreateAnonymousWebExperienceUrlRequest;
85
+ output: CreateAnonymousWebExperienceUrlResponse;
86
+ };
87
+ sdk: {
88
+ input: CreateAnonymousWebExperienceUrlCommandInput;
89
+ output: CreateAnonymousWebExperienceUrlCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -37,7 +37,7 @@ declare const CreateApplicationCommand_base: {
37
37
  * const input = { // CreateApplicationRequest
38
38
  * displayName: "STRING_VALUE", // required
39
39
  * roleArn: "STRING_VALUE",
40
- * identityType: "AWS_IAM_IDP_SAML" || "AWS_IAM_IDP_OIDC" || "AWS_IAM_IDC" || "AWS_QUICKSIGHT_IDP",
40
+ * identityType: "AWS_IAM_IDP_SAML" || "AWS_IAM_IDP_OIDC" || "AWS_IAM_IDC" || "AWS_QUICKSIGHT_IDP" || "ANONYMOUS",
41
41
  * iamIdentityProviderArn: "STRING_VALUE",
42
42
  * identityCenterInstanceArn: "STRING_VALUE",
43
43
  * clientIdsForOIDC: [ // ClientIdsForOIDC
@@ -43,7 +43,7 @@ declare const GetApplicationCommand_base: {
43
43
  * // displayName: "STRING_VALUE",
44
44
  * // applicationId: "STRING_VALUE",
45
45
  * // applicationArn: "STRING_VALUE",
46
- * // identityType: "AWS_IAM_IDP_SAML" || "AWS_IAM_IDP_OIDC" || "AWS_IAM_IDC" || "AWS_QUICKSIGHT_IDP",
46
+ * // identityType: "AWS_IAM_IDP_SAML" || "AWS_IAM_IDP_OIDC" || "AWS_IAM_IDC" || "AWS_QUICKSIGHT_IDP" || "ANONYMOUS",
47
47
  * // iamIdentityProviderArn: "STRING_VALUE",
48
48
  * // identityCenterApplicationArn: "STRING_VALUE",
49
49
  * // roleArn: "STRING_VALUE",
@@ -49,7 +49,7 @@ declare const ListApplicationsCommand_base: {
49
49
  * // createdAt: new Date("TIMESTAMP"),
50
50
  * // updatedAt: new Date("TIMESTAMP"),
51
51
  * // status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED" || "UPDATING",
52
- * // identityType: "AWS_IAM_IDP_SAML" || "AWS_IAM_IDP_OIDC" || "AWS_IAM_IDC" || "AWS_QUICKSIGHT_IDP",
52
+ * // identityType: "AWS_IAM_IDP_SAML" || "AWS_IAM_IDP_OIDC" || "AWS_IAM_IDC" || "AWS_QUICKSIGHT_IDP" || "ANONYMOUS",
53
53
  * // quickSightConfiguration: { // QuickSightConfiguration
54
54
  * // clientNamespace: "STRING_VALUE", // required
55
55
  * // },
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListDataSourceSyncJobsRequest, ListDataSourceSyncJobsResponse } from "../models/models_0";
3
+ import { ListDataSourceSyncJobsRequest } from "../models/models_0";
4
+ import { ListDataSourceSyncJobsResponse } from "../models/models_1";
4
5
  import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
5
6
  /**
6
7
  * @public
@@ -1,7 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListDocumentsRequest } from "../models/models_0";
4
- import { ListDocumentsResponse } from "../models/models_1";
3
+ import { ListDocumentsRequest, ListDocumentsResponse } from "../models/models_1";
5
4
  import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
6
5
  /**
7
6
  * @public
@@ -5,6 +5,7 @@ export * from "./CancelSubscriptionCommand";
5
5
  export * from "./ChatCommand";
6
6
  export * from "./ChatSyncCommand";
7
7
  export * from "./CheckDocumentAccessCommand";
8
+ export * from "./CreateAnonymousWebExperienceUrlCommand";
8
9
  export * from "./CreateApplicationCommand";
9
10
  export * from "./CreateDataAccessorCommand";
10
11
  export * from "./CreateDataSourceCommand";
@@ -581,6 +581,7 @@ export type APISchemaType = (typeof APISchemaType)[keyof typeof APISchemaType];
581
581
  * @enum
582
582
  */
583
583
  export declare const IdentityType: {
584
+ readonly ANONYMOUS: "ANONYMOUS";
584
585
  readonly AWS_IAM_IDC: "AWS_IAM_IDC";
585
586
  readonly AWS_IAM_IDP_OIDC: "AWS_IAM_IDP_OIDC";
586
587
  readonly AWS_IAM_IDP_SAML: "AWS_IAM_IDP_SAML";
@@ -5419,6 +5420,36 @@ export interface Conversation {
5419
5420
  */
5420
5421
  startTime?: Date | undefined;
5421
5422
  }
5423
+ /**
5424
+ * @public
5425
+ */
5426
+ export interface CreateAnonymousWebExperienceUrlRequest {
5427
+ /**
5428
+ * <p>The identifier of the Amazon Q Business application environment attached to the web experience.</p>
5429
+ * @public
5430
+ */
5431
+ applicationId: string | undefined;
5432
+ /**
5433
+ * <p>The identifier of the web experience.</p>
5434
+ * @public
5435
+ */
5436
+ webExperienceId: string | undefined;
5437
+ /**
5438
+ * <p>The duration of the session associated with the unique URL for the web experience.</p>
5439
+ * @public
5440
+ */
5441
+ sessionDurationInMinutes?: number | undefined;
5442
+ }
5443
+ /**
5444
+ * @public
5445
+ */
5446
+ export interface CreateAnonymousWebExperienceUrlResponse {
5447
+ /**
5448
+ * <p>The unique URL for accessing the web experience.</p> <important> <p>This URL can only be used once and must be used within 5 minutes after it's generated.</p> </important>
5449
+ * @public
5450
+ */
5451
+ anonymousUrl?: string | undefined;
5452
+ }
5422
5453
  /**
5423
5454
  * <p>A user or group in the IAM Identity Center instance connected to the Amazon Q Business application.</p>
5424
5455
  * @public
@@ -5884,7 +5915,7 @@ export declare const HallucinationReductionControl: {
5884
5915
  */
5885
5916
  export type HallucinationReductionControl = (typeof HallucinationReductionControl)[keyof typeof HallucinationReductionControl];
5886
5917
  /**
5887
- * <p>Configuration information required to setup hallucination reduction. For more information, see <a href="amazonq/latest/qbusiness-ug/hallucination-reduction.html">hallucination reduction</a>.</p> <note> <p>The hallucination reduction feature won't work if chat orchestration controls are enabled for your application.</p> </note>
5918
+ * <p>Configuration information required to setup hallucination reduction. For more information, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/hallucination-reduction.html"> hallucination reduction</a>.</p> <note> <p>The hallucination reduction feature won't work if chat orchestration controls are enabled for your application.</p> </note>
5888
5919
  * @public
5889
5920
  */
5890
5921
  export interface HallucinationReductionConfiguration {
@@ -6371,51 +6402,6 @@ export interface ListDataSourceSyncJobsRequest {
6371
6402
  */
6372
6403
  statusFilter?: DataSourceSyncJobStatus | undefined;
6373
6404
  }
6374
- /**
6375
- * @public
6376
- */
6377
- export interface ListDataSourceSyncJobsResponse {
6378
- /**
6379
- * <p>A history of synchronization jobs for the data source connector.</p>
6380
- * @public
6381
- */
6382
- history?: DataSourceSyncJob[] | undefined;
6383
- /**
6384
- * <p>If the response is truncated, Amazon Q Business returns this token. You can use this token in any subsequent request to retrieve the next set of jobs.</p>
6385
- * @public
6386
- */
6387
- nextToken?: string | undefined;
6388
- }
6389
- /**
6390
- * @public
6391
- */
6392
- export interface ListDocumentsRequest {
6393
- /**
6394
- * <p>The identifier of the application id the documents are attached to.</p>
6395
- * @public
6396
- */
6397
- applicationId: string | undefined;
6398
- /**
6399
- * <p>The identifier of the index the documents are attached to.</p>
6400
- * @public
6401
- */
6402
- indexId: string | undefined;
6403
- /**
6404
- * <p>The identifier of the data sources the documents are attached to.</p>
6405
- * @public
6406
- */
6407
- dataSourceIds?: string[] | undefined;
6408
- /**
6409
- * <p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of documents.</p>
6410
- * @public
6411
- */
6412
- nextToken?: string | undefined;
6413
- /**
6414
- * <p>The maximum number of documents to return.</p>
6415
- * @public
6416
- */
6417
- maxResults?: number | undefined;
6418
- }
6419
6405
  /**
6420
6406
  * @internal
6421
6407
  */
@@ -1,4 +1,49 @@
1
- import { ActionExecution, ActionExecutionEvent, ActionReview, ActionSummary, AttachmentInput, AttachmentInputEvent, AttachmentOutput, AuthChallengeResponse, AuthChallengeResponseEvent, BlockedPhrasesConfigurationUpdate, ChatMode, ChatModeConfiguration, ContentSource, CreatorModeConfiguration, DocumentAttribute, DocumentDetails, EndOfInputEvent, HallucinationReductionConfiguration, MembershipType, OrchestrationControl, PluginType, ResponseScope, S3, SourceAttribution, SubscriptionDetails, SubscriptionPrincipal, SubscriptionType, Tag, TextInputEvent, TopicConfiguration, UserAlias } from "./models_0";
1
+ import { ActionExecution, ActionExecutionEvent, ActionReview, ActionSummary, AttachmentInput, AttachmentInputEvent, AttachmentOutput, AuthChallengeResponse, AuthChallengeResponseEvent, BlockedPhrasesConfigurationUpdate, ChatMode, ChatModeConfiguration, ContentSource, CreatorModeConfiguration, DataSourceSyncJob, DocumentAttribute, DocumentDetails, EndOfInputEvent, HallucinationReductionConfiguration, MembershipType, OrchestrationControl, PluginType, ResponseScope, S3, SourceAttribution, SubscriptionDetails, SubscriptionPrincipal, SubscriptionType, Tag, TextInputEvent, TopicConfiguration, UserAlias } from "./models_0";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ListDataSourceSyncJobsResponse {
6
+ /**
7
+ * <p>A history of synchronization jobs for the data source connector.</p>
8
+ * @public
9
+ */
10
+ history?: DataSourceSyncJob[] | undefined;
11
+ /**
12
+ * <p>If the response is truncated, Amazon Q Business returns this token. You can use this token in any subsequent request to retrieve the next set of jobs.</p>
13
+ * @public
14
+ */
15
+ nextToken?: string | undefined;
16
+ }
17
+ /**
18
+ * @public
19
+ */
20
+ export interface ListDocumentsRequest {
21
+ /**
22
+ * <p>The identifier of the application id the documents are attached to.</p>
23
+ * @public
24
+ */
25
+ applicationId: string | undefined;
26
+ /**
27
+ * <p>The identifier of the index the documents are attached to.</p>
28
+ * @public
29
+ */
30
+ indexId: string | undefined;
31
+ /**
32
+ * <p>The identifier of the data sources the documents are attached to.</p>
33
+ * @public
34
+ */
35
+ dataSourceIds?: string[] | undefined;
36
+ /**
37
+ * <p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of documents.</p>
38
+ * @public
39
+ */
40
+ nextToken?: string | undefined;
41
+ /**
42
+ * <p>The maximum number of documents to return.</p>
43
+ * @public
44
+ */
45
+ maxResults?: number | undefined;
46
+ }
2
47
  /**
3
48
  * @public
4
49
  */
@@ -7,6 +7,7 @@ import { CancelSubscriptionCommandInput, CancelSubscriptionCommandOutput } from
7
7
  import { ChatCommandInput, ChatCommandOutput } from "../commands/ChatCommand";
8
8
  import { ChatSyncCommandInput, ChatSyncCommandOutput } from "../commands/ChatSyncCommand";
9
9
  import { CheckDocumentAccessCommandInput, CheckDocumentAccessCommandOutput } from "../commands/CheckDocumentAccessCommand";
10
+ import { CreateAnonymousWebExperienceUrlCommandInput, CreateAnonymousWebExperienceUrlCommandOutput } from "../commands/CreateAnonymousWebExperienceUrlCommand";
10
11
  import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "../commands/CreateApplicationCommand";
11
12
  import { CreateDataAccessorCommandInput, CreateDataAccessorCommandOutput } from "../commands/CreateDataAccessorCommand";
12
13
  import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "../commands/CreateDataSourceCommand";
@@ -104,6 +105,10 @@ export declare const se_ChatSyncCommand: (input: ChatSyncCommandInput, context:
104
105
  * serializeAws_restJson1CheckDocumentAccessCommand
105
106
  */
106
107
  export declare const se_CheckDocumentAccessCommand: (input: CheckDocumentAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
108
+ /**
109
+ * serializeAws_restJson1CreateAnonymousWebExperienceUrlCommand
110
+ */
111
+ export declare const se_CreateAnonymousWebExperienceUrlCommand: (input: CreateAnonymousWebExperienceUrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
107
112
  /**
108
113
  * serializeAws_restJson1CreateApplicationCommand
109
114
  */
@@ -408,6 +413,10 @@ export declare const de_ChatSyncCommand: (output: __HttpResponse, context: __Ser
408
413
  * deserializeAws_restJson1CheckDocumentAccessCommand
409
414
  */
410
415
  export declare const de_CheckDocumentAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CheckDocumentAccessCommandOutput>;
416
+ /**
417
+ * deserializeAws_restJson1CreateAnonymousWebExperienceUrlCommand
418
+ */
419
+ export declare const de_CreateAnonymousWebExperienceUrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAnonymousWebExperienceUrlCommandOutput>;
411
420
  /**
412
421
  * deserializeAws_restJson1CreateApplicationCommand
413
422
  */
@@ -6,6 +6,7 @@ import { QBusinessClientConfig } from "./QBusinessClient";
6
6
  export declare const getRuntimeConfig: (config: QBusinessClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
9
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
11
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
12
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
@@ -40,7 +41,6 @@ export declare const getRuntimeConfig: (config: QBusinessClientConfig) => {
40
41
  }) => import("@smithy/types").EndpointV2;
41
42
  tls?: boolean | undefined;
42
43
  serviceConfiguredEndpoint?: undefined;
43
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
44
44
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
45
45
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").QBusinessHttpAuthSchemeProvider;
46
46
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -24,6 +24,10 @@ import {
24
24
  CheckDocumentAccessCommandInput,
25
25
  CheckDocumentAccessCommandOutput,
26
26
  } from "./commands/CheckDocumentAccessCommand";
27
+ import {
28
+ CreateAnonymousWebExperienceUrlCommandInput,
29
+ CreateAnonymousWebExperienceUrlCommandOutput,
30
+ } from "./commands/CreateAnonymousWebExperienceUrlCommand";
27
31
  import {
28
32
  CreateApplicationCommandInput,
29
33
  CreateApplicationCommandOutput,
@@ -393,6 +397,19 @@ export interface QBusiness {
393
397
  options: __HttpHandlerOptions,
394
398
  cb: (err: any, data?: CheckDocumentAccessCommandOutput) => void
395
399
  ): void;
400
+ createAnonymousWebExperienceUrl(
401
+ args: CreateAnonymousWebExperienceUrlCommandInput,
402
+ options?: __HttpHandlerOptions
403
+ ): Promise<CreateAnonymousWebExperienceUrlCommandOutput>;
404
+ createAnonymousWebExperienceUrl(
405
+ args: CreateAnonymousWebExperienceUrlCommandInput,
406
+ cb: (err: any, data?: CreateAnonymousWebExperienceUrlCommandOutput) => void
407
+ ): void;
408
+ createAnonymousWebExperienceUrl(
409
+ args: CreateAnonymousWebExperienceUrlCommandInput,
410
+ options: __HttpHandlerOptions,
411
+ cb: (err: any, data?: CreateAnonymousWebExperienceUrlCommandOutput) => void
412
+ ): void;
396
413
  createApplication(
397
414
  args: CreateApplicationCommandInput,
398
415
  options?: __HttpHandlerOptions
@@ -80,6 +80,10 @@ import {
80
80
  CheckDocumentAccessCommandInput,
81
81
  CheckDocumentAccessCommandOutput,
82
82
  } from "./commands/CheckDocumentAccessCommand";
83
+ import {
84
+ CreateAnonymousWebExperienceUrlCommandInput,
85
+ CreateAnonymousWebExperienceUrlCommandOutput,
86
+ } from "./commands/CreateAnonymousWebExperienceUrlCommand";
83
87
  import {
84
88
  CreateApplicationCommandInput,
85
89
  CreateApplicationCommandOutput,
@@ -371,6 +375,7 @@ export type ServiceInputTypes =
371
375
  | ChatCommandInput
372
376
  | ChatSyncCommandInput
373
377
  | CheckDocumentAccessCommandInput
378
+ | CreateAnonymousWebExperienceUrlCommandInput
374
379
  | CreateApplicationCommandInput
375
380
  | CreateDataAccessorCommandInput
376
381
  | CreateDataSourceCommandInput
@@ -448,6 +453,7 @@ export type ServiceOutputTypes =
448
453
  | ChatCommandOutput
449
454
  | ChatSyncCommandOutput
450
455
  | CheckDocumentAccessCommandOutput
456
+ | CreateAnonymousWebExperienceUrlCommandOutput
451
457
  | CreateApplicationCommandOutput
452
458
  | CreateDataAccessorCommandOutput
453
459
  | CreateDataSourceCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CreateAnonymousWebExperienceUrlRequest,
5
+ CreateAnonymousWebExperienceUrlResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ QBusinessClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../QBusinessClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateAnonymousWebExperienceUrlCommandInput
15
+ extends CreateAnonymousWebExperienceUrlRequest {}
16
+ export interface CreateAnonymousWebExperienceUrlCommandOutput
17
+ extends CreateAnonymousWebExperienceUrlResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateAnonymousWebExperienceUrlCommand_base: {
20
+ new (
21
+ input: CreateAnonymousWebExperienceUrlCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateAnonymousWebExperienceUrlCommandInput,
24
+ CreateAnonymousWebExperienceUrlCommandOutput,
25
+ QBusinessClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: CreateAnonymousWebExperienceUrlCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateAnonymousWebExperienceUrlCommandInput,
33
+ CreateAnonymousWebExperienceUrlCommandOutput,
34
+ QBusinessClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateAnonymousWebExperienceUrlCommand extends CreateAnonymousWebExperienceUrlCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateAnonymousWebExperienceUrlRequest;
44
+ output: CreateAnonymousWebExperienceUrlResponse;
45
+ };
46
+ sdk: {
47
+ input: CreateAnonymousWebExperienceUrlCommandInput;
48
+ output: CreateAnonymousWebExperienceUrlCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -1,9 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ListDataSourceSyncJobsRequest,
5
- ListDataSourceSyncJobsResponse,
6
- } from "../models/models_0";
3
+ import { ListDataSourceSyncJobsRequest } from "../models/models_0";
4
+ import { ListDataSourceSyncJobsResponse } from "../models/models_1";
7
5
  import {
8
6
  QBusinessClientResolvedConfig,
9
7
  ServiceInputTypes,
@@ -1,7 +1,9 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListDocumentsRequest } from "../models/models_0";
4
- import { ListDocumentsResponse } from "../models/models_1";
3
+ import {
4
+ ListDocumentsRequest,
5
+ ListDocumentsResponse,
6
+ } from "../models/models_1";
5
7
  import {
6
8
  QBusinessClientResolvedConfig,
7
9
  ServiceInputTypes,
@@ -5,6 +5,7 @@ export * from "./CancelSubscriptionCommand";
5
5
  export * from "./ChatCommand";
6
6
  export * from "./ChatSyncCommand";
7
7
  export * from "./CheckDocumentAccessCommand";
8
+ export * from "./CreateAnonymousWebExperienceUrlCommand";
8
9
  export * from "./CreateApplicationCommand";
9
10
  export * from "./CreateDataAccessorCommand";
10
11
  export * from "./CreateDataSourceCommand";
@@ -239,6 +239,7 @@ export declare const APISchemaType: {
239
239
  };
240
240
  export type APISchemaType = (typeof APISchemaType)[keyof typeof APISchemaType];
241
241
  export declare const IdentityType: {
242
+ readonly ANONYMOUS: "ANONYMOUS";
242
243
  readonly AWS_IAM_IDC: "AWS_IAM_IDC";
243
244
  readonly AWS_IAM_IDP_OIDC: "AWS_IAM_IDP_OIDC";
244
245
  readonly AWS_IAM_IDP_SAML: "AWS_IAM_IDP_SAML";
@@ -1814,6 +1815,14 @@ export interface Conversation {
1814
1815
  title?: string | undefined;
1815
1816
  startTime?: Date | undefined;
1816
1817
  }
1818
+ export interface CreateAnonymousWebExperienceUrlRequest {
1819
+ applicationId: string | undefined;
1820
+ webExperienceId: string | undefined;
1821
+ sessionDurationInMinutes?: number | undefined;
1822
+ }
1823
+ export interface CreateAnonymousWebExperienceUrlResponse {
1824
+ anonymousUrl?: string | undefined;
1825
+ }
1817
1826
  export type SubscriptionPrincipal =
1818
1827
  | SubscriptionPrincipal.GroupMember
1819
1828
  | SubscriptionPrincipal.UserMember
@@ -2110,17 +2119,6 @@ export interface ListDataSourceSyncJobsRequest {
2110
2119
  endTime?: Date | undefined;
2111
2120
  statusFilter?: DataSourceSyncJobStatus | undefined;
2112
2121
  }
2113
- export interface ListDataSourceSyncJobsResponse {
2114
- history?: DataSourceSyncJob[] | undefined;
2115
- nextToken?: string | undefined;
2116
- }
2117
- export interface ListDocumentsRequest {
2118
- applicationId: string | undefined;
2119
- indexId: string | undefined;
2120
- dataSourceIds?: string[] | undefined;
2121
- nextToken?: string | undefined;
2122
- maxResults?: number | undefined;
2123
- }
2124
2122
  export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
2125
2123
  export declare const EncryptionConfigurationFilterSensitiveLog: (
2126
2124
  obj: EncryptionConfiguration
@@ -13,6 +13,7 @@ import {
13
13
  ChatModeConfiguration,
14
14
  ContentSource,
15
15
  CreatorModeConfiguration,
16
+ DataSourceSyncJob,
16
17
  DocumentAttribute,
17
18
  DocumentDetails,
18
19
  EndOfInputEvent,
@@ -31,6 +32,17 @@ import {
31
32
  TopicConfiguration,
32
33
  UserAlias,
33
34
  } from "./models_0";
35
+ export interface ListDataSourceSyncJobsResponse {
36
+ history?: DataSourceSyncJob[] | undefined;
37
+ nextToken?: string | undefined;
38
+ }
39
+ export interface ListDocumentsRequest {
40
+ applicationId: string | undefined;
41
+ indexId: string | undefined;
42
+ dataSourceIds?: string[] | undefined;
43
+ nextToken?: string | undefined;
44
+ maxResults?: number | undefined;
45
+ }
34
46
  export interface ListDocumentsResponse {
35
47
  documentDetailList?: DocumentDetails[] | undefined;
36
48
  nextToken?: string | undefined;
@@ -31,6 +31,10 @@ import {
31
31
  CheckDocumentAccessCommandInput,
32
32
  CheckDocumentAccessCommandOutput,
33
33
  } from "../commands/CheckDocumentAccessCommand";
34
+ import {
35
+ CreateAnonymousWebExperienceUrlCommandInput,
36
+ CreateAnonymousWebExperienceUrlCommandOutput,
37
+ } from "../commands/CreateAnonymousWebExperienceUrlCommand";
34
38
  import {
35
39
  CreateApplicationCommandInput,
36
40
  CreateApplicationCommandOutput,
@@ -335,6 +339,10 @@ export declare const se_CheckDocumentAccessCommand: (
335
339
  input: CheckDocumentAccessCommandInput,
336
340
  context: __SerdeContext
337
341
  ) => Promise<__HttpRequest>;
342
+ export declare const se_CreateAnonymousWebExperienceUrlCommand: (
343
+ input: CreateAnonymousWebExperienceUrlCommandInput,
344
+ context: __SerdeContext
345
+ ) => Promise<__HttpRequest>;
338
346
  export declare const se_CreateApplicationCommand: (
339
347
  input: CreateApplicationCommandInput,
340
348
  context: __SerdeContext
@@ -639,6 +647,10 @@ export declare const de_CheckDocumentAccessCommand: (
639
647
  output: __HttpResponse,
640
648
  context: __SerdeContext
641
649
  ) => Promise<CheckDocumentAccessCommandOutput>;
650
+ export declare const de_CreateAnonymousWebExperienceUrlCommand: (
651
+ output: __HttpResponse,
652
+ context: __SerdeContext
653
+ ) => Promise<CreateAnonymousWebExperienceUrlCommandOutput>;
642
654
  export declare const de_CreateApplicationCommand: (
643
655
  output: __HttpResponse,
644
656
  context: __SerdeContext
@@ -5,6 +5,7 @@ export declare const getRuntimeConfig: (config: QBusinessClientConfig) => {
5
5
  defaultsMode: import("@smithy/types").Provider<
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
8
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
10
  credentialDefaultProvider:
10
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
@@ -75,10 +76,6 @@ export declare const getRuntimeConfig: (config: QBusinessClientConfig) => {
75
76
  ) => import("@smithy/types").EndpointV2;
76
77
  tls?: boolean | undefined;
77
78
  serviceConfiguredEndpoint?: undefined;
78
- authSchemePreference?:
79
- | string[]
80
- | import("@smithy/types").Provider<string[]>
81
- | undefined;
82
79
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
83
80
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").QBusinessHttpAuthSchemeProvider;
84
81
  credentials?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-qbusiness",
3
3
  "description": "AWS SDK for JavaScript Qbusiness Client for Node.js, Browser and React Native",
4
- "version": "3.798.0",
4
+ "version": "3.803.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-qbusiness",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.798.0",
24
- "@aws-sdk/credential-provider-node": "3.798.0",
23
+ "@aws-sdk/core": "3.799.0",
24
+ "@aws-sdk/credential-provider-node": "3.803.0",
25
25
  "@aws-sdk/eventstream-handler-node": "3.775.0",
26
26
  "@aws-sdk/middleware-eventstream": "3.775.0",
27
27
  "@aws-sdk/middleware-host-header": "3.775.0",
28
28
  "@aws-sdk/middleware-logger": "3.775.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
30
- "@aws-sdk/middleware-user-agent": "3.798.0",
30
+ "@aws-sdk/middleware-user-agent": "3.799.0",
31
31
  "@aws-sdk/region-config-resolver": "3.775.0",
32
32
  "@aws-sdk/types": "3.775.0",
33
33
  "@aws-sdk/util-endpoints": "3.787.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.775.0",
35
- "@aws-sdk/util-user-agent-node": "3.798.0",
35
+ "@aws-sdk/util-user-agent-node": "3.799.0",
36
36
  "@smithy/config-resolver": "^4.1.0",
37
37
  "@smithy/core": "^3.3.0",
38
38
  "@smithy/eventstream-serde-browser": "^4.0.2",
@@ -43,7 +43,7 @@
43
43
  "@smithy/invalid-dependency": "^4.0.2",
44
44
  "@smithy/middleware-content-length": "^4.0.2",
45
45
  "@smithy/middleware-endpoint": "^4.1.1",
46
- "@smithy/middleware-retry": "^4.1.1",
46
+ "@smithy/middleware-retry": "^4.1.2",
47
47
  "@smithy/middleware-serde": "^4.0.3",
48
48
  "@smithy/middleware-stack": "^4.0.2",
49
49
  "@smithy/node-config-provider": "^4.0.2",
@@ -59,7 +59,7 @@
59
59
  "@smithy/util-defaults-mode-node": "^4.0.9",
60
60
  "@smithy/util-endpoints": "^3.0.2",
61
61
  "@smithy/util-middleware": "^4.0.2",
62
- "@smithy/util-retry": "^4.0.2",
62
+ "@smithy/util-retry": "^4.0.3",
63
63
  "@smithy/util-utf8": "^4.0.0",
64
64
  "@types/uuid": "^9.0.1",
65
65
  "tslib": "^2.6.2",