@aws-sdk/client-bedrock-agentcore 3.1055.0 → 3.1057.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 +11 -0
- package/dist-cjs/schemas/schemas_0.js +56 -23
- package/dist-es/models/enums.js +9 -0
- package/dist-es/schemas/schemas_0.js +50 -17
- package/dist-types/commands/InvokeHarnessCommand.d.ts +28 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +40 -0
- package/dist-types/models/models_0.d.ts +164 -85
- package/dist-types/models/models_1.d.ts +78 -1
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +61 -20
- package/dist-types/ts3.4/models/models_1.d.ts +20 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +6 -6
|
@@ -367,6 +367,46 @@ export declare const HarnessConversationRole: {
|
|
|
367
367
|
* @public
|
|
368
368
|
*/
|
|
369
369
|
export type HarnessConversationRole = (typeof HarnessConversationRole)[keyof typeof HarnessConversationRole];
|
|
370
|
+
/**
|
|
371
|
+
* @public
|
|
372
|
+
* @enum
|
|
373
|
+
*/
|
|
374
|
+
export declare const HarnessBedrockApiFormat: {
|
|
375
|
+
/**
|
|
376
|
+
* <p>Use the Chat Completions API format.</p>
|
|
377
|
+
*/
|
|
378
|
+
readonly CHAT_COMPLETIONS: "chat_completions";
|
|
379
|
+
/**
|
|
380
|
+
* <p>Use the Bedrock Converse Stream API format.</p>
|
|
381
|
+
*/
|
|
382
|
+
readonly CONVERSE_STREAM: "converse_stream";
|
|
383
|
+
/**
|
|
384
|
+
* <p>Use the Responses API format.</p>
|
|
385
|
+
*/
|
|
386
|
+
readonly RESPONSES: "responses";
|
|
387
|
+
};
|
|
388
|
+
/**
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
export type HarnessBedrockApiFormat = (typeof HarnessBedrockApiFormat)[keyof typeof HarnessBedrockApiFormat];
|
|
392
|
+
/**
|
|
393
|
+
* @public
|
|
394
|
+
* @enum
|
|
395
|
+
*/
|
|
396
|
+
export declare const HarnessOpenAiApiFormat: {
|
|
397
|
+
/**
|
|
398
|
+
* <p>Use the Chat Completions API format.</p>
|
|
399
|
+
*/
|
|
400
|
+
readonly CHAT_COMPLETIONS: "chat_completions";
|
|
401
|
+
/**
|
|
402
|
+
* <p>Use the Responses API format.</p>
|
|
403
|
+
*/
|
|
404
|
+
readonly RESPONSES: "responses";
|
|
405
|
+
};
|
|
406
|
+
/**
|
|
407
|
+
* @public
|
|
408
|
+
*/
|
|
409
|
+
export type HarnessOpenAiApiFormat = (typeof HarnessOpenAiApiFormat)[keyof typeof HarnessOpenAiApiFormat];
|
|
370
410
|
/**
|
|
371
411
|
* @public
|
|
372
412
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType, StreamingBlobTypes } from "@smithy/types";
|
|
2
|
-
import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType,
|
|
2
|
+
import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, ExtractionJobStatus, HarnessBedrockApiFormat, HarnessConversationRole, HarnessOpenAiApiFormat, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, LanguageRuntime, MemoryRecordOperatorType, MemoryRecordStatus, MouseButton, Oauth2FlowType, OAuthGrantType, OperatorType, PaymentHttpMethodType, ProgrammingLanguage, RecommendationStatus, RecommendationType, ResourceContentType, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
|
|
3
3
|
import type { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, RuntimeClientError, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
|
|
4
4
|
/**
|
|
5
5
|
* <p> The agent card definition for A2A descriptors, including the schema version and inline content that describes the agent's capabilities.</p>
|
|
@@ -3173,7 +3173,7 @@ export interface EvaluationExpectedTrajectory {
|
|
|
3173
3173
|
*/
|
|
3174
3174
|
export interface EvaluationReferenceInput {
|
|
3175
3175
|
/**
|
|
3176
|
-
* <p> The
|
|
3176
|
+
* <p> The span context that identifies which session or trace this reference input applies to, used for correlating ground truth with agent output. </p>
|
|
3177
3177
|
* @public
|
|
3178
3178
|
*/
|
|
3179
3179
|
context: Context | undefined;
|
|
@@ -3538,7 +3538,7 @@ export type DataSourceConfig = DataSourceConfig.CloudWatchLogsMember | DataSourc
|
|
|
3538
3538
|
*/
|
|
3539
3539
|
export declare namespace DataSourceConfig {
|
|
3540
3540
|
/**
|
|
3541
|
-
*
|
|
3541
|
+
* <p>Configuration for pulling agent session traces from CloudWatch Logs.</p>
|
|
3542
3542
|
* @public
|
|
3543
3543
|
*/
|
|
3544
3544
|
interface CloudWatchLogsMember {
|
|
@@ -4522,7 +4522,7 @@ export interface InlineGroundTruth {
|
|
|
4522
4522
|
*/
|
|
4523
4523
|
assertions?: EvaluationContent[] | undefined;
|
|
4524
4524
|
/**
|
|
4525
|
-
*
|
|
4525
|
+
* <p>The expected tool call sequence for trajectory evaluation.</p>
|
|
4526
4526
|
* @public
|
|
4527
4527
|
*/
|
|
4528
4528
|
expectedTrajectory?: EvaluationExpectedTrajectory | undefined;
|
|
@@ -4542,7 +4542,7 @@ export type GroundTruthSource = GroundTruthSource.InlineMember | GroundTruthSour
|
|
|
4542
4542
|
*/
|
|
4543
4543
|
export declare namespace GroundTruthSource {
|
|
4544
4544
|
/**
|
|
4545
|
-
*
|
|
4545
|
+
* <p>Inline ground truth data provided directly in the request.</p>
|
|
4546
4546
|
* @public
|
|
4547
4547
|
*/
|
|
4548
4548
|
interface InlineMember {
|
|
@@ -6002,6 +6002,16 @@ export interface HarnessBedrockModelConfig {
|
|
|
6002
6002
|
* @public
|
|
6003
6003
|
*/
|
|
6004
6004
|
topP?: number | undefined;
|
|
6005
|
+
/**
|
|
6006
|
+
* <p>The API format to use when calling the Bedrock provider.</p>
|
|
6007
|
+
* @public
|
|
6008
|
+
*/
|
|
6009
|
+
apiFormat?: HarnessBedrockApiFormat | undefined;
|
|
6010
|
+
/**
|
|
6011
|
+
* <p>Provider-specific parameters passed through to the model provider unchanged.</p>
|
|
6012
|
+
* @public
|
|
6013
|
+
*/
|
|
6014
|
+
additionalParams?: __DocumentType | undefined;
|
|
6005
6015
|
}
|
|
6006
6016
|
/**
|
|
6007
6017
|
* <p>Configuration for a Google Gemini model provider. Requires an API key stored in AgentCore Identity.</p>
|
|
@@ -6039,6 +6049,47 @@ export interface HarnessGeminiModelConfig {
|
|
|
6039
6049
|
*/
|
|
6040
6050
|
topK?: number | undefined;
|
|
6041
6051
|
}
|
|
6052
|
+
/**
|
|
6053
|
+
* <p>Configuration for a LiteLLM model provider, enabling connection to third-party model providers.</p>
|
|
6054
|
+
* @public
|
|
6055
|
+
*/
|
|
6056
|
+
export interface HarnessLiteLlmModelConfig {
|
|
6057
|
+
/**
|
|
6058
|
+
* <p>The LiteLLM model identifier (e.g., "anthropic/claude-3-sonnet").</p>
|
|
6059
|
+
* @public
|
|
6060
|
+
*/
|
|
6061
|
+
modelId: string | undefined;
|
|
6062
|
+
/**
|
|
6063
|
+
* <p>The ARN of the API key in AgentCore Identity for authenticating with the model provider.</p>
|
|
6064
|
+
* @public
|
|
6065
|
+
*/
|
|
6066
|
+
apiKeyArn?: string | undefined;
|
|
6067
|
+
/**
|
|
6068
|
+
* <p>The base URL for the model provider's API endpoint.</p>
|
|
6069
|
+
* @public
|
|
6070
|
+
*/
|
|
6071
|
+
apiBase?: string | undefined;
|
|
6072
|
+
/**
|
|
6073
|
+
* <p>The maximum number of tokens to allow in the generated response per iteration.</p>
|
|
6074
|
+
* @public
|
|
6075
|
+
*/
|
|
6076
|
+
maxTokens?: number | undefined;
|
|
6077
|
+
/**
|
|
6078
|
+
* <p>The temperature to set when calling the model.</p>
|
|
6079
|
+
* @public
|
|
6080
|
+
*/
|
|
6081
|
+
temperature?: number | undefined;
|
|
6082
|
+
/**
|
|
6083
|
+
* <p>The topP set when calling the model.</p>
|
|
6084
|
+
* @public
|
|
6085
|
+
*/
|
|
6086
|
+
topP?: number | undefined;
|
|
6087
|
+
/**
|
|
6088
|
+
* <p>Provider-specific parameters passed through to the model provider unchanged.</p>
|
|
6089
|
+
* @public
|
|
6090
|
+
*/
|
|
6091
|
+
additionalParams?: __DocumentType | undefined;
|
|
6092
|
+
}
|
|
6042
6093
|
/**
|
|
6043
6094
|
* <p>Configuration for an OpenAI model provider. Requires an API key stored in AgentCore Identity.</p>
|
|
6044
6095
|
* @public
|
|
@@ -6069,12 +6120,22 @@ export interface HarnessOpenAiModelConfig {
|
|
|
6069
6120
|
* @public
|
|
6070
6121
|
*/
|
|
6071
6122
|
topP?: number | undefined;
|
|
6123
|
+
/**
|
|
6124
|
+
* <p>The API format to use when calling the OpenAI provider.</p>
|
|
6125
|
+
* @public
|
|
6126
|
+
*/
|
|
6127
|
+
apiFormat?: HarnessOpenAiApiFormat | undefined;
|
|
6128
|
+
/**
|
|
6129
|
+
* <p>Provider-specific parameters passed through to the model provider unchanged.</p>
|
|
6130
|
+
* @public
|
|
6131
|
+
*/
|
|
6132
|
+
additionalParams?: __DocumentType | undefined;
|
|
6072
6133
|
}
|
|
6073
6134
|
/**
|
|
6074
6135
|
* <p>Specification of which model to use.</p>
|
|
6075
6136
|
* @public
|
|
6076
6137
|
*/
|
|
6077
|
-
export type HarnessModelConfiguration = HarnessModelConfiguration.BedrockModelConfigMember | HarnessModelConfiguration.GeminiModelConfigMember | HarnessModelConfiguration.OpenAiModelConfigMember | HarnessModelConfiguration.$UnknownMember;
|
|
6138
|
+
export type HarnessModelConfiguration = HarnessModelConfiguration.BedrockModelConfigMember | HarnessModelConfiguration.GeminiModelConfigMember | HarnessModelConfiguration.LiteLlmModelConfigMember | HarnessModelConfiguration.OpenAiModelConfigMember | HarnessModelConfiguration.$UnknownMember;
|
|
6078
6139
|
/**
|
|
6079
6140
|
* @public
|
|
6080
6141
|
*/
|
|
@@ -6087,6 +6148,7 @@ export declare namespace HarnessModelConfiguration {
|
|
|
6087
6148
|
bedrockModelConfig: HarnessBedrockModelConfig;
|
|
6088
6149
|
openAiModelConfig?: never;
|
|
6089
6150
|
geminiModelConfig?: never;
|
|
6151
|
+
liteLlmModelConfig?: never;
|
|
6090
6152
|
$unknown?: never;
|
|
6091
6153
|
}
|
|
6092
6154
|
/**
|
|
@@ -6097,6 +6159,7 @@ export declare namespace HarnessModelConfiguration {
|
|
|
6097
6159
|
bedrockModelConfig?: never;
|
|
6098
6160
|
openAiModelConfig: HarnessOpenAiModelConfig;
|
|
6099
6161
|
geminiModelConfig?: never;
|
|
6162
|
+
liteLlmModelConfig?: never;
|
|
6100
6163
|
$unknown?: never;
|
|
6101
6164
|
}
|
|
6102
6165
|
/**
|
|
@@ -6107,6 +6170,18 @@ export declare namespace HarnessModelConfiguration {
|
|
|
6107
6170
|
bedrockModelConfig?: never;
|
|
6108
6171
|
openAiModelConfig?: never;
|
|
6109
6172
|
geminiModelConfig: HarnessGeminiModelConfig;
|
|
6173
|
+
liteLlmModelConfig?: never;
|
|
6174
|
+
$unknown?: never;
|
|
6175
|
+
}
|
|
6176
|
+
/**
|
|
6177
|
+
* <p>The LiteLLM model configuration for connecting to third-party model providers.</p>
|
|
6178
|
+
* @public
|
|
6179
|
+
*/
|
|
6180
|
+
interface LiteLlmModelConfigMember {
|
|
6181
|
+
bedrockModelConfig?: never;
|
|
6182
|
+
openAiModelConfig?: never;
|
|
6183
|
+
geminiModelConfig?: never;
|
|
6184
|
+
liteLlmModelConfig: HarnessLiteLlmModelConfig;
|
|
6110
6185
|
$unknown?: never;
|
|
6111
6186
|
}
|
|
6112
6187
|
/**
|
|
@@ -6116,6 +6191,7 @@ export declare namespace HarnessModelConfiguration {
|
|
|
6116
6191
|
bedrockModelConfig?: never;
|
|
6117
6192
|
openAiModelConfig?: never;
|
|
6118
6193
|
geminiModelConfig?: never;
|
|
6194
|
+
liteLlmModelConfig?: never;
|
|
6119
6195
|
$unknown: [string, any];
|
|
6120
6196
|
}
|
|
6121
6197
|
/**
|
|
@@ -6126,14 +6202,63 @@ export declare namespace HarnessModelConfiguration {
|
|
|
6126
6202
|
bedrockModelConfig: (value: HarnessBedrockModelConfig) => T;
|
|
6127
6203
|
openAiModelConfig: (value: HarnessOpenAiModelConfig) => T;
|
|
6128
6204
|
geminiModelConfig: (value: HarnessGeminiModelConfig) => T;
|
|
6205
|
+
liteLlmModelConfig: (value: HarnessLiteLlmModelConfig) => T;
|
|
6129
6206
|
_: (name: string, value: any) => T;
|
|
6130
6207
|
}
|
|
6131
6208
|
}
|
|
6209
|
+
/**
|
|
6210
|
+
* <p>Authentication configuration for accessing a private git repository.</p>
|
|
6211
|
+
* @public
|
|
6212
|
+
*/
|
|
6213
|
+
export interface HarnessSkillGitAuth {
|
|
6214
|
+
/**
|
|
6215
|
+
* <p>The ARN of the credential in AgentCore Identity containing the password or personal access token.</p>
|
|
6216
|
+
* @public
|
|
6217
|
+
*/
|
|
6218
|
+
credentialArn: string | undefined;
|
|
6219
|
+
/**
|
|
6220
|
+
* <p>Username for authentication. Defaults to 'oauth2' if not specified.</p>
|
|
6221
|
+
* @public
|
|
6222
|
+
*/
|
|
6223
|
+
username?: string | undefined;
|
|
6224
|
+
}
|
|
6225
|
+
/**
|
|
6226
|
+
* <p>A git repository source for a skill.</p>
|
|
6227
|
+
* @public
|
|
6228
|
+
*/
|
|
6229
|
+
export interface HarnessSkillGitSource {
|
|
6230
|
+
/**
|
|
6231
|
+
* <p>The HTTPS URL of the git repository.</p>
|
|
6232
|
+
* @public
|
|
6233
|
+
*/
|
|
6234
|
+
url: string | undefined;
|
|
6235
|
+
/**
|
|
6236
|
+
* <p>Subdirectory within the repository containing the skill.</p>
|
|
6237
|
+
* @public
|
|
6238
|
+
*/
|
|
6239
|
+
path?: string | undefined;
|
|
6240
|
+
/**
|
|
6241
|
+
* <p>Authentication configuration for private repositories.</p>
|
|
6242
|
+
* @public
|
|
6243
|
+
*/
|
|
6244
|
+
auth?: HarnessSkillGitAuth | undefined;
|
|
6245
|
+
}
|
|
6246
|
+
/**
|
|
6247
|
+
* <p>An S3 source for a skill.</p>
|
|
6248
|
+
* @public
|
|
6249
|
+
*/
|
|
6250
|
+
export interface HarnessSkillS3Source {
|
|
6251
|
+
/**
|
|
6252
|
+
* <p>The S3 URI pointing to the skill directory (e.g., s3://bucket/skills/my-skill/).</p>
|
|
6253
|
+
* @public
|
|
6254
|
+
*/
|
|
6255
|
+
uri: string | undefined;
|
|
6256
|
+
}
|
|
6132
6257
|
/**
|
|
6133
6258
|
* <p>A skill available to the agent.</p>
|
|
6134
6259
|
* @public
|
|
6135
6260
|
*/
|
|
6136
|
-
export type HarnessSkill = HarnessSkill.PathMember | HarnessSkill.$UnknownMember;
|
|
6261
|
+
export type HarnessSkill = HarnessSkill.GitMember | HarnessSkill.PathMember | HarnessSkill.S3Member | HarnessSkill.$UnknownMember;
|
|
6137
6262
|
/**
|
|
6138
6263
|
* @public
|
|
6139
6264
|
*/
|
|
@@ -6144,6 +6269,28 @@ export declare namespace HarnessSkill {
|
|
|
6144
6269
|
*/
|
|
6145
6270
|
interface PathMember {
|
|
6146
6271
|
path: string;
|
|
6272
|
+
s3?: never;
|
|
6273
|
+
git?: never;
|
|
6274
|
+
$unknown?: never;
|
|
6275
|
+
}
|
|
6276
|
+
/**
|
|
6277
|
+
* <p>An S3 source containing the skill.</p>
|
|
6278
|
+
* @public
|
|
6279
|
+
*/
|
|
6280
|
+
interface S3Member {
|
|
6281
|
+
path?: never;
|
|
6282
|
+
s3: HarnessSkillS3Source;
|
|
6283
|
+
git?: never;
|
|
6284
|
+
$unknown?: never;
|
|
6285
|
+
}
|
|
6286
|
+
/**
|
|
6287
|
+
* <p>A git repository containing the skill.</p>
|
|
6288
|
+
* @public
|
|
6289
|
+
*/
|
|
6290
|
+
interface GitMember {
|
|
6291
|
+
path?: never;
|
|
6292
|
+
s3?: never;
|
|
6293
|
+
git: HarnessSkillGitSource;
|
|
6147
6294
|
$unknown?: never;
|
|
6148
6295
|
}
|
|
6149
6296
|
/**
|
|
@@ -6151,6 +6298,8 @@ export declare namespace HarnessSkill {
|
|
|
6151
6298
|
*/
|
|
6152
6299
|
interface $UnknownMember {
|
|
6153
6300
|
path?: never;
|
|
6301
|
+
s3?: never;
|
|
6302
|
+
git?: never;
|
|
6154
6303
|
$unknown: [string, any];
|
|
6155
6304
|
}
|
|
6156
6305
|
/**
|
|
@@ -6159,6 +6308,8 @@ export declare namespace HarnessSkill {
|
|
|
6159
6308
|
*/
|
|
6160
6309
|
interface Visitor<T> {
|
|
6161
6310
|
path: (value: string) => T;
|
|
6311
|
+
s3: (value: HarnessSkillS3Source) => T;
|
|
6312
|
+
git: (value: HarnessSkillGitSource) => T;
|
|
6162
6313
|
_: (name: string, value: any) => T;
|
|
6163
6314
|
}
|
|
6164
6315
|
}
|
|
@@ -6488,6 +6639,11 @@ export interface InvokeHarnessRequest {
|
|
|
6488
6639
|
* @public
|
|
6489
6640
|
*/
|
|
6490
6641
|
runtimeSessionId: string | undefined;
|
|
6642
|
+
/**
|
|
6643
|
+
* <p>An identifier for the end user making the request. This value is passed through to the runtime container.</p>
|
|
6644
|
+
* @public
|
|
6645
|
+
*/
|
|
6646
|
+
runtimeUserId?: string | undefined;
|
|
6491
6647
|
/**
|
|
6492
6648
|
* <p>The messages to send to the agent.</p>
|
|
6493
6649
|
* @public
|
|
@@ -7077,7 +7233,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
7077
7233
|
$unknown?: never;
|
|
7078
7234
|
}
|
|
7079
7235
|
/**
|
|
7080
|
-
* <p>
|
|
7236
|
+
* <p>An error returned by the runtime container during agent execution.</p>
|
|
7081
7237
|
* @public
|
|
7082
7238
|
*/
|
|
7083
7239
|
interface RuntimeClientErrorMember {
|
|
@@ -8399,80 +8555,3 @@ export interface ListMemoryRecordsOutput {
|
|
|
8399
8555
|
*/
|
|
8400
8556
|
nextToken?: string | undefined;
|
|
8401
8557
|
}
|
|
8402
|
-
/**
|
|
8403
|
-
* <p>Contains filter criteria for listing sessions.</p>
|
|
8404
|
-
* @public
|
|
8405
|
-
*/
|
|
8406
|
-
export interface SessionFilter {
|
|
8407
|
-
/**
|
|
8408
|
-
* <p>The event filter condition to apply. Use this to filter sessions based on event presence.</p>
|
|
8409
|
-
* @public
|
|
8410
|
-
*/
|
|
8411
|
-
eventFilter?: EventFilterCondition | undefined;
|
|
8412
|
-
}
|
|
8413
|
-
/**
|
|
8414
|
-
* @public
|
|
8415
|
-
*/
|
|
8416
|
-
export interface ListSessionsInput {
|
|
8417
|
-
/**
|
|
8418
|
-
* <p>The identifier of the AgentCore Memory resource for which to list sessions.</p>
|
|
8419
|
-
* @public
|
|
8420
|
-
*/
|
|
8421
|
-
memoryId: string | undefined;
|
|
8422
|
-
/**
|
|
8423
|
-
* <p>The identifier of the actor for which to list sessions. </p>
|
|
8424
|
-
* @public
|
|
8425
|
-
*/
|
|
8426
|
-
actorId: string | undefined;
|
|
8427
|
-
/**
|
|
8428
|
-
* <p>The maximum number of results to return in a single call. The default value is 20.</p>
|
|
8429
|
-
* @public
|
|
8430
|
-
*/
|
|
8431
|
-
maxResults?: number | undefined;
|
|
8432
|
-
/**
|
|
8433
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
|
|
8434
|
-
* @public
|
|
8435
|
-
*/
|
|
8436
|
-
nextToken?: string | undefined;
|
|
8437
|
-
/**
|
|
8438
|
-
* <p>Filter criteria to apply when listing sessions.</p>
|
|
8439
|
-
* @public
|
|
8440
|
-
*/
|
|
8441
|
-
filter?: SessionFilter | undefined;
|
|
8442
|
-
}
|
|
8443
|
-
/**
|
|
8444
|
-
* <p>Contains summary information about a session in an AgentCore Memory resource.</p>
|
|
8445
|
-
* @public
|
|
8446
|
-
*/
|
|
8447
|
-
export interface SessionSummary {
|
|
8448
|
-
/**
|
|
8449
|
-
* <p>The unique identifier of the session.</p>
|
|
8450
|
-
* @public
|
|
8451
|
-
*/
|
|
8452
|
-
sessionId: string | undefined;
|
|
8453
|
-
/**
|
|
8454
|
-
* <p>The identifier of the actor associated with the session.</p>
|
|
8455
|
-
* @public
|
|
8456
|
-
*/
|
|
8457
|
-
actorId: string | undefined;
|
|
8458
|
-
/**
|
|
8459
|
-
* <p>The timestamp when the session was created.</p>
|
|
8460
|
-
* @public
|
|
8461
|
-
*/
|
|
8462
|
-
createdAt: Date | undefined;
|
|
8463
|
-
}
|
|
8464
|
-
/**
|
|
8465
|
-
* @public
|
|
8466
|
-
*/
|
|
8467
|
-
export interface ListSessionsOutput {
|
|
8468
|
-
/**
|
|
8469
|
-
* <p>The list of session summaries that match the specified criteria.</p>
|
|
8470
|
-
* @public
|
|
8471
|
-
*/
|
|
8472
|
-
sessionSummaries: SessionSummary[] | undefined;
|
|
8473
|
-
/**
|
|
8474
|
-
* <p>The token to use in a subsequent request to get the next set of results. This value is null when there are no more results to return.</p>
|
|
8475
|
-
* @public
|
|
8476
|
-
*/
|
|
8477
|
-
nextToken?: string | undefined;
|
|
8478
|
-
}
|
|
@@ -1,6 +1,83 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { BlockchainChainId, CryptoWalletNetwork, Currency, DescriptorType, InstrumentBalanceToken, PaymentInstrumentStatus, PaymentInstrumentType, PaymentSessionStatus, PaymentStatus, PaymentType, RegistryRecordStatus } from "./enums";
|
|
2
|
+
import type { BlockchainChainId, CryptoWalletNetwork, Currency, DescriptorType, EventFilterCondition, InstrumentBalanceToken, PaymentInstrumentStatus, PaymentInstrumentType, PaymentSessionStatus, PaymentStatus, PaymentType, RegistryRecordStatus } from "./enums";
|
|
3
3
|
import type { A2aDescriptor, AgentSkillsDescriptor, MemoryMetadataFilterExpression, MemoryRecordSummary } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Contains filter criteria for listing sessions.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface SessionFilter {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The event filter condition to apply. Use this to filter sessions based on event presence.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
eventFilter?: EventFilterCondition | undefined;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
export interface ListSessionsInput {
|
|
19
|
+
/**
|
|
20
|
+
* <p>The identifier of the AgentCore Memory resource for which to list sessions.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
memoryId: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The identifier of the actor for which to list sessions. </p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
actorId: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The maximum number of results to return in a single call. The default value is 20.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
maxResults?: number | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
nextToken?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* <p>Filter criteria to apply when listing sessions.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
filter?: SessionFilter | undefined;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* <p>Contains summary information about a session in an AgentCore Memory resource.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export interface SessionSummary {
|
|
50
|
+
/**
|
|
51
|
+
* <p>The unique identifier of the session.</p>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
sessionId: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* <p>The identifier of the actor associated with the session.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
actorId: string | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* <p>The timestamp when the session was created.</p>
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
createdAt: Date | undefined;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export interface ListSessionsOutput {
|
|
70
|
+
/**
|
|
71
|
+
* <p>The list of session summaries that match the specified criteria.</p>
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
sessionSummaries: SessionSummary[] | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* <p>The token to use in a subsequent request to get the next set of results. This value is null when there are no more results to return.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
nextToken?: string | undefined;
|
|
80
|
+
}
|
|
4
81
|
/**
|
|
5
82
|
* <p>Contains search criteria for retrieving memory records.</p>
|
|
6
83
|
* @public
|
|
@@ -157,6 +157,7 @@ export declare var HarnessContentBlockStartEvent$: StaticStructureSchema;
|
|
|
157
157
|
export declare var HarnessContentBlockStopEvent$: StaticStructureSchema;
|
|
158
158
|
export declare var HarnessGeminiModelConfig$: StaticStructureSchema;
|
|
159
159
|
export declare var HarnessInlineFunctionConfig$: StaticStructureSchema;
|
|
160
|
+
export declare var HarnessLiteLlmModelConfig$: StaticStructureSchema;
|
|
160
161
|
export declare var HarnessMessage$: StaticStructureSchema;
|
|
161
162
|
export declare var HarnessMessageStartEvent$: StaticStructureSchema;
|
|
162
163
|
export declare var HarnessMessageStopEvent$: StaticStructureSchema;
|
|
@@ -164,6 +165,9 @@ export declare var HarnessMetadataEvent$: StaticStructureSchema;
|
|
|
164
165
|
export declare var HarnessOpenAiModelConfig$: StaticStructureSchema;
|
|
165
166
|
export declare var HarnessReasoningTextBlock$: StaticStructureSchema;
|
|
166
167
|
export declare var HarnessRemoteMcpConfig$: StaticStructureSchema;
|
|
168
|
+
export declare var HarnessSkillGitAuth$: StaticStructureSchema;
|
|
169
|
+
export declare var HarnessSkillGitSource$: StaticStructureSchema;
|
|
170
|
+
export declare var HarnessSkillS3Source$: StaticStructureSchema;
|
|
167
171
|
export declare var HarnessStreamMetrics$: StaticStructureSchema;
|
|
168
172
|
export declare var HarnessTokenUsage$: StaticStructureSchema;
|
|
169
173
|
export declare var HarnessTool$: StaticStructureSchema;
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentCoreClient";
|
|
8
|
-
import { ListSessionsInput, ListSessionsOutput } from "../models/
|
|
8
|
+
import { ListSessionsInput, ListSessionsOutput } from "../models/models_1";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface ListSessionsCommandInput extends ListSessionsInput {}
|
|
@@ -200,6 +200,19 @@ export declare const HarnessConversationRole: {
|
|
|
200
200
|
};
|
|
201
201
|
export type HarnessConversationRole =
|
|
202
202
|
(typeof HarnessConversationRole)[keyof typeof HarnessConversationRole];
|
|
203
|
+
export declare const HarnessBedrockApiFormat: {
|
|
204
|
+
readonly CHAT_COMPLETIONS: "chat_completions";
|
|
205
|
+
readonly CONVERSE_STREAM: "converse_stream";
|
|
206
|
+
readonly RESPONSES: "responses";
|
|
207
|
+
};
|
|
208
|
+
export type HarnessBedrockApiFormat =
|
|
209
|
+
(typeof HarnessBedrockApiFormat)[keyof typeof HarnessBedrockApiFormat];
|
|
210
|
+
export declare const HarnessOpenAiApiFormat: {
|
|
211
|
+
readonly CHAT_COMPLETIONS: "chat_completions";
|
|
212
|
+
readonly RESPONSES: "responses";
|
|
213
|
+
};
|
|
214
|
+
export type HarnessOpenAiApiFormat =
|
|
215
|
+
(typeof HarnessOpenAiApiFormat)[keyof typeof HarnessOpenAiApiFormat];
|
|
203
216
|
export declare const OAuthGrantType: {
|
|
204
217
|
readonly AUTHORIZATION_CODE: "AUTHORIZATION_CODE";
|
|
205
218
|
readonly CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
|