@aws-sdk/client-bedrock-agent 3.821.0 → 3.822.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 +24 -9
- package/dist-es/models/models_0.js +4 -8
- package/dist-es/models/models_1.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/CreateAgentAliasCommand.d.ts +1 -0
- package/dist-types/commands/GetAgentAliasCommand.d.ts +1 -0
- package/dist-types/commands/ListAgentAliasesCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAgentAliasCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +49 -22
- package/dist-types/models/models_1.d.ts +21 -2
- package/dist-types/ts3.4/models/models_0.d.ts +9 -10
- package/dist-types/ts3.4/models/models_1.d.ts +10 -1
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -35,6 +35,7 @@ __export(index_exports, {
|
|
|
35
35
|
AgentFilterSensitiveLog: () => AgentFilterSensitiveLog,
|
|
36
36
|
AgentStatus: () => AgentStatus,
|
|
37
37
|
AgentVersionFilterSensitiveLog: () => AgentVersionFilterSensitiveLog,
|
|
38
|
+
AliasInvocationState: () => AliasInvocationState,
|
|
38
39
|
AssociateAgentCollaboratorCommand: () => AssociateAgentCollaboratorCommand,
|
|
39
40
|
AssociateAgentCollaboratorRequestFilterSensitiveLog: () => AssociateAgentCollaboratorRequestFilterSensitiveLog,
|
|
40
41
|
AssociateAgentCollaboratorResponseFilterSensitiveLog: () => AssociateAgentCollaboratorResponseFilterSensitiveLog,
|
|
@@ -726,6 +727,16 @@ var AgentAliasStatus = {
|
|
|
726
727
|
PREPARED: "PREPARED",
|
|
727
728
|
UPDATING: "UPDATING"
|
|
728
729
|
};
|
|
730
|
+
var AliasInvocationState = {
|
|
731
|
+
/**
|
|
732
|
+
* Agent is actively processing requests
|
|
733
|
+
*/
|
|
734
|
+
ACCEPT_INVOCATIONS: "ACCEPT_INVOCATIONS",
|
|
735
|
+
/**
|
|
736
|
+
* Agent is paused and will not accept new requests
|
|
737
|
+
*/
|
|
738
|
+
REJECT_INVOCATIONS: "REJECT_INVOCATIONS"
|
|
739
|
+
};
|
|
729
740
|
var RelayConversationHistory = {
|
|
730
741
|
DISABLED: "DISABLED",
|
|
731
742
|
TO_COLLABORATOR: "TO_COLLABORATOR"
|
|
@@ -1063,14 +1074,6 @@ var FlowValidationType = {
|
|
|
1063
1074
|
UNSATISFIED_CONNECTION_CONDITIONS: "UnsatisfiedConnectionConditions",
|
|
1064
1075
|
UNSPECIFIED: "Unspecified"
|
|
1065
1076
|
};
|
|
1066
|
-
var IngestionJobStatus = {
|
|
1067
|
-
COMPLETE: "COMPLETE",
|
|
1068
|
-
FAILED: "FAILED",
|
|
1069
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
1070
|
-
STARTING: "STARTING",
|
|
1071
|
-
STOPPED: "STOPPED",
|
|
1072
|
-
STOPPING: "STOPPING"
|
|
1073
|
-
};
|
|
1074
1077
|
var APISchemaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
1075
1078
|
if (obj.s3 !== void 0) return { s3: obj.s3 };
|
|
1076
1079
|
if (obj.payload !== void 0) return { payload: import_smithy_client.SENSITIVE_STRING };
|
|
@@ -1497,6 +1500,14 @@ var import_uuid = require("uuid");
|
|
|
1497
1500
|
|
|
1498
1501
|
// src/models/models_1.ts
|
|
1499
1502
|
|
|
1503
|
+
var IngestionJobStatus = {
|
|
1504
|
+
COMPLETE: "COMPLETE",
|
|
1505
|
+
FAILED: "FAILED",
|
|
1506
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1507
|
+
STARTING: "STARTING",
|
|
1508
|
+
STOPPED: "STOPPED",
|
|
1509
|
+
STOPPING: "STOPPING"
|
|
1510
|
+
};
|
|
1500
1511
|
var IngestionJobFilterAttribute = {
|
|
1501
1512
|
STATUS: "STATUS"
|
|
1502
1513
|
};
|
|
@@ -2837,6 +2848,7 @@ var se_UpdateAgentAliasCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
2837
2848
|
body = JSON.stringify(
|
|
2838
2849
|
(0, import_smithy_client.take)(input, {
|
|
2839
2850
|
agentAliasName: [],
|
|
2851
|
+
aliasInvocationState: [],
|
|
2840
2852
|
description: [],
|
|
2841
2853
|
routingConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "routingConfiguration")
|
|
2842
2854
|
})
|
|
@@ -4634,6 +4646,7 @@ var de_AgentAlias = /* @__PURE__ */ __name((output, context) => {
|
|
|
4634
4646
|
agentAliasName: import_smithy_client.expectString,
|
|
4635
4647
|
agentAliasStatus: import_smithy_client.expectString,
|
|
4636
4648
|
agentId: import_smithy_client.expectString,
|
|
4649
|
+
aliasInvocationState: import_smithy_client.expectString,
|
|
4637
4650
|
clientToken: import_smithy_client.expectString,
|
|
4638
4651
|
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
4639
4652
|
description: import_smithy_client.expectString,
|
|
@@ -4666,6 +4679,7 @@ var de_AgentAliasSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
4666
4679
|
agentAliasId: import_smithy_client.expectString,
|
|
4667
4680
|
agentAliasName: import_smithy_client.expectString,
|
|
4668
4681
|
agentAliasStatus: import_smithy_client.expectString,
|
|
4682
|
+
aliasInvocationState: import_smithy_client.expectString,
|
|
4669
4683
|
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
4670
4684
|
description: import_smithy_client.expectString,
|
|
4671
4685
|
routingConfiguration: import_smithy_client._json,
|
|
@@ -6617,6 +6631,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
6617
6631
|
PromptState,
|
|
6618
6632
|
PromptType,
|
|
6619
6633
|
AgentAliasStatus,
|
|
6634
|
+
AliasInvocationState,
|
|
6620
6635
|
RelayConversationHistory,
|
|
6621
6636
|
KnowledgeBaseState,
|
|
6622
6637
|
DataDeletionPolicy,
|
|
@@ -6664,7 +6679,6 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
6664
6679
|
FlowValidationDetails,
|
|
6665
6680
|
FlowValidationSeverity,
|
|
6666
6681
|
FlowValidationType,
|
|
6667
|
-
IngestionJobStatus,
|
|
6668
6682
|
APISchemaFilterSensitiveLog,
|
|
6669
6683
|
CreateAgentActionGroupRequestFilterSensitiveLog,
|
|
6670
6684
|
AgentActionGroupFilterSensitiveLog,
|
|
@@ -6734,6 +6748,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
6734
6748
|
DuplicateConditionExpressionFlowValidationDetailsFilterSensitiveLog,
|
|
6735
6749
|
FlowValidationDetailsFilterSensitiveLog,
|
|
6736
6750
|
FlowValidationFilterSensitiveLog,
|
|
6751
|
+
IngestionJobStatus,
|
|
6737
6752
|
IngestionJobFilterAttribute,
|
|
6738
6753
|
IngestionJobFilterOperator,
|
|
6739
6754
|
IngestionJobSortByAttribute,
|
|
@@ -192,6 +192,10 @@ export const AgentAliasStatus = {
|
|
|
192
192
|
PREPARED: "PREPARED",
|
|
193
193
|
UPDATING: "UPDATING",
|
|
194
194
|
};
|
|
195
|
+
export const AliasInvocationState = {
|
|
196
|
+
ACCEPT_INVOCATIONS: "ACCEPT_INVOCATIONS",
|
|
197
|
+
REJECT_INVOCATIONS: "REJECT_INVOCATIONS",
|
|
198
|
+
};
|
|
195
199
|
export const RelayConversationHistory = {
|
|
196
200
|
DISABLED: "DISABLED",
|
|
197
201
|
TO_COLLABORATOR: "TO_COLLABORATOR",
|
|
@@ -564,14 +568,6 @@ export const FlowValidationType = {
|
|
|
564
568
|
UNSATISFIED_CONNECTION_CONDITIONS: "UnsatisfiedConnectionConditions",
|
|
565
569
|
UNSPECIFIED: "Unspecified",
|
|
566
570
|
};
|
|
567
|
-
export const IngestionJobStatus = {
|
|
568
|
-
COMPLETE: "COMPLETE",
|
|
569
|
-
FAILED: "FAILED",
|
|
570
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
571
|
-
STARTING: "STARTING",
|
|
572
|
-
STOPPED: "STOPPED",
|
|
573
|
-
STOPPING: "STOPPING",
|
|
574
|
-
};
|
|
575
571
|
export const APISchemaFilterSensitiveLog = (obj) => {
|
|
576
572
|
if (obj.s3 !== undefined)
|
|
577
573
|
return { s3: obj.s3 };
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { AgentVersionFilterSensitiveLog, ConditionFlowNodeConfigurationFilterSensitiveLog, FlowNodeInputFilterSensitiveLog, FlowValidationFilterSensitiveLog, InlineCodeFlowNodeConfigurationFilterSensitiveLog, KnowledgeBaseFlowNodeConfigurationFilterSensitiveLog, LoopControllerFlowNodeConfigurationFilterSensitiveLog, PromptFlowNodeConfigurationFilterSensitiveLog, PromptTemplateConfigurationFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
export const IngestionJobStatus = {
|
|
4
|
+
COMPLETE: "COMPLETE",
|
|
5
|
+
FAILED: "FAILED",
|
|
6
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
7
|
+
STARTING: "STARTING",
|
|
8
|
+
STOPPED: "STOPPED",
|
|
9
|
+
STOPPING: "STOPPING",
|
|
10
|
+
};
|
|
3
11
|
export const IngestionJobFilterAttribute = {
|
|
4
12
|
STATUS: "STATUS",
|
|
5
13
|
};
|
|
@@ -899,6 +899,7 @@ export const se_UpdateAgentAliasCommand = async (input, context) => {
|
|
|
899
899
|
let body;
|
|
900
900
|
body = JSON.stringify(take(input, {
|
|
901
901
|
agentAliasName: [],
|
|
902
|
+
aliasInvocationState: [],
|
|
902
903
|
description: [],
|
|
903
904
|
routingConfiguration: (_) => _json(_),
|
|
904
905
|
}));
|
|
@@ -2693,6 +2694,7 @@ const de_AgentAlias = (output, context) => {
|
|
|
2693
2694
|
agentAliasName: __expectString,
|
|
2694
2695
|
agentAliasStatus: __expectString,
|
|
2695
2696
|
agentId: __expectString,
|
|
2697
|
+
aliasInvocationState: __expectString,
|
|
2696
2698
|
clientToken: __expectString,
|
|
2697
2699
|
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2698
2700
|
description: __expectString,
|
|
@@ -2729,6 +2731,7 @@ const de_AgentAliasSummary = (output, context) => {
|
|
|
2729
2731
|
agentAliasId: __expectString,
|
|
2730
2732
|
agentAliasName: __expectString,
|
|
2731
2733
|
agentAliasStatus: __expectString,
|
|
2734
|
+
aliasInvocationState: __expectString,
|
|
2732
2735
|
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2733
2736
|
description: __expectString,
|
|
2734
2737
|
routingConfiguration: _json,
|
|
@@ -56,6 +56,7 @@ declare const ListAgentAliasesCommand_base: {
|
|
|
56
56
|
* // agentAliasStatus: "CREATING" || "PREPARED" || "FAILED" || "UPDATING" || "DELETING" || "DISSOCIATED", // required
|
|
57
57
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
58
58
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
59
|
+
* // aliasInvocationState: "ACCEPT_INVOCATIONS" || "REJECT_INVOCATIONS",
|
|
59
60
|
* // },
|
|
60
61
|
* // ],
|
|
61
62
|
* // nextToken: "STRING_VALUE",
|
|
@@ -45,6 +45,7 @@ declare const UpdateAgentAliasCommand_base: {
|
|
|
45
45
|
* provisionedThroughput: "STRING_VALUE",
|
|
46
46
|
* },
|
|
47
47
|
* ],
|
|
48
|
+
* aliasInvocationState: "ACCEPT_INVOCATIONS" || "REJECT_INVOCATIONS",
|
|
48
49
|
* };
|
|
49
50
|
* const command = new UpdateAgentAliasCommand(input);
|
|
50
51
|
* const response = await client.send(command);
|
|
@@ -80,6 +81,7 @@ declare const UpdateAgentAliasCommand_base: {
|
|
|
80
81
|
* // failureReasons: [ // FailureReasons
|
|
81
82
|
* // "STRING_VALUE",
|
|
82
83
|
* // ],
|
|
84
|
+
* // aliasInvocationState: "ACCEPT_INVOCATIONS" || "REJECT_INVOCATIONS",
|
|
83
85
|
* // },
|
|
84
86
|
* // };
|
|
85
87
|
*
|
|
@@ -397,7 +397,7 @@ export interface CreateAgentActionGroupRequest {
|
|
|
397
397
|
* Computer use is a new Anthropic Claude model capability (in beta) available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only.
|
|
398
398
|
* When operating computer use functionality, we recommend taking additional security precautions,
|
|
399
399
|
* such as executing computer actions in virtual environments with restricted data access and limited internet connectivity.
|
|
400
|
-
* For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/
|
|
400
|
+
* For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>.
|
|
401
401
|
* </p>
|
|
402
402
|
* </important>
|
|
403
403
|
* <ul>
|
|
@@ -424,7 +424,7 @@ export interface CreateAgentActionGroupRequest {
|
|
|
424
424
|
* <p>The configuration settings for a computer use action.</p>
|
|
425
425
|
* <important>
|
|
426
426
|
* <p>
|
|
427
|
-
* Computer use is a new Anthropic Claude model capability (in beta) available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/
|
|
427
|
+
* Computer use is a new Anthropic Claude model capability (in beta) available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>.
|
|
428
428
|
* </p>
|
|
429
429
|
* </important>
|
|
430
430
|
* @public
|
|
@@ -507,7 +507,7 @@ export interface AgentActionGroup {
|
|
|
507
507
|
* <p>The configuration settings for a computer use action.</p>
|
|
508
508
|
* <important>
|
|
509
509
|
* <p>
|
|
510
|
-
* Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/
|
|
510
|
+
* Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>.
|
|
511
511
|
* </p>
|
|
512
512
|
* </important>
|
|
513
513
|
* @public
|
|
@@ -803,7 +803,7 @@ export interface UpdateAgentActionGroupRequest {
|
|
|
803
803
|
* Computer use is a new Anthropic Claude model capability (in beta) available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only.
|
|
804
804
|
* When operating computer use functionality, we recommend taking additional security precautions,
|
|
805
805
|
* such as executing computer actions in virtual environments with restricted data access and limited internet connectivity.
|
|
806
|
-
* For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/
|
|
806
|
+
* For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>.
|
|
807
807
|
* </p>
|
|
808
808
|
* </important>
|
|
809
809
|
* <ul>
|
|
@@ -831,7 +831,7 @@ export interface UpdateAgentActionGroupRequest {
|
|
|
831
831
|
* <p>The configuration settings for a computer use action.</p>
|
|
832
832
|
* <important>
|
|
833
833
|
* <p>
|
|
834
|
-
* Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/
|
|
834
|
+
* Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>.
|
|
835
835
|
* </p>
|
|
836
836
|
* </important>
|
|
837
837
|
* @public
|
|
@@ -1109,7 +1109,7 @@ export interface PromptConfiguration {
|
|
|
1109
1109
|
* <ul>
|
|
1110
1110
|
* <li>
|
|
1111
1111
|
* <p>
|
|
1112
|
-
* <code>PRE_PROCESSING</code> – <code>
|
|
1112
|
+
* <code>PRE_PROCESSING</code> – <code>DISABLED</code>
|
|
1113
1113
|
* </p>
|
|
1114
1114
|
* </li>
|
|
1115
1115
|
* <li>
|
|
@@ -1382,6 +1382,24 @@ export declare const AgentAliasStatus: {
|
|
|
1382
1382
|
* @public
|
|
1383
1383
|
*/
|
|
1384
1384
|
export type AgentAliasStatus = (typeof AgentAliasStatus)[keyof typeof AgentAliasStatus];
|
|
1385
|
+
/**
|
|
1386
|
+
* @public
|
|
1387
|
+
* @enum
|
|
1388
|
+
*/
|
|
1389
|
+
export declare const AliasInvocationState: {
|
|
1390
|
+
/**
|
|
1391
|
+
* Agent is actively processing requests
|
|
1392
|
+
*/
|
|
1393
|
+
readonly ACCEPT_INVOCATIONS: "ACCEPT_INVOCATIONS";
|
|
1394
|
+
/**
|
|
1395
|
+
* Agent is paused and will not accept new requests
|
|
1396
|
+
*/
|
|
1397
|
+
readonly REJECT_INVOCATIONS: "REJECT_INVOCATIONS";
|
|
1398
|
+
};
|
|
1399
|
+
/**
|
|
1400
|
+
* @public
|
|
1401
|
+
*/
|
|
1402
|
+
export type AliasInvocationState = (typeof AliasInvocationState)[keyof typeof AliasInvocationState];
|
|
1385
1403
|
/**
|
|
1386
1404
|
* <p>Contains details about an alias of an agent.</p>
|
|
1387
1405
|
* @public
|
|
@@ -1468,6 +1486,14 @@ export interface AgentAlias {
|
|
|
1468
1486
|
* @public
|
|
1469
1487
|
*/
|
|
1470
1488
|
failureReasons?: string[] | undefined;
|
|
1489
|
+
/**
|
|
1490
|
+
* <p>The invocation state for the agent alias. If the agent alias is running,
|
|
1491
|
+
* the value is <code>ACCEPT_INVOCATIONS</code>. If the agent alias is paused,
|
|
1492
|
+
* the value is <code>REJECT_INVOCATIONS</code>. Use the <code>UpdateAgentAlias</code> operation
|
|
1493
|
+
* to change the invocation state.</p>
|
|
1494
|
+
* @public
|
|
1495
|
+
*/
|
|
1496
|
+
aliasInvocationState?: AliasInvocationState | undefined;
|
|
1471
1497
|
}
|
|
1472
1498
|
/**
|
|
1473
1499
|
* <p>Contains details about an alias of an agent.</p>
|
|
@@ -1509,6 +1535,14 @@ export interface AgentAliasSummary {
|
|
|
1509
1535
|
* @public
|
|
1510
1536
|
*/
|
|
1511
1537
|
updatedAt: Date | undefined;
|
|
1538
|
+
/**
|
|
1539
|
+
* <p>The invocation state for the agent alias. If the agent alias is running,
|
|
1540
|
+
* the value is <code>ACCEPT_INVOCATIONS</code>. If the agent alias is paused,
|
|
1541
|
+
* the value is <code>REJECT_INVOCATIONS</code>. Use the <code>UpdateAgentAlias</code> operation
|
|
1542
|
+
* to change the invocation state.</p>
|
|
1543
|
+
* @public
|
|
1544
|
+
*/
|
|
1545
|
+
aliasInvocationState?: AliasInvocationState | undefined;
|
|
1512
1546
|
}
|
|
1513
1547
|
/**
|
|
1514
1548
|
* <p>An agent descriptor.</p>
|
|
@@ -2618,6 +2652,15 @@ export interface UpdateAgentAliasRequest {
|
|
|
2618
2652
|
* @public
|
|
2619
2653
|
*/
|
|
2620
2654
|
routingConfiguration?: AgentAliasRoutingConfigurationListItem[] | undefined;
|
|
2655
|
+
/**
|
|
2656
|
+
* <p>The invocation state for the agent alias. To pause the agent alias, set the value to
|
|
2657
|
+
* <code>REJECT_INVOCATIONS</code>. To start the agent alias running again, set the value to
|
|
2658
|
+
* <code>ACCEPT_INVOCATIONS</code>. Use the <code>GetAgentAlias</code>, or
|
|
2659
|
+
* <code>ListAgentAliases</code>, operation to get the invocation state of an agent
|
|
2660
|
+
* alias.</p>
|
|
2661
|
+
* @public
|
|
2662
|
+
*/
|
|
2663
|
+
aliasInvocationState?: AliasInvocationState | undefined;
|
|
2621
2664
|
}
|
|
2622
2665
|
/**
|
|
2623
2666
|
* @public
|
|
@@ -8014,22 +8057,6 @@ export interface IngestionJobStatistics {
|
|
|
8014
8057
|
*/
|
|
8015
8058
|
numberOfDocumentsFailed?: number | undefined;
|
|
8016
8059
|
}
|
|
8017
|
-
/**
|
|
8018
|
-
* @public
|
|
8019
|
-
* @enum
|
|
8020
|
-
*/
|
|
8021
|
-
export declare const IngestionJobStatus: {
|
|
8022
|
-
readonly COMPLETE: "COMPLETE";
|
|
8023
|
-
readonly FAILED: "FAILED";
|
|
8024
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
8025
|
-
readonly STARTING: "STARTING";
|
|
8026
|
-
readonly STOPPED: "STOPPED";
|
|
8027
|
-
readonly STOPPING: "STOPPING";
|
|
8028
|
-
};
|
|
8029
|
-
/**
|
|
8030
|
-
* @public
|
|
8031
|
-
*/
|
|
8032
|
-
export type IngestionJobStatus = (typeof IngestionJobStatus)[keyof typeof IngestionJobStatus];
|
|
8033
8060
|
/**
|
|
8034
8061
|
* @internal
|
|
8035
8062
|
*/
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import { AgentFlowNodeConfiguration, AgentKnowledgeBase, AgentKnowledgeBaseSummary, AgentStatus, AgentVersion, AgentVersionSummary, CollectorFlowNodeConfiguration, ConditionFlowNodeConfiguration, FlowConnection, FlowNodeInput, FlowNodeOutput, FlowNodeType, FlowStatus, FlowValidation, IngestionJobStatistics,
|
|
2
|
+
import { AgentFlowNodeConfiguration, AgentKnowledgeBase, AgentKnowledgeBaseSummary, AgentStatus, AgentVersion, AgentVersionSummary, CollectorFlowNodeConfiguration, ConditionFlowNodeConfiguration, FlowConnection, FlowNodeInput, FlowNodeOutput, FlowNodeType, FlowStatus, FlowValidation, IngestionJobStatistics, InlineCodeFlowNodeConfiguration, InputFlowNodeConfiguration, IteratorFlowNodeConfiguration, KnowledgeBaseFlowNodeConfiguration, KnowledgeBaseState, LambdaFunctionFlowNodeConfiguration, LexFlowNodeConfiguration, LoopControllerFlowNodeConfiguration, LoopInputFlowNodeConfiguration, OutputFlowNodeConfiguration, PromptFlowNodeConfiguration, PromptInferenceConfiguration, PromptTemplateConfiguration, PromptTemplateType, RetrievalFlowNodeConfiguration, S3Location, StorageFlowNodeConfiguration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* @enum
|
|
6
|
+
*/
|
|
7
|
+
export declare const IngestionJobStatus: {
|
|
8
|
+
readonly COMPLETE: "COMPLETE";
|
|
9
|
+
readonly FAILED: "FAILED";
|
|
10
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
11
|
+
readonly STARTING: "STARTING";
|
|
12
|
+
readonly STOPPED: "STOPPED";
|
|
13
|
+
readonly STOPPING: "STOPPING";
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
export type IngestionJobStatus = (typeof IngestionJobStatus)[keyof typeof IngestionJobStatus];
|
|
3
19
|
/**
|
|
4
20
|
* <p>Contains details about a data ingestion job. Data sources are ingested into a knowledge base so that Large Language Models (LLMs) can use your data.</p>
|
|
5
21
|
* <p>This data type is used in the following API operations:</p>
|
|
@@ -3504,7 +3520,10 @@ export declare namespace FlowNodeConfiguration {
|
|
|
3504
3520
|
* <code>LoopInput</code> - The entry point node for the loop. This node receives inputs from nodes outside the loop and from previous loop iterations.</p>
|
|
3505
3521
|
* </li>
|
|
3506
3522
|
* <li>
|
|
3507
|
-
* <p>Body nodes -
|
|
3523
|
+
* <p>Body nodes - The processing nodes that execute within each loop iteration.
|
|
3524
|
+
* These can be nodes for handling data in your flow, such as a prompt or Lambda
|
|
3525
|
+
* function nodes. Some node types aren't supported inside a DoWhile loop body. For
|
|
3526
|
+
* more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_LoopIncompatibleNodeTypeFlowValidationDetails.html">LoopIncompatibleNodeTypeFlowValidationDetails</a>.</p>
|
|
3508
3527
|
* </li>
|
|
3509
3528
|
* <li>
|
|
3510
3529
|
* <p>
|
|
@@ -398,6 +398,12 @@ export declare const AgentAliasStatus: {
|
|
|
398
398
|
};
|
|
399
399
|
export type AgentAliasStatus =
|
|
400
400
|
(typeof AgentAliasStatus)[keyof typeof AgentAliasStatus];
|
|
401
|
+
export declare const AliasInvocationState: {
|
|
402
|
+
readonly ACCEPT_INVOCATIONS: "ACCEPT_INVOCATIONS";
|
|
403
|
+
readonly REJECT_INVOCATIONS: "REJECT_INVOCATIONS";
|
|
404
|
+
};
|
|
405
|
+
export type AliasInvocationState =
|
|
406
|
+
(typeof AliasInvocationState)[keyof typeof AliasInvocationState];
|
|
401
407
|
export interface AgentAlias {
|
|
402
408
|
agentId: string | undefined;
|
|
403
409
|
agentAliasId: string | undefined;
|
|
@@ -411,6 +417,7 @@ export interface AgentAlias {
|
|
|
411
417
|
agentAliasHistoryEvents?: AgentAliasHistoryEvent[] | undefined;
|
|
412
418
|
agentAliasStatus: AgentAliasStatus | undefined;
|
|
413
419
|
failureReasons?: string[] | undefined;
|
|
420
|
+
aliasInvocationState?: AliasInvocationState | undefined;
|
|
414
421
|
}
|
|
415
422
|
export interface AgentAliasSummary {
|
|
416
423
|
agentAliasId: string | undefined;
|
|
@@ -420,6 +427,7 @@ export interface AgentAliasSummary {
|
|
|
420
427
|
agentAliasStatus: AgentAliasStatus | undefined;
|
|
421
428
|
createdAt: Date | undefined;
|
|
422
429
|
updatedAt: Date | undefined;
|
|
430
|
+
aliasInvocationState?: AliasInvocationState | undefined;
|
|
423
431
|
}
|
|
424
432
|
export interface AgentDescriptor {
|
|
425
433
|
aliasArn?: string | undefined;
|
|
@@ -676,6 +684,7 @@ export interface UpdateAgentAliasRequest {
|
|
|
676
684
|
agentAliasName: string | undefined;
|
|
677
685
|
description?: string | undefined;
|
|
678
686
|
routingConfiguration?: AgentAliasRoutingConfigurationListItem[] | undefined;
|
|
687
|
+
aliasInvocationState?: AliasInvocationState | undefined;
|
|
679
688
|
}
|
|
680
689
|
export interface UpdateAgentAliasResponse {
|
|
681
690
|
agentAlias: AgentAlias | undefined;
|
|
@@ -3302,16 +3311,6 @@ export interface IngestionJobStatistics {
|
|
|
3302
3311
|
numberOfDocumentsDeleted?: number | undefined;
|
|
3303
3312
|
numberOfDocumentsFailed?: number | undefined;
|
|
3304
3313
|
}
|
|
3305
|
-
export declare const IngestionJobStatus: {
|
|
3306
|
-
readonly COMPLETE: "COMPLETE";
|
|
3307
|
-
readonly FAILED: "FAILED";
|
|
3308
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
3309
|
-
readonly STARTING: "STARTING";
|
|
3310
|
-
readonly STOPPED: "STOPPED";
|
|
3311
|
-
readonly STOPPING: "STOPPING";
|
|
3312
|
-
};
|
|
3313
|
-
export type IngestionJobStatus =
|
|
3314
|
-
(typeof IngestionJobStatus)[keyof typeof IngestionJobStatus];
|
|
3315
3314
|
export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
|
|
3316
3315
|
export declare const CreateAgentActionGroupRequestFilterSensitiveLog: (
|
|
3317
3316
|
obj: CreateAgentActionGroupRequest
|
|
@@ -15,7 +15,6 @@ import {
|
|
|
15
15
|
FlowStatus,
|
|
16
16
|
FlowValidation,
|
|
17
17
|
IngestionJobStatistics,
|
|
18
|
-
IngestionJobStatus,
|
|
19
18
|
InlineCodeFlowNodeConfiguration,
|
|
20
19
|
InputFlowNodeConfiguration,
|
|
21
20
|
IteratorFlowNodeConfiguration,
|
|
@@ -34,6 +33,16 @@ import {
|
|
|
34
33
|
S3Location,
|
|
35
34
|
StorageFlowNodeConfiguration,
|
|
36
35
|
} from "./models_0";
|
|
36
|
+
export declare const IngestionJobStatus: {
|
|
37
|
+
readonly COMPLETE: "COMPLETE";
|
|
38
|
+
readonly FAILED: "FAILED";
|
|
39
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
40
|
+
readonly STARTING: "STARTING";
|
|
41
|
+
readonly STOPPED: "STOPPED";
|
|
42
|
+
readonly STOPPING: "STOPPING";
|
|
43
|
+
};
|
|
44
|
+
export type IngestionJobStatus =
|
|
45
|
+
(typeof IngestionJobStatus)[keyof typeof IngestionJobStatus];
|
|
37
46
|
export interface IngestionJob {
|
|
38
47
|
knowledgeBaseId: string | undefined;
|
|
39
48
|
dataSourceId: 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.822.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",
|