Skip to content

Commit

Permalink
Implement resource ReceiptFilter
Browse files Browse the repository at this point in the history
Signed-off-by: cpu1 <[email protected]>
  • Loading branch information
cPu1 committed Nov 15, 2024
1 parent f6b4aca commit d670f0c
Show file tree
Hide file tree
Showing 30 changed files with 2,076 additions and 5 deletions.
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: "2024-11-15T11:47:38Z"
build_date: "2024-11-15T12:18:29Z"
build_hash: 9715a2a715317a76ae83825294ca50cde9afd97b
go_version: go1.22.5
version: v0.39.1-4-g9715a2a
api_directory_checksum: 67d89a73243311741c0e2212ee7d58a873740194
api_directory_checksum: 3f4f1ea172a5c99f5c17fa6443b3f7739995ef05
api_version: v1alpha1
aws_sdk_go_version: v1.55.5
generator_config_info:
file_checksum: 83acbeaf92972bb59e3dd0b095cdc200cfc6c184
file_checksum: 93dad69a7573306744e55da1b146011706bcb39e
original_file_name: generator.yaml
last_modification:
reason: API generation
43 changes: 42 additions & 1 deletion apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ ignore:
# - ConfigurationSet
- ConfigurationSetEventDestination
- CustomVerificationEmailTemplate
- ReceiptFilter
# - ReceiptFilter
# - ReceiptRule
# - ReceiptRuleSet
# - Template

field_paths:
- CreateConfigurationSetInput.ConfigurationSet
- CreateTemplateInput.Template
- CreateReceiptFilterInput.Filter.Name
model_name: email

resources:
Expand Down Expand Up @@ -125,3 +126,43 @@ resources:
template_path: hooks/template/sdk_read_one_post_request.go.tpl
sdk_update_post_build_request:
template_path: hooks/template/sdk_update_post_build_request.go.tpl

ReceiptFilter:
list_operation:
match_fields:
- Name
find_operation:
custom_method_name: customFind
update_operation:
custom_method_name: customUpdate
fields:
Name:
is_primary_key: true
is_immutable: true
is_required: true
type: string
Filter.IPFilter.CIDR:
is_immutable: true
Filter.IPFilter.Policy:
is_immutable: true
tags:
ignore: true
exceptions:
terminal_codes:
- AlreadyExists
renames:
operations:
CreateReceiptFilter:
input_fields:
Filter.Name: Name
Name: Filter.Name
DeleteReceiptFilter:
input_fields:
FilterName: Name
hooks:
sdk_file_end:
template_path: hooks/receipt_filter/sdk_file_end.go.tpl
sdk_create_post_build_request:
template_path: hooks/receipt_filter/sdk_create_post_build_request.go.tpl
sdk_read_many_post_request:
template_path: hooks/receipt_filter/sdk_read_many_post_request.go.tpl
75 changes: 75 additions & 0 deletions apis/v1alpha1/receipt_filter.go

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

24 changes: 24 additions & 0 deletions apis/v1alpha1/types.go

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

160 changes: 160 additions & 0 deletions apis/v1alpha1/zz_generated.deepcopy.go

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

1 change: 1 addition & 0 deletions cmd/controller/main.go

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

Loading

0 comments on commit d670f0c

Please sign in to comment.