Amazon Bedrock Bedrock Memoryrecords API

The Bedrock Memoryrecords API from Amazon Bedrock — 5 operation(s) for bedrock memoryrecords.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /memories/{memoryId}/memoryRecords/batchCreate Add several memory records to a memory at once · Batch Create Memory Records #
Ask an LLM
“How do I add a batch of custom memory records to an AgentCore memory in one call?”
“Can I set an expiry on memory records when creating them in bulk?”
Tell an agent
Create memory records {records} in memory {memoryId}.
Batch add records {records} to memory {memoryId} with expiry {recordExpirySpecification}.
POST /memories/{memoryId}/memoryRecords/batchDelete Delete several memory records at once · Batch Delete Memory Records #
Ask an LLM
“Can I remove multiple memory records from a memory in a single batch request?”
“What happens to memory records I delete in bulk?”
Tell an agent destructive · confirm first
Delete memory records {records} from memory {memoryId}.
Batch remove records {records} in memory {memoryId} in one call.
POST /memories/{memoryId}/memoryRecords/batchUpdate Update several memory records at once · Batch Update Memory Records #
Ask an LLM
“How do I overwrite the content of many memory records in a single batch?”
“Can I change the expiry of several memory records together?”
Tell an agent
Update memory records {records} in memory {memoryId}.
Batch update records {records} in memory {memoryId} with expiry {recordExpirySpecification}.
DELETE /memories/{memoryId}/memoryRecords/{memoryRecordId} Delete one memory record · Delete Memory Record #
Ask an LLM
“How do I permanently delete a single memory record from an AgentCore memory?”
“Can I delete a memory record by its namespace?”
Tell an agent destructive · confirm first
Delete memory record {memoryRecordId} from memory {memoryId}.
Remove record {memoryRecordId} in memory {memoryId} under namespace {namespace}.
GET /memories/{memoryId}/memoryRecord/{memoryRecordId} Get one memory record · Get Memory Record #
Ask an LLM
“How do I read a single memory record from an AgentCore memory?”
“Can I fetch a memory record by namespace?”
Tell an agent
Get memory record {memoryRecordId} from memory {memoryId}.
Show record {memoryRecordId} in memory {memoryId} under namespace {namespace}.
POST /memories/{memoryId}/memoryRecords List memory records in a memory · List Memory Records #
Ask an LLM
“Which memory records are stored in an AgentCore memory?”
“Can I list only the records from a single namespace or memory strategy?”
Tell an agent
List memory records in memory {memoryId}.
List records in memory {memoryId} under namespace {namespace}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-bedrock:amazon-bedrock-memoryrecords-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-bedrock-memoryrecords-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Bedrock Memoryrecords API
  version: '2023-04-20'
  description: Generated from AWS's published Smithy model for Amazon Bedrock. 6 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://bedrock-agentcore.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /memories/{memoryId}/memoryRecords/batchCreate:
    post:
      operationId: BatchCreateMemoryRecords
      summary: Batch Create Memory Records
      description: Creates multiple memory records in a single batch operation for the specified memory with custom content.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchCreateMemoryRecordsOutput'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottledException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottledException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockAgentcoreValidationException'
      parameters:
      - name: memoryId
        in: path
        required: true
        schema:
          type: string
        description: The unique ID of the memory resource where records will be created.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                records:
                  type: array
                  items:
                    $ref: '#/components/schemas/MemoryRecordCreateInput'
                  description: A list of memory record creation inputs to be processed in the batch operation.
                clientToken:
                  type: string
                  description: A unique, case-sensitive identifier to ensure idempotent processing of the batch request.
                recordExpirySpecification:
                  $ref: '#/components/schemas/RecordExpirySpecification'
              required:
              - records
      tags:
      - Memoryrecords
  /memories/{memoryId}/memoryRecords/batchDelete:
    post:
      operationId: BatchDeleteMemoryRecords
      summary: Batch Delete Memory Records
      description: Deletes multiple memory records in a single batch operation from the specified memory.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchDeleteMemoryRecordsOutput'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottledException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottledException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockAgentcoreValidationException'
      parameters:
      - name: memoryId
        in: path
        required: true
        schema:
          type: string
        description: The unique ID of the memory resource where records will be deleted.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                records:
                  type: array
                  items:
                    $ref: '#/components/schemas/MemoryRecordDeleteInput'
                  description: A list of memory record deletion inputs to be processed in the batch operation.
              required:
              - records
      tags:
      - Memoryrecords
  /memories/{memoryId}/memoryRecords/batchUpdate:
    post:
      operationId: BatchUpdateMemoryRecords
      summary: Batch Update Memory Records
      description: Updates multiple memory records with custom content in a single batch operation within the specified memory.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchUpdateMemoryRecordsOutput'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottledException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottledException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockAgentcoreValidationException'
      parameters:
      - name: memoryId
        in: path
        required: true
        schema:
          type: string
        description: The unique ID of the memory resource where records will be updated.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                records:
                  type: array
                  items:
                    $ref: '#/components/schemas/MemoryRecordUpdateInput'
                  description: A list of memory record update inputs to be processed in the batch operation.
                recordExpirySpecification:
                  $ref: '#/components/schemas/RecordExpirySpecification'
              required:
              - records
      tags:
      - Memoryrecords
  /memories/{memoryId}/memoryRecords/{memoryRecordId}:
    delete:
      operationId: DeleteMemoryRecord
      summary: Delete Memory Record
      description: Deletes a memory record from an AgentCore Memory resource. When you delete a memory record, it is permanently
        removed. To use this operation, you must have the bedrock-agentcore:DeleteMemoryRecord permission.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteMemoryRecordOutput'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: InvalidInputException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidInputException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottledException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottledException'
      parameters:
      - name: memoryId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the AgentCore Memory resource from which to delete the memory record.
      - name: memoryRecordId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the memory record to delete.
      - name: namespace
        in: query
        schema:
          type: string
        description: The namespace of the memory record to delete. This value is used for IAM condition key authorization.
      tags:
      - Memoryrecords
  /memories/{memoryId}/memoryRecord/{memoryRecordId}:
    get:
      operationId: GetMemoryRecord
      summary: Get Memory Record
      description: Retrieves a specific memory record from an AgentCore Memory resource. To use this operation, you must have
        the bedrock-agentcore:GetMemoryRecord permission.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMemoryRecordOutput'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: InvalidInputException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidInputException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottledException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottledException'
      parameters:
      - name: memoryId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the AgentCore Memory resource containing the memory record.
      - name: memoryRecordId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the memory record to retrieve.
      - name: namespace
        in: query
        schema:
          type: string
        description: The namespace of the memory record to retrieve. This value is used for IAM condition key authorization.
      tags:
      - Memoryrecords
  /memories/{memoryId}/memoryRecords:
    post:
      operationId: ListMemoryRecords
      summary: List Memory Records
      description: Lists memory records in an AgentCore Memory resource based on specified criteria. We recommend using pagination
        to ensure that the operation returns quickly and successfully. To use this operation, you must have the bedrock-agentcore:ListMemoryRecords
        permission.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListMemoryRecordsOutput'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: InvalidInputException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidInputException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottledException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottledException'
      parameters:
      - name: memoryId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the AgentCore Memory resource for which to list memory records.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                namespace:
                  type: string
                  description: The exact namespace to filter memory records by. Returns all memory records that matches the
                    provided namespace. Either namespace or namespacePath is required.
                namespacePath:
                  type: string
                  description: Use namespacePath for hierarchical retrievals. Return all memory records where namespace falls
                    under the same parent hierarchy. Either namespace or namespacePath is required.
                memoryStrategyId:
                  type: string
                  description: The memory strategy identifier to filter memory records by. If specified, only memory records
                    with this strategy ID are returned.
                maxResults:
                  type: integer
                  description: The maximum number of results to return in a single call. The default value is 20.
                nextToken:
                  type: string
                  description: 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.
                metadataFilters:
                  type: array
                  items:
                    $ref: '#/components/schemas/MemoryMetadataFilterExpression'
                  description: A list of metadata filter expressions to scope the returned memory records.
      tags:
      - Memoryrecords
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: bedrock-agentcore
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
    BatchCreateMemoryRecordsOutput:
      type: object
      properties:
        successfulRecords:
          type: array
          items:
            $ref: '#/components/schemas/MemoryRecordOutput'
          description: A list of memory records that were successfully created during the batch operation.
        failedRecords:
          type: array
          items:
            $ref: '#/components/schemas/MemoryRecordOutput'
          description: A list of memory records that failed to be created, including error details for each failure.
      required:
      - successfulRecords
      - failedRecords
    BatchDeleteMemoryRecordsOutput:
      type: object
      properties:
        successfulRecords:
          type: array
          items:
            $ref: '#/components/schemas/MemoryRecordOutput'
          description: A list of memory records that were successfully deleted during the batch operation.
        failedRecords:
          type: array
          items:
            $ref: '#/components/schemas/MemoryRecordOutput'
          description: A list of memory records that failed to be deleted, including error details for each failure.
      required:
      - successfulRecords
      - failedRecords
    BatchUpdateMemoryRecordsOutput:
      type: object
      properties:
        successfulRecords:
          type: array
          items:
            $ref: '#/components/schemas/MemoryRecordOutput'
          description: A list of memory records that were successfully updated during the batch operation.
        failedRecords:
          type: array
          items:
            $ref: '#/components/schemas/MemoryRecordOutput'
          description: A list of memory records that failed to be updated, including error details for each failure.
      required:
      - successfulRecords
      - failedRecords
    BedrockAgentcoreValidationException:
      type: object
      properties:
        message:
          type: string
        reason:
          type: string
          enum:
          - CannotParse
          - FieldValidationFailed
          - IdempotentParameterMismatchException
          - EventInOtherSession
          - ResourceConflict
        fieldList:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
      required:
      - message
      - reason
    DeleteMemoryRecordOutput:
      type: object
      properties:
        memoryRecordId:
          type: string
          description: The identifier of the memory record that was deleted.
      required:
      - memoryRecordId
    GetMemoryRecordOutput:
      type: object
      properties:
        memoryRecord:
          $ref: '#/components/schemas/MemoryRecord'
      required:
      - memoryRecord
    InvalidInputException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ListMemoryRecordsOutput:
      type: object
      properties:
        memoryRecordSummaries:
          type: array
          items:
            $ref: '#/components/schemas/MemoryRecordSummary'
          description: The list of memory record summaries that match the specified criteria.
        nextToken:
          type: string
          description: 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.
      required:
      - memoryRecordSummaries
    MemoryContent:
      type: object
      properties:
        text:
          type: string
          description: The text content of the memory record.
      description: Exactly one member is set.
    MemoryMetadataFilterExpression:
      type: object
      properties:
        left:
          $ref: '#/components/schemas/MemoryRecordLeftExpression'
        operator:
          type: string
          enum:
          - EQUALS_TO
          - EXISTS
          - NOT_EXISTS
          - BEFORE
          - AFTER
          - CONTAINS
          - GREATER_THAN
          - GREATER_THAN_OR_EQUALS
          - LESS_THAN
          - LESS_THAN_OR_EQUALS
          description: The relationship between the metadata key and value to match when applying the metadata filter.
        right:
          $ref: '#/components/schemas/MemoryRecordRightExpression'
      required:
      - left
      - operator
    MemoryRecord:
      type: object
      properties:
        memoryRecordId:
          type: string
          description: The unique identifier of the memory record.
        content:
          $ref: '#/components/schemas/MemoryContent'
        memoryStrategyId:
          type: string
          description: The identifier of the memory strategy associated with this record.
        namespaces:
          type: array
          items:
            type: string
          description: The namespaces associated with this memory record. Namespaces help organize and categorize memory records.
        createdAt:
          type: string
          description: The timestamp when the memory record was created.
        timestamp:
          type: string
          description: The timestamp based on which the memory record was ingested. This reflects the time of the source content
            that the record was derived from, which can differ from createdAt, the time the record itself was written.
        metadata:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/MemoryRecordMetadataValue'
          description: A map of metadata key-value pairs associated with a memory record.
        expiresAt:
          type: string
          description: The timestamp at which the memory record expires and becomes eligible for deletion. This value is set
            when a record expiry (long-term memory time-to-live) applies to the record, either from the strategy the record
            belongs to or from a record expiry provided on the batch request that created or updated it. If the record has
            no expiry configured, this value is not present and the record does not expire.
      required:
      - memoryRecordId
      - content
      - memoryStrategyId
      - namespaces
      - createdAt
    MemoryRecordCreateInput:
      type: object
      properties:
        requestIdentifier:
          type: string
          description: A client-provided identifier for tracking this specific record creation request.
        namespaces:
          type: array
          items:
            type: string
          description: A list of namespace identifiers that categorize or group the memory record.
        content:
          $ref: '#/components/schemas/MemoryContent'
        timestamp:
          type: string
          description: Time at which the memory record was created.
        memoryStrategyId:
          type: string
          description: The ID of the memory strategy that defines how this memory record is grouped.
        metadata:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/MemoryRecordMetadataValue'
          description: Metadata key-value pairs to be stored with the memory record.
      required:
      - requestIdentifier
      - namespaces
      - content
      - timestamp
    MemoryRecordDeleteInput:
      type: object
      properties:
        memoryRecordId:
          type: string
          description: The unique ID of the memory record to be deleted.
        namespace:
          type: string
          description: The namespace of the memory record being deleted. This value is used for IAM condition key authorization.
      required:
      - memoryRecordId
    MemoryRecordLeftExpression:
      type: object
      properties:
        metadataKey:
          type: string
          description: The metadata key to filter on.
      description: Exactly one member is set.
    MemoryRecordMetadataValue:
      type: object
      properties:
        stringValue:
          type: string
          description: A string value.
        stringListValue:
          type: array
          items:
            type: string
          description: A list of string values.
        numberValue:
          type: number
          description: A numeric value.
        dateTimeValue:
          type: string
          description: A timestamp value in ISO 8601 UTC format.
      description: Exactly one member is set.
    MemoryRecordOutput:
      type: object
      properties:
        memoryRecordId:
          type: string
          description: The unique ID associated to the memory record.
        status:
          type: string
          enum:
          - SUCCEEDED
          - FAILED
          description: The status of the memory record operation (e.g., SUCCEEDED, FAILED).
        requestIdentifier:
          type: string
          description: The client-provided identifier that was used to track this record operation.
        errorCode:
          type: integer
          description: The error code returned when the memory record operation fails.
        errorMessage:
          type: string
          description: A human-readable error message describing why the memory record operation failed.
      required:
      - memoryRecordId
      - status
    MemoryRecordRightExpression:
      type: object
      properties:
        metadataValue:
          $ref: '#/components/schemas/MemoryRecordMetadataValue'
      description: Exactly one member is set.
    MemoryRecordSummary:
      type: object
      properties:
        memoryRecordId:
          type: string
          description: The unique identifier of the memory record.
        content:
          $ref: '#/components/schemas/MemoryContent'
        memoryStrategyId:
          type: string
          description: The identifier of the memory strategy associated with this record.
        namespaces:
          type: array
          items:
            type: string
          description: The namespaces associated with this memory record.
        createdAt:
          type: string
          description: The timestamp when the memory record was created.
        score:
          type: number
          description: The relevance score of the memory record when returned as part of a search result. Higher values indicate
            greater relevance to the search query.
        timestamp:
          type: string
          description: The timestamp based on which the memory record was ingested. This reflects the time of the source content
            that the record was derived from, which can differ from createdAt, the time the record itself was written.
        metadata:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/MemoryRecordMetadataValue'
          description: A map of metadata key-value pairs associated with a memory record.
      required:
      - memoryRecordId
      - content
      - memoryStrategyId
      - namespaces
      - createdAt
    MemoryRecordUpdateInput:
      type: object
      properties:
        memoryRecordId:
          type: string
          description: The unique ID of the memory record to be updated.
        timestamp:
          type: string
          description: Time at which the memory record was updated
        content:
          $ref: '#/components/schemas/MemoryContent'
        namespaces:
          type: array
          items:
            type: string
          description: The updated list of namespace identifiers for categorizing the memory record.
        sourceNamespaces:
          type: array
          items:
            type: string
          description: The namespaces of the source memory record being updated. This value is used for IAM condition key
            authorization.
        memoryStrategyId:
          type: string
          description: The updated ID of the memory strategy that defines how this memory record is grouped.
        metadata:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/MemoryRecordMetadataValue'
          description: Metadata key-value pairs to be stored with the memory record.
      required:
      - memoryRecordId
      - timestamp
    RecordExpirySpecification:
      type: object
      properties:
        recordExpiryDurationDays:
          type: integer
          description: The duration, in days, after which the records in this request expire. The minimum is 31 days.
        action:
          type: string
          enum:
          - REMOVE
          description: The action to apply to the existing record expiry configuration. Set to REMOVE to remove a previously
            configured expiry so that the records no longer expire. This value does not apply when creating records.
      description: Exactly one member is set.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
    ServiceException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
    ThrottledException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ValidationExceptionField:
      type: object
      properties:
        name:
          type: string
          description: The name of the field.
        message:
          type: string
          description: A message describing why this field failed validation.
      required:
      - name
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/bedrock-agentcore/service/2024-02-28/bedrock-agentcore-2024-02-28.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)