Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
const GITHUB_USER = 'awslabs';
const PUBLICATION_NAMESPACE = 'cdklabs';
const PROJECT_NAME = 'generative-ai-cdk-constructs';
const CDK_VERSION: string = '2.216.0';
const CDK_VERSION: string = '2.219.0';

function camelCaseIt(input: string): string {
// Hypens and dashes to spaces and then CamelCase...
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CDK Generative AI Constructs v0.1.310 (2025-09-25)
# CDK Generative AI Constructs v0.1.310 (2025-10-10)

Based on CDK library version 2.216.0
Based on CDK library version 2.219.0

# CDK Generative AI Constructs V0.1.306 (2025-04-25)

Expand Down
2 changes: 1 addition & 1 deletion DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Default output format [None]: json
```

- [Node](https://nodejs.org/en) >= v20.9.0
- [AWS CDK](https://github.com/aws/aws-cdk/releases/tag/v2.216.0) >= 2.216.0
- [AWS CDK](https://github.com/aws/aws-cdk/releases/tag/v2.219.0) >= 2.219.0
- [Python](https://www.python.org/downloads/) >=3.9
- [Projen](https://github.com/projen/projen) >= 0.91.5
- [Yarn](https://classic.yarnpkg.com/lang/en/docs/cli/install/) >= 1.22.19
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def create_index(
logger.debug(f"setting: {setting}")
logger.debug(f"mapping: {mapping}")
client.indices.create(
index_name,
index=index_name,
body={
"settings": setting,
"mappings": mapping,
Expand All @@ -220,7 +220,7 @@ def handle_create(
metadata_management: Sequence[MetadataManagementField],
analyzer: AnalyzerProperties | None,
):
if client.indices.exists(index_name):
if client.indices.exists(index=index_name):
raise ValueError(f"Index {index_name} already exists")

try:
Expand All @@ -241,7 +241,7 @@ def handle_create(
)
def handle_delete(client: OpenSearch, index_name: str):
try:
client.indices.delete(index_name)
client.indices.delete(index=index_name)
except Exception as e:
logger.error(f"Error deleting index {index_name}")
logger.exception(e)
Expand Down
406 changes: 213 additions & 193 deletions lambda/opensearch-serverless-custom-resources/poetry.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ description = ""
authors = [ "Amazon Web Services - Prototyping and Cloud Engineering" ]

[tool.poetry.dependencies]
boto3 = "^1.33.6"
opensearch-py = "^2.4.2"
boto3 = "^1.40.49"
opensearch-py = "^3.0.0"
python = "^3.11"
tenacity = "^8.2.3"
tenacity = "^9.1.2"

[tool.poetry.dev-dependencies]
mypy = "^1.2.0"
pytest = "^7.4.3"
pytest = "^8.4.2"

8 changes: 4 additions & 4 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading