@aws-sdk/client-qbusiness 3.600.0 → 3.605.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.
package/dist-cjs/index.js CHANGED
@@ -118,6 +118,7 @@ __export(src_exports, {
118
118
  Principal: () => Principal,
119
119
  PutFeedbackCommand: () => PutFeedbackCommand,
120
120
  PutGroupCommand: () => PutGroupCommand,
121
+ QAppsControlMode: () => QAppsControlMode,
121
122
  QBusiness: () => QBusiness,
122
123
  QBusinessClient: () => QBusinessClient,
123
124
  QBusinessServiceException: () => QBusinessServiceException,
@@ -439,6 +440,10 @@ var AttachmentsControlMode = {
439
440
  DISABLED: "DISABLED",
440
441
  ENABLED: "ENABLED"
441
442
  };
443
+ var QAppsControlMode = {
444
+ DISABLED: "DISABLED",
445
+ ENABLED: "ENABLED"
446
+ };
442
447
  var _InternalServerException = class _InternalServerException extends QBusinessServiceException {
443
448
  /**
444
449
  * @internal
@@ -1049,6 +1054,7 @@ var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context)
1049
1054
  displayName: [],
1050
1055
  encryptionConfiguration: (_) => (0, import_smithy_client._json)(_),
1051
1056
  identityCenterInstanceArn: [],
1057
+ qAppsConfiguration: (_) => (0, import_smithy_client._json)(_),
1052
1058
  roleArn: [],
1053
1059
  tags: (_) => (0, import_smithy_client._json)(_)
1054
1060
  })
@@ -1665,6 +1671,7 @@ var se_UpdateApplicationCommand = /* @__PURE__ */ __name(async (input, context)
1665
1671
  description: [],
1666
1672
  displayName: [],
1667
1673
  identityCenterInstanceArn: [],
1674
+ qAppsConfiguration: (_) => (0, import_smithy_client._json)(_),
1668
1675
  roleArn: []
1669
1676
  })
1670
1677
  );
@@ -2095,6 +2102,7 @@ var de_GetApplicationCommand = /* @__PURE__ */ __name(async (output, context) =>
2095
2102
  encryptionConfiguration: import_smithy_client._json,
2096
2103
  error: import_smithy_client._json,
2097
2104
  identityCenterApplicationArn: import_smithy_client.expectString,
2105
+ qAppsConfiguration: import_smithy_client._json,
2098
2106
  roleArn: import_smithy_client.expectString,
2099
2107
  status: import_smithy_client.expectString,
2100
2108
  updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
@@ -4522,6 +4530,7 @@ var paginateListWebExperiences = (0, import_core.createPaginator)(QBusinessClien
4522
4530
  ApplicationStatus,
4523
4531
  ConflictException,
4524
4532
  AttachmentsControlMode,
4533
+ QAppsControlMode,
4525
4534
  InternalServerException,
4526
4535
  ResourceNotFoundException,
4527
4536
  ServiceQuotaExceededException,
@@ -85,6 +85,10 @@ export const AttachmentsControlMode = {
85
85
  DISABLED: "DISABLED",
86
86
  ENABLED: "ENABLED",
87
87
  };
88
+ export const QAppsControlMode = {
89
+ DISABLED: "DISABLED",
90
+ ENABLED: "ENABLED",
91
+ };
88
92
  export class InternalServerException extends __BaseException {
89
93
  constructor(opts) {
90
94
  super({
@@ -98,6 +98,7 @@ export const se_CreateApplicationCommand = async (input, context) => {
98
98
  displayName: [],
99
99
  encryptionConfiguration: (_) => _json(_),
100
100
  identityCenterInstanceArn: [],
101
+ qAppsConfiguration: (_) => _json(_),
101
102
  roleArn: [],
102
103
  tags: (_) => _json(_),
103
104
  }));
@@ -694,6 +695,7 @@ export const se_UpdateApplicationCommand = async (input, context) => {
694
695
  description: [],
695
696
  displayName: [],
696
697
  identityCenterInstanceArn: [],
698
+ qAppsConfiguration: (_) => _json(_),
697
699
  roleArn: [],
698
700
  }));
699
701
  b.m("PUT").h(headers).b(body);
@@ -1109,6 +1111,7 @@ export const de_GetApplicationCommand = async (output, context) => {
1109
1111
  encryptionConfiguration: _json,
1110
1112
  error: _json,
1111
1113
  identityCenterApplicationArn: __expectString,
1114
+ qAppsConfiguration: _json,
1112
1115
  roleArn: __expectString,
1113
1116
  status: __expectString,
1114
1117
  updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -32,7 +32,7 @@ declare const CreateApplicationCommand_base: {
32
32
  * <p>There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are
33
33
  * also available in Amazon Q Business Lite. For information on what's included in
34
34
  * Amazon Q Business Lite and what's included in
35
- * Amazon Q Business Pro, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/what-is.html#tiers">Amazon Q Business tiers</a>.
35
+ * Amazon Q Business Pro, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#user-sub-tiers">Amazon Q Business tiers</a>.
36
36
  * You must use the Amazon Q Business console to assign subscription tiers to users.</p>
37
37
  * </note>
38
38
  * @example
@@ -59,6 +59,9 @@ declare const CreateApplicationCommand_base: {
59
59
  * attachmentsConfiguration: { // AttachmentsConfiguration
60
60
  * attachmentsControlMode: "ENABLED" || "DISABLED", // required
61
61
  * },
62
+ * qAppsConfiguration: { // QAppsConfiguration
63
+ * qAppsControlMode: "ENABLED" || "DISABLED", // required
64
+ * },
62
65
  * };
63
66
  * const command = new CreateApplicationCommand(input);
64
67
  * const response = await client.send(command);
@@ -59,6 +59,9 @@ declare const GetApplicationCommand_base: {
59
59
  * // attachmentsConfiguration: { // AppliedAttachmentsConfiguration
60
60
  * // attachmentsControlMode: "ENABLED" || "DISABLED",
61
61
  * // },
62
+ * // qAppsConfiguration: { // QAppsConfiguration
63
+ * // qAppsControlMode: "ENABLED" || "DISABLED", // required
64
+ * // },
62
65
  * // };
63
66
  *
64
67
  * ```
@@ -43,6 +43,9 @@ declare const UpdateApplicationCommand_base: {
43
43
  * attachmentsConfiguration: { // AttachmentsConfiguration
44
44
  * attachmentsControlMode: "ENABLED" || "DISABLED", // required
45
45
  * },
46
+ * qAppsConfiguration: { // QAppsConfiguration
47
+ * qAppsControlMode: "ENABLED" || "DISABLED", // required
48
+ * },
46
49
  * };
47
50
  * const command = new UpdateApplicationCommand(input);
48
51
  * const response = await client.send(command);
@@ -588,6 +588,29 @@ export interface EncryptionConfiguration {
588
588
  */
589
589
  kmsKeyId?: string;
590
590
  }
591
+ /**
592
+ * @public
593
+ * @enum
594
+ */
595
+ export declare const QAppsControlMode: {
596
+ readonly DISABLED: "DISABLED";
597
+ readonly ENABLED: "ENABLED";
598
+ };
599
+ /**
600
+ * @public
601
+ */
602
+ export type QAppsControlMode = (typeof QAppsControlMode)[keyof typeof QAppsControlMode];
603
+ /**
604
+ * <p>Configuration information about Amazon Q Apps. (preview feature)</p>
605
+ * @public
606
+ */
607
+ export interface QAppsConfiguration {
608
+ /**
609
+ * <p>Status information about whether end users can create and use Amazon Q Apps in the web experience.</p>
610
+ * @public
611
+ */
612
+ qAppsControlMode: QAppsControlMode | undefined;
613
+ }
591
614
  /**
592
615
  * <p>A list of key/value pairs that identify an index, FAQ, or data source. Tag keys and
593
616
  * values can consist of Unicode letters, digits, white space, and any of the following
@@ -659,6 +682,11 @@ export interface CreateApplicationRequest {
659
682
  * @public
660
683
  */
661
684
  attachmentsConfiguration?: AttachmentsConfiguration;
685
+ /**
686
+ * <p>An option to allow end users to create and use Amazon Q Apps in the web experience.</p>
687
+ * @public
688
+ */
689
+ qAppsConfiguration?: QAppsConfiguration;
662
690
  }
663
691
  /**
664
692
  * @public
@@ -937,6 +965,11 @@ export interface GetApplicationResponse {
937
965
  * @public
938
966
  */
939
967
  attachmentsConfiguration?: AppliedAttachmentsConfiguration;
968
+ /**
969
+ * <p>Settings for whether end users can create and use Amazon Q Apps in the web experience.</p>
970
+ * @public
971
+ */
972
+ qAppsConfiguration?: QAppsConfiguration;
940
973
  }
941
974
  /**
942
975
  * <p>Provides information about index capacity configuration.</p>
@@ -977,7 +1010,7 @@ export interface CreateIndexRequest {
977
1010
  displayName: string | undefined;
978
1011
  /**
979
1012
  * <p>The index type that's suitable for your needs. For more information on what's included
980
- * in each type of index or index tier, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/what-is.html#tiers">Amazon Q Business
1013
+ * in each type of index, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#index-tiers">Amazon Q Business
981
1014
  * tiers</a>.</p>
982
1015
  * @public
983
1016
  */
@@ -3202,6 +3235,11 @@ export interface UpdateApplicationRequest {
3202
3235
  * @public
3203
3236
  */
3204
3237
  attachmentsConfiguration?: AttachmentsConfiguration;
3238
+ /**
3239
+ * <p>An option to allow end users to create and use Amazon Q Apps in the web experience.</p>
3240
+ * @public
3241
+ */
3242
+ qAppsConfiguration?: QAppsConfiguration;
3205
3243
  }
3206
3244
  /**
3207
3245
  * @public
@@ -5908,9 +5946,8 @@ export interface AttributeFilter {
5908
5946
  containsAll?: DocumentAttribute;
5909
5947
  /**
5910
5948
  * <p>Returns <code>true</code> when a document contains any of the specified document
5911
- * attributes or metadata fields. Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>: <code>dateValue</code>,
5912
- * <code>longValue</code>, <code>stringListValue</code> and
5913
- * <code>stringValue</code>.</p>
5949
+ * attributes or metadata fields. Supported for the following <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html">document attribute value types</a>:
5950
+ * <code>stringListValue</code>.</p>
5914
5951
  * @public
5915
5952
  */
5916
5953
  containsAny?: DocumentAttribute;
@@ -5991,7 +6028,7 @@ export interface ChatSyncInput {
5991
6028
  */
5992
6029
  conversationId?: string;
5993
6030
  /**
5994
- * <p>The identifier of the previous end user text input message in a conversation.</p>
6031
+ * <p>The identifier of the previous system message in a conversation.</p>
5995
6032
  * @public
5996
6033
  */
5997
6034
  parentMessageId?: string;
@@ -199,6 +199,15 @@ export interface AttachmentsConfiguration {
199
199
  export interface EncryptionConfiguration {
200
200
  kmsKeyId?: string;
201
201
  }
202
+ export declare const QAppsControlMode: {
203
+ readonly DISABLED: "DISABLED";
204
+ readonly ENABLED: "ENABLED";
205
+ };
206
+ export type QAppsControlMode =
207
+ (typeof QAppsControlMode)[keyof typeof QAppsControlMode];
208
+ export interface QAppsConfiguration {
209
+ qAppsControlMode: QAppsControlMode | undefined;
210
+ }
202
211
  export interface Tag {
203
212
  key: string | undefined;
204
213
  value: string | undefined;
@@ -212,6 +221,7 @@ export interface CreateApplicationRequest {
212
221
  tags?: Tag[];
213
222
  clientToken?: string;
214
223
  attachmentsConfiguration?: AttachmentsConfiguration;
224
+ qAppsConfiguration?: QAppsConfiguration;
215
225
  }
216
226
  export interface CreateApplicationResponse {
217
227
  applicationId?: string;
@@ -303,6 +313,7 @@ export interface GetApplicationResponse {
303
313
  updatedAt?: Date;
304
314
  error?: ErrorDetail;
305
315
  attachmentsConfiguration?: AppliedAttachmentsConfiguration;
316
+ qAppsConfiguration?: QAppsConfiguration;
306
317
  }
307
318
  export interface IndexCapacityConfiguration {
308
319
  units?: number;
@@ -949,6 +960,7 @@ export interface UpdateApplicationRequest {
949
960
  description?: string;
950
961
  roleArn?: string;
951
962
  attachmentsConfiguration?: AttachmentsConfiguration;
963
+ qAppsConfiguration?: QAppsConfiguration;
952
964
  }
953
965
  export interface UpdateApplicationResponse {}
954
966
  export declare const WebExperienceSamplePromptsControlMode: {
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.600.0",
4
+ "version": "3.605.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",
@@ -24,7 +24,7 @@
24
24
  "@aws-sdk/client-sts": "3.600.0",
25
25
  "@aws-sdk/core": "3.598.0",
26
26
  "@aws-sdk/credential-provider-node": "3.600.0",
27
- "@aws-sdk/eventstream-handler-node": "3.598.0",
27
+ "@aws-sdk/eventstream-handler-node": "3.605.0",
28
28
  "@aws-sdk/middleware-eventstream": "3.598.0",
29
29
  "@aws-sdk/middleware-host-header": "3.598.0",
30
30
  "@aws-sdk/middleware-logger": "3.598.0",