Skip to content

add authorizer resource support #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 28, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: "2025-04-25T18:19:58Z"
build_date: "2025-04-27T19:42:31Z"
build_hash: 0909e7f0adb8ffe4120a8c20d5d58b991f2539e9
go_version: go1.24.1
version: v0.44.0-3-g0909e7f
api_directory_checksum: a1bb994937d5ff4cab2e5afbe5a2370afc13dab8
api_directory_checksum: 94b9a1c92c36be454d70625764b603b5c2d5b554
api_version: v1alpha1
aws_sdk_go_version: v1.32.6
generator_config_info:
file_checksum: aa8189e95756917562438c32e1995bc1cc1f59b0
file_checksum: 94f4e735b9f53f4992c3402f108ea847d3d438f2
original_file_name: generator.yaml
last_modification:
reason: API generation
134 changes: 134 additions & 0 deletions apis/v1alpha1/authorizer.go

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

36 changes: 34 additions & 2 deletions apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ operations:
ignore:
resource_names:
# - ApiKey
- Authorizer
# - Authorizer
- BasePathMapping
# - Deployment
- DocumentationPart
Expand Down Expand Up @@ -394,4 +394,36 @@ resources:
terminal_codes:
- BadRequestException
tags:
ignore: true
ignore: true
Authorizer:
fields:
ID:
is_primary_key: true
RestAPIID:
references:
resource: RestAPI
path: Status.ID
is_required: true
is_immutable: true
Type:
go_tag: json:"type,omitempty"
renames:
operations:
GetAuthorizer:
input_fields:
AuthorizerId: Id
UpdateAuthorizer:
input_fields:
AuthorizerId: Id
DeleteAuthorizer:
input_fields:
AuthorizerId: Id
hooks:
sdk_update_post_build_request:
template_path: hooks/authorizer/sdk_update_post_build_request.go.tpl
tags:
ignore: true
exceptions:
terminal_codes:
- BadRequestException
- InvalidParameter
24 changes: 15 additions & 9 deletions apis/v1alpha1/types.go

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

Loading