@aws-sdk/client-bedrock-agent 3.751.0 → 3.758.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 +2 -1
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +11 -6
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +12 -12
package/dist-cjs/index.js
CHANGED
|
@@ -1261,7 +1261,8 @@ var WebCrawlerConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
|
|
|
1261
1261
|
...obj,
|
|
1262
1262
|
...obj.inclusionFilters && { inclusionFilters: import_smithy_client.SENSITIVE_STRING },
|
|
1263
1263
|
...obj.exclusionFilters && { exclusionFilters: import_smithy_client.SENSITIVE_STRING },
|
|
1264
|
-
...obj.userAgent && { userAgent: import_smithy_client.SENSITIVE_STRING }
|
|
1264
|
+
...obj.userAgent && { userAgent: import_smithy_client.SENSITIVE_STRING },
|
|
1265
|
+
...obj.userAgentHeader && { userAgentHeader: import_smithy_client.SENSITIVE_STRING }
|
|
1265
1266
|
}), "WebCrawlerConfigurationFilterSensitiveLog");
|
|
1266
1267
|
var WebDataSourceConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1267
1268
|
...obj,
|
|
@@ -742,6 +742,7 @@ export const WebCrawlerConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
742
742
|
...(obj.inclusionFilters && { inclusionFilters: SENSITIVE_STRING }),
|
|
743
743
|
...(obj.exclusionFilters && { exclusionFilters: SENSITIVE_STRING }),
|
|
744
744
|
...(obj.userAgent && { userAgent: SENSITIVE_STRING }),
|
|
745
|
+
...(obj.userAgentHeader && { userAgentHeader: SENSITIVE_STRING }),
|
|
745
746
|
});
|
|
746
747
|
export const WebDataSourceConfigurationFilterSensitiveLog = (obj) => ({
|
|
747
748
|
...obj,
|
|
@@ -74,6 +74,7 @@ declare const CreateDataSourceCommand_base: {
|
|
|
74
74
|
* ],
|
|
75
75
|
* scope: "HOST_ONLY" || "SUBDOMAINS",
|
|
76
76
|
* userAgent: "STRING_VALUE",
|
|
77
|
+
* userAgentHeader: "STRING_VALUE",
|
|
77
78
|
* },
|
|
78
79
|
* },
|
|
79
80
|
* confluenceConfiguration: { // ConfluenceDataSourceConfiguration
|
|
@@ -250,6 +251,7 @@ declare const CreateDataSourceCommand_base: {
|
|
|
250
251
|
* // ],
|
|
251
252
|
* // scope: "HOST_ONLY" || "SUBDOMAINS",
|
|
252
253
|
* // userAgent: "STRING_VALUE",
|
|
254
|
+
* // userAgentHeader: "STRING_VALUE",
|
|
253
255
|
* // },
|
|
254
256
|
* // },
|
|
255
257
|
* // confluenceConfiguration: { // ConfluenceDataSourceConfiguration
|
|
@@ -79,6 +79,7 @@ declare const GetDataSourceCommand_base: {
|
|
|
79
79
|
* // ],
|
|
80
80
|
* // scope: "HOST_ONLY" || "SUBDOMAINS",
|
|
81
81
|
* // userAgent: "STRING_VALUE",
|
|
82
|
+
* // userAgentHeader: "STRING_VALUE",
|
|
82
83
|
* // },
|
|
83
84
|
* // },
|
|
84
85
|
* // confluenceConfiguration: { // ConfluenceDataSourceConfiguration
|
|
@@ -74,6 +74,7 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
74
74
|
* ],
|
|
75
75
|
* scope: "HOST_ONLY" || "SUBDOMAINS",
|
|
76
76
|
* userAgent: "STRING_VALUE",
|
|
77
|
+
* userAgentHeader: "STRING_VALUE",
|
|
77
78
|
* },
|
|
78
79
|
* },
|
|
79
80
|
* confluenceConfiguration: { // ConfluenceDataSourceConfiguration
|
|
@@ -250,6 +251,7 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
250
251
|
* // ],
|
|
251
252
|
* // scope: "HOST_ONLY" || "SUBDOMAINS",
|
|
252
253
|
* // userAgent: "STRING_VALUE",
|
|
254
|
+
* // userAgentHeader: "STRING_VALUE",
|
|
253
255
|
* // },
|
|
254
256
|
* // },
|
|
255
257
|
* // confluenceConfiguration: { // ConfluenceDataSourceConfiguration
|
|
@@ -2968,13 +2968,18 @@ export interface WebCrawlerConfiguration {
|
|
|
2968
2968
|
*/
|
|
2969
2969
|
scope?: WebScopeType | undefined;
|
|
2970
2970
|
/**
|
|
2971
|
-
* <p>
|
|
2972
|
-
* this is set to <code>bedrockbot_UUID</code> for your crawler. You can optionally append a custom
|
|
2973
|
-
* string to <code>bedrockbot_UUID</code> to allowlist a specific user agent permitted to access your source URLs.
|
|
2974
|
-
* </p>
|
|
2971
|
+
* <p>Returns the user agent suffix for your web crawler.</p>
|
|
2975
2972
|
* @public
|
|
2976
2973
|
*/
|
|
2977
2974
|
userAgent?: string | undefined;
|
|
2975
|
+
/**
|
|
2976
|
+
* <p>A string used for identifying the crawler or bot when it accesses a web server. The user agent header value
|
|
2977
|
+
* consists of the <code>bedrockbot</code>, UUID, and a user agent suffix for your crawler (if one is provided).
|
|
2978
|
+
* By default, it is set to <code>bedrockbot_UUID</code>. You can optionally append a custom
|
|
2979
|
+
* suffix to <code>bedrockbot_UUID</code> to allowlist a specific user agent permitted to access your source URLs. </p>
|
|
2980
|
+
* @public
|
|
2981
|
+
*/
|
|
2982
|
+
userAgentHeader?: string | undefined;
|
|
2978
2983
|
}
|
|
2979
2984
|
/**
|
|
2980
2985
|
* <p>The seed or starting point URL.
|
|
@@ -3364,12 +3369,12 @@ export interface ParsingPrompt {
|
|
|
3364
3369
|
parsingPromptText: string | undefined;
|
|
3365
3370
|
}
|
|
3366
3371
|
/**
|
|
3367
|
-
* <p>Settings for a foundation model
|
|
3372
|
+
* <p>Settings for a foundation model used to parse documents for a data source.</p>
|
|
3368
3373
|
* @public
|
|
3369
3374
|
*/
|
|
3370
3375
|
export interface BedrockFoundationModelConfiguration {
|
|
3371
3376
|
/**
|
|
3372
|
-
* <p>The ARN of the foundation model
|
|
3377
|
+
* <p>The ARN of the foundation model to use for parsing.</p>
|
|
3373
3378
|
* @public
|
|
3374
3379
|
*/
|
|
3375
3380
|
modelArn: string | undefined;
|
|
@@ -922,7 +922,7 @@ export interface SupplementalDataStorageConfiguration {
|
|
|
922
922
|
*/
|
|
923
923
|
export interface VectorKnowledgeBaseConfiguration {
|
|
924
924
|
/**
|
|
925
|
-
* <p>The Amazon Resource Name (ARN) of the model
|
|
925
|
+
* <p>The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.</p>
|
|
926
926
|
* @public
|
|
927
927
|
*/
|
|
928
928
|
embeddingModelArn: string | undefined;
|
|
@@ -795,6 +795,7 @@ export interface WebCrawlerConfiguration {
|
|
|
795
795
|
exclusionFilters?: string[] | undefined;
|
|
796
796
|
scope?: WebScopeType | undefined;
|
|
797
797
|
userAgent?: string | undefined;
|
|
798
|
+
userAgentHeader?: string | undefined;
|
|
798
799
|
}
|
|
799
800
|
export interface SeedUrl {
|
|
800
801
|
url?: string | undefined;
|
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.
|
|
4
|
+
"version": "3.758.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,38 +20,38 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.758.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.758.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.734.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.758.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
41
|
-
"@smithy/middleware-retry": "^4.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.0.7",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.1",
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.3",
|
|
46
46
|
"@smithy/protocol-http": "^5.0.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.1.
|
|
47
|
+
"@smithy/smithy-client": "^4.1.6",
|
|
48
48
|
"@smithy/types": "^4.1.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.1",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.7",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.1",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.1",
|
|
57
57
|
"@smithy/util-retry": "^4.0.1",
|