@aws-sdk/client-bedrock-agentcore 3.1043.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.
Files changed (71) hide show
  1. package/README.md +77 -0
  2. package/dist-cjs/index.js +217 -0
  3. package/dist-cjs/schemas/schemas_0.js +458 -33
  4. package/dist-es/BedrockAgentCore.js +26 -0
  5. package/dist-es/commands/CreatePaymentInstrumentCommand.js +16 -0
  6. package/dist-es/commands/CreatePaymentSessionCommand.js +16 -0
  7. package/dist-es/commands/DeletePaymentInstrumentCommand.js +16 -0
  8. package/dist-es/commands/DeletePaymentSessionCommand.js +16 -0
  9. package/dist-es/commands/GetPaymentInstrumentBalanceCommand.js +16 -0
  10. package/dist-es/commands/GetPaymentInstrumentCommand.js +16 -0
  11. package/dist-es/commands/GetPaymentSessionCommand.js +16 -0
  12. package/dist-es/commands/GetResourcePaymentTokenCommand.js +16 -0
  13. package/dist-es/commands/ListPaymentInstrumentsCommand.js +16 -0
  14. package/dist-es/commands/ListPaymentSessionsCommand.js +16 -0
  15. package/dist-es/commands/ProcessPaymentCommand.js +16 -0
  16. package/dist-es/commands/index.js +11 -0
  17. package/dist-es/models/enums.js +45 -0
  18. package/dist-es/pagination/ListPaymentInstrumentsPaginator.js +4 -0
  19. package/dist-es/pagination/ListPaymentSessionsPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +2 -0
  21. package/dist-es/schemas/schemas_0.js +449 -25
  22. package/dist-types/BedrockAgentCore.d.ts +91 -0
  23. package/dist-types/BedrockAgentCoreClient.d.ts +13 -2
  24. package/dist-types/commands/CreatePaymentInstrumentCommand.d.ts +212 -0
  25. package/dist-types/commands/CreatePaymentSessionCommand.d.ts +122 -0
  26. package/dist-types/commands/DeletePaymentInstrumentCommand.d.ts +110 -0
  27. package/dist-types/commands/DeletePaymentSessionCommand.d.ts +105 -0
  28. package/dist-types/commands/GetPaymentInstrumentBalanceCommand.d.ts +102 -0
  29. package/dist-types/commands/GetPaymentInstrumentCommand.d.ts +155 -0
  30. package/dist-types/commands/GetPaymentSessionCommand.d.ts +112 -0
  31. package/dist-types/commands/GetResourcePaymentTokenCommand.d.ts +119 -0
  32. package/dist-types/commands/InvokeHarnessCommand.d.ts +1 -1
  33. package/dist-types/commands/ListPaymentInstrumentsCommand.d.ts +103 -0
  34. package/dist-types/commands/ListPaymentSessionsCommand.d.ts +100 -0
  35. package/dist-types/commands/ProcessPaymentCommand.d.ts +117 -0
  36. package/dist-types/commands/RetrieveMemoryRecordsCommand.d.ts +1 -1
  37. package/dist-types/commands/SearchRegistryRecordsCommand.d.ts +1 -2
  38. package/dist-types/commands/StartMemoryExtractionJobCommand.d.ts +1 -1
  39. package/dist-types/commands/index.d.ts +11 -0
  40. package/dist-types/models/enums.d.ts +140 -0
  41. package/dist-types/models/models_0.d.ts +222 -154
  42. package/dist-types/models/models_1.d.ts +1321 -2
  43. package/dist-types/pagination/ListPaymentInstrumentsPaginator.d.ts +7 -0
  44. package/dist-types/pagination/ListPaymentSessionsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/index.d.ts +2 -0
  46. package/dist-types/schemas/schemas_0.d.ts +59 -0
  47. package/dist-types/ts3.4/BedrockAgentCore.d.ts +201 -0
  48. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +66 -0
  49. package/dist-types/ts3.4/commands/CreatePaymentInstrumentCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/CreatePaymentSessionCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/DeletePaymentInstrumentCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/DeletePaymentSessionCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/GetPaymentInstrumentBalanceCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/GetPaymentInstrumentCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/GetPaymentSessionCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/GetResourcePaymentTokenCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/ListPaymentInstrumentsCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/ListPaymentSessionsCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/ProcessPaymentCommand.d.ts +50 -0
  60. package/dist-types/ts3.4/commands/RetrieveMemoryRecordsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/SearchRegistryRecordsCommand.d.ts +4 -2
  62. package/dist-types/ts3.4/commands/StartMemoryExtractionJobCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  64. package/dist-types/ts3.4/models/enums.d.ts +62 -0
  65. package/dist-types/ts3.4/models/models_0.d.ts +84 -38
  66. package/dist-types/ts3.4/models/models_1.d.ts +423 -2
  67. package/dist-types/ts3.4/pagination/ListPaymentInstrumentsPaginator.d.ts +11 -0
  68. package/dist-types/ts3.4/pagination/ListPaymentSessionsPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  70. package/dist-types/ts3.4/schemas/schemas_0.d.ts +59 -0
  71. package/package.json +1 -1
