Skip to content

Commit

Permalink
Implement resource CustomVerificationEmailTemplate
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 356aec4 commit 6e4eada
Show file tree
Hide file tree
Showing 27 changed files with 2,263 additions and 10 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-15T12:22:33Z"
build_date: "2024-11-15T12:28:35Z"
build_hash: 9715a2a715317a76ae83825294ca50cde9afd97b
go_version: go1.22.5
version: v0.39.1-4-g9715a2a
api_directory_checksum: 89e6d7c7c3de232b8c908d9fc8a94b31166d61d9
api_directory_checksum: bec5824e121b02c227862a05ba3ad534a6dd71bf
api_version: v1alpha1
aws_sdk_go_version: v1.55.5
generator_config_info:
file_checksum: a6402ac3c8ab9987c5e8cbd62774a6e18d52cca6
file_checksum: 8509dd7b6855643c5491564f8df855b403d0a9c3
original_file_name: generator.yaml
last_modification:
reason: API generation
89 changes: 89 additions & 0 deletions apis/v1alpha1/custom_verification_email_template.go

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

20 changes: 19 additions & 1 deletion apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ignore:
resource_names:
# - ConfigurationSet
# - ConfigurationSetEventDestination
- CustomVerificationEmailTemplate
# - CustomVerificationEmailTemplate
# - ReceiptFilter
# - ReceiptRule
# - ReceiptRuleSet
Expand Down Expand Up @@ -215,3 +215,21 @@ resources:
template_path: hooks/configuration_set_event_destination/sdk_delete_post_build_request.go.tpl
sdk_file_end:
template_path: hooks/configuration_set_event_destination/sdk_file_end.go.tpl

CustomVerificationEmailTemplate:
fields:
TemplateName:
is_primary_key: true
is_immutable: true
references:
resource: Template
path: Spec.Name
tags:
ignore: true
exceptions:
terminal_codes:
- CustomVerificationEmailInvalidContent
- CustomVerificationEmailTemplateAlreadyExists
hooks:
sdk_read_one_post_request:
template_path: hooks/custom_verification_email_template/sdk_read_one_post_request.go.tpl
8 changes: 6 additions & 2 deletions apis/v1alpha1/types.go

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

166 changes: 163 additions & 3 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 6e4eada

Please sign in to comment.