Skip to content

Commit 6e4eada

Browse files
committed
Implement resource CustomVerificationEmailTemplate
Signed-off-by: cpu1 <[email protected]>
1 parent 356aec4 commit 6e4eada

27 files changed

+2263
-10
lines changed
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2024-11-15T12:22:33Z"
2+
build_date: "2024-11-15T12:28:35Z"
33
build_hash: 9715a2a715317a76ae83825294ca50cde9afd97b
44
go_version: go1.22.5
55
version: v0.39.1-4-g9715a2a
6-
api_directory_checksum: 89e6d7c7c3de232b8c908d9fc8a94b31166d61d9
6+
api_directory_checksum: bec5824e121b02c227862a05ba3ad534a6dd71bf
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.55.5
99
generator_config_info:
10-
file_checksum: a6402ac3c8ab9987c5e8cbd62774a6e18d52cca6
10+
file_checksum: 8509dd7b6855643c5491564f8df855b403d0a9c3
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/custom_verification_email_template.go

+89
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/generator.yaml

+19-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ignore:
22
resource_names:
33
# - ConfigurationSet
44
# - ConfigurationSetEventDestination
5-
- CustomVerificationEmailTemplate
5+
# - CustomVerificationEmailTemplate
66
# - ReceiptFilter
77
# - ReceiptRule
88
# - ReceiptRuleSet
@@ -215,3 +215,21 @@ resources:
215215
template_path: hooks/configuration_set_event_destination/sdk_delete_post_build_request.go.tpl
216216
sdk_file_end:
217217
template_path: hooks/configuration_set_event_destination/sdk_file_end.go.tpl
218+
219+
CustomVerificationEmailTemplate:
220+
fields:
221+
TemplateName:
222+
is_primary_key: true
223+
is_immutable: true
224+
references:
225+
resource: Template
226+
path: Spec.Name
227+
tags:
228+
ignore: true
229+
exceptions:
230+
terminal_codes:
231+
- CustomVerificationEmailInvalidContent
232+
- CustomVerificationEmailTemplateAlreadyExists
233+
hooks:
234+
sdk_read_one_post_request:
235+
template_path: hooks/custom_verification_email_template/sdk_read_one_post_request.go.tpl

apis/v1alpha1/types.go

+6-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/zz_generated.deepcopy.go

+163-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/controller/main.go

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)