@aws-sdk/client-bedrock-agent 3.714.0 → 3.717.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
@@ -675,6 +675,7 @@ var PromptState = {
675
675
  };
676
676
  var PromptType = {
677
677
  KNOWLEDGE_BASE_RESPONSE_GENERATION: "KNOWLEDGE_BASE_RESPONSE_GENERATION",
678
+ MEMORY_SUMMARIZATION: "MEMORY_SUMMARIZATION",
678
679
  ORCHESTRATION: "ORCHESTRATION",
679
680
  POST_PROCESSING: "POST_PROCESSING",
680
681
  PRE_PROCESSING: "PRE_PROCESSING"
@@ -712,7 +713,8 @@ var SalesforceAuthType = {
712
713
  OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS"
713
714
  };
714
715
  var SharePointAuthType = {
715
- OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS"
716
+ OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS",
717
+ OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS: "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS"
716
718
  };
717
719
  var SharePointHostType = {
718
720
  ONLINE: "ONLINE"
@@ -1223,7 +1225,8 @@ var SharePointDataSourceConfigurationFilterSensitiveLog = /* @__PURE__ */ __name
1223
1225
  var WebCrawlerConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1224
1226
  ...obj,
1225
1227
  ...obj.inclusionFilters && { inclusionFilters: import_smithy_client.SENSITIVE_STRING },
1226
- ...obj.exclusionFilters && { exclusionFilters: import_smithy_client.SENSITIVE_STRING }
1228
+ ...obj.exclusionFilters && { exclusionFilters: import_smithy_client.SENSITIVE_STRING },
1229
+ ...obj.userAgent && { userAgent: import_smithy_client.SENSITIVE_STRING }
1227
1230
  }), "WebCrawlerConfigurationFilterSensitiveLog");
1228
1231
  var WebDataSourceConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1229
1232
  ...obj,
@@ -1496,10 +1499,6 @@ var ByteContentDocFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1496
1499
  ...obj,
1497
1500
  ...obj.data && { data: import_smithy_client.SENSITIVE_STRING }
1498
1501
  }), "ByteContentDocFilterSensitiveLog");
1499
- var TextContentDocFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1500
- ...obj,
1501
- ...obj.data && { data: import_smithy_client.SENSITIVE_STRING }
1502
- }), "TextContentDocFilterSensitiveLog");
1503
1502
 
1504
1503
  // src/protocols/Aws_restJson1.ts
1505
1504
  var import_core2 = require("@aws-sdk/core");
@@ -4961,6 +4960,10 @@ var PromptGenAiResource;
4961
4960
  return visitor._(value.$unknown[0], value.$unknown[1]);
4962
4961
  }, "visit");
4963
4962
  })(PromptGenAiResource || (PromptGenAiResource = {}));
4963
+ var TextContentDocFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
4964
+ ...obj,
4965
+ ...obj.data && { data: import_smithy_client.SENSITIVE_STRING }
4966
+ }), "TextContentDocFilterSensitiveLog");
4964
4967
  var InlineContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
4965
4968
  ...obj,
4966
4969
  ...obj.byteContent && { byteContent: ByteContentDocFilterSensitiveLog(obj.byteContent) },
@@ -6363,7 +6366,6 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
6363
6366
  UpdateFlowRequestFilterSensitiveLog,
6364
6367
  UpdateFlowResponseFilterSensitiveLog,
6365
6368
  ByteContentDocFilterSensitiveLog,
6366
- TextContentDocFilterSensitiveLog,
6367
6369
  InlineContentType,
6368
6370
  CustomSourceType,
6369
6371
  MetadataValueType,
@@ -6380,6 +6382,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
6380
6382
  KnowledgeBaseStorageType,
6381
6383
  KnowledgeBaseStatus,
6382
6384
  PromptGenAiResource,
6385
+ TextContentDocFilterSensitiveLog,
6383
6386
  InlineContentFilterSensitiveLog,
6384
6387
  CustomContentFilterSensitiveLog,
6385
6388
  DocumentContentFilterSensitiveLog,
@@ -175,6 +175,7 @@ export const PromptState = {
175
175
  };
