Skip to content

Commit 32dfcc2

Browse files
author
cibot
committed
Definitions Update connectors
1 parent 85bc90a commit 32dfcc2

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

alsdkdefs/apis/connectors/connectors.v1.yaml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,79 @@ paths:
106106
required:
107107
- key
108108
parameters: []
109+
'/v1/connections/management/delete_message':
110+
delete:
111+
summary: Delete messages from a dlq
112+
operationId: delete_dlq_message
113+
responses:
114+
'204':
115+
description: No Content
116+
'403':
117+
description: Forbidden
118+
security:
119+
- aims_request_authorizer: []
120+
x-amazon-apigateway-request-validator: all
121+
x-amazon-apigateway-integration:
122+
type: aws_proxy
123+
httpMethod: POST
124+
uri:
125+
'Fn::Sub': 'arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${connectorsDeleteDLQMessageFunction.Arn}/invocations'
126+
description: Delete messages from a dlq
127+
requestBody:
128+
content:
129+
application/json:
130+
schema:
131+
type: object
132+
properties:
133+
key:
134+
type: string
135+
description: The identifier for the dlq to delete the messages from.
136+
enum:
137+
- notifications
138+
- audit_messages
139+
receipt_handles:
140+
type: array
141+
description: List of receipt handles to delete
142+
items:
143+
type: string
144+
required:
145+
- key
146+
- receipt_handles
147+
parameters: []
148+
'/v1/connections/management/dlq_messages/{key}':
149+
parameters:
150+
- schema:
151+
type: string
152+
enum:
153+
- notifications
154+
- audit_messages
155+
name: key
156+
in: path
157+
required: true
158+
description: DLQ Key
159+
get:
160+
summary: List messages in a dlq
161+
operationId: list_dlq_messages
162+
responses:
163+
'200':
164+
description: Messages from the DLQ
165+
'403':
166+
description: Forbidden
167+
security:
168+
- aims_request_authorizer: []
169+
x-amazon-apigateway-request-validator: all
170+
x-amazon-apigateway-integration:
171+
type: aws_proxy
172+
httpMethod: POST
173+
uri:
174+
'Fn::Sub': 'arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${connectorsListDLQMessagesFunction.Arn}/invocations'
175+
description: List messages in a dlq
176+
parameters:
177+
- schema:
178+
type: integer
179+
in: query
180+
name: max
181+
description: The max number of messages to return
109182
'/v1/connections/{id}/notification':
110183
parameters:
111184
- schema:

0 commit comments

Comments
 (0)