Skip to content

DOCSP-45935: Trigger Admin API: Specify event_processors is required field #885

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 1 commit into from
Jun 9, 2025
Merged
Changes from all commits
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
28 changes: 28 additions & 0 deletions source/openapi-admin-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7299,6 +7299,7 @@ components:
- name
- type
- config
- event_processors
properties:
name:
type: string
Expand All @@ -7322,6 +7323,9 @@ components:
The App Services backend duplicates the value to the configuration location where you did not define it.

For example, if you define `function_id`, the backend duplicates it to `event_processors.FUNCTION.function_id`.

If you define `function_id`, `event_processors` is not required. You must provide either `function_id` or
`event_processors` when updating a trigger.
function_name:
type: string
description: |-
Expand All @@ -7333,6 +7337,9 @@ components:
The App Services backend duplicates the value to the configuration location where you did not define it.

For example, if you define `function_name`, the backend duplicates it to `event_processors.FUNCTION.function_name`.

If you define `function_name`, `event_processors` is not required. You must provide either `function_name` or
`event_processors` when updating a trigger.
event_processors:
type: object
description: |-
Expand All @@ -7358,6 +7365,9 @@ components:
The App Services backend duplicates the value to the configuration location where you did not define it.

For example, if you define `event_processors.FUNCTION.function_id`, the backend duplicates it to `function_id`.

If you define `function_id`, `event_processors` is not required. You must provide either `function_id` or
`event_processors` when updating a trigger.
function_name:
type: string
description: |-
Expand All @@ -7369,6 +7379,9 @@ components:
The App Services backend duplicates the value to the configuration location where you did not define it.

For example, if you define `event_processors.FUNCTION.function_name`, the backend duplicates it to `function_name`.

If you define `function_name`, `event_processors` is not required. You must provide either `function_name` or
`event_processors` when updating a trigger.
AWS_EVENTBRIDGE:
type: object
properties:
Expand Down Expand Up @@ -7399,6 +7412,11 @@ components:
match: {}
project: {}
full_document: true
event_processors:
FUNCTION:
config:
function_id: "6841b8d3e71dc81bed89dbba"
function_name: "Atlas_Triggers_DatabaseInsert_1749137618"
allOf:
- $ref: "#/components/schemas/BaseTrigger"
- required:
Expand Down Expand Up @@ -7564,6 +7582,11 @@ components:
operation_type: CREATE
providers:
- api-key
event_processors:
FUNCTION:
config:
function_id: "6841b8d3e71dc81bed89dbba"
function_name: "Atlas_Triggers_Auth_Create_1749137618"
allOf:
- $ref: "#/components/schemas/BaseTrigger"
- required:
Expand Down Expand Up @@ -7605,6 +7628,11 @@ components:
function_id: 5eea9ca4ca0e356e2c2a148a
config:
schedule: "0 8 * * *"
event_processors:
FUNCTION:
config:
function_id: "6841b8d3e71dc81bed89dbba"
function_name: "Atlas_Triggers_Monthly_1749137618"
allOf:
- $ref: "#/components/schemas/BaseTrigger"
- required:
Expand Down
Loading