Skip to content
Open
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 apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ack_generate_info:
build_date: "2025-06-10T23:44:28Z"
build_date: "2025-06-17T13:28:14Z"
build_hash: e675923dfc54d8b6e09730098c3e3e1056d3c1e9
go_version: go1.24.3
version: v0.48.0
api_directory_checksum: 6e988566399ff5f57e7cb877ae2502a2beadafd6
api_directory_checksum: e1503bf59102aa80e29f20977c3d7964688fd9cf
api_version: v1alpha1
aws_sdk_go_version: v1.36.3
generator_config_info:
file_checksum: a109a02848a7aca835505fad0a00707d2d56c55a
file_checksum: 0b4dec3b80e46714d71f2b495a26ab7e1b4ac60d
original_file_name: generator.yaml
last_modification:
reason: API generation
14 changes: 7 additions & 7 deletions apis/v1alpha1/enums.go

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

43 changes: 40 additions & 3 deletions apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ ignore:
- Flow
- FlowAlias
- FlowVersion
- KnowledgeBase
#- KnowledgeBase
- Prompt
- PromptVersion
field_paths:
# Uses unhandled type 'smithy.api#document'
- "PromptOverrideConfiguration.PromptConfigurations.PromptConfiguration.AdditionalModelRequestFields"
- CreateAgentInput.ClientToken
- CreateKnowledgeBaseInput.ClientToken

resources:
Agent:
Expand All @@ -36,7 +37,7 @@ resources:
from:
operation: TagResource
path: Tags

synced:
when:
- path: Status.AgentStatus
Expand All @@ -54,4 +55,40 @@ resources:
sdk_update_pre_build_request:
template_path: hooks/agent/sdk_update_pre_build_request.go.tpl


KnowledgeBase:
synced:
when:
- path: Status.Status
in:
- ACTIVE
fields:
Name:
is_required: true
RoleArn:
is_required: true
KnowledgeBaseConfiguration:
is_required: true
KnowledgeBaseConfiguration.Type:
go_tag: json:"type,omitempty"
KnowledgeBaseConfiguration.SQLKnowledgeBaseConfiguration.Type:
go_tag: json:"type,omitempty"
KnowledgeBaseConfiguration.SQLKnowledgeBaseConfiguration.RedshiftConfiguration.QueryEngineConfiguration.Type:
go_tag: json:"type,omitempty"
KnowledgeBaseConfiguration.SQLKnowledgeBaseConfiguration.RedshiftConfiguration.QueryEngineConfiguration.ProvisionedConfiguration.AuthConfiguration.Type:
go_tag: json:"type,omitempty"
KnowledgeBaseConfiguration.SQLKnowledgeBaseConfiguration.RedshiftConfiguration.QueryEngineConfiguration.ServerlessConfiguration.AuthConfiguration.Type:
go_tag: json:"type,omitempty"
# KnowledgeBaseConfiguration.SQLKnowledgeBaseConfiguration.RedshiftConfiguration.StorageConfigurations:
# type: "[]*RedshiftQueryEngineStorageConfiguration"
# go_tag: json:"type,omitempty"
StorageConfiguration.Type:
go_tag: json:"type,omitempty"
StorageConfiguration:
is_required: true
Tags:
from:
operation: TagResource
path: Tags
exceptions:
terminal_codes:
- ValidationException
115 changes: 115 additions & 0 deletions apis/v1alpha1/knowledge_base.go

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

Loading