@@ -229,6 +229,21 @@ export declare const SessionStatus: {
229
229
  * @public
230
230
  */
231
231
  export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
232
+ /**
233
+ * @public
234
+ * @enum
235
+ */
236
+ export declare const PaymentHttpMethodType: {
237
+ readonly DELETE: "DELETE";
238
+ readonly GET: "GET";
239
+ readonly PATCH: "PATCH";
240
+ readonly POST: "POST";
241
+ readonly PUT: "PUT";
242
+ };
243
+ /**
244
+ * @public
245
+ */
246
+ export type PaymentHttpMethodType = (typeof PaymentHttpMethodType)[keyof typeof PaymentHttpMethodType];
232
247
  /**
233
248
  * @public
234
249
  * @enum
@@ -359,6 +374,7 @@ export type HarnessConversationRole = (typeof HarnessConversationRole)[keyof typ
359
374
  export declare const OAuthGrantType: {
360
375
  readonly AUTHORIZATION_CODE: "AUTHORIZATION_CODE";
361
376
  readonly CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
377
+ readonly TOKEN_EXCHANGE: "TOKEN_EXCHANGE";
362
378
  };
363
379
  /**
364
380
  * @public
@@ -484,6 +500,130 @@ export declare const EventFilterCondition: {
484
500
  * @public
485
501
  */
486
502
  export type EventFilterCondition = (typeof EventFilterCondition)[keyof typeof EventFilterCondition];
503
+ /**
504
+ * @public
505
+ * @enum
506
+ */
507
+ export declare const CryptoWalletNetwork: {
508
+ readonly ETHEREUM: "ETHEREUM";
509
+ readonly SOLANA: "SOLANA";
510
+ };
511
+ /**
512
+ * @public
513
+ */
514
+ export type CryptoWalletNetwork = (typeof CryptoWalletNetwork)[keyof typeof CryptoWalletNetwork];
515
+ /**
516
+ * @public
517
+ * @enum
518
+ */
519
+ export declare const PaymentInstrumentType: {
520
+ readonly EMBEDDED_CRYPTO_WALLET: "EMBEDDED_CRYPTO_WALLET";
521
+ };
522
+ /**
523
+ * @public
524
+ */
525
+ export type PaymentInstrumentType = (typeof PaymentInstrumentType)[keyof typeof PaymentInstrumentType];
526
+ /**
527
+ * @public
528
+ * @enum
529
+ */
530
+ export declare const PaymentInstrumentStatus: {
531
+ readonly ACTIVE: "ACTIVE";
532
+ readonly DELETED: "DELETED";
533
+ readonly FAILED: "FAILED";
534
+ readonly INITIATED: "INITIATED";
535
+ };
536
+ /**
537
+ * @public
538
+ */
539
+ export type PaymentInstrumentStatus = (typeof PaymentInstrumentStatus)[keyof typeof PaymentInstrumentStatus];
540
+ /**
541
+ * @public
542
+ * @enum
543
+ */
544
+ export declare const BlockchainChainId: {
545
+ /**
546
+ * Base Mainnet (EVM L2)
547
+ */
548
+ readonly BASE: "BASE";
549
+ /**
550
+ * Base Sepolia testnet (EVM L2)
551
+ */
552
+ readonly BASE_SEPOLIA: "BASE_SEPOLIA";
553
+ /**
554
+ * Ethereum Mainnet (EVM L1)
555
+ */
556
+ readonly ETHEREUM: "ETHEREUM";
557
+ /**
558
+ * Solana Mainnet
559
+ */
560
+ readonly SOLANA: "SOLANA";
561
+ /**
562
+ * Solana Devnet testnet
563
+ */
564
+ readonly SOLANA_DEVNET: "SOLANA_DEVNET";
565
+ };
566
+ /**
567
+ * @public
568
+ */
569
+ export type BlockchainChainId = (typeof BlockchainChainId)[keyof typeof BlockchainChainId];
570
+ /**
571
+ * @public
572
+ * @enum
573
+ */
574
+ export declare const InstrumentBalanceToken: {
575
+ readonly USDC: "USDC";
576
+ };
577
+ /**
578
+ * @public
579
+ */
580
+ export type InstrumentBalanceToken = (typeof InstrumentBalanceToken)[keyof typeof InstrumentBalanceToken];
581
+ /**
582
+ * @public
583
+ * @enum
584
+ */
585
+ export declare const Currency: {
586
+ readonly USD: "USD";
587
+ };
588
+ /**
589
+ * @public
590
+ */
591
+ export type Currency = (typeof Currency)[keyof typeof Currency];
592
+ /**
593
+ * @public
594
+ * @enum
595
+ */
596
+ export declare const PaymentSessionStatus: {
597
+ readonly ACTIVE: "ACTIVE";
598
+ readonly DELETED: "DELETED";
599
+ readonly EXPIRED: "EXPIRED";
600
+ };
601
+ /**
602
+ * @public
603
+ */
604
+ export type PaymentSessionStatus = (typeof PaymentSessionStatus)[keyof typeof PaymentSessionStatus];
605
+ /**
606
+ * @public
607
+ * @enum
608
+ */
609
+ export declare const PaymentType: {
610
+ readonly CRYPTO_X402: "CRYPTO_X402";
611
+ };
612
+ /**
613
+ * @public
614
+ */
615
+ export type PaymentType = (typeof PaymentType)[keyof typeof PaymentType];
616
+ /**
617
+ * @public
618
+ * @enum
619
+ */
620
+ export declare const PaymentStatus: {
621
+ readonly PROOF_GENERATED: "PROOF_GENERATED";
622
+ };
623
+ /**
624
+ * @public
625
+ */
626
+ export type PaymentStatus = (typeof PaymentStatus)[keyof typeof PaymentStatus];
487
627
  /**
488
628
  * @public
489
629
  * @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, EventFilterCondition, ExtractionJobStatus, HarnessConversationRole, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, LanguageRuntime, MemoryRecordOperatorType, MemoryRecordStatus, MouseButton, Oauth2FlowType, OAuthGrantType, OperatorType, ProgrammingLanguage, RecommendationStatus, RecommendationType, ResourceContentType, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
2
+ import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, EventFilterCondition, ExtractionJobStatus, HarnessConversationRole, 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>
@@ -5009,6 +5009,227 @@ export interface GetResourceOauth2TokenResponse {
5009
5009
  */
5010
5010
  sessionStatus?: SessionStatus | undefined;
5011
5011
  }
