@aws-sdk/client-bedrock-agentcore 3.1044.0 → 3.1045.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/README.md +77 -0
- package/dist-cjs/index.js +217 -0
- package/dist-cjs/schemas/schemas_0.js +458 -33
- package/dist-es/BedrockAgentCore.js +26 -0
- package/dist-es/commands/CreatePaymentInstrumentCommand.js +16 -0
- package/dist-es/commands/CreatePaymentSessionCommand.js +16 -0
- package/dist-es/commands/DeletePaymentInstrumentCommand.js +16 -0
- package/dist-es/commands/DeletePaymentSessionCommand.js +16 -0
- package/dist-es/commands/GetPaymentInstrumentBalanceCommand.js +16 -0
- package/dist-es/commands/GetPaymentInstrumentCommand.js +16 -0
- package/dist-es/commands/GetPaymentSessionCommand.js +16 -0
- package/dist-es/commands/GetResourcePaymentTokenCommand.js +16 -0
- package/dist-es/commands/ListPaymentInstrumentsCommand.js +16 -0
- package/dist-es/commands/ListPaymentSessionsCommand.js +16 -0
- package/dist-es/commands/ProcessPaymentCommand.js +16 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/enums.js +45 -0
- package/dist-es/pagination/ListPaymentInstrumentsPaginator.js +4 -0
- package/dist-es/pagination/ListPaymentSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +449 -25
- package/dist-types/BedrockAgentCore.d.ts +91 -0
- package/dist-types/BedrockAgentCoreClient.d.ts +13 -2
- package/dist-types/commands/CreatePaymentInstrumentCommand.d.ts +212 -0
- package/dist-types/commands/CreatePaymentSessionCommand.d.ts +122 -0
- package/dist-types/commands/DeletePaymentInstrumentCommand.d.ts +110 -0
- package/dist-types/commands/DeletePaymentSessionCommand.d.ts +105 -0
- package/dist-types/commands/GetPaymentInstrumentBalanceCommand.d.ts +102 -0
- package/dist-types/commands/GetPaymentInstrumentCommand.d.ts +155 -0
- package/dist-types/commands/GetPaymentSessionCommand.d.ts +112 -0
- package/dist-types/commands/GetResourcePaymentTokenCommand.d.ts +119 -0
- package/dist-types/commands/InvokeHarnessCommand.d.ts +1 -1
- package/dist-types/commands/ListPaymentInstrumentsCommand.d.ts +103 -0
- package/dist-types/commands/ListPaymentSessionsCommand.d.ts +100 -0
- package/dist-types/commands/ProcessPaymentCommand.d.ts +117 -0
- package/dist-types/commands/RetrieveMemoryRecordsCommand.d.ts +1 -1
- package/dist-types/commands/SearchRegistryRecordsCommand.d.ts +1 -2
- package/dist-types/commands/StartMemoryExtractionJobCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/enums.d.ts +140 -0
- package/dist-types/models/models_0.d.ts +222 -154
- package/dist-types/models/models_1.d.ts +1321 -2
- package/dist-types/pagination/ListPaymentInstrumentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPaymentSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +59 -0
- package/dist-types/ts3.4/BedrockAgentCore.d.ts +201 -0
- package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +66 -0
- package/dist-types/ts3.4/commands/CreatePaymentInstrumentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreatePaymentSessionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePaymentInstrumentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePaymentSessionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPaymentInstrumentBalanceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPaymentInstrumentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPaymentSessionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourcePaymentTokenCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPaymentInstrumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPaymentSessionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ProcessPaymentCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/RetrieveMemoryRecordsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchRegistryRecordsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StartMemoryExtractionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/enums.d.ts +62 -0
- package/dist-types/ts3.4/models/models_0.d.ts +84 -38
- package/dist-types/ts3.4/models/models_1.d.ts +423 -2
- package/dist-types/ts3.4/pagination/ListPaymentInstrumentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPaymentSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +59 -0
- package/package.json +1 -1
|
@@ -6,10 +6,14 @@ import { BatchUpdateMemoryRecordsCommand, } from "./commands/BatchUpdateMemoryRe
|
|
|
6
6
|
import { CompleteResourceTokenAuthCommand, } from "./commands/CompleteResourceTokenAuthCommand";
|
|
7
7
|
import { CreateABTestCommand, } from "./commands/CreateABTestCommand";
|
|
8
8
|
import { CreateEventCommand, } from "./commands/CreateEventCommand";
|
|
9
|
+
import { CreatePaymentInstrumentCommand, } from "./commands/CreatePaymentInstrumentCommand";
|
|
10
|
+
import { CreatePaymentSessionCommand, } from "./commands/CreatePaymentSessionCommand";
|
|
9
11
|
import { DeleteABTestCommand, } from "./commands/DeleteABTestCommand";
|
|
10
12
|
import { DeleteBatchEvaluationCommand, } from "./commands/DeleteBatchEvaluationCommand";
|
|
11
13
|
import { DeleteEventCommand, } from "./commands/DeleteEventCommand";
|
|
12
14
|
import { DeleteMemoryRecordCommand, } from "./commands/DeleteMemoryRecordCommand";
|
|
15
|
+
import { DeletePaymentInstrumentCommand, } from "./commands/DeletePaymentInstrumentCommand";
|
|
16
|
+
import { DeletePaymentSessionCommand, } from "./commands/DeletePaymentSessionCommand";
|
|
13
17
|
import { DeleteRecommendationCommand, } from "./commands/DeleteRecommendationCommand";
|
|
14
18
|
import { EvaluateCommand } from "./commands/EvaluateCommand";
|
|
15
19
|
import { GetABTestCommand } from "./commands/GetABTestCommand";
|
|
@@ -19,9 +23,13 @@ import { GetBrowserSessionCommand, } from "./commands/GetBrowserSessionCommand";
|
|
|
19
23
|
import { GetCodeInterpreterSessionCommand, } from "./commands/GetCodeInterpreterSessionCommand";
|
|
20
24
|
import { GetEventCommand } from "./commands/GetEventCommand";
|
|
21
25
|
import { GetMemoryRecordCommand, } from "./commands/GetMemoryRecordCommand";
|
|
26
|
+
import { GetPaymentInstrumentBalanceCommand, } from "./commands/GetPaymentInstrumentBalanceCommand";
|
|
27
|
+
import { GetPaymentInstrumentCommand, } from "./commands/GetPaymentInstrumentCommand";
|
|
28
|
+
import { GetPaymentSessionCommand, } from "./commands/GetPaymentSessionCommand";
|
|
22
29
|
import { GetRecommendationCommand, } from "./commands/GetRecommendationCommand";
|
|
23
30
|
import { GetResourceApiKeyCommand, } from "./commands/GetResourceApiKeyCommand";
|
|
24
31
|
import { GetResourceOauth2TokenCommand, } from "./commands/GetResourceOauth2TokenCommand";
|
|
32
|
+
import { GetResourcePaymentTokenCommand, } from "./commands/GetResourcePaymentTokenCommand";
|
|
25
33
|
import { GetWorkloadAccessTokenCommand, } from "./commands/GetWorkloadAccessTokenCommand";
|
|
26
34
|
import { GetWorkloadAccessTokenForJWTCommand, } from "./commands/GetWorkloadAccessTokenForJWTCommand";
|
|
27
35
|
import { GetWorkloadAccessTokenForUserIdCommand, } from "./commands/GetWorkloadAccessTokenForUserIdCommand";
|
|
@@ -38,8 +46,11 @@ import { ListCodeInterpreterSessionsCommand, } from "./commands/ListCodeInterpre
|
|
|
38
46
|
import { ListEventsCommand, } from "./commands/ListEventsCommand";
|
|
39
47
|
import { ListMemoryExtractionJobsCommand, } from "./commands/ListMemoryExtractionJobsCommand";
|
|
40
48
|
import { ListMemoryRecordsCommand, } from "./commands/ListMemoryRecordsCommand";
|
|
49
|
+
import { ListPaymentInstrumentsCommand, } from "./commands/ListPaymentInstrumentsCommand";
|
|
50
|
+
import { ListPaymentSessionsCommand, } from "./commands/ListPaymentSessionsCommand";
|
|
41
51
|
import { ListRecommendationsCommand, } from "./commands/ListRecommendationsCommand";
|
|
42
52
|
import { ListSessionsCommand, } from "./commands/ListSessionsCommand";
|
|
53
|
+
import { ProcessPaymentCommand, } from "./commands/ProcessPaymentCommand";
|
|
43
54
|
import { RetrieveMemoryRecordsCommand, } from "./commands/RetrieveMemoryRecordsCommand";
|
|
44
55
|
import { SaveBrowserSessionProfileCommand, } from "./commands/SaveBrowserSessionProfileCommand";
|
|
45
56
|
import { SearchRegistryRecordsCommand, } from "./commands/SearchRegistryRecordsCommand";
|
|
@@ -60,6 +71,8 @@ import { paginateListBatchEvaluations } from "./pagination/ListBatchEvaluationsP
|
|
|
60
71
|
import { paginateListEvents } from "./pagination/ListEventsPaginator";
|
|
61
72
|
import { paginateListMemoryExtractionJobs } from "./pagination/ListMemoryExtractionJobsPaginator";
|
|
62
73
|
import { paginateListMemoryRecords } from "./pagination/ListMemoryRecordsPaginator";
|
|
74
|
+
import { paginateListPaymentInstruments } from "./pagination/ListPaymentInstrumentsPaginator";
|
|
75
|
+
import { paginateListPaymentSessions } from "./pagination/ListPaymentSessionsPaginator";
|
|
63
76
|
import { paginateListRecommendations } from "./pagination/ListRecommendationsPaginator";
|
|
64
77
|
import { paginateListSessions } from "./pagination/ListSessionsPaginator";
|
|
65
78
|
import { paginateRetrieveMemoryRecords } from "./pagination/RetrieveMemoryRecordsPaginator";
|
|
@@ -70,10 +83,14 @@ const commands = {
|
|
|
70
83
|
CompleteResourceTokenAuthCommand,
|
|
71
84
|
CreateABTestCommand,
|
|
72
85
|
CreateEventCommand,
|
|
86
|
+
CreatePaymentInstrumentCommand,
|
|
87
|
+
CreatePaymentSessionCommand,
|
|
73
88
|
DeleteABTestCommand,
|
|
74
89
|
DeleteBatchEvaluationCommand,
|
|
75
90
|
DeleteEventCommand,
|
|
76
91
|
DeleteMemoryRecordCommand,
|
|
92
|
+
DeletePaymentInstrumentCommand,
|
|
93
|
+
DeletePaymentSessionCommand,
|
|
77
94
|
DeleteRecommendationCommand,
|
|
78
95
|
EvaluateCommand,
|
|
79
96
|
GetABTestCommand,
|
|
@@ -83,9 +100,13 @@ const commands = {
|
|
|
83
100
|
GetCodeInterpreterSessionCommand,
|
|
84
101
|
GetEventCommand,
|
|
85
102
|
GetMemoryRecordCommand,
|
|
103
|
+
GetPaymentInstrumentCommand,
|
|
104
|
+
GetPaymentInstrumentBalanceCommand,
|
|
105
|
+
GetPaymentSessionCommand,
|
|
86
106
|
GetRecommendationCommand,
|
|
87
107
|
GetResourceApiKeyCommand,
|
|
88
108
|
GetResourceOauth2TokenCommand,
|
|
109
|
+
GetResourcePaymentTokenCommand,
|
|
89
110
|
GetWorkloadAccessTokenCommand,
|
|
90
111
|
GetWorkloadAccessTokenForJWTCommand,
|
|
91
112
|
GetWorkloadAccessTokenForUserIdCommand,
|
|
@@ -102,8 +123,11 @@ const commands = {
|
|
|
102
123
|
ListEventsCommand,
|
|
103
124
|
ListMemoryExtractionJobsCommand,
|
|
104
125
|
ListMemoryRecordsCommand,
|
|
126
|
+
ListPaymentInstrumentsCommand,
|
|
127
|
+
ListPaymentSessionsCommand,
|
|
105
128
|
ListRecommendationsCommand,
|
|
106
129
|
ListSessionsCommand,
|
|
130
|
+
ProcessPaymentCommand,
|
|
107
131
|
RetrieveMemoryRecordsCommand,
|
|
108
132
|
SaveBrowserSessionProfileCommand,
|
|
109
133
|
SearchRegistryRecordsCommand,
|
|
@@ -126,6 +150,8 @@ const paginators = {
|
|
|
126
150
|
paginateListEvents,
|
|
127
151
|
paginateListMemoryExtractionJobs,
|
|
128
152
|
paginateListMemoryRecords,
|
|
153
|
+
paginateListPaymentInstruments,
|
|
154
|
+
paginateListPaymentSessions,
|
|
129
155
|
paginateListRecommendations,
|
|
130
156
|
paginateListSessions,
|
|
131
157
|
paginateRetrieveMemoryRecords,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreatePaymentInstrument$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreatePaymentInstrumentCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "CreatePaymentInstrument", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "CreatePaymentInstrumentCommand")
|
|
14
|
+
.sc(CreatePaymentInstrument$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreatePaymentSession$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreatePaymentSessionCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "CreatePaymentSession", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "CreatePaymentSessionCommand")
|
|
14
|
+
.sc(CreatePaymentSession$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeletePaymentInstrument$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeletePaymentInstrumentCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "DeletePaymentInstrument", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "DeletePaymentInstrumentCommand")
|
|
14
|
+
.sc(DeletePaymentInstrument$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeletePaymentSession$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeletePaymentSessionCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "DeletePaymentSession", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "DeletePaymentSessionCommand")
|
|
14
|
+
.sc(DeletePaymentSession$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetPaymentInstrumentBalance$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetPaymentInstrumentBalanceCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "GetPaymentInstrumentBalance", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "GetPaymentInstrumentBalanceCommand")
|
|
14
|
+
.sc(GetPaymentInstrumentBalance$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetPaymentInstrument$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetPaymentInstrumentCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "GetPaymentInstrument", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "GetPaymentInstrumentCommand")
|
|
14
|
+
.sc(GetPaymentInstrument$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetPaymentSession$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetPaymentSessionCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "GetPaymentSession", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "GetPaymentSessionCommand")
|
|
14
|
+
.sc(GetPaymentSession$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetResourcePaymentToken$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetResourcePaymentTokenCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "GetResourcePaymentToken", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "GetResourcePaymentTokenCommand")
|
|
14
|
+
.sc(GetResourcePaymentToken$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListPaymentInstruments$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListPaymentInstrumentsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "ListPaymentInstruments", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "ListPaymentInstrumentsCommand")
|
|
14
|
+
.sc(ListPaymentInstruments$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListPaymentSessions$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListPaymentSessionsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "ListPaymentSessions", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "ListPaymentSessionsCommand")
|
|
14
|
+
.sc(ListPaymentSessions$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ProcessPayment$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ProcessPaymentCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "ProcessPayment", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "ProcessPaymentCommand")
|
|
14
|
+
.sc(ProcessPayment$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -4,10 +4,14 @@ export * from "./BatchUpdateMemoryRecordsCommand";
|
|
|
4
4
|
export * from "./CompleteResourceTokenAuthCommand";
|
|
5
5
|
export * from "./CreateABTestCommand";
|
|
6
6
|
export * from "./CreateEventCommand";
|
|
7
|
+
export * from "./CreatePaymentInstrumentCommand";
|
|
8
|
+
export * from "./CreatePaymentSessionCommand";
|
|
7
9
|
export * from "./DeleteABTestCommand";
|
|
8
10
|
export * from "./DeleteBatchEvaluationCommand";
|
|
9
11
|
export * from "./DeleteEventCommand";
|
|
10
12
|
export * from "./DeleteMemoryRecordCommand";
|
|
13
|
+
export * from "./DeletePaymentInstrumentCommand";
|
|
14
|
+
export * from "./DeletePaymentSessionCommand";
|
|
11
15
|
export * from "./DeleteRecommendationCommand";
|
|
12
16
|
export * from "./EvaluateCommand";
|
|
13
17
|
export * from "./GetABTestCommand";
|
|
@@ -17,9 +21,13 @@ export * from "./GetBrowserSessionCommand";
|
|
|
17
21
|
export * from "./GetCodeInterpreterSessionCommand";
|
|
18
22
|
export * from "./GetEventCommand";
|
|
19
23
|
export * from "./GetMemoryRecordCommand";
|
|
24
|
+
export * from "./GetPaymentInstrumentBalanceCommand";
|
|
25
|
+
export * from "./GetPaymentInstrumentCommand";
|
|
26
|
+
export * from "./GetPaymentSessionCommand";
|
|
20
27
|
export * from "./GetRecommendationCommand";
|
|
21
28
|
export * from "./GetResourceApiKeyCommand";
|
|
22
29
|
export * from "./GetResourceOauth2TokenCommand";
|
|
30
|
+
export * from "./GetResourcePaymentTokenCommand";
|
|
23
31
|
export * from "./GetWorkloadAccessTokenCommand";
|
|
24
32
|
export * from "./GetWorkloadAccessTokenForJWTCommand";
|
|
25
33
|
export * from "./GetWorkloadAccessTokenForUserIdCommand";
|
|
@@ -36,8 +44,11 @@ export * from "./ListCodeInterpreterSessionsCommand";
|
|
|
36
44
|
export * from "./ListEventsCommand";
|
|
37
45
|
export * from "./ListMemoryExtractionJobsCommand";
|
|
38
46
|
export * from "./ListMemoryRecordsCommand";
|
|
47
|
+
export * from "./ListPaymentInstrumentsCommand";
|
|
48
|
+
export * from "./ListPaymentSessionsCommand";
|
|
39
49
|
export * from "./ListRecommendationsCommand";
|
|
40
50
|
export * from "./ListSessionsCommand";
|
|
51
|
+
export * from "./ProcessPaymentCommand";
|
|
41
52
|
export * from "./RetrieveMemoryRecordsCommand";
|
|
42
53
|
export * from "./SaveBrowserSessionProfileCommand";
|
|
43
54
|
export * from "./SearchRegistryRecordsCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -93,6 +93,13 @@ export const SessionStatus = {
|
|
|
93
93
|
FAILED: "FAILED",
|
|
94
94
|
IN_PROGRESS: "IN_PROGRESS",
|
|
95
95
|
};
|
|
96
|
+
export const PaymentHttpMethodType = {
|
|
97
|
+
DELETE: "DELETE",
|
|
98
|
+
GET: "GET",
|
|
99
|
+
PATCH: "PATCH",
|
|
100
|
+
POST: "POST",
|
|
101
|
+
PUT: "PUT",
|
|
102
|
+
};
|
|
96
103
|
export const ProgrammingLanguage = {
|
|
97
104
|
JAVASCRIPT: "javascript",
|
|
98
105
|
PYTHON: "python",
|
|
@@ -147,6 +154,7 @@ export const HarnessConversationRole = {
|
|
|
147
154
|
export const OAuthGrantType = {
|
|
148
155
|
AUTHORIZATION_CODE: "AUTHORIZATION_CODE",
|
|
149
156
|
CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS",
|
|
157
|
+
TOKEN_EXCHANGE: "TOKEN_EXCHANGE",
|
|
150
158
|
};
|
|
151
159
|
export const HarnessToolType = {
|
|
152
160
|
AGENTCORE_BROWSER: "agentcore_browser",
|
|
@@ -204,6 +212,43 @@ export const MemoryRecordOperatorType = {
|
|
|
204
212
|
export const EventFilterCondition = {
|
|
205
213
|
HAS_EVENTS: "HAS_EVENTS",
|
|
206
214
|
};
|
|
215
|
+
export const CryptoWalletNetwork = {
|
|
216
|
+
ETHEREUM: "ETHEREUM",
|
|
217
|
+
SOLANA: "SOLANA",
|
|
218
|
+
};
|
|
219
|
+
export const PaymentInstrumentType = {
|
|
220
|
+
EMBEDDED_CRYPTO_WALLET: "EMBEDDED_CRYPTO_WALLET",
|
|
221
|
+
};
|
|
222
|
+
export const PaymentInstrumentStatus = {
|
|
223
|
+
ACTIVE: "ACTIVE",
|
|
224
|
+
DELETED: "DELETED",
|
|
225
|
+
FAILED: "FAILED",
|
|
226
|
+
INITIATED: "INITIATED",
|
|
227
|
+
};
|
|
228
|
+
export const BlockchainChainId = {
|
|
229
|
+
BASE: "BASE",
|
|
230
|
+
BASE_SEPOLIA: "BASE_SEPOLIA",
|
|
231
|
+
ETHEREUM: "ETHEREUM",
|
|
232
|
+
SOLANA: "SOLANA",
|
|
233
|
+
SOLANA_DEVNET: "SOLANA_DEVNET",
|
|
234
|
+
};
|
|
235
|
+
export const InstrumentBalanceToken = {
|
|
236
|
+
USDC: "USDC",
|
|
237
|
+
};
|
|
238
|
+
export const Currency = {
|
|
239
|
+
USD: "USD",
|
|
240
|
+
};
|
|
241
|
+
export const PaymentSessionStatus = {
|
|
242
|
+
ACTIVE: "ACTIVE",
|
|
243
|
+
DELETED: "DELETED",
|
|
244
|
+
EXPIRED: "EXPIRED",
|
|
245
|
+
};
|
|
246
|
+
export const PaymentType = {
|
|
247
|
+
CRYPTO_X402: "CRYPTO_X402",
|
|
248
|
+
};
|
|
249
|
+
export const PaymentStatus = {
|
|
250
|
+
PROOF_GENERATED: "PROOF_GENERATED",
|
|
251
|
+
};
|
|
207
252
|
export const DescriptorType = {
|
|
208
253
|
A2A: "A2A",
|
|
209
254
|
AGENT_SKILLS: "AGENT_SKILLS",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BedrockAgentCoreClient } from "../BedrockAgentCoreClient";
|
|
3
|
+
import { ListPaymentInstrumentsCommand, } from "../commands/ListPaymentInstrumentsCommand";
|
|
4
|
+
export const paginateListPaymentInstruments = createPaginator(BedrockAgentCoreClient, ListPaymentInstrumentsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BedrockAgentCoreClient } from "../BedrockAgentCoreClient";
|
|
3
|
+
import { ListPaymentSessionsCommand, } from "../commands/ListPaymentSessionsCommand";
|
|
4
|
+
export const paginateListPaymentSessions = createPaginator(BedrockAgentCoreClient, ListPaymentSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -5,6 +5,8 @@ export * from "./ListBatchEvaluationsPaginator";
|
|
|
5
5
|
export * from "./ListEventsPaginator";
|
|
6
6
|
export * from "./ListMemoryExtractionJobsPaginator";
|
|
7
7
|
export * from "./ListMemoryRecordsPaginator";
|
|
8
|
+
export * from "./ListPaymentInstrumentsPaginator";
|
|
9
|
+
export * from "./ListPaymentSessionsPaginator";
|
|
8
10
|
export * from "./ListRecommendationsPaginator";
|
|
9
11
|
export * from "./ListSessionsPaginator";
|
|
10
12
|
export * from "./RetrieveMemoryRecordsPaginator";
|