176
176
  export const PromptType = {
177
177
  KNOWLEDGE_BASE_RESPONSE_GENERATION: "KNOWLEDGE_BASE_RESPONSE_GENERATION",
178
+ MEMORY_SUMMARIZATION: "MEMORY_SUMMARIZATION",
178
179
  ORCHESTRATION: "ORCHESTRATION",
179
180
  POST_PROCESSING: "POST_PROCESSING",
180
181
  PRE_PROCESSING: "PRE_PROCESSING",
@@ -213,6 +214,7 @@ export const SalesforceAuthType = {
213
214
  };
214
215
  export const SharePointAuthType = {
215
216
  OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS",
217
+ OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS: "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS",
216
218
  };
217
219
  export const SharePointHostType = {
218
220
  ONLINE: "ONLINE",
@@ -722,6 +724,7 @@ export const WebCrawlerConfigurationFilterSensitiveLog = (obj) => ({
722
724
  ...obj,
723
725
  ...(obj.inclusionFilters && { inclusionFilters: SENSITIVE_STRING }),
724
726
  ...(obj.exclusionFilters && { exclusionFilters: SENSITIVE_STRING }),
727
+ ...(obj.userAgent && { userAgent: SENSITIVE_STRING }),
725
728
  });
726
729
  export const WebDataSourceConfigurationFilterSensitiveLog = (obj) => ({
727
730
  ...obj,
@@ -992,7 +995,3 @@ export const ByteContentDocFilterSensitiveLog = (obj) => ({
992
995
  ...obj,
993
996
  ...(obj.data && { data: SENSITIVE_STRING }),
994
997
  });
995
- export const TextContentDocFilterSensitiveLog = (obj) => ({
996
- ...obj,
997
- ...(obj.data && { data: SENSITIVE_STRING }),
998
- });
@@ -1,5 +1,5 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { AgentVersionFilterSensitiveLog, ByteContentDocFilterSensitiveLog, FlowValidationFilterSensitiveLog, PromptTemplateConfigurationFilterSensitiveLog, TextContentDocFilterSensitiveLog, } from "./models_0";
2
+ import { AgentVersionFilterSensitiveLog, ByteContentDocFilterSensitiveLog, FlowValidationFilterSensitiveLog, PromptTemplateConfigurationFilterSensitiveLog, } from "./models_0";
3
3
  export const InlineContentType = {
4
4
  BYTE: "BYTE",
5
5
  TEXT: "TEXT",
@@ -77,6 +77,10 @@ export var PromptGenAiResource;
77
77
  return visitor._(value.$unknown[0], value.$unknown[1]);
78
78
  };
79
79
  })(PromptGenAiResource || (PromptGenAiResource = {}));
80
+ export const TextContentDocFilterSensitiveLog = (obj) => ({
81
+ ...obj,
82
+ ...(obj.data && { data: SENSITIVE_STRING }),
83
+ });
80
84
  export const InlineContentFilterSensitiveLog = (obj) => ({
81
85
  ...obj,
82
86
  ...(obj.byteContent && { byteContent: ByteContentDocFilterSensitiveLog(obj.byteContent) }),
@@ -86,7 +86,7 @@ declare const CreateAgentCommand_base: {
86
86
  * promptOverrideConfiguration: { // PromptOverrideConfiguration
87
87
  * promptConfigurations: [ // PromptConfigurations // required
88
88
  * { // PromptConfiguration
89
- * promptType: "PRE_PROCESSING" || "ORCHESTRATION" || "POST_PROCESSING" || "KNOWLEDGE_BASE_RESPONSE_GENERATION",
89
+ * promptType: "PRE_PROCESSING" || "ORCHESTRATION" || "POST_PROCESSING" || "KNOWLEDGE_BASE_RESPONSE_GENERATION" || "MEMORY_SUMMARIZATION",
90
90
  * promptCreationMode: "DEFAULT" || "OVERRIDDEN",
91
91
  * promptState: "ENABLED" || "DISABLED",
92
92
  * basePromptTemplate: "STRING_VALUE",
@@ -114,6 +114,9 @@ declare const CreateAgentCommand_base: {
114
114
  * "SESSION_SUMMARY",
115
115
  * ],
116
116
  * storageDays: Number("int"),
117
+ * sessionSummaryConfiguration: { // SessionSummaryConfiguration
118
+ * maxRecentSessions: Number("int"),
119
+ * },
117
120
  * },
118
121
  * agentCollaboration: "SUPERVISOR" || "SUPERVISOR_ROUTER" || "DISABLED",
119
122
  * };
@@ -151,7 +154,7 @@ declare const CreateAgentCommand_base: {
151
154
  * // promptOverrideConfiguration: { // PromptOverrideConfiguration
152
155
  * // promptConfigurations: [ // PromptConfigurations // required
153
156
  * // { // PromptConfiguration
154
- * // promptType: "PRE_PROCESSING" || "ORCHESTRATION" || "POST_PROCESSING" || "KNOWLEDGE_BASE_RESPONSE_GENERATION",
157
+ * // promptType: "PRE_PROCESSING" || "ORCHESTRATION" || "POST_PROCESSING" || "KNOWLEDGE_BASE_RESPONSE_GENERATION" || "MEMORY_SUMMARIZATION",
155
158
  * // promptCreationMode: "DEFAULT" || "OVERRIDDEN",
156
159
  * // promptState: "ENABLED" || "DISABLED",
157
160
  * // basePromptTemplate: "STRING_VALUE",
@@ -179,6 +182,9 @@ declare const CreateAgentCommand_base: {
179
182
  * // "SESSION_SUMMARY",
180
183
  * // ],
181
184
  * // storageDays: Number("int"),
185
+ * // sessionSummaryConfiguration: { // SessionSummaryConfiguration
186
+ * // maxRecentSessions: Number("int"),
187
+ * // },
182
188
  * // },
183
189
  * // agentCollaboration: "SUPERVISOR" || "SUPERVISOR_ROUTER" || "DISABLED",
184
190
  * // },
@@ -64,6 +64,7 @@ declare const CreateDataSourceCommand_base: {
64
64
  * crawlerConfiguration: { // WebCrawlerConfiguration
65
65
  * crawlerLimits: { // WebCrawlerLimits
66
66
  * rateLimit: Number("int"),
67
+ * maxPages: Number("int"),
67
68
  * },
68
69
  * inclusionFilters: [ // FilterList
69
70
  * "STRING_VALUE",
@@ -72,6 +73,7 @@ declare const CreateDataSourceCommand_base: {
72
73
  * "STRING_VALUE",
73
74
  * ],
74
75
  * scope: "HOST_ONLY" || "SUBDOMAINS",
76
+ * userAgent: "STRING_VALUE",
75
77
  * },
76
78
  * },
77
79
  * confluenceConfiguration: { // ConfluenceDataSourceConfiguration
@@ -131,7 +133,7 @@ declare const CreateDataSourceCommand_base: {
131
133
  * "STRING_VALUE",
132
134
  * ],
133
135
  * hostType: "ONLINE", // required
134
- * authType: "OAUTH2_CLIENT_CREDENTIALS", // required
136
+ * authType: "OAUTH2_CLIENT_CREDENTIALS" || "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS", // required
135
137
  * credentialsSecretArn: "STRING_VALUE", // required
136
138
  * },
137
139
  * crawlerConfiguration: { // SharePointCrawlerConfiguration
@@ -238,6 +240,7 @@ declare const CreateDataSourceCommand_base: {
238
240
  * // crawlerConfiguration: { // WebCrawlerConfiguration
239
241
  * // crawlerLimits: { // WebCrawlerLimits
240
242
  * // rateLimit: Number("int"),
243
+ * // maxPages: Number("int"),
241
244
  * // },
242
245
  * // inclusionFilters: [ // FilterList
243
246
  * // "STRING_VALUE",
@@ -246,6 +249,7 @@ declare const CreateDataSourceCommand_base: {
246
249
  * // "STRING_VALUE",
247
250
  * // ],
248
251
  * // scope: "HOST_ONLY" || "SUBDOMAINS",
252
+ * // userAgent: "STRING_VALUE",
249
253
  * // },
250
254
  * // },
251
255
  * // confluenceConfiguration: { // ConfluenceDataSourceConfiguration
@@ -305,7 +309,7 @@ declare const CreateDataSourceCommand_base: {
305
309
  * // "STRING_VALUE",
306
310
  * // ],
307
311
  * // hostType: "ONLINE", // required
308
- * // authType: "OAUTH2_CLIENT_CREDENTIALS", // required
312
+ * // authType: "OAUTH2_CLIENT_CREDENTIALS" || "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS", // required
309
313
  * // credentialsSecretArn: "STRING_VALUE", // required
310
314
  * // },
311
315
  * // crawlerConfiguration: { // SharePointCrawlerConfiguration
@@ -71,7 +71,7 @@ declare const GetAgentCommand_base: {
71
71
  * // promptOverrideConfiguration: { // PromptOverrideConfiguration
72
72
  * // promptConfigurations: [ // PromptConfigurations // required
73
73
  * // { // PromptConfiguration
74
- * // promptType: "PRE_PROCESSING" || "ORCHESTRATION" || "POST_PROCESSING" || "KNOWLEDGE_BASE_RESPONSE_GENERATION",
74
+ * // promptType: "PRE_PROCESSING" || "ORCHESTRATION" || "POST_PROCESSING" || "KNOWLEDGE_BASE_RESPONSE_GENERATION" || "MEMORY_SUMMARIZATION",
75
75
  * // promptCreationMode: "DEFAULT" || "OVERRIDDEN",
76
76
  * // promptState: "ENABLED" || "DISABLED",
77
77
  * // basePromptTemplate: "STRING_VALUE",
@@ -99,6 +99,9 @@ declare const GetAgentCommand_base: {
99
99
  * // "SESSION_SUMMARY",
100
100
  * // ],
101
101
  * // storageDays: Number("int"),
102
+ * // sessionSummaryConfiguration: { // SessionSummaryConfiguration
103
+ * // maxRecentSessions: Number("int"),
104
+ * // },
102
105
  * // },
103
106
  * // agentCollaboration: "SUPERVISOR" || "SUPERVISOR_ROUTER" || "DISABLED",
104
107
  * // },
@@ -64,7 +64,7 @@ declare const GetAgentVersionCommand_base: {
64
64
  * // promptOverrideConfiguration: { // PromptOverrideConfiguration
65
65
  * // promptConfigurations: [ // PromptConfigurations // required
66
66
  * // { // PromptConfiguration
67
- * // promptType: "PRE_PROCESSING" || "ORCHESTRATION" || "POST_PROCESSING" || "KNOWLEDGE_BASE_RESPONSE_GENERATION",
67
+ * // promptType: "PRE_PROCESSING" || "ORCHESTRATION" || "POST_PROCESSING" || "KNOWLEDGE_BASE_RESPONSE_GENERATION" || "MEMORY_SUMMARIZATION",
68
68
  * // promptCreationMode: "DEFAULT" || "OVERRIDDEN",
69
69
  * // promptState: "ENABLED" || "DISABLED",
70
70
  * // basePromptTemplate: "STRING_VALUE",
@@ -92,6 +92,9 @@ declare const GetAgentVersionCommand_base: {
92
92
  * // "SESSION_SUMMARY",
93
93
  * // ],
94
94
  * // storageDays: Number("int"),
95
+ * // sessionSummaryConfiguration: { // SessionSummaryConfiguration
96
+ * // maxRecentSessions: Number("int"),
97
+ * // },
95
98
  * // },
96
99
  * // agentCollaboration: "SUPERVISOR" || "SUPERVISOR_ROUTER" || "DISABLED",
97
100
  * // },
@@ -69,6 +69,7 @@ declare const GetDataSourceCommand_base: {
69
69
  * // crawlerConfiguration: { // WebCrawlerConfiguration
70
70
  * // crawlerLimits: { // WebCrawlerLimits
71
71
  * // rateLimit: Number("int"),
72
+ * // maxPages: Number("int"),
72
73
  * // },
73
74
  * // inclusionFilters: [ // FilterList
74
75
  * // "STRING_VALUE",
@@ -77,6 +78,7 @@ declare const GetDataSourceCommand_base: {
77
78
  * // "STRING_VALUE",
78
79
  * // ],
79
80
  * // scope: "HOST_ONLY" || "SUBDOMAINS",
81
+ * // userAgent: "STRING_VALUE",
80
82
  * // },
81
83
  * // },
82
84
  * // confluenceConfiguration: { // ConfluenceDataSourceConfiguration
@@ -136,7 +138,7 @@ declare const GetDataSourceCommand_base: {
136
138
  * // "STRING_VALUE",
137
139
  * // ],
138
140
  * // hostType: "ONLINE", // required
139
- * // authType: "OAUTH2_CLIENT_CREDENTIALS", // required
141
+ * // authType: "OAUTH2_CLIENT_CREDENTIALS" || "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS", // required
140
142
  * // credentialsSecretArn: "STRING_VALUE", // required
141
143
  * // },
142
144
  * // crawlerConfiguration: { // SharePointCrawlerConfiguration
@@ -52,7 +52,7 @@ declare const UpdateAgentCommand_base: {
52
52
  * promptOverrideConfiguration: { // PromptOverrideConfiguration
53
53
  * promptConfigurations: [ // PromptConfigurations // required
54
54
  * { // PromptConfiguration
55
- * promptType: "PRE_PROCESSING" || "ORCHESTRATION" || "POST_PROCESSING" || "KNOWLEDGE_BASE_RESPONSE_GENERATION",
55
+ * promptType: "PRE_PROCESSING" || "ORCHESTRATION" || "POST_PROCESSING" || "KNOWLEDGE_BASE_RESPONSE_GENERATION" || "MEMORY_SUMMARIZATION",
56
56
  * promptCreationMode: "DEFAULT" || "OVERRIDDEN",
57
57
  * promptState: "ENABLED" || "DISABLED",
58
58
  * basePromptTemplate: "STRING_VALUE",
@@ -80,6 +80,9 @@ declare const UpdateAgentCommand_base: {
80
80
  * "SESSION_SUMMARY",
81
81
  * ],
82
82
  * storageDays: Number("int"),
83
+ * sessionSummaryConfiguration: { // SessionSummaryConfiguration
84
+ * maxRecentSessions: Number("int"),
85
+ * },
83
86
  * },
84
87
  * agentCollaboration: "SUPERVISOR" || "SUPERVISOR_ROUTER" || "DISABLED",
85
88
  * };
@@ -117,7 +120,7 @@ declare const UpdateAgentCommand_base: {
117
120
  * // promptOverrideConfiguration: { // PromptOverrideConfiguration
118
121
  * // promptConfigurations: [ // PromptConfigurations // required
119
122
  * // { // PromptConfiguration
120
- * // promptType: "PRE_PROCESSING" || "ORCHESTRATION" || "POST_PROCESSING" || "KNOWLEDGE_BASE_RESPONSE_GENERATION",
123
+ * // promptType: "PRE_PROCESSING" || "ORCHESTRATION" || "POST_PROCESSING" || "KNOWLEDGE_BASE_RESPONSE_GENERATION" || "MEMORY_SUMMARIZATION",
121
124
  * // promptCreationMode: "DEFAULT" || "OVERRIDDEN",
122
125
  * // promptState: "ENABLED" || "DISABLED",
123
126
  * // basePromptTemplate: "STRING_VALUE",
@@ -145,6 +148,9 @@ declare const UpdateAgentCommand_base: {
145
148
  * // "SESSION_SUMMARY",
146
149
  * // ],
147
150
  * // storageDays: Number("int"),
151
+ * // sessionSummaryConfiguration: { // SessionSummaryConfiguration
152
+ * // maxRecentSessions: Number("int"),
153
+ * // },
148
154
  * // },
149
155
  * // agentCollaboration: "SUPERVISOR" || "SUPERVISOR_ROUTER" || "DISABLED",
150
156
  * // },
@@ -64,6 +64,7 @@ declare const UpdateDataSourceCommand_base: {
64
64
  * crawlerConfiguration: { // WebCrawlerConfiguration
65
65
  * crawlerLimits: { // WebCrawlerLimits
66
66
  * rateLimit: Number("int"),
67
+ * maxPages: Number("int"),
67
68
  * },
68
69
  * inclusionFilters: [ // FilterList
69
70
  * "STRING_VALUE",
@@ -72,6 +73,7 @@ declare const UpdateDataSourceCommand_base: {
72
73
  * "STRING_VALUE",
73
74
  * ],
74
75
  * scope: "HOST_ONLY" || "SUBDOMAINS",
76
+ * userAgent: "STRING_VALUE",
75
77
  * },
76
78
  * },
77
79
  * confluenceConfiguration: { // ConfluenceDataSourceConfiguration
@@ -131,7 +133,7 @@ declare const UpdateDataSourceCommand_base: {
131
133
  * "STRING_VALUE",
132
134
  * ],
133
135
  * hostType: "ONLINE", // required
134
- * authType: "OAUTH2_CLIENT_CREDENTIALS", // required
136
+ * authType: "OAUTH2_CLIENT_CREDENTIALS" || "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS", // required
135
137
  * credentialsSecretArn: "STRING_VALUE", // required
136
138
  * },
137
139
  * crawlerConfiguration: { // SharePointCrawlerConfiguration
@@ -238,6 +240,7 @@ declare const UpdateDataSourceCommand_base: {
238
240
  * // crawlerConfiguration: { // WebCrawlerConfiguration
239
241
  * // crawlerLimits: { // WebCrawlerLimits
240
242
  * // rateLimit: Number("int"),
243
+ * // maxPages: Number("int"),
241
244
  * // },
242
245
  * // inclusionFilters: [ // FilterList
243
246
  * // "STRING_VALUE",
@@ -246,6 +249,7 @@ declare const UpdateDataSourceCommand_base: {
246
249
  * // "STRING_VALUE",
247
250
  * // ],
248
251
  * // scope: "HOST_ONLY" || "SUBDOMAINS",
252
+ * // userAgent: "STRING_VALUE",
249
253
  * // },
250
254
  * // },
251
255
  * // confluenceConfiguration: { // ConfluenceDataSourceConfiguration
@@ -305,7 +309,7 @@ declare const UpdateDataSourceCommand_base: {
305
309
  * // "STRING_VALUE",
306
310
  * // ],
307
311
  * // hostType: "ONLINE", // required
308
- * // authType: "OAUTH2_CLIENT_CREDENTIALS", // required
312
+ * // authType: "OAUTH2_CLIENT_CREDENTIALS" || "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS", // required
309
313
  * // credentialsSecretArn: "STRING_VALUE", // required
310
314
  * // },
311
315
  * // crawlerConfiguration: { // SharePointCrawlerConfiguration
@@ -876,6 +876,17 @@ export declare const MemoryType: {
876
876
  * @public
877
877
  */
878
878
  export type MemoryType = (typeof MemoryType)[keyof typeof MemoryType];
879
+ /**
880
+ * <p>Configuration for SESSION_SUMMARY memory type enabled for the agent.</p>
881
+ * @public
882
+ */
883
+ export interface SessionSummaryConfiguration {
884
+ /**
885
+ * <p>Maximum number of recent session summaries to include in the agent's prompt context.</p>
886
+ * @public
887
+ */
888
+ maxRecentSessions?: number | undefined;
889
+ }
879
890
  /**
880
891
  * <p>Details of the memory configuration.</p>
881
892
  * @public
@@ -891,6 +902,11 @@ export interface MemoryConfiguration {
891
902
  * @public
892
903
  */
893
904
  storageDays?: number | undefined;
905
+ /**
906
+ * <p>Contains the configuration for SESSION_SUMMARY memory type enabled for the agent. </p>
907
+ * @public
908
+ */
909
+ sessionSummaryConfiguration?: SessionSummaryConfiguration | undefined;
894
910
  }
895
911
  /**
896
912
  * @public
@@ -965,6 +981,7 @@ export type PromptState = (typeof PromptState)[keyof typeof PromptState];
965
981
  */
966
982
  export declare const PromptType: {
967
983
  readonly KNOWLEDGE_BASE_RESPONSE_GENERATION: "KNOWLEDGE_BASE_RESPONSE_GENERATION";
984
+ readonly MEMORY_SUMMARIZATION: "MEMORY_SUMMARIZATION";
968
985
  readonly ORCHESTRATION: "ORCHESTRATION";
969
986
  readonly POST_PROCESSING: "POST_PROCESSING";
970
987
  readonly PRE_PROCESSING: "PRE_PROCESSING";
@@ -2773,6 +2790,7 @@ export interface SharePointCrawlerConfiguration {
2773
2790
  */
2774
2791
  export declare const SharePointAuthType: {
2775
2792
  readonly OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS";
2793
+ readonly OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS: "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS";
2776
2794
  };
2777
2795
  /**
2778
2796
  * @public
@@ -2875,6 +2893,14 @@ export interface WebCrawlerLimits {
2875
2893
  * @public
2876
2894
  */
2877
2895
  rateLimit?: number | undefined;
2896
+ /**
2897
+ * <p>
2898
+ * The max number of web pages crawled from your source URLs, up to 25,000 pages. If
2899
+ * the web pages exceed this limit, the data source sync will fail and no web pages will be ingested.
2900
+ * </p>
2901
+ * @public
2902
+ */
2903
+ maxPages?: number | undefined;
2878
2904
  }
2879
2905
  /**
2880
2906
  * @public
@@ -2926,6 +2952,14 @@ export interface WebCrawlerConfiguration {
2926
2952
  * @public
2927
2953
  */
2928
2954
  scope?: WebScopeType | undefined;
2955
+ /**
2956
+ * <p>A string used for identifying the crawler or a bot when it accesses a web server. By default,
2957
+ * this is set to <code>bedrockbot_UUID</code> for your crawler. You can optionally append a custom
2958
+ * string to <code>bedrockbot_UUID</code> to allowlist a specific user agent permitted to access your source URLs.
2959
+ * </p>
2960
+ * @public
2961
+ */
2962
+ userAgent?: string | undefined;
2929
2963
  }
2930
2964
  /**
2931
2965
  * <p>The seed or starting point URL.
@@ -7987,17 +8021,6 @@ export interface ByteContentDoc {
7987
8021
  */
7988
8022
  data: Uint8Array | undefined;
7989
8023
  }
7990
- /**
7991
- * <p>Contains information about content defined inline in text.</p>
7992
- * @public
7993
- */
7994
- export interface TextContentDoc {
7995
- /**
7996
- * <p>The text of the content.</p>
7997
- * @public
7998
- */
7999
- data: string | undefined;
8000
- }
8001
8024
  /**
8002
8025
  * @internal
8003
8026
  */
@@ -8282,7 +8305,3 @@ export declare const UpdateFlowResponseFilterSensitiveLog: (obj: UpdateFlowRespo
8282
8305
  * @internal
8283
8306
  */
8284
8307
  export declare const ByteContentDocFilterSensitiveLog: (obj: ByteContentDoc) => any;
8285
- /**
8286
- * @internal
8287
- */
8288
- export declare const TextContentDocFilterSensitiveLog: (obj: TextContentDoc) => any;
@@ -1,5 +1,16 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
- import { AgentKnowledgeBase, AgentKnowledgeBaseSummary, AgentStatus, AgentVersion, AgentVersionSummary, ByteContentDoc, ContentDataSourceType, CustomDocumentIdentifier, FlowDefinition, FlowValidation, KnowledgeBaseDocumentDetail, KnowledgeBaseState, PromptInferenceConfiguration, PromptTemplateConfiguration, PromptTemplateType, S3Location, TextContentDoc } from "./models_0";
2
+ import { AgentKnowledgeBase, AgentKnowledgeBaseSummary, AgentStatus, AgentVersion, AgentVersionSummary, ByteContentDoc, ContentDataSourceType, CustomDocumentIdentifier, FlowDefinition, FlowValidation, KnowledgeBaseDocumentDetail, KnowledgeBaseState, PromptInferenceConfiguration, PromptTemplateConfiguration, PromptTemplateType, S3Location } from "./models_0";
3
+ /**
4
+ * <p>Contains information about content defined inline in text.</p>
5
+ * @public
6
+ */
7
+ export interface TextContentDoc {
8
+ /**
9
+ * <p>The text of the content.</p>
10
+ * @public
11
+ */
12
+ data: string | undefined;
13
+ }
3
14
  /**
4
15
  * @public
5
16
  * @enum
@@ -2300,6 +2311,10 @@ export interface ListAgentVersionsResponse {
2300
2311
  */
2301
2312
  nextToken?: string | undefined;
2302
2313
  }
2314
+ /**
2315
+ * @internal
2316
+ */
2317
+ export declare const TextContentDocFilterSensitiveLog: (obj: TextContentDoc) => any;
2303
2318
  /**
2304
2319
  * @internal
2305
2320
  */
@@ -295,9 +295,13 @@ export declare const MemoryType: {
295
295
  readonly SESSION_SUMMARY: "SESSION_SUMMARY";
296
296
  };
297
297
  export type MemoryType = (typeof MemoryType)[keyof typeof MemoryType];
298
+ export interface SessionSummaryConfiguration {
299
+ maxRecentSessions?: number | undefined;
300
+ }
298
301
  export interface MemoryConfiguration {
299
302
  enabledMemoryTypes: MemoryType[] | undefined;
300
303
  storageDays?: number | undefined;
304
+ sessionSummaryConfiguration?: SessionSummaryConfiguration | undefined;
301
305
  }
302
306
  export declare const OrchestrationType: {
303
307
  readonly CUSTOM_ORCHESTRATION: "CUSTOM_ORCHESTRATION";
@@ -324,6 +328,7 @@ export declare const PromptState: {
324
328
  export type PromptState = (typeof PromptState)[keyof typeof PromptState];
325
329
  export declare const PromptType: {
326
330
  readonly KNOWLEDGE_BASE_RESPONSE_GENERATION: "KNOWLEDGE_BASE_RESPONSE_GENERATION";
331
+ readonly MEMORY_SUMMARIZATION: "MEMORY_SUMMARIZATION";
327
332
  readonly ORCHESTRATION: "ORCHESTRATION";
328
333
  readonly POST_PROCESSING: "POST_PROCESSING";
329
334
  readonly PRE_PROCESSING: "PRE_PROCESSING";
@@ -741,6 +746,7 @@ export interface SharePointCrawlerConfiguration {
741
746
  }
742
747
  export declare const SharePointAuthType: {
743
748
  readonly OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS";
749
+ readonly OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS: "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS";
744
750
  };
745
751
  export type SharePointAuthType =
746
752
  (typeof SharePointAuthType)[keyof typeof SharePointAuthType];
@@ -774,6 +780,7 @@ export type DataSourceType =
774
780
  (typeof DataSourceType)[keyof typeof DataSourceType];
775
781
  export interface WebCrawlerLimits {
776
782
  rateLimit?: number | undefined;
783
+ maxPages?: number | undefined;
777
784
  }
778
785
  export declare const WebScopeType: {
779
786
  readonly HOST_ONLY: "HOST_ONLY";
@@ -785,6 +792,7 @@ export interface WebCrawlerConfiguration {
785
792
  inclusionFilters?: string[] | undefined;
786
793
  exclusionFilters?: string[] | undefined;
787
794
  scope?: WebScopeType | undefined;
795
+ userAgent?: string | undefined;
788
796
  }
789
797
  export interface SeedUrl {
790
798
  url?: string | undefined;
@@ -2992,9 +3000,6 @@ export interface ByteContentDoc {
2992
3000
  mimeType: string | undefined;
2993
3001
  data: Uint8Array | undefined;
2994
3002
  }
2995
- export interface TextContentDoc {
2996
- data: string | undefined;
2997
- }
2998
3003
  export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
2999
3004
  export declare const CreateAgentActionGroupRequestFilterSensitiveLog: (
3000
3005
  obj: CreateAgentActionGroupRequest
@@ -3192,6 +3197,3 @@ export declare const UpdateFlowResponseFilterSensitiveLog: (
3192
3197
  export declare const ByteContentDocFilterSensitiveLog: (
3193
3198
  obj: ByteContentDoc
3194
3199
  ) => any;
3195
- export declare const TextContentDocFilterSensitiveLog: (
3196
- obj: TextContentDoc
3197
- ) => any;
@@ -16,8 +16,10 @@ import {
16
16
  PromptTemplateConfiguration,
17
17
  PromptTemplateType,
18
18
  S3Location,
19
- TextContentDoc,
20
19
  } from "./models_0";
20
+ export interface TextContentDoc {
21
+ data: string | undefined;
22
+ }
21
23
  export declare const InlineContentType: {
22
24
  readonly BYTE: "BYTE";
23
25
  readonly TEXT: "TEXT";
@@ -646,6 +648,9 @@ export interface ListAgentVersionsResponse {
646
648
  agentVersionSummaries: AgentVersionSummary[] | undefined;
647
649
  nextToken?: string | undefined;
648
650
  }
651
+ export declare const TextContentDocFilterSensitiveLog: (
652
+ obj: TextContentDoc
653
+ ) => any;
649
654
  export declare const InlineContentFilterSensitiveLog: (
650
655
  obj: InlineContent
651
656
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agent",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agent Client for Node.js, Browser and React Native",
4
- "version": "3.714.0",
4
+ "version": "3.717.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-bedrock-agent",
@@ -20,40 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.714.0",
24
- "@aws-sdk/client-sts": "3.714.0",
25
- "@aws-sdk/core": "3.714.0",
26
- "@aws-sdk/credential-provider-node": "3.714.0",
23
+ "@aws-sdk/client-sso-oidc": "3.716.0",
24
+ "@aws-sdk/client-sts": "3.716.0",
25
+ "@aws-sdk/core": "3.716.0",
26
+ "@aws-sdk/credential-provider-node": "3.716.0",
27
27
  "@aws-sdk/middleware-host-header": "3.714.0",
28
28
  "@aws-sdk/middleware-logger": "3.714.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.714.0",
30
+ "@aws-sdk/middleware-user-agent": "3.716.0",
31
31
  "@aws-sdk/region-config-resolver": "3.714.0",
32
32
  "@aws-sdk/types": "3.714.0",
33
33
  "@aws-sdk/util-endpoints": "3.714.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.714.0",
35
+ "@aws-sdk/util-user-agent-node": "3.716.0",
36
36
  "@smithy/config-resolver": "^3.0.13",
37
37
  "@smithy/core": "^2.5.5",
38
38
  "@smithy/fetch-http-handler": "^4.1.2",
39
39
  "@smithy/hash-node": "^3.0.11",
40
40
  "@smithy/invalid-dependency": "^3.0.11",
41
41
  "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.5",
43
- "@smithy/middleware-retry": "^3.0.30",
42
+ "@smithy/middleware-endpoint": "^3.2.6",
43
+ "@smithy/middleware-retry": "^3.0.31",
44
44
  "@smithy/middleware-serde": "^3.0.11",
45
45
  "@smithy/middleware-stack": "^3.0.11",
46
46
  "@smithy/node-config-provider": "^3.1.12",
47
47
  "@smithy/node-http-handler": "^3.3.2",
48
48
  "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.0",
49
+ "@smithy/smithy-client": "^3.5.1",
50
50
  "@smithy/types": "^3.7.2",
51
51
  "@smithy/url-parser": "^3.0.11",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.30",
56
- "@smithy/util-defaults-mode-node": "^3.0.30",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.31",
56
+ "@smithy/util-defaults-mode-node": "^3.0.31",
57
57
  "@smithy/util-endpoints": "^2.1.7",
58
58
  "@smithy/util-middleware": "^3.0.11",
59
59
  "@smithy/util-retry": "^3.0.11",