@aws-sdk/client-bedrock-agent 3.751.0 → 3.754.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
@@ -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>A string used for identifying the crawler or a bot when it accesses a web server. By default,
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 or <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference profile</a> used to parse documents for a data source.</p>
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 or <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference profile</a> to use for parsing.</p>
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 or inference profile used to create vector embeddings for the knowledge base.</p>
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.751.0",
4
+ "version": "3.754.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",