5012
+ /**
5013
+ * Coinbase CDP token request parameters
5014
+ * @public
5015
+ */
5016
+ export interface CoinbaseCdpTokenRequestInput {
5017
+ /**
5018
+ * The HTTP method for the payment API request.
5019
+ * @public
5020
+ */
5021
+ requestMethod: PaymentHttpMethodType | undefined;
5022
+ /**
5023
+ * Optional - defaults to "api.cdp.coinbase.com"
5024
+ * @public
5025
+ */
5026
+ requestHost?: string | undefined;
5027
+ /**
5028
+ * The path of the payment API request.
5029
+ * @public
5030
+ */
5031
+ requestPath: string | undefined;
5032
+ /**
5033
+ * Set to true for wallet write operations (requires walletSecret configured)
5034
+ * @public
5035
+ */
5036
+ includeWalletAuthToken?: boolean | undefined;
5037
+ /**
5038
+ * Request body JSON - used to generate wallet auth JWT
5039
+ * @public
5040
+ */
5041
+ requestBody?: string | undefined;
5042
+ }
5043
+ /**
5044
+ * StripePrivy token request parameters
5045
+ * @public
5046
+ */
5047
+ export interface StripePrivyTokenRequestInput {
5048
+ /**
5049
+ * Optional - defaults to "api.privy.io"
5050
+ * @public
5051
+ */
5052
+ requestHost?: string | undefined;
5053
+ /**
5054
+ * The path of the Stripe Privy API request.
5055
+ * @public
5056
+ */
5057
+ requestPath: string | undefined;
5058
+ /**
5059
+ * Request body JSON for the Privy API call
5060
+ * @public
5061
+ */
5062
+ requestBody: string | undefined;
5063
+ /**
5064
+ * Set to true to generate privy-authorization-signature
5065
+ * @public
5066
+ */
5067
+ includeAuthorizationSignature?: boolean | undefined;
5068
+ }
5069
+ /**
5070
+ * VENDOR-SPECIFIC TOKEN REQUEST CONFIGURATION - Input
5071
+ * @public
5072
+ */
5073
+ export type PaymentTokenRequestInput = PaymentTokenRequestInput.CoinbaseCdpTokenRequestMember | PaymentTokenRequestInput.StripePrivyTokenRequestMember | PaymentTokenRequestInput.$UnknownMember;
5074
+ /**
5075
+ * @public
5076
+ */
5077
+ export declare namespace PaymentTokenRequestInput {
5078
+ /**
5079
+ * Coinbase CDP token request parameters
5080
+ * @public
5081
+ */
5082
+ interface CoinbaseCdpTokenRequestMember {
5083
+ coinbaseCdpTokenRequest: CoinbaseCdpTokenRequestInput;
5084
+ stripePrivyTokenRequest?: never;
5085
+ $unknown?: never;
5086
+ }
5087
+ /**
5088
+ * StripePrivy token request parameters
5089
+ * @public
5090
+ */
5091
+ interface StripePrivyTokenRequestMember {
5092
+ coinbaseCdpTokenRequest?: never;
5093
+ stripePrivyTokenRequest: StripePrivyTokenRequestInput;
5094
+ $unknown?: never;
5095
+ }
5096
+ /**
5097
+ * @public
5098
+ */
5099
+ interface $UnknownMember {
5100
+ coinbaseCdpTokenRequest?: never;
5101
+ stripePrivyTokenRequest?: never;
5102
+ $unknown: [string, any];
5103
+ }
5104
+ /**
5105
+ * @deprecated unused in schema-serde mode.
5106
+ *
5107
+ */
5108
+ interface Visitor<T> {
5109
+ coinbaseCdpTokenRequest: (value: CoinbaseCdpTokenRequestInput) => T;
5110
+ stripePrivyTokenRequest: (value: StripePrivyTokenRequestInput) => T;
5111
+ _: (name: string, value: any) => T;
5112
+ }
5113
+ }
5114
+ /**
5115
+ * @public
5116
+ */
5117
+ export interface GetResourcePaymentTokenRequest {
5118
+ /**
5119
+ * Workload access token for authorization. Named workloadIdentityToken for consistency with APIKey and OAuth2CredentialProvider.
5120
+ * @public
5121
+ */
5122
+ workloadIdentityToken: string | undefined;
5123
+ /**
5124
+ * Name of the payment credential provider to use
5125
+ * @public
5126
+ */
5127
+ resourceCredentialProviderName: string | undefined;
5128
+ /**
5129
+ * Vendor-specific token request input
5130
+ * Contains all request parameters in a type-safe, vendor-specific structure
5131
+ * @public
5132
+ */
5133
+ paymentTokenRequest: PaymentTokenRequestInput | undefined;
5134
+ }
5135
+ /**
5136
+ * Coinbase CDP token response
5137
+ * @public
5138
+ */
5139
+ export interface CoinbaseCdpTokenResponseOutput {
5140
+ /**
5141
+ * Bearer Token for Authorization header
5142
+ * @public
5143
+ */
5144
+ bearerToken: string | undefined;
5145
+ /**
5146
+ * Wallet Auth Token for X-Wallet-Auth header
5147
+ * @public
5148
+ */
5149
+ walletAuthToken?: string | undefined;
5150
+ }
5151
+ /**
5152
+ * StripePrivy token response containing appId, basicAuthToken, and optionally authorizationSignature
5153
+ * @public
5154
+ */
5155
+ export interface StripePrivyTokenResponseOutput {
5156
+ /**
5157
+ * Base64-encoded ECDSA P-256 authorization signature (only present when includeAuthorizationSignature is true)
5158
+ * @public
5159
+ */
5160
+ authorizationSignature?: string | undefined;
5161
+ /**
5162
+ * Unix timestamp in milliseconds when the authorization signature expires. Set as privy-request-expiry header.
5163
+ * @public
5164
+ */
5165
+ requestExpiry?: number | undefined;
5166
+ /**
5167
+ * The Privy app ID for the privy-app-id header
5168
+ * @public
5169
+ */
5170
+ appId: string | undefined;
5171
+ /**
5172
+ * Base64-encoded Basic Auth token (appId:appSecret) for the Authorization header
5173
+ * @public
5174
+ */
5175
+ basicAuthToken: string | undefined;
5176
+ }
5177
+ /**
5178
+ * VENDOR-SPECIFIC TOKEN RESPONSE CONFIGURATION - Output
5179
+ * @public
5180
+ */
5181
+ export type PaymentTokenResponseOutput = PaymentTokenResponseOutput.CoinbaseCdpTokenResponseMember | PaymentTokenResponseOutput.StripePrivyTokenResponseMember | PaymentTokenResponseOutput.$UnknownMember;
5182
+ /**
5183
+ * @public
5184
+ */
5185
+ export declare namespace PaymentTokenResponseOutput {
5186
+ /**
5187
+ * Coinbase CDP token response
5188
+ * @public
5189
+ */
5190
+ interface CoinbaseCdpTokenResponseMember {
5191
+ coinbaseCdpTokenResponse: CoinbaseCdpTokenResponseOutput;
5192
+ stripePrivyTokenResponse?: never;
5193
+ $unknown?: never;
5194
+ }
5195
+ /**
5196
+ * StripePrivy token response containing appId, basicAuthToken, and optionally authorizationSignature
5197
+ * @public
5198
+ */
5199
+ interface StripePrivyTokenResponseMember {
5200
+ coinbaseCdpTokenResponse?: never;
5201
+ stripePrivyTokenResponse: StripePrivyTokenResponseOutput;
5202
+ $unknown?: never;
5203
+ }
5204
+ /**
5205
+ * @public
5206
+ */
5207
+ interface $UnknownMember {
5208
+ coinbaseCdpTokenResponse?: never;
5209
+ stripePrivyTokenResponse?: never;
5210
+ $unknown: [string, any];
5211
+ }
5212
+ /**
5213
+ * @deprecated unused in schema-serde mode.
5214
+ *
5215
+ */
5216
+ interface Visitor<T> {
5217
+ coinbaseCdpTokenResponse: (value: CoinbaseCdpTokenResponseOutput) => T;
5218
+ stripePrivyTokenResponse: (value: StripePrivyTokenResponseOutput) => T;
5219
+ _: (name: string, value: any) => T;
5220
+ }
5221
+ }
5222
+ /**
5223
+ * @public
5224
+ */
5225
+ export interface GetResourcePaymentTokenResponse {
5226
+ /**
5227
+ * Vendor-specific token response output
5228
+ * Contains all response data in a type-safe, vendor-specific structure
5229
+ * @public
5230
+ */
5231
+ paymentTokenResponse: PaymentTokenResponseOutput | undefined;
5232
+ }
5012
5233
  /**
5013
5234
  * @public
5014
5235
  */
