@aws-sdk/client-bedrock-agentcore 3.1068.0 → 3.1070.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/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +248 -268
- package/dist-cjs/models/BedrockAgentCoreServiceException.js +4 -8
- package/dist-cjs/models/errors.js +29 -46
- package/dist-cjs/runtimeConfig.browser.js +24 -28
- package/dist-cjs/runtimeConfig.js +32 -36
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +21 -25
- package/dist-cjs/schemas/schemas_0.js +1064 -687
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
var __exportStar = (m, e) => { Object.assign(e, m); };
|
|
2
|
+
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
+
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = Command;
|
|
6
|
+
exports.__Client = Client;
|
|
7
|
+
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
+
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
+
const { resolveEventStreamSerdeConfig } = require("@smithy/core/event-streams");
|
|
10
|
+
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
11
|
+
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
12
|
+
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
13
|
+
const { resolveHttpAuthSchemeConfig, defaultBedrockAgentCoreHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
14
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
15
|
+
const { BatchCreateMemoryRecords$, BatchDeleteMemoryRecords$, BatchUpdateMemoryRecords$, CompleteResourceTokenAuth$, CreateABTest$, CreateEvent$, CreatePaymentInstrument$, CreatePaymentSession$, DeleteABTest$, DeleteBatchEvaluation$, DeleteEvent$, DeleteMemoryRecord$, DeletePaymentInstrument$, DeletePaymentSession$, DeleteRecommendation$, Evaluate$, GetABTest$, GetAgentCard$, GetBatchEvaluation$, GetBrowserSession$, GetCodeInterpreterSession$, GetEvent$, GetMemoryRecord$, GetPaymentInstrumentBalance$, GetPaymentInstrument$, GetPaymentSession$, GetRecommendation$, GetResourceApiKey$, GetResourceOauth2Token$, GetResourcePaymentToken$, GetWorkloadAccessToken$, GetWorkloadAccessTokenForJWT$, GetWorkloadAccessTokenForUserId$, InvokeAgentRuntime$, InvokeAgentRuntimeCommand$, InvokeBrowser$, InvokeCodeInterpreter$, InvokeHarness$, ListABTests$, ListActors$, ListBatchEvaluations$, ListBrowserSessions$, ListCodeInterpreterSessions$, ListEvents$, ListMemoryExtractionJobs$, ListMemoryRecords$, ListPaymentInstruments$, ListPaymentSessions$, ListRecommendations$, ListSessions$, ProcessPayment$, RetrieveMemoryRecords$, SaveBrowserSessionProfile$, SearchRegistryRecords$, StartBatchEvaluation$, StartBrowserSession$, StartCodeInterpreterSession$, StartMemoryExtractionJob$, StartRecommendation$, StopBatchEvaluation$, StopBrowserSession$, StopCodeInterpreterSession$, StopRuntimeSession$, UpdateABTest$, UpdateBrowserStream$ } = require("./schemas/schemas_0");
|
|
16
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
17
|
+
__exportStar(require("./models/errors"), exports);
|
|
18
|
+
const { BedrockAgentCoreServiceException } = require("./models/BedrockAgentCoreServiceException");
|
|
19
|
+
exports.BedrockAgentCoreServiceException = BedrockAgentCoreServiceException;
|
|
17
20
|
|
|
18
21
|
const resolveClientEndpointParameters = (options) => {
|
|
19
22
|
return Object.assign(options, {
|
|
@@ -69,460 +72,460 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
69
72
|
};
|
|
70
73
|
|
|
71
74
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
72
|
-
const extensionConfiguration = Object.assign(
|
|
75
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
73
76
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
74
|
-
return Object.assign(runtimeConfig,
|
|
77
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
75
78
|
};
|
|
76
79
|
|
|
77
|
-
class BedrockAgentCoreClient extends
|
|
80
|
+
class BedrockAgentCoreClient extends Client {
|
|
78
81
|
config;
|
|
79
82
|
constructor(...[configuration]) {
|
|
80
|
-
const _config_0 =
|
|
83
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
81
84
|
super(_config_0);
|
|
82
85
|
this.initConfig = _config_0;
|
|
83
86
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
84
|
-
const _config_2 =
|
|
85
|
-
const _config_3 =
|
|
86
|
-
const _config_4 =
|
|
87
|
-
const _config_5 =
|
|
88
|
-
const _config_6 =
|
|
89
|
-
const _config_7 =
|
|
90
|
-
const _config_8 =
|
|
87
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
88
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
89
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
90
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
91
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
92
|
+
const _config_7 = resolveEventStreamSerdeConfig(_config_6);
|
|
93
|
+
const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
|
|
91
94
|
const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
|
|
92
95
|
this.config = _config_9;
|
|
93
|
-
this.middlewareStack.use(
|
|
94
|
-
this.middlewareStack.use(
|
|
95
|
-
this.middlewareStack.use(
|
|
96
|
-
this.middlewareStack.use(
|
|
97
|
-
this.middlewareStack.use(
|
|
98
|
-
this.middlewareStack.use(
|
|
99
|
-
this.middlewareStack.use(
|
|
100
|
-
this.middlewareStack.use(
|
|
101
|
-
httpAuthSchemeParametersProvider:
|
|
102
|
-
identityProviderConfigProvider: async (config) => new
|
|
96
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
102
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
103
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
104
|
+
httpAuthSchemeParametersProvider: defaultBedrockAgentCoreHttpAuthSchemeParametersProvider,
|
|
105
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
103
106
|
"aws.auth#sigv4": config.credentials,
|
|
104
107
|
}),
|
|
105
108
|
}));
|
|
106
|
-
this.middlewareStack.use(
|
|
109
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
107
110
|
}
|
|
108
111
|
destroy() {
|
|
109
112
|
super.destroy();
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class BatchCreateMemoryRecordsCommand extends
|
|
116
|
+
class BatchCreateMemoryRecordsCommand extends Command
|
|
114
117
|
.classBuilder()
|
|
115
118
|
.ep(commonParams)
|
|
116
119
|
.m(function (Command, cs, config, o) {
|
|
117
|
-
return [
|
|
120
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
118
121
|
})
|
|
119
122
|
.s("AmazonBedrockAgentCore", "BatchCreateMemoryRecords", {})
|
|
120
123
|
.n("BedrockAgentCoreClient", "BatchCreateMemoryRecordsCommand")
|
|
121
|
-
.sc(
|
|
124
|
+
.sc(BatchCreateMemoryRecords$)
|
|
122
125
|
.build() {
|
|
123
126
|
}
|
|
124
127
|
|
|
125
|
-
class BatchDeleteMemoryRecordsCommand extends
|
|
128
|
+
class BatchDeleteMemoryRecordsCommand extends Command
|
|
126
129
|
.classBuilder()
|
|
127
130
|
.ep(commonParams)
|
|
128
131
|
.m(function (Command, cs, config, o) {
|
|
129
|
-
return [
|
|
132
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
130
133
|
})
|
|
131
134
|
.s("AmazonBedrockAgentCore", "BatchDeleteMemoryRecords", {})
|
|
132
135
|
.n("BedrockAgentCoreClient", "BatchDeleteMemoryRecordsCommand")
|
|
133
|
-
.sc(
|
|
136
|
+
.sc(BatchDeleteMemoryRecords$)
|
|
134
137
|
.build() {
|
|
135
138
|
}
|
|
136
139
|
|
|
137
|
-
class BatchUpdateMemoryRecordsCommand extends
|
|
140
|
+
class BatchUpdateMemoryRecordsCommand extends Command
|
|
138
141
|
.classBuilder()
|
|
139
142
|
.ep(commonParams)
|
|
140
143
|
.m(function (Command, cs, config, o) {
|
|
141
|
-
return [
|
|
144
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
142
145
|
})
|
|
143
146
|
.s("AmazonBedrockAgentCore", "BatchUpdateMemoryRecords", {})
|
|
144
147
|
.n("BedrockAgentCoreClient", "BatchUpdateMemoryRecordsCommand")
|
|
145
|
-
.sc(
|
|
148
|
+
.sc(BatchUpdateMemoryRecords$)
|
|
146
149
|
.build() {
|
|
147
150
|
}
|
|
148
151
|
|
|
149
|
-
class CompleteResourceTokenAuthCommand extends
|
|
152
|
+
class CompleteResourceTokenAuthCommand extends Command
|
|
150
153
|
.classBuilder()
|
|
151
154
|
.ep(commonParams)
|
|
152
155
|
.m(function (Command, cs, config, o) {
|
|
153
|
-
return [
|
|
156
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
154
157
|
})
|
|
155
158
|
.s("AmazonBedrockAgentCore", "CompleteResourceTokenAuth", {})
|
|
156
159
|
.n("BedrockAgentCoreClient", "CompleteResourceTokenAuthCommand")
|
|
157
|
-
.sc(
|
|
160
|
+
.sc(CompleteResourceTokenAuth$)
|
|
158
161
|
.build() {
|
|
159
162
|
}
|
|
160
163
|
|
|
161
|
-
class CreateABTestCommand extends
|
|
164
|
+
class CreateABTestCommand extends Command
|
|
162
165
|
.classBuilder()
|
|
163
166
|
.ep(commonParams)
|
|
164
167
|
.m(function (Command, cs, config, o) {
|
|
165
|
-
return [
|
|
168
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
166
169
|
})
|
|
167
170
|
.s("AmazonBedrockAgentCore", "CreateABTest", {})
|
|
168
171
|
.n("BedrockAgentCoreClient", "CreateABTestCommand")
|
|
169
|
-
.sc(
|
|
172
|
+
.sc(CreateABTest$)
|
|
170
173
|
.build() {
|
|
171
174
|
}
|
|
172
175
|
|
|
173
|
-
class CreateEventCommand extends
|
|
176
|
+
class CreateEventCommand extends Command
|
|
174
177
|
.classBuilder()
|
|
175
178
|
.ep(commonParams)
|
|
176
179
|
.m(function (Command, cs, config, o) {
|
|
177
|
-
return [
|
|
180
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
178
181
|
})
|
|
179
182
|
.s("AmazonBedrockAgentCore", "CreateEvent", {})
|
|
180
183
|
.n("BedrockAgentCoreClient", "CreateEventCommand")
|
|
181
|
-
.sc(
|
|
184
|
+
.sc(CreateEvent$)
|
|
182
185
|
.build() {
|
|
183
186
|
}
|
|
184
187
|
|
|
185
|
-
class CreatePaymentInstrumentCommand extends
|
|
188
|
+
class CreatePaymentInstrumentCommand extends Command
|
|
186
189
|
.classBuilder()
|
|
187
190
|
.ep(commonParams)
|
|
188
191
|
.m(function (Command, cs, config, o) {
|
|
189
|
-
return [
|
|
192
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
190
193
|
})
|
|
191
194
|
.s("AmazonBedrockAgentCore", "CreatePaymentInstrument", {})
|
|
192
195
|
.n("BedrockAgentCoreClient", "CreatePaymentInstrumentCommand")
|
|
193
|
-
.sc(
|
|
196
|
+
.sc(CreatePaymentInstrument$)
|
|
194
197
|
.build() {
|
|
195
198
|
}
|
|
196
199
|
|
|
197
|
-
class CreatePaymentSessionCommand extends
|
|
200
|
+
class CreatePaymentSessionCommand extends Command
|
|
198
201
|
.classBuilder()
|
|
199
202
|
.ep(commonParams)
|
|
200
203
|
.m(function (Command, cs, config, o) {
|
|
201
|
-
return [
|
|
204
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
202
205
|
})
|
|
203
206
|
.s("AmazonBedrockAgentCore", "CreatePaymentSession", {})
|
|
204
207
|
.n("BedrockAgentCoreClient", "CreatePaymentSessionCommand")
|
|
205
|
-
.sc(
|
|
208
|
+
.sc(CreatePaymentSession$)
|
|
206
209
|
.build() {
|
|
207
210
|
}
|
|
208
211
|
|
|
209
|
-
class DeleteABTestCommand extends
|
|
212
|
+
class DeleteABTestCommand extends Command
|
|
210
213
|
.classBuilder()
|
|
211
214
|
.ep(commonParams)
|
|
212
215
|
.m(function (Command, cs, config, o) {
|
|
213
|
-
return [
|
|
216
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
214
217
|
})
|
|
215
218
|
.s("AmazonBedrockAgentCore", "DeleteABTest", {})
|
|
216
219
|
.n("BedrockAgentCoreClient", "DeleteABTestCommand")
|
|
217
|
-
.sc(
|
|
220
|
+
.sc(DeleteABTest$)
|
|
218
221
|
.build() {
|
|
219
222
|
}
|
|
220
223
|
|
|
221
|
-
class DeleteBatchEvaluationCommand extends
|
|
224
|
+
class DeleteBatchEvaluationCommand extends Command
|
|
222
225
|
.classBuilder()
|
|
223
226
|
.ep(commonParams)
|
|
224
227
|
.m(function (Command, cs, config, o) {
|
|
225
|
-
return [
|
|
228
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
226
229
|
})
|
|
227
230
|
.s("AmazonBedrockAgentCore", "DeleteBatchEvaluation", {})
|
|
228
231
|
.n("BedrockAgentCoreClient", "DeleteBatchEvaluationCommand")
|
|
229
|
-
.sc(
|
|
232
|
+
.sc(DeleteBatchEvaluation$)
|
|
230
233
|
.build() {
|
|
231
234
|
}
|
|
232
235
|
|
|
233
|
-
class DeleteEventCommand extends
|
|
236
|
+
class DeleteEventCommand extends Command
|
|
234
237
|
.classBuilder()
|
|
235
238
|
.ep(commonParams)
|
|
236
239
|
.m(function (Command, cs, config, o) {
|
|
237
|
-
return [
|
|
240
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
238
241
|
})
|
|
239
242
|
.s("AmazonBedrockAgentCore", "DeleteEvent", {})
|
|
240
243
|
.n("BedrockAgentCoreClient", "DeleteEventCommand")
|
|
241
|
-
.sc(
|
|
244
|
+
.sc(DeleteEvent$)
|
|
242
245
|
.build() {
|
|
243
246
|
}
|
|
244
247
|
|
|
245
|
-
class DeleteMemoryRecordCommand extends
|
|
248
|
+
class DeleteMemoryRecordCommand extends Command
|
|
246
249
|
.classBuilder()
|
|
247
250
|
.ep(commonParams)
|
|
248
251
|
.m(function (Command, cs, config, o) {
|
|
249
|
-
return [
|
|
252
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
250
253
|
})
|
|
251
254
|
.s("AmazonBedrockAgentCore", "DeleteMemoryRecord", {})
|
|
252
255
|
.n("BedrockAgentCoreClient", "DeleteMemoryRecordCommand")
|
|
253
|
-
.sc(
|
|
256
|
+
.sc(DeleteMemoryRecord$)
|
|
254
257
|
.build() {
|
|
255
258
|
}
|
|
256
259
|
|
|
257
|
-
class DeletePaymentInstrumentCommand extends
|
|
260
|
+
class DeletePaymentInstrumentCommand extends Command
|
|
258
261
|
.classBuilder()
|
|
259
262
|
.ep(commonParams)
|
|
260
263
|
.m(function (Command, cs, config, o) {
|
|
261
|
-
return [
|
|
264
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
262
265
|
})
|
|
263
266
|
.s("AmazonBedrockAgentCore", "DeletePaymentInstrument", {})
|
|
264
267
|
.n("BedrockAgentCoreClient", "DeletePaymentInstrumentCommand")
|
|
265
|
-
.sc(
|
|
268
|
+
.sc(DeletePaymentInstrument$)
|
|
266
269
|
.build() {
|
|
267
270
|
}
|
|
268
271
|
|
|
269
|
-
class DeletePaymentSessionCommand extends
|
|
272
|
+
class DeletePaymentSessionCommand extends Command
|
|
270
273
|
.classBuilder()
|
|
271
274
|
.ep(commonParams)
|
|
272
275
|
.m(function (Command, cs, config, o) {
|
|
273
|
-
return [
|
|
276
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
274
277
|
})
|
|
275
278
|
.s("AmazonBedrockAgentCore", "DeletePaymentSession", {})
|
|
276
279
|
.n("BedrockAgentCoreClient", "DeletePaymentSessionCommand")
|
|
277
|
-
.sc(
|
|
280
|
+
.sc(DeletePaymentSession$)
|
|
278
281
|
.build() {
|
|
279
282
|
}
|
|
280
283
|
|
|
281
|
-
class DeleteRecommendationCommand extends
|
|
284
|
+
class DeleteRecommendationCommand extends Command
|
|
282
285
|
.classBuilder()
|
|
283
286
|
.ep(commonParams)
|
|
284
287
|
.m(function (Command, cs, config, o) {
|
|
285
|
-
return [
|
|
288
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
286
289
|
})
|
|
287
290
|
.s("AmazonBedrockAgentCore", "DeleteRecommendation", {})
|
|
288
291
|
.n("BedrockAgentCoreClient", "DeleteRecommendationCommand")
|
|
289
|
-
.sc(
|
|
292
|
+
.sc(DeleteRecommendation$)
|
|
290
293
|
.build() {
|
|
291
294
|
}
|
|
292
295
|
|
|
293
|
-
class EvaluateCommand extends
|
|
296
|
+
class EvaluateCommand extends Command
|
|
294
297
|
.classBuilder()
|
|
295
298
|
.ep(commonParams)
|
|
296
299
|
.m(function (Command, cs, config, o) {
|
|
297
|
-
return [
|
|
300
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
298
301
|
})
|
|
299
302
|
.s("AmazonBedrockAgentCore", "Evaluate", {})
|
|
300
303
|
.n("BedrockAgentCoreClient", "EvaluateCommand")
|
|
301
|
-
.sc(
|
|
304
|
+
.sc(Evaluate$)
|
|
302
305
|
.build() {
|
|
303
306
|
}
|
|
304
307
|
|
|
305
|
-
class GetABTestCommand extends
|
|
308
|
+
class GetABTestCommand extends Command
|
|
306
309
|
.classBuilder()
|
|
307
310
|
.ep(commonParams)
|
|
308
311
|
.m(function (Command, cs, config, o) {
|
|
309
|
-
return [
|
|
312
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
310
313
|
})
|
|
311
314
|
.s("AmazonBedrockAgentCore", "GetABTest", {})
|
|
312
315
|
.n("BedrockAgentCoreClient", "GetABTestCommand")
|
|
313
|
-
.sc(
|
|
316
|
+
.sc(GetABTest$)
|
|
314
317
|
.build() {
|
|
315
318
|
}
|
|
316
319
|
|
|
317
|
-
class GetAgentCardCommand extends
|
|
320
|
+
class GetAgentCardCommand extends Command
|
|
318
321
|
.classBuilder()
|
|
319
322
|
.ep(commonParams)
|
|
320
323
|
.m(function (Command, cs, config, o) {
|
|
321
|
-
return [
|
|
324
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
322
325
|
})
|
|
323
326
|
.s("AmazonBedrockAgentCore", "GetAgentCard", {})
|
|
324
327
|
.n("BedrockAgentCoreClient", "GetAgentCardCommand")
|
|
325
|
-
.sc(
|
|
328
|
+
.sc(GetAgentCard$)
|
|
326
329
|
.build() {
|
|
327
330
|
}
|
|
328
331
|
|
|
329
|
-
class GetBatchEvaluationCommand extends
|
|
332
|
+
class GetBatchEvaluationCommand extends Command
|
|
330
333
|
.classBuilder()
|
|
331
334
|
.ep(commonParams)
|
|
332
335
|
.m(function (Command, cs, config, o) {
|
|
333
|
-
return [
|
|
336
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
334
337
|
})
|
|
335
338
|
.s("AmazonBedrockAgentCore", "GetBatchEvaluation", {})
|
|
336
339
|
.n("BedrockAgentCoreClient", "GetBatchEvaluationCommand")
|
|
337
|
-
.sc(
|
|
340
|
+
.sc(GetBatchEvaluation$)
|
|
338
341
|
.build() {
|
|
339
342
|
}
|
|
340
343
|
|
|
341
|
-
class GetBrowserSessionCommand extends
|
|
344
|
+
class GetBrowserSessionCommand extends Command
|
|
342
345
|
.classBuilder()
|
|
343
346
|
.ep(commonParams)
|
|
344
347
|
.m(function (Command, cs, config, o) {
|
|
345
|
-
return [
|
|
348
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
346
349
|
})
|
|
347
350
|
.s("AmazonBedrockAgentCore", "GetBrowserSession", {})
|
|
348
351
|
.n("BedrockAgentCoreClient", "GetBrowserSessionCommand")
|
|
349
|
-
.sc(
|
|
352
|
+
.sc(GetBrowserSession$)
|
|
350
353
|
.build() {
|
|
351
354
|
}
|
|
352
355
|
|
|
353
|
-
class GetCodeInterpreterSessionCommand extends
|
|
356
|
+
class GetCodeInterpreterSessionCommand extends Command
|
|
354
357
|
.classBuilder()
|
|
355
358
|
.ep(commonParams)
|
|
356
359
|
.m(function (Command, cs, config, o) {
|
|
357
|
-
return [
|
|
360
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
358
361
|
})
|
|
359
362
|
.s("AmazonBedrockAgentCore", "GetCodeInterpreterSession", {})
|
|
360
363
|
.n("BedrockAgentCoreClient", "GetCodeInterpreterSessionCommand")
|
|
361
|
-
.sc(
|
|
364
|
+
.sc(GetCodeInterpreterSession$)
|
|
362
365
|
.build() {
|
|
363
366
|
}
|
|
364
367
|
|
|
365
|
-
class GetEventCommand extends
|
|
368
|
+
class GetEventCommand extends Command
|
|
366
369
|
.classBuilder()
|
|
367
370
|
.ep(commonParams)
|
|
368
371
|
.m(function (Command, cs, config, o) {
|
|
369
|
-
return [
|
|
372
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
370
373
|
})
|
|
371
374
|
.s("AmazonBedrockAgentCore", "GetEvent", {})
|
|
372
375
|
.n("BedrockAgentCoreClient", "GetEventCommand")
|
|
373
|
-
.sc(
|
|
376
|
+
.sc(GetEvent$)
|
|
374
377
|
.build() {
|
|
375
378
|
}
|
|
376
379
|
|
|
377
|
-
class GetMemoryRecordCommand extends
|
|
380
|
+
class GetMemoryRecordCommand extends Command
|
|
378
381
|
.classBuilder()
|
|
379
382
|
.ep(commonParams)
|
|
380
383
|
.m(function (Command, cs, config, o) {
|
|
381
|
-
return [
|
|
384
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
382
385
|
})
|
|
383
386
|
.s("AmazonBedrockAgentCore", "GetMemoryRecord", {})
|
|
384
387
|
.n("BedrockAgentCoreClient", "GetMemoryRecordCommand")
|
|
385
|
-
.sc(
|
|
388
|
+
.sc(GetMemoryRecord$)
|
|
386
389
|
.build() {
|
|
387
390
|
}
|
|
388
391
|
|
|
389
|
-
class GetPaymentInstrumentBalanceCommand extends
|
|
392
|
+
class GetPaymentInstrumentBalanceCommand extends Command
|
|
390
393
|
.classBuilder()
|
|
391
394
|
.ep(commonParams)
|
|
392
395
|
.m(function (Command, cs, config, o) {
|
|
393
|
-
return [
|
|
396
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
394
397
|
})
|
|
395
398
|
.s("AmazonBedrockAgentCore", "GetPaymentInstrumentBalance", {})
|
|
396
399
|
.n("BedrockAgentCoreClient", "GetPaymentInstrumentBalanceCommand")
|
|
397
|
-
.sc(
|
|
400
|
+
.sc(GetPaymentInstrumentBalance$)
|
|
398
401
|
.build() {
|
|
399
402
|
}
|
|
400
403
|
|
|
401
|
-
class GetPaymentInstrumentCommand extends
|
|
404
|
+
class GetPaymentInstrumentCommand extends Command
|
|
402
405
|
.classBuilder()
|
|
403
406
|
.ep(commonParams)
|
|
404
407
|
.m(function (Command, cs, config, o) {
|
|
405
|
-
return [
|
|
408
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
406
409
|
})
|
|
407
410
|
.s("AmazonBedrockAgentCore", "GetPaymentInstrument", {})
|
|
408
411
|
.n("BedrockAgentCoreClient", "GetPaymentInstrumentCommand")
|
|
409
|
-
.sc(
|
|
412
|
+
.sc(GetPaymentInstrument$)
|
|
410
413
|
.build() {
|
|
411
414
|
}
|
|
412
415
|
|
|
413
|
-
class GetPaymentSessionCommand extends
|
|
416
|
+
class GetPaymentSessionCommand extends Command
|
|
414
417
|
.classBuilder()
|
|
415
418
|
.ep(commonParams)
|
|
416
419
|
.m(function (Command, cs, config, o) {
|
|
417
|
-
return [
|
|
420
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
418
421
|
})
|
|
419
422
|
.s("AmazonBedrockAgentCore", "GetPaymentSession", {})
|
|
420
423
|
.n("BedrockAgentCoreClient", "GetPaymentSessionCommand")
|
|
421
|
-
.sc(
|
|
424
|
+
.sc(GetPaymentSession$)
|
|
422
425
|
.build() {
|
|
423
426
|
}
|
|
424
427
|
|
|
425
|
-
class GetRecommendationCommand extends
|
|
428
|
+
class GetRecommendationCommand extends Command
|
|
426
429
|
.classBuilder()
|
|
427
430
|
.ep(commonParams)
|
|
428
431
|
.m(function (Command, cs, config, o) {
|
|
429
|
-
return [
|
|
432
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
430
433
|
})
|
|
431
434
|
.s("AmazonBedrockAgentCore", "GetRecommendation", {})
|
|
432
435
|
.n("BedrockAgentCoreClient", "GetRecommendationCommand")
|
|
433
|
-
.sc(
|
|
436
|
+
.sc(GetRecommendation$)
|
|
434
437
|
.build() {
|
|
435
438
|
}
|
|
436
439
|
|
|
437
|
-
class GetResourceApiKeyCommand extends
|
|
440
|
+
class GetResourceApiKeyCommand extends Command
|
|
438
441
|
.classBuilder()
|
|
439
442
|
.ep(commonParams)
|
|
440
443
|
.m(function (Command, cs, config, o) {
|
|
441
|
-
return [
|
|
444
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
442
445
|
})
|
|
443
446
|
.s("AmazonBedrockAgentCore", "GetResourceApiKey", {})
|
|
444
447
|
.n("BedrockAgentCoreClient", "GetResourceApiKeyCommand")
|
|
445
|
-
.sc(
|
|
448
|
+
.sc(GetResourceApiKey$)
|
|
446
449
|
.build() {
|
|
447
450
|
}
|
|
448
451
|
|
|
449
|
-
class GetResourceOauth2TokenCommand extends
|
|
452
|
+
class GetResourceOauth2TokenCommand extends Command
|
|
450
453
|
.classBuilder()
|
|
451
454
|
.ep(commonParams)
|
|
452
455
|
.m(function (Command, cs, config, o) {
|
|
453
|
-
return [
|
|
456
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
454
457
|
})
|
|
455
458
|
.s("AmazonBedrockAgentCore", "GetResourceOauth2Token", {})
|
|
456
459
|
.n("BedrockAgentCoreClient", "GetResourceOauth2TokenCommand")
|
|
457
|
-
.sc(
|
|
460
|
+
.sc(GetResourceOauth2Token$)
|
|
458
461
|
.build() {
|
|
459
462
|
}
|
|
460
463
|
|
|
461
|
-
class GetResourcePaymentTokenCommand extends
|
|
464
|
+
class GetResourcePaymentTokenCommand extends Command
|
|
462
465
|
.classBuilder()
|
|
463
466
|
.ep(commonParams)
|
|
464
467
|
.m(function (Command, cs, config, o) {
|
|
465
|
-
return [
|
|
468
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
466
469
|
})
|
|
467
470
|
.s("AmazonBedrockAgentCore", "GetResourcePaymentToken", {})
|
|
468
471
|
.n("BedrockAgentCoreClient", "GetResourcePaymentTokenCommand")
|
|
469
|
-
.sc(
|
|
472
|
+
.sc(GetResourcePaymentToken$)
|
|
470
473
|
.build() {
|
|
471
474
|
}
|
|
472
475
|
|
|
473
|
-
class GetWorkloadAccessTokenCommand extends
|
|
476
|
+
class GetWorkloadAccessTokenCommand extends Command
|
|
474
477
|
.classBuilder()
|
|
475
478
|
.ep(commonParams)
|
|
476
479
|
.m(function (Command, cs, config, o) {
|
|
477
|
-
return [
|
|
480
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
478
481
|
})
|
|
479
482
|
.s("AmazonBedrockAgentCore", "GetWorkloadAccessToken", {})
|
|
480
483
|
.n("BedrockAgentCoreClient", "GetWorkloadAccessTokenCommand")
|
|
481
|
-
.sc(
|
|
484
|
+
.sc(GetWorkloadAccessToken$)
|
|
482
485
|
.build() {
|
|
483
486
|
}
|
|
484
487
|
|
|
485
|
-
class GetWorkloadAccessTokenForJWTCommand extends
|
|
488
|
+
class GetWorkloadAccessTokenForJWTCommand extends Command
|
|
486
489
|
.classBuilder()
|
|
487
490
|
.ep(commonParams)
|
|
488
491
|
.m(function (Command, cs, config, o) {
|
|
489
|
-
return [
|
|
492
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
490
493
|
})
|
|
491
494
|
.s("AmazonBedrockAgentCore", "GetWorkloadAccessTokenForJWT", {})
|
|
492
495
|
.n("BedrockAgentCoreClient", "GetWorkloadAccessTokenForJWTCommand")
|
|
493
|
-
.sc(
|
|
496
|
+
.sc(GetWorkloadAccessTokenForJWT$)
|
|
494
497
|
.build() {
|
|
495
498
|
}
|
|
496
499
|
|
|
497
|
-
class GetWorkloadAccessTokenForUserIdCommand extends
|
|
500
|
+
class GetWorkloadAccessTokenForUserIdCommand extends Command
|
|
498
501
|
.classBuilder()
|
|
499
502
|
.ep(commonParams)
|
|
500
503
|
.m(function (Command, cs, config, o) {
|
|
501
|
-
return [
|
|
504
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
502
505
|
})
|
|
503
506
|
.s("AmazonBedrockAgentCore", "GetWorkloadAccessTokenForUserId", {})
|
|
504
507
|
.n("BedrockAgentCoreClient", "GetWorkloadAccessTokenForUserIdCommand")
|
|
505
|
-
.sc(
|
|
508
|
+
.sc(GetWorkloadAccessTokenForUserId$)
|
|
506
509
|
.build() {
|
|
507
510
|
}
|
|
508
511
|
|
|
509
|
-
class InvokeAgentRuntimeCommand extends
|
|
512
|
+
class InvokeAgentRuntimeCommand extends Command
|
|
510
513
|
.classBuilder()
|
|
511
514
|
.ep(commonParams)
|
|
512
515
|
.m(function (Command, cs, config, o) {
|
|
513
|
-
return [
|
|
516
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
514
517
|
})
|
|
515
518
|
.s("AmazonBedrockAgentCore", "InvokeAgentRuntime", {})
|
|
516
519
|
.n("BedrockAgentCoreClient", "InvokeAgentRuntimeCommand")
|
|
517
|
-
.sc(
|
|
520
|
+
.sc(InvokeAgentRuntime$)
|
|
518
521
|
.build() {
|
|
519
522
|
}
|
|
520
523
|
|
|
521
|
-
class InvokeAgentRuntimeCommandCommand extends
|
|
524
|
+
class InvokeAgentRuntimeCommandCommand extends Command
|
|
522
525
|
.classBuilder()
|
|
523
526
|
.ep(commonParams)
|
|
524
527
|
.m(function (Command, cs, config, o) {
|
|
525
|
-
return [
|
|
528
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
526
529
|
})
|
|
527
530
|
.s("AmazonBedrockAgentCore", "InvokeAgentRuntimeCommand", {
|
|
528
531
|
eventStream: {
|
|
@@ -530,27 +533,27 @@ class InvokeAgentRuntimeCommandCommand extends client.Command
|
|
|
530
533
|
},
|
|
531
534
|
})
|
|
532
535
|
.n("BedrockAgentCoreClient", "InvokeAgentRuntimeCommandCommand")
|
|
533
|
-
.sc(
|
|
536
|
+
.sc(InvokeAgentRuntimeCommand$)
|
|
534
537
|
.build() {
|
|
535
538
|
}
|
|
536
539
|
|
|
537
|
-
class InvokeBrowserCommand extends
|
|
540
|
+
class InvokeBrowserCommand extends Command
|
|
538
541
|
.classBuilder()
|
|
539
542
|
.ep(commonParams)
|
|
540
543
|
.m(function (Command, cs, config, o) {
|
|
541
|
-
return [
|
|
544
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
542
545
|
})
|
|
543
546
|
.s("AmazonBedrockAgentCore", "InvokeBrowser", {})
|
|
544
547
|
.n("BedrockAgentCoreClient", "InvokeBrowserCommand")
|
|
545
|
-
.sc(
|
|
548
|
+
.sc(InvokeBrowser$)
|
|
546
549
|
.build() {
|
|
547
550
|
}
|
|
548
551
|
|
|
549
|
-
class InvokeCodeInterpreterCommand extends
|
|
552
|
+
class InvokeCodeInterpreterCommand extends Command
|
|
550
553
|
.classBuilder()
|
|
551
554
|
.ep(commonParams)
|
|
552
555
|
.m(function (Command, cs, config, o) {
|
|
553
|
-
return [
|
|
556
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
554
557
|
})
|
|
555
558
|
.s("AmazonBedrockAgentCore", "InvokeCodeInterpreter", {
|
|
556
559
|
eventStream: {
|
|
@@ -558,15 +561,15 @@ class InvokeCodeInterpreterCommand extends client.Command
|
|
|
558
561
|
},
|
|
559
562
|
})
|
|
560
563
|
.n("BedrockAgentCoreClient", "InvokeCodeInterpreterCommand")
|
|
561
|
-
.sc(
|
|
564
|
+
.sc(InvokeCodeInterpreter$)
|
|
562
565
|
.build() {
|
|
563
566
|
}
|
|
564
567
|
|
|
565
|
-
class InvokeHarnessCommand extends
|
|
568
|
+
class InvokeHarnessCommand extends Command
|
|
566
569
|
.classBuilder()
|
|
567
570
|
.ep(commonParams)
|
|
568
571
|
.m(function (Command, cs, config, o) {
|
|
569
|
-
return [
|
|
572
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
570
573
|
})
|
|
571
574
|
.s("AmazonBedrockAgentCore", "InvokeHarness", {
|
|
572
575
|
eventStream: {
|
|
@@ -574,355 +577,355 @@ class InvokeHarnessCommand extends client.Command
|
|
|
574
577
|
},
|
|
575
578
|
})
|
|
576
579
|
.n("BedrockAgentCoreClient", "InvokeHarnessCommand")
|
|
577
|
-
.sc(
|
|
580
|
+
.sc(InvokeHarness$)
|
|
578
581
|
.build() {
|
|
579
582
|
}
|
|
580
583
|
|
|
581
|
-
class ListABTestsCommand extends
|
|
584
|
+
class ListABTestsCommand extends Command
|
|
582
585
|
.classBuilder()
|
|
583
586
|
.ep(commonParams)
|
|
584
587
|
.m(function (Command, cs, config, o) {
|
|
585
|
-
return [
|
|
588
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
586
589
|
})
|
|
587
590
|
.s("AmazonBedrockAgentCore", "ListABTests", {})
|
|
588
591
|
.n("BedrockAgentCoreClient", "ListABTestsCommand")
|
|
589
|
-
.sc(
|
|
592
|
+
.sc(ListABTests$)
|
|
590
593
|
.build() {
|
|
591
594
|
}
|
|
592
595
|
|
|
593
|
-
class ListActorsCommand extends
|
|
596
|
+
class ListActorsCommand extends Command
|
|
594
597
|
.classBuilder()
|
|
595
598
|
.ep(commonParams)
|
|
596
599
|
.m(function (Command, cs, config, o) {
|
|
597
|
-
return [
|
|
600
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
598
601
|
})
|
|
599
602
|
.s("AmazonBedrockAgentCore", "ListActors", {})
|
|
600
603
|
.n("BedrockAgentCoreClient", "ListActorsCommand")
|
|
601
|
-
.sc(
|
|
604
|
+
.sc(ListActors$)
|
|
602
605
|
.build() {
|
|
603
606
|
}
|
|
604
607
|
|
|
605
|
-
class ListBatchEvaluationsCommand extends
|
|
608
|
+
class ListBatchEvaluationsCommand extends Command
|
|
606
609
|
.classBuilder()
|
|
607
610
|
.ep(commonParams)
|
|
608
611
|
.m(function (Command, cs, config, o) {
|
|
609
|
-
return [
|
|
612
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
610
613
|
})
|
|
611
614
|
.s("AmazonBedrockAgentCore", "ListBatchEvaluations", {})
|
|
612
615
|
.n("BedrockAgentCoreClient", "ListBatchEvaluationsCommand")
|
|
613
|
-
.sc(
|
|
616
|
+
.sc(ListBatchEvaluations$)
|
|
614
617
|
.build() {
|
|
615
618
|
}
|
|
616
619
|
|
|
617
|
-
class ListBrowserSessionsCommand extends
|
|
620
|
+
class ListBrowserSessionsCommand extends Command
|
|
618
621
|
.classBuilder()
|
|
619
622
|
.ep(commonParams)
|
|
620
623
|
.m(function (Command, cs, config, o) {
|
|
621
|
-
return [
|
|
624
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
622
625
|
})
|
|
623
626
|
.s("AmazonBedrockAgentCore", "ListBrowserSessions", {})
|
|
624
627
|
.n("BedrockAgentCoreClient", "ListBrowserSessionsCommand")
|
|
625
|
-
.sc(
|
|
628
|
+
.sc(ListBrowserSessions$)
|
|
626
629
|
.build() {
|
|
627
630
|
}
|
|
628
631
|
|
|
629
|
-
class ListCodeInterpreterSessionsCommand extends
|
|
632
|
+
class ListCodeInterpreterSessionsCommand extends Command
|
|
630
633
|
.classBuilder()
|
|
631
634
|
.ep(commonParams)
|
|
632
635
|
.m(function (Command, cs, config, o) {
|
|
633
|
-
return [
|
|
636
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
634
637
|
})
|
|
635
638
|
.s("AmazonBedrockAgentCore", "ListCodeInterpreterSessions", {})
|
|
636
639
|
.n("BedrockAgentCoreClient", "ListCodeInterpreterSessionsCommand")
|
|
637
|
-
.sc(
|
|
640
|
+
.sc(ListCodeInterpreterSessions$)
|
|
638
641
|
.build() {
|
|
639
642
|
}
|
|
640
643
|
|
|
641
|
-
class ListEventsCommand extends
|
|
644
|
+
class ListEventsCommand extends Command
|
|
642
645
|
.classBuilder()
|
|
643
646
|
.ep(commonParams)
|
|
644
647
|
.m(function (Command, cs, config, o) {
|
|
645
|
-
return [
|
|
648
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
646
649
|
})
|
|
647
650
|
.s("AmazonBedrockAgentCore", "ListEvents", {})
|
|
648
651
|
.n("BedrockAgentCoreClient", "ListEventsCommand")
|
|
649
|
-
.sc(
|
|
652
|
+
.sc(ListEvents$)
|
|
650
653
|
.build() {
|
|
651
654
|
}
|
|
652
655
|
|
|
653
|
-
class ListMemoryExtractionJobsCommand extends
|
|
656
|
+
class ListMemoryExtractionJobsCommand extends Command
|
|
654
657
|
.classBuilder()
|
|
655
658
|
.ep(commonParams)
|
|
656
659
|
.m(function (Command, cs, config, o) {
|
|
657
|
-
return [
|
|
660
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
658
661
|
})
|
|
659
662
|
.s("AmazonBedrockAgentCore", "ListMemoryExtractionJobs", {})
|
|
660
663
|
.n("BedrockAgentCoreClient", "ListMemoryExtractionJobsCommand")
|
|
661
|
-
.sc(
|
|
664
|
+
.sc(ListMemoryExtractionJobs$)
|
|
662
665
|
.build() {
|
|
663
666
|
}
|
|
664
667
|
|
|
665
|
-
class ListMemoryRecordsCommand extends
|
|
668
|
+
class ListMemoryRecordsCommand extends Command
|
|
666
669
|
.classBuilder()
|
|
667
670
|
.ep(commonParams)
|
|
668
671
|
.m(function (Command, cs, config, o) {
|
|
669
|
-
return [
|
|
672
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
670
673
|
})
|
|
671
674
|
.s("AmazonBedrockAgentCore", "ListMemoryRecords", {})
|
|
672
675
|
.n("BedrockAgentCoreClient", "ListMemoryRecordsCommand")
|
|
673
|
-
.sc(
|
|
676
|
+
.sc(ListMemoryRecords$)
|
|
674
677
|
.build() {
|
|
675
678
|
}
|
|
676
679
|
|
|
677
|
-
class ListPaymentInstrumentsCommand extends
|
|
680
|
+
class ListPaymentInstrumentsCommand extends Command
|
|
678
681
|
.classBuilder()
|
|
679
682
|
.ep(commonParams)
|
|
680
683
|
.m(function (Command, cs, config, o) {
|
|
681
|
-
return [
|
|
684
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
682
685
|
})
|
|
683
686
|
.s("AmazonBedrockAgentCore", "ListPaymentInstruments", {})
|
|
684
687
|
.n("BedrockAgentCoreClient", "ListPaymentInstrumentsCommand")
|
|
685
|
-
.sc(
|
|
688
|
+
.sc(ListPaymentInstruments$)
|
|
686
689
|
.build() {
|
|
687
690
|
}
|
|
688
691
|
|
|
689
|
-
class ListPaymentSessionsCommand extends
|
|
692
|
+
class ListPaymentSessionsCommand extends Command
|
|
690
693
|
.classBuilder()
|
|
691
694
|
.ep(commonParams)
|
|
692
695
|
.m(function (Command, cs, config, o) {
|
|
693
|
-
return [
|
|
696
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
694
697
|
})
|
|
695
698
|
.s("AmazonBedrockAgentCore", "ListPaymentSessions", {})
|
|
696
699
|
.n("BedrockAgentCoreClient", "ListPaymentSessionsCommand")
|
|
697
|
-
.sc(
|
|
700
|
+
.sc(ListPaymentSessions$)
|
|
698
701
|
.build() {
|
|
699
702
|
}
|
|
700
703
|
|
|
701
|
-
class ListRecommendationsCommand extends
|
|
704
|
+
class ListRecommendationsCommand extends Command
|
|
702
705
|
.classBuilder()
|
|
703
706
|
.ep(commonParams)
|
|
704
707
|
.m(function (Command, cs, config, o) {
|
|
705
|
-
return [
|
|
708
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
706
709
|
})
|
|
707
710
|
.s("AmazonBedrockAgentCore", "ListRecommendations", {})
|
|
708
711
|
.n("BedrockAgentCoreClient", "ListRecommendationsCommand")
|
|
709
|
-
.sc(
|
|
712
|
+
.sc(ListRecommendations$)
|
|
710
713
|
.build() {
|
|
711
714
|
}
|
|
712
715
|
|
|
713
|
-
class ListSessionsCommand extends
|
|
716
|
+
class ListSessionsCommand extends Command
|
|
714
717
|
.classBuilder()
|
|
715
718
|
.ep(commonParams)
|
|
716
719
|
.m(function (Command, cs, config, o) {
|
|
717
|
-
return [
|
|
720
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
718
721
|
})
|
|
719
722
|
.s("AmazonBedrockAgentCore", "ListSessions", {})
|
|
720
723
|
.n("BedrockAgentCoreClient", "ListSessionsCommand")
|
|
721
|
-
.sc(
|
|
724
|
+
.sc(ListSessions$)
|
|
722
725
|
.build() {
|
|
723
726
|
}
|
|
724
727
|
|
|
725
|
-
class ProcessPaymentCommand extends
|
|
728
|
+
class ProcessPaymentCommand extends Command
|
|
726
729
|
.classBuilder()
|
|
727
730
|
.ep(commonParams)
|
|
728
731
|
.m(function (Command, cs, config, o) {
|
|
729
|
-
return [
|
|
732
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
730
733
|
})
|
|
731
734
|
.s("AmazonBedrockAgentCore", "ProcessPayment", {})
|
|
732
735
|
.n("BedrockAgentCoreClient", "ProcessPaymentCommand")
|
|
733
|
-
.sc(
|
|
736
|
+
.sc(ProcessPayment$)
|
|
734
737
|
.build() {
|
|
735
738
|
}
|
|
736
739
|
|
|
737
|
-
class RetrieveMemoryRecordsCommand extends
|
|
740
|
+
class RetrieveMemoryRecordsCommand extends Command
|
|
738
741
|
.classBuilder()
|
|
739
742
|
.ep(commonParams)
|
|
740
743
|
.m(function (Command, cs, config, o) {
|
|
741
|
-
return [
|
|
744
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
742
745
|
})
|
|
743
746
|
.s("AmazonBedrockAgentCore", "RetrieveMemoryRecords", {})
|
|
744
747
|
.n("BedrockAgentCoreClient", "RetrieveMemoryRecordsCommand")
|
|
745
|
-
.sc(
|
|
748
|
+
.sc(RetrieveMemoryRecords$)
|
|
746
749
|
.build() {
|
|
747
750
|
}
|
|
748
751
|
|
|
749
|
-
class SaveBrowserSessionProfileCommand extends
|
|
752
|
+
class SaveBrowserSessionProfileCommand extends Command
|
|
750
753
|
.classBuilder()
|
|
751
754
|
.ep(commonParams)
|
|
752
755
|
.m(function (Command, cs, config, o) {
|
|
753
|
-
return [
|
|
756
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
754
757
|
})
|
|
755
758
|
.s("AmazonBedrockAgentCore", "SaveBrowserSessionProfile", {})
|
|
756
759
|
.n("BedrockAgentCoreClient", "SaveBrowserSessionProfileCommand")
|
|
757
|
-
.sc(
|
|
760
|
+
.sc(SaveBrowserSessionProfile$)
|
|
758
761
|
.build() {
|
|
759
762
|
}
|
|
760
763
|
|
|
761
|
-
class SearchRegistryRecordsCommand extends
|
|
764
|
+
class SearchRegistryRecordsCommand extends Command
|
|
762
765
|
.classBuilder()
|
|
763
766
|
.ep(commonParams)
|
|
764
767
|
.m(function (Command, cs, config, o) {
|
|
765
|
-
return [
|
|
768
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
766
769
|
})
|
|
767
770
|
.s("AmazonBedrockAgentCore", "SearchRegistryRecords", {})
|
|
768
771
|
.n("BedrockAgentCoreClient", "SearchRegistryRecordsCommand")
|
|
769
|
-
.sc(
|
|
772
|
+
.sc(SearchRegistryRecords$)
|
|
770
773
|
.build() {
|
|
771
774
|
}
|
|
772
775
|
|
|
773
|
-
class StartBatchEvaluationCommand extends
|
|
776
|
+
class StartBatchEvaluationCommand extends Command
|
|
774
777
|
.classBuilder()
|
|
775
778
|
.ep(commonParams)
|
|
776
779
|
.m(function (Command, cs, config, o) {
|
|
777
|
-
return [
|
|
780
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
778
781
|
})
|
|
779
782
|
.s("AmazonBedrockAgentCore", "StartBatchEvaluation", {})
|
|
780
783
|
.n("BedrockAgentCoreClient", "StartBatchEvaluationCommand")
|
|
781
|
-
.sc(
|
|
784
|
+
.sc(StartBatchEvaluation$)
|
|
782
785
|
.build() {
|
|
783
786
|
}
|
|
784
787
|
|
|
785
|
-
class StartBrowserSessionCommand extends
|
|
788
|
+
class StartBrowserSessionCommand extends Command
|
|
786
789
|
.classBuilder()
|
|
787
790
|
.ep(commonParams)
|
|
788
791
|
.m(function (Command, cs, config, o) {
|
|
789
|
-
return [
|
|
792
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
790
793
|
})
|
|
791
794
|
.s("AmazonBedrockAgentCore", "StartBrowserSession", {})
|
|
792
795
|
.n("BedrockAgentCoreClient", "StartBrowserSessionCommand")
|
|
793
|
-
.sc(
|
|
796
|
+
.sc(StartBrowserSession$)
|
|
794
797
|
.build() {
|
|
795
798
|
}
|
|
796
799
|
|
|
797
|
-
class StartCodeInterpreterSessionCommand extends
|
|
800
|
+
class StartCodeInterpreterSessionCommand extends Command
|
|
798
801
|
.classBuilder()
|
|
799
802
|
.ep(commonParams)
|
|
800
803
|
.m(function (Command, cs, config, o) {
|
|
801
|
-
return [
|
|
804
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
802
805
|
})
|
|
803
806
|
.s("AmazonBedrockAgentCore", "StartCodeInterpreterSession", {})
|
|
804
807
|
.n("BedrockAgentCoreClient", "StartCodeInterpreterSessionCommand")
|
|
805
|
-
.sc(
|
|
808
|
+
.sc(StartCodeInterpreterSession$)
|
|
806
809
|
.build() {
|
|
807
810
|
}
|
|
808
811
|
|
|
809
|
-
class StartMemoryExtractionJobCommand extends
|
|
812
|
+
class StartMemoryExtractionJobCommand extends Command
|
|
810
813
|
.classBuilder()
|
|
811
814
|
.ep(commonParams)
|
|
812
815
|
.m(function (Command, cs, config, o) {
|
|
813
|
-
return [
|
|
816
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
814
817
|
})
|
|
815
818
|
.s("AmazonBedrockAgentCore", "StartMemoryExtractionJob", {})
|
|
816
819
|
.n("BedrockAgentCoreClient", "StartMemoryExtractionJobCommand")
|
|
817
|
-
.sc(
|
|
820
|
+
.sc(StartMemoryExtractionJob$)
|
|
818
821
|
.build() {
|
|
819
822
|
}
|
|
820
823
|
|
|
821
|
-
class StartRecommendationCommand extends
|
|
824
|
+
class StartRecommendationCommand extends Command
|
|
822
825
|
.classBuilder()
|
|
823
826
|
.ep(commonParams)
|
|
824
827
|
.m(function (Command, cs, config, o) {
|
|
825
|
-
return [
|
|
828
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
826
829
|
})
|
|
827
830
|
.s("AmazonBedrockAgentCore", "StartRecommendation", {})
|
|
828
831
|
.n("BedrockAgentCoreClient", "StartRecommendationCommand")
|
|
829
|
-
.sc(
|
|
832
|
+
.sc(StartRecommendation$)
|
|
830
833
|
.build() {
|
|
831
834
|
}
|
|
832
835
|
|
|
833
|
-
class StopBatchEvaluationCommand extends
|
|
836
|
+
class StopBatchEvaluationCommand extends Command
|
|
834
837
|
.classBuilder()
|
|
835
838
|
.ep(commonParams)
|
|
836
839
|
.m(function (Command, cs, config, o) {
|
|
837
|
-
return [
|
|
840
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
838
841
|
})
|
|
839
842
|
.s("AmazonBedrockAgentCore", "StopBatchEvaluation", {})
|
|
840
843
|
.n("BedrockAgentCoreClient", "StopBatchEvaluationCommand")
|
|
841
|
-
.sc(
|
|
844
|
+
.sc(StopBatchEvaluation$)
|
|
842
845
|
.build() {
|
|
843
846
|
}
|
|
844
847
|
|
|
845
|
-
class StopBrowserSessionCommand extends
|
|
848
|
+
class StopBrowserSessionCommand extends Command
|
|
846
849
|
.classBuilder()
|
|
847
850
|
.ep(commonParams)
|
|
848
851
|
.m(function (Command, cs, config, o) {
|
|
849
|
-
return [
|
|
852
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
850
853
|
})
|
|
851
854
|
.s("AmazonBedrockAgentCore", "StopBrowserSession", {})
|
|
852
855
|
.n("BedrockAgentCoreClient", "StopBrowserSessionCommand")
|
|
853
|
-
.sc(
|
|
856
|
+
.sc(StopBrowserSession$)
|
|
854
857
|
.build() {
|
|
855
858
|
}
|
|
856
859
|
|
|
857
|
-
class StopCodeInterpreterSessionCommand extends
|
|
860
|
+
class StopCodeInterpreterSessionCommand extends Command
|
|
858
861
|
.classBuilder()
|
|
859
862
|
.ep(commonParams)
|
|
860
863
|
.m(function (Command, cs, config, o) {
|
|
861
|
-
return [
|
|
864
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
862
865
|
})
|
|
863
866
|
.s("AmazonBedrockAgentCore", "StopCodeInterpreterSession", {})
|
|
864
867
|
.n("BedrockAgentCoreClient", "StopCodeInterpreterSessionCommand")
|
|
865
|
-
.sc(
|
|
868
|
+
.sc(StopCodeInterpreterSession$)
|
|
866
869
|
.build() {
|
|
867
870
|
}
|
|
868
871
|
|
|
869
|
-
class StopRuntimeSessionCommand extends
|
|
872
|
+
class StopRuntimeSessionCommand extends Command
|
|
870
873
|
.classBuilder()
|
|
871
874
|
.ep(commonParams)
|
|
872
875
|
.m(function (Command, cs, config, o) {
|
|
873
|
-
return [
|
|
876
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
874
877
|
})
|
|
875
878
|
.s("AmazonBedrockAgentCore", "StopRuntimeSession", {})
|
|
876
879
|
.n("BedrockAgentCoreClient", "StopRuntimeSessionCommand")
|
|
877
|
-
.sc(
|
|
880
|
+
.sc(StopRuntimeSession$)
|
|
878
881
|
.build() {
|
|
879
882
|
}
|
|
880
883
|
|
|
881
|
-
class UpdateABTestCommand extends
|
|
884
|
+
class UpdateABTestCommand extends Command
|
|
882
885
|
.classBuilder()
|
|
883
886
|
.ep(commonParams)
|
|
884
887
|
.m(function (Command, cs, config, o) {
|
|
885
|
-
return [
|
|
888
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
886
889
|
})
|
|
887
890
|
.s("AmazonBedrockAgentCore", "UpdateABTest", {})
|
|
888
891
|
.n("BedrockAgentCoreClient", "UpdateABTestCommand")
|
|
889
|
-
.sc(
|
|
892
|
+
.sc(UpdateABTest$)
|
|
890
893
|
.build() {
|
|
891
894
|
}
|
|
892
895
|
|
|
893
|
-
class UpdateBrowserStreamCommand extends
|
|
896
|
+
class UpdateBrowserStreamCommand extends Command
|
|
894
897
|
.classBuilder()
|
|
895
898
|
.ep(commonParams)
|
|
896
899
|
.m(function (Command, cs, config, o) {
|
|
897
|
-
return [
|
|
900
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
898
901
|
})
|
|
899
902
|
.s("AmazonBedrockAgentCore", "UpdateBrowserStream", {})
|
|
900
903
|
.n("BedrockAgentCoreClient", "UpdateBrowserStreamCommand")
|
|
901
|
-
.sc(
|
|
904
|
+
.sc(UpdateBrowserStream$)
|
|
902
905
|
.build() {
|
|
903
906
|
}
|
|
904
907
|
|
|
905
|
-
const paginateListABTests =
|
|
908
|
+
const paginateListABTests = createPaginator(BedrockAgentCoreClient, ListABTestsCommand, "nextToken", "nextToken", "maxResults");
|
|
906
909
|
|
|
907
|
-
const paginateListActors =
|
|
910
|
+
const paginateListActors = createPaginator(BedrockAgentCoreClient, ListActorsCommand, "nextToken", "nextToken", "maxResults");
|
|
908
911
|
|
|
909
|
-
const paginateListBatchEvaluations =
|
|
912
|
+
const paginateListBatchEvaluations = createPaginator(BedrockAgentCoreClient, ListBatchEvaluationsCommand, "nextToken", "nextToken", "maxResults");
|
|
910
913
|
|
|
911
|
-
const paginateListEvents =
|
|
914
|
+
const paginateListEvents = createPaginator(BedrockAgentCoreClient, ListEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
912
915
|
|
|
913
|
-
const paginateListMemoryExtractionJobs =
|
|
916
|
+
const paginateListMemoryExtractionJobs = createPaginator(BedrockAgentCoreClient, ListMemoryExtractionJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
914
917
|
|
|
915
|
-
const paginateListMemoryRecords =
|
|
918
|
+
const paginateListMemoryRecords = createPaginator(BedrockAgentCoreClient, ListMemoryRecordsCommand, "nextToken", "nextToken", "maxResults");
|
|
916
919
|
|
|
917
|
-
const paginateListPaymentInstruments =
|
|
920
|
+
const paginateListPaymentInstruments = createPaginator(BedrockAgentCoreClient, ListPaymentInstrumentsCommand, "nextToken", "nextToken", "maxResults");
|
|
918
921
|
|
|
919
|
-
const paginateListPaymentSessions =
|
|
922
|
+
const paginateListPaymentSessions = createPaginator(BedrockAgentCoreClient, ListPaymentSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
920
923
|
|
|
921
|
-
const paginateListRecommendations =
|
|
924
|
+
const paginateListRecommendations = createPaginator(BedrockAgentCoreClient, ListRecommendationsCommand, "nextToken", "nextToken", "maxResults");
|
|
922
925
|
|
|
923
|
-
const paginateListSessions =
|
|
926
|
+
const paginateListSessions = createPaginator(BedrockAgentCoreClient, ListSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
924
927
|
|
|
925
|
-
const paginateRetrieveMemoryRecords =
|
|
928
|
+
const paginateRetrieveMemoryRecords = createPaginator(BedrockAgentCoreClient, RetrieveMemoryRecordsCommand, "nextToken", "nextToken", "maxResults");
|
|
926
929
|
|
|
927
930
|
const commands = {
|
|
928
931
|
BatchCreateMemoryRecordsCommand,
|
|
@@ -1006,7 +1009,7 @@ const paginators = {
|
|
|
1006
1009
|
};
|
|
1007
1010
|
class BedrockAgentCore extends BedrockAgentCoreClient {
|
|
1008
1011
|
}
|
|
1009
|
-
|
|
1012
|
+
createAggregatedClient(commands, BedrockAgentCore, { paginators });
|
|
1010
1013
|
|
|
1011
1014
|
const ABTestExecutionStatus = {
|
|
1012
1015
|
NOT_STARTED: "NOT_STARTED",
|
|
@@ -1317,9 +1320,6 @@ const RegistryRecordStatus = {
|
|
|
1317
1320
|
REJECTED: "REJECTED",
|
|
1318
1321
|
};
|
|
1319
1322
|
|
|
1320
|
-
exports.$Command = client.Command;
|
|
1321
|
-
exports.__Client = client.Client;
|
|
1322
|
-
exports.BedrockAgentCoreServiceException = BedrockAgentCoreServiceException.BedrockAgentCoreServiceException;
|
|
1323
1323
|
exports.ABTestExecutionStatus = ABTestExecutionStatus;
|
|
1324
1324
|
exports.ABTestStatus = ABTestStatus;
|
|
1325
1325
|
exports.AutomationStreamStatus = AutomationStreamStatus;
|
|
@@ -1448,23 +1448,3 @@ exports.paginateListPaymentSessions = paginateListPaymentSessions;
|
|
|
1448
1448
|
exports.paginateListRecommendations = paginateListRecommendations;
|
|
1449
1449
|
exports.paginateListSessions = paginateListSessions;
|
|
1450
1450
|
exports.paginateRetrieveMemoryRecords = paginateRetrieveMemoryRecords;
|
|
1451
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
1452
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
1453
|
-
Object.defineProperty(exports, '__proto__', {
|
|
1454
|
-
enumerable: true,
|
|
1455
|
-
value: schemas_0['__proto__']
|
|
1456
|
-
});
|
|
1457
|
-
|
|
1458
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
1459
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
1460
|
-
});
|
|
1461
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
1462
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
1463
|
-
Object.defineProperty(exports, '__proto__', {
|
|
1464
|
-
enumerable: true,
|
|
1465
|
-
value: errors['__proto__']
|
|
1466
|
-
});
|
|
1467
|
-
|
|
1468
|
-
Object.keys(errors).forEach(function (k) {
|
|
1469
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
1470
|
-
});
|