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 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: "2023-02-07T14:20:32Z"
build_date: "2023-02-15T11:05:34Z"
build_hash: 92c80ba0af0d3c80ed9d16126957523052fac5f4
go_version: go1.19.5
version: v0.23.1-4-g92c80ba
api_directory_checksum: cca146e2e27cc0c4dc130b6abe826ab55fb1aeeb
api_directory_checksum: bd91074beb44d10293a1fcda2f7b2c90038ebbf9
api_version: v1alpha1
aws_sdk_go_version: v1.44.97
generator_config_info:
file_checksum: 94d41f45265086ed819689b75926237e8c985ebc
file_checksum: fe7e5f32a06789b0878614ad0cf0b467bbca7fd6
original_file_name: generator.yaml
last_modification:
reason: API generation
91 changes: 91 additions & 0 deletions apis/v1alpha1/archive.go

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

42 changes: 40 additions & 2 deletions apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
ignore:
resource_names:
# - Archive
# - EventBus
- ApiDestination
- Archive
- Connection
- Endpoint
# - EventBus
- PartnerEventSource
operations:
PutRule:
Expand All @@ -13,6 +13,44 @@ operations:
- Update
resource_name: Rule
resources:
Archive:
fields:
ArchiveName:
is_immutable: true
is_required: true
EventSourceARN:
is_immutable: true
is_required: true
references:
resource: EventBus
path: Status.ACKResourceMetadata.ARN
tags:
ignore: true # API does not support tags
hooks:
sdk_create_post_set_output:
template_path: hooks/archive/sdk_create_post_set_output.go.tpl
sdk_update_pre_build_request:
template_path: hooks/archive/sdk_update_pre_build_request.go.tpl
sdk_update_post_build_request:
template_path: hooks/archive/sdk_update_post_build_request.go.tpl
print:
add_age_column: true
add_synced_column: true
additional_columns:
- name: ARN
json_path: .status.ackResourceMetadata.arn
type: string
- name: STATE
json_path: .status.state
type: string
exceptions:
errors:
404:
code: ResourceNotFoundException
terminal_codes:
- ValidationError
- ValidationException
- InvalidEventPatternException
EventBus:
fields:
Name:
Expand Down
56 changes: 50 additions & 6 deletions apis/v1alpha1/types.go

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

Loading