Skip to content

Commit c3d36e8

Browse files
authored
DOCSP-45935: Trigger Admin API: Specify event_processors is required field (#885)
Specify event_processors is required field
1 parent 9d91a6e commit c3d36e8

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

source/openapi-admin-v3.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7299,6 +7299,7 @@ components:
72997299
- name
73007300
- type
73017301
- config
7302+
- event_processors
73027303
properties:
73037304
name:
73047305
type: string
@@ -7322,6 +7323,9 @@ components:
73227323
The App Services backend duplicates the value to the configuration location where you did not define it.
73237324
73247325
For example, if you define `function_id`, the backend duplicates it to `event_processors.FUNCTION.function_id`.
7326+
7327+
If you define `function_id`, `event_processors` is not required. You must provide either `function_id` or
7328+
`event_processors` when updating a trigger.
73257329
function_name:
73267330
type: string
73277331
description: |-
@@ -7333,6 +7337,9 @@ components:
73337337
The App Services backend duplicates the value to the configuration location where you did not define it.
73347338
73357339
For example, if you define `function_name`, the backend duplicates it to `event_processors.FUNCTION.function_name`.
7340+
7341+
If you define `function_name`, `event_processors` is not required. You must provide either `function_name` or
7342+
`event_processors` when updating a trigger.
73367343
event_processors:
73377344
type: object
73387345
description: |-
@@ -7358,6 +7365,9 @@ components:
73587365
The App Services backend duplicates the value to the configuration location where you did not define it.
73597366
73607367
For example, if you define `event_processors.FUNCTION.function_id`, the backend duplicates it to `function_id`.
7368+
7369+
If you define `function_id`, `event_processors` is not required. You must provide either `function_id` or
7370+
`event_processors` when updating a trigger.
73617371
function_name:
73627372
type: string
73637373
description: |-
@@ -7369,6 +7379,9 @@ components:
73697379
The App Services backend duplicates the value to the configuration location where you did not define it.
73707380
73717381
For example, if you define `event_processors.FUNCTION.function_name`, the backend duplicates it to `function_name`.
7382+
7383+
If you define `function_name`, `event_processors` is not required. You must provide either `function_name` or
7384+
`event_processors` when updating a trigger.
73727385
AWS_EVENTBRIDGE:
73737386
type: object
73747387
properties:
@@ -7399,6 +7412,11 @@ components:
73997412
match: {}
74007413
project: {}
74017414
full_document: true
7415+
event_processors:
7416+
FUNCTION:
7417+
config:
7418+
function_id: "6841b8d3e71dc81bed89dbba"
7419+
function_name: "Atlas_Triggers_DatabaseInsert_1749137618"
74027420
allOf:
74037421
- $ref: "#/components/schemas/BaseTrigger"
74047422
- required:
@@ -7564,6 +7582,11 @@ components:
75647582
operation_type: CREATE
75657583
providers:
75667584
- api-key
7585+
event_processors:
7586+
FUNCTION:
7587+
config:
7588+
function_id: "6841b8d3e71dc81bed89dbba"
7589+
function_name: "Atlas_Triggers_Auth_Create_1749137618"
75677590
allOf:
75687591
- $ref: "#/components/schemas/BaseTrigger"
75697592
- required:
@@ -7605,6 +7628,11 @@ components:
76057628
function_id: 5eea9ca4ca0e356e2c2a148a
76067629
config:
76077630
schedule: "0 8 * * *"
7631+
event_processors:
7632+
FUNCTION:
7633+
config:
7634+
function_id: "6841b8d3e71dc81bed89dbba"
7635+
function_name: "Atlas_Triggers_Monthly_1749137618"
76087636
allOf:
76097637
- $ref: "#/components/schemas/BaseTrigger"
76107638
- required:

0 commit comments

Comments
 (0)