Skip to content

Commit 6fc2087

Browse files
committed
Merge branch 'api-tags' into apikey
2 parents 68d8ede + b505707 commit 6fc2087

File tree

72 files changed

+8967
-2605
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+8967
-2605
lines changed

.github/workflows/temp.log

Lines changed: 0 additions & 2155 deletions
This file was deleted.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2025-04-07T20:33:31Z"
2+
build_date: "2025-04-09T07:23:06Z"
33
build_hash: 66ad2d04c2b520425a0682aae523d45cad967248
44
go_version: go1.24.1
55
version: v0.44.0-2-g66ad2d0
6-
api_directory_checksum: f1f3604161839adf828e8ecdbca457e930c7efa9
6+
api_directory_checksum: 58f6efc74b9a4ba3fae4cec38c981b52409f143a
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:
10-
file_checksum: aecdd17e1a8362d83aee855cffce7d2d5e39eaf2
10+
file_checksum: 771b6b36a597b0d405fd02bc01f387bd40b4db92
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/api_integration_response.go

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

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: 122 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,42 @@ operations:
55
operation_type:
66
- Create
77
resource_name: Integration
8+
PutMethod:
9+
operation_type:
10+
- Create
11+
resource_name: Method
12+
PutMethodResponse:
13+
operation_type:
14+
- Create
15+
resource_name: ApiMethodResponse
16+
DeleteMethodResponse:
17+
operation_type:
18+
- Delete
19+
resource_name: ApiMethodResponse
20+
UpdateMethodResponse:
21+
operation_type:
22+
- Update
23+
resource_name: ApiMethodResponse
24+
GetMethodResponse:
25+
operation_type:
26+
- READ_ONE
27+
resource_name: ApiMethodResponse
28+
PutIntegrationResponse:
29+
operation_type:
30+
- Create
31+
resource_name: ApiIntegrationResponse
32+
DeleteIntegrationResponse:
33+
operation_type:
34+
- Delete
35+
resource_name: ApiIntegrationResponse
36+
UpdateIntegrationResponse:
37+
operation_type:
38+
- Update
39+
resource_name: ApiIntegrationResponse
40+
GetIntegrationResponse:
41+
operation_type:
42+
- READ_ONE
43+
resource_name: ApiIntegrationResponse
844
ignore:
945
resource_names:
1046
# - ApiKey
@@ -208,6 +244,92 @@ resources:
208244
- ConflictException
209245
- NotFoundException
210246
- InvalidParameter
247+
Method:
248+
fields:
249+
ResourceID:
250+
is_primary_key: true
251+
references:
252+
resource: Resource
253+
path: Status.ID
254+
is_immutable: true
255+
RestAPIID:
256+
references:
257+
resource: RestAPI
258+
path: Status.ID
259+
is_required: true
260+
is_immutable: true
261+
HTTPMethod:
262+
is_required: true
263+
is_immutable: true
264+
MethodIntegration.Type:
265+
go_tag: json:"type,omitempty"
266+
hooks:
267+
sdk_update_post_build_request:
268+
template_path: hooks/method/sdk_update_post_build_request.go.tpl
269+
exceptions:
270+
terminal_codes:
271+
- InvalidParameter
272+
tags:
273+
ignore: true
274+
ApiMethodResponse:
275+
fields:
276+
ResourceID:
277+
references:
278+
resource: Resource
279+
path: Status.ID
280+
is_required: true
281+
is_immutable: true
282+
is_primary_key: true
283+
RestAPIID:
284+
references:
285+
resource: RestAPI
286+
path: Status.ID
287+
is_required: true
288+
is_immutable: true
289+
HTTPMethod:
290+
is_required: true
291+
is_immutable: true
292+
StatusCode:
293+
is_required: true
294+
is_immutable: true
295+
tags:
296+
ignore: true
297+
hooks:
298+
sdk_update_post_build_request:
299+
template_path: hooks/api_method_response/sdk_update_post_build_request.go.tpl
300+
exceptions:
301+
terminal_codes:
302+
- BadRequestException
303+
- InvalidParameter
304+
ApiIntegrationResponse:
305+
fields:
306+
ResourceID:
307+
is_primary_key: true
308+
references:
309+
resource: Resource
310+
path: Status.ID
311+
is_immutable: true
312+
RestAPIID:
313+
references:
314+
resource: RestAPI
315+
path: Status.ID
316+
is_required: true
317+
is_immutable: true
318+
HTTPMethod:
319+
is_required: true
320+
is_immutable: true
321+
StatusCode:
322+
is_required: true
323+
is_immutable: true
324+
tags:
325+
ignore: true
326+
hooks:
327+
sdk_update_post_build_request:
328+
template_path: hooks/integration_response/sdk_update_post_build_request.go.tpl
329+
exceptions:
330+
terminal_codes:
331+
- BadRequestException
332+
- InvalidParameter
211333
ApiKey:
212334
fields:
213335
ID:
@@ -236,8 +358,6 @@ resources:
236358
input_fields:
237359
ApiKey: Id
238360
hooks:
239-
delta_pre_compare:
240-
code: compareTags(delta, a, b)
241361
sdk_update_post_build_request:
242362
template_path: hooks/api_key/sdk_update_post_build_request.go.tpl
243363
sdk_read_one_post_request:
@@ -246,5 +366,3 @@ resources:
246366
template_path: hooks/api_key/sdk_update_post_request.go.tpl
247367
sdk_update_post_request:
248368
template_path: hooks/api_key/sdk_update_post_request.go.tpl
249-
sdk_read_one_post_set_output:
250-
template_path: hooks/api_key/sdk_read_one_post_set_output.go.tpl

0 commit comments

Comments
 (0)