Skip to content

Commit 79b8b58

Browse files
authored
add authorizer resource support (#37)
Description of changes: Add support for `authorizer` resource By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 0b0bf1f commit 79b8b58

37 files changed

+2817
-31
lines changed
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-25T18:19:58Z"
2+
build_date: "2025-04-27T19:42:31Z"
33
build_hash: 0909e7f0adb8ffe4120a8c20d5d58b991f2539e9
44
go_version: go1.24.1
55
version: v0.44.0-3-g0909e7f
6-
api_directory_checksum: a1bb994937d5ff4cab2e5afbe5a2370afc13dab8
6+
api_directory_checksum: 94b9a1c92c36be454d70625764b603b5c2d5b554
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:
10-
file_checksum: aa8189e95756917562438c32e1995bc1cc1f59b0
10+
file_checksum: 94f4e735b9f53f4992c3402f108ea847d3d438f2
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/authorizer.go

Lines changed: 134 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: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ operations:
4444
ignore:
4545
resource_names:
4646
# - ApiKey
47-
- Authorizer
47+
# - Authorizer
4848
- BasePathMapping
4949
# - Deployment
5050
- DocumentationPart
@@ -394,4 +394,36 @@ resources:
394394
terminal_codes:
395395
- BadRequestException
396396
tags:
397-
ignore: true
397+
ignore: true
398+
Authorizer:
399+
fields:
400+
ID:
401+
is_primary_key: true
402+
RestAPIID:
403+
references:
404+
resource: RestAPI
405+
path: Status.ID
406+
is_required: true
407+
is_immutable: true
408+
Type:
409+
go_tag: json:"type,omitempty"
410+
renames:
411+
operations:
412+
GetAuthorizer:
413+
input_fields:
414+
AuthorizerId: Id
415+
UpdateAuthorizer:
416+
input_fields:
417+
AuthorizerId: Id
418+
DeleteAuthorizer:
419+
input_fields:
420+
AuthorizerId: Id
421+
hooks:
422+
sdk_update_post_build_request:
423+
template_path: hooks/authorizer/sdk_update_post_build_request.go.tpl
424+
tags:
425+
ignore: true
426+
exceptions:
427+
terminal_codes:
428+
- BadRequestException
429+
- InvalidParameter

apis/v1alpha1/types.go

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

0 commit comments

Comments
 (0)