@aws-sdk/client-bedrock-agent 3.1072.0 → 3.1073.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
@@ -1367,6 +1367,10 @@ const ConcurrencyType = {
1367
1367
  AUTOMATIC: "Automatic",
1368
1368
  MANUAL: "Manual",
1369
1369
  };
1370
+ const IncludedData = {
1371
+ ALL_DATA: "ALL_DATA",
1372
+ METADATA_ONLY: "METADATA_ONLY",
1373
+ };
1370
1374
  const IncompatibleLoopNodeType = {
1371
1375
  COLLECTOR: "Collector",
1372
1376
  CONDITION: "Condition",
@@ -1610,6 +1614,7 @@ exports.GetKnowledgeBaseDocumentsCommand = GetKnowledgeBaseDocumentsCommand;
1610
1614
  exports.GetPromptCommand = GetPromptCommand;
1611
1615
  exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
1612
1616
  exports.IncludeExclude = IncludeExclude;
1617
+ exports.IncludedData = IncludedData;
1613
1618
  exports.IncompatibleLoopNodeType = IncompatibleLoopNodeType;
1614
1619
  exports.IngestKnowledgeBaseDocumentsCommand = IngestKnowledgeBaseDocumentsCommand;
1615
1620
  exports.IngestionJobFilterAttribute = IngestionJobFilterAttribute;
@@ -743,6 +743,7 @@ const _iCDT = "incompatibleConnectionDataType";
743
743
  const _iCn = "inferenceConfiguration";
744
744
  const _iCnf = "inferenceConfig";
745
745
  const _iCnl = "inlineCode";
746
+ const _iD = "includedData";
746
747
  const _iEC = "imageExtractionConfiguration";
747
748
  const _iES = "imageExtractionStatus";
748
749
  const _iF = "inclusionFilters";
@@ -1946,8 +1947,8 @@ const GetFlowAliasResponse$ = [3, n0, _GFARe,
1946
1947
  exports.GetFlowAliasResponse$ = GetFlowAliasResponse$;
1947
1948
  const GetFlowRequest$ = [3, n0, _GFR,
1948
1949
  0,
1949
- [_fI],
1950
- [[0, 1]], 1
1950
+ [_fI, _iD],
1951
+ [[0, 1], [0, { [_hQ]: _iD }]], 1
1951
1952
  ];
1952
1953
  exports.GetFlowRequest$ = GetFlowRequest$;
1953
1954
  const GetFlowResponse$ = [3, n0, _GFRe,
@@ -1958,8 +1959,8 @@ const GetFlowResponse$ = [3, n0, _GFRe,
1958
1959
  exports.GetFlowResponse$ = GetFlowResponse$;
1959
1960
  const GetFlowVersionRequest$ = [3, n0, _GFVR,
1960
1961
  0,
1961
- [_fI, _fV],
1962
- [[0, 1], [0, 1]], 2
1962
+ [_fI, _fV, _iD],
1963
+ [[0, 1], [0, 1], [0, { [_hQ]: _iD }]], 2
1963
1964
  ];
1964
1965
  exports.GetFlowVersionRequest$ = GetFlowVersionRequest$;
1965
1966
  const GetFlowVersionResponse$ = [3, n0, _GFVRe,
@@ -2006,8 +2007,8 @@ const GetKnowledgeBaseResponse$ = [3, n0, _GKBRe,
2006
2007
  exports.GetKnowledgeBaseResponse$ = GetKnowledgeBaseResponse$;
2007
2008
  const GetPromptRequest$ = [3, n0, _GPR,
2008
2009
  0,
2009
- [_pI, _pV],
2010
- [[0, 1], [0, { [_hQ]: _pV }]], 1
2010
+ [_pI, _pV, _iD],
2011
+ [[0, 1], [0, { [_hQ]: _pV }], [0, { [_hQ]: _iD }]], 1
2011
2012
  ];
2012
2013
  exports.GetPromptRequest$ = GetPromptRequest$;
2013
2014
  const GetPromptResponse$ = [3, n0, _GPRe,
@@ -229,6 +229,10 @@ export const ConcurrencyType = {
229
229
  AUTOMATIC: "Automatic",
230
230
  MANUAL: "Manual",
231
231
  };
232
+ export const IncludedData = {
233
+ ALL_DATA: "ALL_DATA",
234
+ METADATA_ONLY: "METADATA_ONLY",
235
+ };
232
236
  export const IncompatibleLoopNodeType = {
233
237
  COLLECTOR: "Collector",
234
238
  CONDITION: "Condition",
@@ -743,6 +743,7 @@ const _iCDT = "incompatibleConnectionDataType";
743
743
  const _iCn = "inferenceConfiguration";
744
744
  const _iCnf = "inferenceConfig";
745
745
  const _iCnl = "inlineCode";
746
+ const _iD = "includedData";
746
747
  const _iEC = "imageExtractionConfiguration";
747
748
  const _iES = "imageExtractionStatus";
748
749
  const _iF = "inclusionFilters";
@@ -1798,8 +1799,8 @@ export var GetFlowAliasResponse$ = [3, n0, _GFARe,
1798
1799
  ];
1799
1800
  export var GetFlowRequest$ = [3, n0, _GFR,
1800
1801
  0,
1801
- [_fI],
1802
- [[0, 1]], 1
1802
+ [_fI, _iD],
1803
+ [[0, 1], [0, { [_hQ]: _iD }]], 1
1803
1804
  ];
1804
1805
  export var GetFlowResponse$ = [3, n0, _GFRe,
1805
1806
  0,
@@ -1808,8 +1809,8 @@ export var GetFlowResponse$ = [3, n0, _GFRe,
1808
1809
  ];
1809
1810
  export var GetFlowVersionRequest$ = [3, n0, _GFVR,
1810
1811
  0,
1811
- [_fI, _fV],
1812
- [[0, 1], [0, 1]], 2
1812
+ [_fI, _fV, _iD],
1813
+ [[0, 1], [0, 1], [0, { [_hQ]: _iD }]], 2
1813
1814
  ];
1814
1815
  export var GetFlowVersionResponse$ = [3, n0, _GFVRe,
1815
1816
  0,
@@ -1848,8 +1849,8 @@ export var GetKnowledgeBaseResponse$ = [3, n0, _GKBRe,
1848
1849
  ];
1849
1850
  export var GetPromptRequest$ = [3, n0, _GPR,
1850
1851
  0,
1851
- [_pI, _pV],
1852
- [[0, 1], [0, { [_hQ]: _pV }]], 1
1852
+ [_pI, _pV, _iD],
1853
+ [[0, 1], [0, { [_hQ]: _pV }], [0, { [_hQ]: _iD }]], 1
1853
1854
  ];
1854
1855
  export var GetPromptResponse$ = [3, n0, _GPRe,
1855
1856
  0,
@@ -41,6 +41,7 @@ declare const GetFlowCommand_base: {
41
41
  * const client = new BedrockAgentClient(config);
42
42
  * const input = { // GetFlowRequest
43
43
  * flowIdentifier: "STRING_VALUE", // required
44
+ * includedData: "ALL_DATA" || "METADATA_ONLY",
44
45
  * };
45
46
  * const command = new GetFlowCommand(input);
46
47
  * const response = await client.send(command);
@@ -42,6 +42,7 @@ declare const GetFlowVersionCommand_base: {
42
42
  * const input = { // GetFlowVersionRequest
43
43
  * flowIdentifier: "STRING_VALUE", // required
44
44
  * flowVersion: "STRING_VALUE", // required
45
+ * includedData: "ALL_DATA" || "METADATA_ONLY",
45
46
  * };
46
47
  * const command = new GetFlowVersionCommand(input);
47
48
  * const response = await client.send(command);
@@ -41,6 +41,7 @@ declare const GetPromptCommand_base: {
41
41
  * const input = { // GetPromptRequest
42
42
  * promptIdentifier: "STRING_VALUE", // required
43
43
  * promptVersion: "STRING_VALUE",
44
+ * includedData: "ALL_DATA" || "METADATA_ONLY",
44
45
  * };
45
46
  * const command = new GetPromptCommand(input);
46
47
  * const response = await client.send(command);
@@ -619,6 +619,18 @@ export declare const ConcurrencyType: {
619
619
  * @public
620
620
  */
621
621
  export type ConcurrencyType = (typeof ConcurrencyType)[keyof typeof ConcurrencyType];
622
+ /**
623
+ * @public
624
+ * @enum
625
+ */
626
+ export declare const IncludedData: {
627
+ readonly ALL_DATA: "ALL_DATA";
628
+ readonly METADATA_ONLY: "METADATA_ONLY";
629
+ };
630
+ /**
631
+ * @public
632
+ */
633
+ export type IncludedData = (typeof IncludedData)[keyof typeof IncludedData];
622
634
  /**
623
635
  * @public
624
636
  * @enum
@@ -1,6 +1,6 @@
1
1
  import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
2
2
  import type { DocumentType as __DocumentType } from "@smithy/types";
3
- import type { AccessControlAccess, AccessControlPrincipalType, ActionGroupSignature, ActionGroupState, AgentAliasStatus, AgentCollaboration, AgentStatus, AliasInvocationState, CachePointType, ChunkingStrategy, ConcurrencyType, ConfluenceAuthType, ConfluenceHostType, ContentDataSourceType, ContextEnrichmentType, ConversationRole, CrawlFilterConfigurationType, CreationMode, CustomControlMethod, CustomSourceType, DataDeletionPolicy, DataSourceStatus, DataSourceType, DocumentStatus, EmbeddingDataType, EmbeddingModelType, EnabledOrDisabledState, EnrichmentStrategyMethod, FlowConnectionType, FlowNodeInputCategory, FlowNodeIODataType, FlowStatus, FlowValidationSeverity, FlowValidationType, IncompatibleLoopNodeType, IngestionJobFilterAttribute, IngestionJobFilterOperator, IngestionJobSortByAttribute, IngestionJobStatus, InlineContentType, KnowledgeBaseState, MemoryType, MetadataSourceType, MetadataValueType, OrchestrationType, ParsingModality, ParsingStrategy, PerformanceConfigLatency, PromptState, PromptTemplateType, PromptType, RedshiftProvisionedAuthType, RelayConversationHistory, RequireConfirmation, RerankingMetadataSelectionMode, SalesforceAuthType, SharePointAuthType, SharePointHostType, SortOrder, StepType, SupportedLanguages, Type, VectorSearchRerankingConfigurationType, WebScopeType } from "./enums";
3
+ import type { AccessControlAccess, AccessControlPrincipalType, ActionGroupSignature, ActionGroupState, AgentAliasStatus, AgentCollaboration, AgentStatus, AliasInvocationState, CachePointType, ChunkingStrategy, ConcurrencyType, ConfluenceAuthType, ConfluenceHostType, ContentDataSourceType, ContextEnrichmentType, ConversationRole, CrawlFilterConfigurationType, CreationMode, CustomControlMethod, CustomSourceType, DataDeletionPolicy, DataSourceStatus, DataSourceType, DocumentStatus, EmbeddingDataType, EmbeddingModelType, EnabledOrDisabledState, EnrichmentStrategyMethod, FlowConnectionType, FlowNodeInputCategory, FlowNodeIODataType, FlowStatus, FlowValidationSeverity, FlowValidationType, IncludedData, IncompatibleLoopNodeType, IngestionJobFilterAttribute, IngestionJobFilterOperator, IngestionJobSortByAttribute, IngestionJobStatus, InlineContentType, KnowledgeBaseState, MemoryType, MetadataSourceType, MetadataValueType, OrchestrationType, ParsingModality, ParsingStrategy, PerformanceConfigLatency, PromptState, PromptTemplateType, PromptType, RedshiftProvisionedAuthType, RelayConversationHistory, RequireConfirmation, RerankingMetadataSelectionMode, SalesforceAuthType, SharePointAuthType, SharePointHostType, SortOrder, StepType, SupportedLanguages, Type, VectorSearchRerankingConfigurationType, WebScopeType } from "./enums";
4
4
  /**
5
5
  * <p>Contains details about the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.</p>
6
6
  * @public
@@ -4823,6 +4823,11 @@ export interface GetFlowVersionRequest {
4823
4823
  * @public
4824
4824
  */
4825
4825
  flowVersion: string | undefined;
4826
+ /**
4827
+ * <p>Controls the scope of data returned. Set to <code>METADATA_ONLY</code> to return only resource metadata. Set to <code>ALL_DATA</code> or omit this field to return the full response.</p>
4828
+ * @public
4829
+ */
4830
+ includedData?: IncludedData | undefined;
4826
4831
  }
4827
4832
  /**
4828
4833
  * @public
@@ -4899,6 +4904,11 @@ export interface GetFlowRequest {
4899
4904
  * @public
4900
4905
  */
4901
4906
  flowIdentifier: string | undefined;
4907
+ /**
4908
+ * <p>Controls the scope of data returned. Set to <code>METADATA_ONLY</code> to return only resource metadata. Set to <code>ALL_DATA</code> or omit this field to return the full response.</p>
4909
+ * @public
4910
+ */
4911
+ includedData?: IncludedData | undefined;
4902
4912
  }
4903
4913
  /**
4904
4914
  * <p>Details about a cyclic connection detected in the flow.</p>
@@ -1,6 +1,6 @@
1
1
  import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
2
2
  import type { DocumentType as __DocumentType } from "@smithy/types";
3
- import type { AgentStatus, FlowNodeType, FlowStatus, IncludeExclude, KnowledgeBaseState, KnowledgeBaseStatus, KnowledgeBaseStorageType, KnowledgeBaseType, PromptTemplateType, QueryEngineType, RedshiftQueryEngineStorageType, RedshiftQueryEngineType, RedshiftServerlessAuthType, SupplementalDataStorageLocationType } from "./enums";
3
+ import type { AgentStatus, FlowNodeType, FlowStatus, IncludedData, IncludeExclude, KnowledgeBaseState, KnowledgeBaseStatus, KnowledgeBaseStorageType, KnowledgeBaseType, PromptTemplateType, QueryEngineType, RedshiftQueryEngineStorageType, RedshiftQueryEngineType, RedshiftServerlessAuthType, SupplementalDataStorageLocationType } from "./enums";
4
4
  import type { AgentFlowNodeConfiguration, AgentKnowledgeBase, AgentKnowledgeBaseSummary, AgentVersion, AgentVersionSummary, CollectorFlowNodeConfiguration, ConditionFlowNodeConfiguration, EmbeddingModelConfiguration, FlowConnection, FlowNodeInput, FlowNodeOutput, FlowValidation, InlineCodeFlowNodeConfiguration, InputFlowNodeConfiguration, IteratorFlowNodeConfiguration, KendraKnowledgeBaseConfiguration, KnowledgeBaseFlowNodeConfiguration, LambdaFunctionFlowNodeConfiguration, LexFlowNodeConfiguration, LoopControllerFlowNodeConfiguration, LoopInputFlowNodeConfiguration, ManagedKnowledgeBaseConfiguration, OutputFlowNodeConfiguration, PromptFlowNodeConfiguration, PromptInferenceConfiguration, PromptTemplateConfiguration, RedshiftProvisionedAuthConfiguration, RetrievalFlowNodeConfiguration, S3Location, StorageFlowNodeConfiguration } from "./models_0";
5
5
  /**
6
6
  * <p>Contains configurations for a provisioned Amazon Redshift query engine.</p>
@@ -1458,6 +1458,11 @@ export interface GetPromptRequest {
1458
1458
  * @public
1459
1459
  */
1460
1460
  promptVersion?: string | undefined;
1461
+ /**
1462
+ * <p>Controls the scope of data returned. Set to <code>METADATA_ONLY</code> to return only resource metadata. Set to <code>ALL_DATA</code> or omit this field to return the full response.</p>
1463
+ * @public
1464
+ */
1465
+ includedData?: IncludedData | undefined;
1461
1466
  }
1462
1467
  /**
1463
1468
  * @public
@@ -315,6 +315,11 @@ export declare const ConcurrencyType: {
315
315
  };
316
316
  export type ConcurrencyType =
317
317
  (typeof ConcurrencyType)[keyof typeof ConcurrencyType];
318
+ export declare const IncludedData: {
319
+ readonly ALL_DATA: "ALL_DATA";
320
+ readonly METADATA_ONLY: "METADATA_ONLY";
321
+ };
322
+ export type IncludedData = (typeof IncludedData)[keyof typeof IncludedData];
318
323
  export declare const IncompatibleLoopNodeType: {
319
324
  readonly COLLECTOR: "Collector";
320
325
  readonly CONDITION: "Condition";
@@ -35,6 +35,7 @@ import {
35
35
  FlowStatus,
36
36
  FlowValidationSeverity,
37
37
  FlowValidationType,
38
+ IncludedData,
38
39
  IncompatibleLoopNodeType,
39
40
  IngestionJobFilterAttribute,
40
41
  IngestionJobFilterOperator,
@@ -1456,6 +1457,7 @@ export interface DeleteFlowVersionResponse {
1456
1457
  export interface GetFlowVersionRequest {
1457
1458
  flowIdentifier: string | undefined;
1458
1459
  flowVersion: string | undefined;
1460
+ includedData?: IncludedData | undefined;
1459
1461
  }
1460
1462
  export interface ListFlowVersionsRequest {
1461
1463
  flowIdentifier: string | undefined;
@@ -1475,6 +1477,7 @@ export interface ListFlowVersionsResponse {
1475
1477
  }
1476
1478
  export interface GetFlowRequest {
1477
1479
  flowIdentifier: string | undefined;
1480
+ includedData?: IncludedData | undefined;
1478
1481
  }
1479
1482
  export interface CyclicConnectionFlowValidationDetails {
1480
1483
  connection: string | undefined;
@@ -4,6 +4,7 @@ import {
4
4
  AgentStatus,
5
5
  FlowNodeType,
6
6
  FlowStatus,
7
+ IncludedData,
7
8
  IncludeExclude,
8
9
  KnowledgeBaseState,
9
10
  KnowledgeBaseStatus,
@@ -422,6 +423,7 @@ export interface DeletePromptResponse {
422
423
  export interface GetPromptRequest {
423
424
  promptIdentifier: string | undefined;
424
425
  promptVersion?: string | undefined;
426
+ includedData?: IncludedData | undefined;
425
427
  }
426
428
  export interface GetPromptResponse {
427
429
  name: 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.1072.0",
4
+ "version": "3.1073.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",