@@ -8257,156 +8478,3 @@ export interface ListSessionsOutput {
8257
8478
  */
8258
8479
  nextToken?: string | undefined;
8259
8480
  }
8260
- /**
8261
- * <p>Contains search criteria for retrieving memory records.</p>
8262
- * @public
8263
- */
8264
- export interface SearchCriteria {
8265
- /**
8266
- * <p>The search query to use for finding relevant memory records.</p>
8267
- * @public
8268
- */
8269
- searchQuery: string | undefined;
8270
- /**
8271
- * <p>The memory strategy identifier to filter memory records by.</p>
8272
- * @public
8273
- */
8274
- memoryStrategyId?: string | undefined;
8275
- /**
8276
- * <p>The maximum number of top-scoring memory records to return. This value is used for semantic search ranking.</p>
8277
- * @public
8278
- */
8279
- topK?: number | undefined;
8280
- /**
8281
- * <p>Filters to apply to metadata associated with a memory.</p>
8282
- * @public
8283
- */
8284
- metadataFilters?: MemoryMetadataFilterExpression[] | undefined;
8285
- }
8286
- /**
8287
- * @public
8288
- */
8289
- export interface RetrieveMemoryRecordsInput {
8290
- /**
8291
- * <p>The identifier of the AgentCore Memory resource from which to retrieve memory records.</p>
8292
- * @public
8293
- */
8294
- memoryId: string | undefined;
8295
- /**
8296
- * <p>The namespace prefix to filter memory records by. Searches for memory records in namespaces that start with the provided prefix.</p>
8297
- * @public
8298
- */
8299
- namespace?: string | undefined;
8300
- /**
8301
- * <p>Use namespacePath for hierarchical retrievals. Return all memory records where namespace falls under the same parent hierarchy.</p>
8302
- * @public
8303
- */
8304
- namespacePath?: string | undefined;
8305
- /**
8306
- * <p>The search criteria to use for finding relevant memory records. This includes the search query, memory strategy ID, and other search parameters.</p>
8307
- * @public
8308
- */
8309
- searchCriteria: SearchCriteria | undefined;
8310
- /**
8311
- * <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>
8312
- * @public
8313
- */
8314
- nextToken?: string | undefined;
8315
- /**
8316
- * <p>The maximum number of results to return in a single call. The default value is 20.</p>
8317
- * @public
8318
- */
8319
- maxResults?: number | undefined;
8320
- }
8321
- /**
8322
- * @public
8323
- */
8324
- export interface RetrieveMemoryRecordsOutput {
8325
- /**
8326
- * <p>The list of memory record summaries that match the search criteria, ordered by relevance.</p>
8327
- * @public
8328
- */
8329
- memoryRecordSummaries: MemoryRecordSummary[] | undefined;
8330
- /**
8331
- * <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>
8332
- * @public
8333
- */
8334
- nextToken?: string | undefined;
8335
- }
8336
- /**
8337
- * <p>Represents the metadata of a memory extraction job such as the message identifiers that compose this job.</p>
8338
- * @public
8339
- */
8340
- export interface ExtractionJob {
8341
- /**
8342
- * <p>The unique identifier of the extraction job.</p>
8343
- * @public
8344
- */
8345
- jobId: string | undefined;
8346
- }
8347
- /**
8348
- * @public
8349
- */
8350
- export interface StartMemoryExtractionJobInput {
8351
- /**
8352
- * <p>The unique identifier of the memory for which to start extraction jobs.</p>
8353
- * @public
8354
- */
8355
- memoryId: string | undefined;
8356
- /**
8357
- * <p>Extraction job to start in this operation.</p>
8358
- * @public
8359
- */
8360
- extractionJob: ExtractionJob | undefined;
8361
- /**
8362
- * <p>A unique, case-sensitive identifier to ensure idempotent processing of the request.</p>
8363
- * @public
8364
- */
8365
- clientToken?: string | undefined;
8366
- }
8367
- /**
8368
- * @public
8369
- */
8370
- export interface StartMemoryExtractionJobOutput {
8371
- /**
8372
- * <p>Extraction Job ID that was attempted to start.</p>
8373
- * @public
8374
- */
8375
- jobId: string | undefined;
8376
- }
8377
- /**
8378
- * @public
8379
- */
8380
- export interface SearchRegistryRecordsRequest {
8381
- /**
8382
- * <p> The search query to find matching registry records.</p>
8383
- * @public
8384
- */
8385
- searchQuery: string | undefined;
8386
- /**
8387
- * <p> The list of registry identifiers to search within. Currently, you can specify exactly one registry identifier. You can provide either the full Amazon Web Services Resource Name (ARN) or the 12-character alphanumeric registry ID.</p>
8388
- * @public
8389
- */
8390
- registryIds: string[] | undefined;
8391
- /**
8392
- * <p> The maximum number of records to return in a single call. Valid values are 1 through 20. The default value is 10.</p>
8393
- * @public
8394
- */
8395
- maxResults?: number | undefined;
8396
- /**
8397
- * <p> A metadata filter expression to narrow search results. Uses structured JSON operators including field-level operators (<code>$eq</code>, <code>$ne</code>, <code>$in</code>) and logical operators (<code>$and</code>, <code>$or</code>) on filterable fields (<code>name</code>, <code>descriptorType</code>, <code>version</code>). For example, to filter by descriptor type: <code>\{"descriptorType": \{"$eq": "MCP"\}\}</code>. To combine filters: <code>\{"$and": [\{"descriptorType": \{"$eq": "MCP"\}\}, \{"name": \{"$eq": "my-tool"\}\}]\}</code>.</p>
8398
- * @public
8399
- */
8400
- filters?: __DocumentType | undefined;
8401
- }
8402
- /**
8403
- * <p> A custom descriptor configuration for a registry record.</p>
8404
- * @public
8405
- */
8406
- export interface CustomDescriptor {
8407
- /**
8408
- * <p> The inline content of the custom descriptor.</p>
8409
- * @public
8410
- */
8411
- inlineContent?: string | undefined;
8412
- }