cdk-lambda-subminute 2.0.375 → 2.0.376

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.
@@ -760,6 +760,7 @@ declare namespace QBusiness {
760
760
  systemMessageOverride?: SystemMessageOverride;
761
761
  }
762
762
  export type Boolean = boolean;
763
+ export type BoostingDurationInSeconds = number;
763
764
  export interface ChatSyncInput {
764
765
  /**
765
766
  * A request from an end user to perform an Amazon Q plugin action.
@@ -1226,6 +1227,16 @@ declare namespace QBusiness {
1226
1227
  subnetIds: SubnetIds;
1227
1228
  }
1228
1229
  export type DataSources = DataSource[];
1230
+ export interface DateAttributeBoostingConfiguration {
1231
+ /**
1232
+ * Specifies the duration, in seconds, of a boost applies to a DATE type document attribute.
1233
+ */
1234
+ boostingDurationInSeconds?: BoostingDurationInSeconds;
1235
+ /**
1236
+ * Specifies how much a document attribute is boosted.
1237
+ */
1238
+ boostingLevel: DocumentAttributeBoostingLevel;
1239
+ }
1229
1240
  export interface DeleteApplicationRequest {
1230
1241
  /**
1231
1242
  * The identifier of the Amazon Q application.
@@ -1402,6 +1413,26 @@ declare namespace QBusiness {
1402
1413
  */
1403
1414
  value: DocumentAttributeValue;
1404
1415
  }
1416
+ export interface DocumentAttributeBoostingConfiguration {
1417
+ /**
1418
+ * Provides information on boosting DATE type document attributes.
1419
+ */
1420
+ dateConfiguration?: DateAttributeBoostingConfiguration;
1421
+ /**
1422
+ * Provides information on boosting NUMBER type document attributes.
1423
+ */
1424
+ numberConfiguration?: NumberAttributeBoostingConfiguration;
1425
+ /**
1426
+ * Provides information on boosting STRING type document attributes.
1427
+ */
1428
+ stringConfiguration?: StringAttributeBoostingConfiguration;
1429
+ /**
1430
+ * Provides information on boosting STRING_LIST type document attributes.
1431
+ */
1432
+ stringListConfiguration?: StringListAttributeBoostingConfiguration;
1433
+ }
1434
+ export type DocumentAttributeBoostingLevel = "NONE"|"LOW"|"MEDIUM"|"HIGH"|"VERY_HIGH"|string;
1435
+ export type DocumentAttributeBoostingOverrideMap = {[key: string]: DocumentAttributeBoostingConfiguration};
1405
1436
  export interface DocumentAttributeCondition {
1406
1437
  /**
1407
1438
  * The identifier of the document attribute used for the condition. For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents. Amazon Q currently doesn't support _document_body as an attribute key used for the condition.
@@ -2510,16 +2541,31 @@ declare namespace QBusiness {
2510
2541
  */
2511
2542
  usefulness: MessageUsefulness;
2512
2543
  }
2513
- export type MessageUsefulnessReason = "NOT_FACTUALLY_CORRECT"|"HARMFUL_OR_UNSAFE"|"INCORRECT_OR_MISSING_SOURCES"|"NOT_HELPFUL"|"FACTUALLY_CORRECT"|"COMPLETE"|"RELEVANT_SOURCES"|"HELPFUL"|string;
2544
+ export type MessageUsefulnessReason = "NOT_FACTUALLY_CORRECT"|"HARMFUL_OR_UNSAFE"|"INCORRECT_OR_MISSING_SOURCES"|"NOT_HELPFUL"|"FACTUALLY_CORRECT"|"COMPLETE"|"RELEVANT_SOURCES"|"HELPFUL"|"NOT_BASED_ON_DOCUMENTS"|"NOT_COMPLETE"|"NOT_CONCISE"|"OTHER"|string;
2514
2545
  export type Messages = Message[];
2515
2546
  export type MetricValue = string;
2516
2547
  export interface NativeIndexConfiguration {
2548
+ /**
2549
+ * Overrides the default boosts applied by Amazon Q to supported document attribute data types.
2550
+ */
2551
+ boostingOverride?: DocumentAttributeBoostingOverrideMap;
2517
2552
  /**
2518
2553
  * The identifier for the Amazon Q index.
2519
2554
  */
2520
2555
  indexId: IndexId;
2521
2556
  }
2522
2557
  export type NextToken = string;
2558
+ export interface NumberAttributeBoostingConfiguration {
2559
+ /**
2560
+ * Specifies the duration, in seconds, of a boost applies to a NUMBER type document attribute.
2561
+ */
2562
+ boostingLevel: DocumentAttributeBoostingLevel;
2563
+ /**
2564
+ * Specifies how much a document attribute is boosted.
2565
+ */
2566
+ boostingType?: NumberAttributeBoostingType;
2567
+ }
2568
+ export type NumberAttributeBoostingType = "PRIORITIZE_LARGER_VALUES"|"PRIORITIZE_SMALLER_VALUES"|string;
2523
2569
  export interface OAuth2ClientCredentialConfiguration {
2524
2570
  /**
2525
2571
  * The ARN of an IAM role used by Amazon Q to access the OAuth 2.0 authentication credentials stored in a Secrets Manager secret.
@@ -2721,7 +2767,7 @@ declare namespace QBusiness {
2721
2767
  */
2722
2768
  ruleConfiguration?: RuleConfiguration;
2723
2769
  /**
2724
- * The type fo rule.
2770
+ * The type of rule.
2725
2771
  */
2726
2772
  ruleType: RuleType;
2727
2773
  }
@@ -2834,6 +2880,24 @@ declare namespace QBusiness {
2834
2880
  export interface StopDataSourceSyncJobResponse {
2835
2881
  }
2836
2882
  export type String = string;
2883
+ export interface StringAttributeBoostingConfiguration {
2884
+ /**
2885
+ * Specifies specific values of a STRING type document attribute being boosted.
2886
+ */
2887
+ attributeValueBoosting?: StringAttributeValueBoosting;
2888
+ /**
2889
+ * Specifies how much a document attribute is boosted.
2890
+ */
2891
+ boostingLevel: DocumentAttributeBoostingLevel;
2892
+ }
2893
+ export type StringAttributeValueBoosting = {[key: string]: StringAttributeValueBoostingLevel};
2894
+ export type StringAttributeValueBoostingLevel = "LOW"|"MEDIUM"|"HIGH"|"VERY_HIGH"|string;
2895
+ export interface StringListAttributeBoostingConfiguration {
2896
+ /**
2897
+ * Specifies how much a document attribute is boosted.
2898
+ */
2899
+ boostingLevel: DocumentAttributeBoostingLevel;
2900
+ }
2837
2901
  export type SubnetId = string;
2838
2902
  export type SubnetIds = SubnetId[];
2839
2903
  export type SyncSchedule = string;
@@ -2890,7 +2954,7 @@ declare namespace QBusiness {
2890
2954
  export type Title = string;
2891
2955
  export interface TopicConfiguration {
2892
2956
  /**
2893
- * A description for your topic control configuration. Use this outline how the large language model (LLM) should use this topic control configuration.
2957
+ * A description for your topic control configuration. Use this to outline how the large language model (LLM) should use this topic control configuration.
2894
2958
  */
2895
2959
  description?: TopicDescription;
2896
2960
  /**
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1557.0',
86
+ VERSION: '2.1558.0',
87
87
 
88
88
  /**
89
89
  * @api private