delete_memory_record¶
Operation¶
delete_memory_record
¶
delete_memory_record(request: DeleteMemoryRecordInput | DeleteMemoryRecordInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteMemoryRecordInputDict]) -> DeleteMemoryRecordOutput
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.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
DeleteMemoryRecordInput | DeleteMemoryRecordInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[DeleteMemoryRecordInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DeleteMemoryRecordOutput
|
An instance of |
delete_memory_record
async
¶
delete_memory_record(request: DeleteMemoryRecordInput | DeleteMemoryRecordInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteMemoryRecordInputDict]) -> DeleteMemoryRecordOutput
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.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
DeleteMemoryRecordInput | DeleteMemoryRecordInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[DeleteMemoryRecordInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DeleteMemoryRecordOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
DeleteMemoryRecordInputDict
¶
DeleteMemoryRecordInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteMemoryRecordInput structure.
Attributes¶
memory_id
class-attribute
instance-attribute
¶
memory_id: str | None = ...
The identifier of the AgentCore Memory resource from which to delete the memory record.
Output¶
DeleteMemoryRecordOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteMemoryRecordOutput structure.
Attributes¶
memory_record_id
instance-attribute
¶
memory_record_id: str
The identifier of the memory record that was deleted.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.