|
690 | 690 | ], |
691 | 691 | "documentation":"<p>Obtains a workload access token for agentic workloads acting on behalf of a user, using the user's ID.</p>" |
692 | 692 | }, |
| 693 | + "IngestData":{ |
| 694 | + "name":"IngestData", |
| 695 | + "http":{ |
| 696 | + "method":"POST", |
| 697 | + "requestUri":"/memories/{memoryId}/ingest", |
| 698 | + "responseCode":202 |
| 699 | + }, |
| 700 | + "input":{"shape":"IngestDataInput"}, |
| 701 | + "output":{"shape":"IngestDataOutput"}, |
| 702 | + "errors":[ |
| 703 | + {"shape":"ServiceQuotaExceededException"}, |
| 704 | + {"shape":"ThrottledException"}, |
| 705 | + {"shape":"ServiceException"}, |
| 706 | + {"shape":"AccessDeniedException"}, |
| 707 | + {"shape":"ValidationException"}, |
| 708 | + {"shape":"ResourceNotFoundException"} |
| 709 | + ], |
| 710 | + "documentation":"<p>Submits content directly for ingestion to generate long-term memory records in a AgentCore Memory resource.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:IngestData</code> permission.</p>", |
| 711 | + "idempotent":true |
| 712 | + }, |
693 | 713 | "InvokeAgentRuntime":{ |
694 | 714 | "name":"InvokeAgentRuntime", |
695 | 715 | "http":{ |
|
2769 | 2789 | }, |
2770 | 2790 | "documentation":"<p>An event that contains incremental output from a command execution. This event streams standard output and standard error content as it becomes available during command execution.</p>" |
2771 | 2791 | }, |
| 2792 | + "ContentSource":{ |
| 2793 | + "type":"structure", |
| 2794 | + "members":{ |
| 2795 | + "inline":{ |
| 2796 | + "shape":"InlineMemoryContent", |
| 2797 | + "documentation":"<p>The content included directly in the request.</p>" |
| 2798 | + } |
| 2799 | + }, |
| 2800 | + "documentation":"<p>The source of the content to ingest. Only inline content is supported.</p>", |
| 2801 | + "union":true |
| 2802 | + }, |
2772 | 2803 | "ContentStartEvent":{ |
2773 | 2804 | "type":"structure", |
2774 | 2805 | "members":{}, |
|
6492 | 6523 | "max":100, |
6493 | 6524 | "min":0 |
6494 | 6525 | }, |
| 6526 | + "IngestDataInput":{ |
| 6527 | + "type":"structure", |
| 6528 | + "required":[ |
| 6529 | + "memoryId", |
| 6530 | + "source", |
| 6531 | + "contentTimestamp", |
| 6532 | + "actorId" |
| 6533 | + ], |
| 6534 | + "members":{ |
| 6535 | + "memoryId":{ |
| 6536 | + "shape":"MemoryId", |
| 6537 | + "documentation":"<p>The identifier of the AgentCore Memory resource to ingest content into.</p>", |
| 6538 | + "location":"uri", |
| 6539 | + "locationName":"memoryId" |
| 6540 | + }, |
| 6541 | + "source":{ |
| 6542 | + "shape":"ContentSource", |
| 6543 | + "documentation":"<p>The content to ingest. Only inline content is supported.</p>" |
| 6544 | + }, |
| 6545 | + "contentTimestamp":{ |
| 6546 | + "shape":"Timestamp", |
| 6547 | + "documentation":"<p>The timestamp of when the content occurred.</p>" |
| 6548 | + }, |
| 6549 | + "actorId":{ |
| 6550 | + "shape":"ActorId", |
| 6551 | + "documentation":"<p>The identifier of the actor associated with this content. An actor represents an entity that participates in sessions and generates content.</p>" |
| 6552 | + }, |
| 6553 | + "sessionId":{ |
| 6554 | + "shape":"SessionId", |
| 6555 | + "documentation":"<p>The identifier of the session that the content belongs to. If not provided, a session identifier is generated and returned in the response.</p>" |
| 6556 | + }, |
| 6557 | + "extractionConfig":{ |
| 6558 | + "shape":"ExtractionConfig", |
| 6559 | + "documentation":"<p>The extraction configuration for long-term memory records. Use this parameter to specify namespace variable keys and their values for namespace substitution during extraction.</p>" |
| 6560 | + }, |
| 6561 | + "metadata":{ |
| 6562 | + "shape":"MetadataMap", |
| 6563 | + "documentation":"<p>The key-value metadata to attach to the content.</p>" |
| 6564 | + }, |
| 6565 | + "clientToken":{ |
| 6566 | + "shape":"String", |
| 6567 | + "documentation":"<p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, AgentCore ignores the request, but does not return an error.</p>", |
| 6568 | + "idempotencyToken":true |
| 6569 | + } |
| 6570 | + } |
| 6571 | + }, |
| 6572 | + "IngestDataOutput":{ |
| 6573 | + "type":"structure", |
| 6574 | + "required":["sessionId"], |
| 6575 | + "members":{ |
| 6576 | + "sessionId":{ |
| 6577 | + "shape":"SessionId", |
| 6578 | + "documentation":"<p>The identifier of the session that the service ingested the content into. This value echoes the session identifier from the request, or the identifier that the service generated when you did not provide one.</p>" |
| 6579 | + } |
| 6580 | + } |
| 6581 | + }, |
| 6582 | + "IngestPayloadList":{ |
| 6583 | + "type":"list", |
| 6584 | + "member":{"shape":"IngestPayloadType"}, |
| 6585 | + "max":100, |
| 6586 | + "min":1 |
| 6587 | + }, |
| 6588 | + "IngestPayloadType":{ |
| 6589 | + "type":"structure", |
| 6590 | + "members":{ |
| 6591 | + "conversational":{ |
| 6592 | + "shape":"Conversational", |
| 6593 | + "documentation":"<p>The conversational content for this payload item.</p>" |
| 6594 | + }, |
| 6595 | + "json":{ |
| 6596 | + "shape":"MemoryJsonData", |
| 6597 | + "documentation":"<p>The JSON content for this payload item.</p>" |
| 6598 | + } |
| 6599 | + }, |
| 6600 | + "documentation":"<p>A single content payload item to ingest. A payload item contains either conversational or JSON content.</p>", |
| 6601 | + "union":true |
| 6602 | + }, |
6495 | 6603 | "InlineContent":{ |
6496 | 6604 | "type":"string", |
6497 | 6605 | "max":409600, |
|
6520 | 6628 | "member":{"shape":"GroundTruthTurn"}, |
6521 | 6629 | "min":1 |
6522 | 6630 | }, |
| 6631 | + "InlineMemoryContent":{ |
| 6632 | + "type":"structure", |
| 6633 | + "required":["payload"], |
| 6634 | + "members":{ |
| 6635 | + "payload":{ |
| 6636 | + "shape":"IngestPayloadList", |
| 6637 | + "documentation":"<p>The list of content payload items to ingest.</p>" |
| 6638 | + } |
| 6639 | + }, |
| 6640 | + "documentation":"<p>The content included directly in the request as one or more payload items.</p>" |
| 6641 | + }, |
6523 | 6642 | "InputContentBlock":{ |
6524 | 6643 | "type":"structure", |
6525 | 6644 | "required":["path"], |
|
0 commit comments