Skip to content

Commit 691176d

Browse files
committed
add method response support
1 parent 059ff96 commit 691176d

32 files changed

+3444
-59
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2025-03-27T16:05:30Z"
3-
build_hash: 980cb1e4734f673d16101cf55206b84ca639ec01
2+
build_date: "2025-04-04T07:37:42Z"
3+
build_hash: f5a9ac2db3296fac3aa18dacf282267b15229ad1
44
go_version: go1.24.1
5-
version: v0.44.0
6-
api_directory_checksum: 2b29d9314a6ca77238f1a5fe09772f307485d94f
5+
version: v0.44.0-2-gf5a9ac2
6+
api_directory_checksum: b36e0217b62cb5431d11ccfaad66312c1cf1aa35
77
api_version: v1alpha1
8-
aws_sdk_go_version: 1.32.6
8+
aws_sdk_go_version: v1.32.6
99
generator_config_info:
10-
file_checksum: d2f4a656f9dccd7026fa8ab2be568da2b62379f6
10+
file_checksum: 75cddd6f584f7df2da8887c1b0f69087534664c1
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/api_method_response.go

Lines changed: 95 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/generator.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@ operations:
55
operation_type:
66
- Create
77
resource_name: Integration
8+
PutMethodResponse:
9+
operation_type:
10+
- Create
11+
resource_name: ApiMethodResponse
12+
DeleteMethodResponse:
13+
operation_type:
14+
- Delete
15+
resource_name: ApiMethodResponse
16+
UpdateMethodResponse:
17+
operation_type:
18+
- Update
19+
resource_name: ApiMethodResponse
20+
GetMethodResponse:
21+
operation_type:
22+
- READ_ONE
23+
resource_name: ApiMethodResponse
824
ignore:
925
resource_names:
1026
- ApiKey
@@ -200,3 +216,35 @@ resources:
200216
- ConflictException
201217
- NotFoundException
202218
- InvalidParameter
219+
ApiMethodResponse:
220+
fields:
221+
ResourceID:
222+
references:
223+
resource: Resource
224+
path: Status.ID
225+
is_required: true
226+
is_immutable: true
227+
is_primary_key: true
228+
RestAPIID:
229+
references:
230+
resource: RestAPI
231+
path: Status.ID
232+
is_required: true
233+
is_immutable: true
234+
HTTPMethod:
235+
is_required: true
236+
is_immutable: true
237+
StatusCode:
238+
is_required: true
239+
is_immutable: true
240+
tags:
241+
ignore: true
242+
hooks:
243+
sdk_update_post_build_request:
244+
template_path: hooks/api_method_response/sdk_update_post_build_request.go.tpl
245+
exceptions:
246+
terminal_codes:
247+
- BadRequestException
248+
- ConflictException
249+
- NotFoundException
250+
- InvalidParameter

apis/v1alpha1/types.go

Lines changed: 133 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)