Skip to content

Commit c8b7ff9

Browse files
author
cibot
committed
Definitions Update connectors
1 parent 3d690f1 commit c8b7ff9

File tree

1 file changed

+131
-0
lines changed

1 file changed

+131
-0
lines changed

alsdkdefs/apis/connectors/connectors.v1.yaml

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,137 @@ paths:
311311
in: query
312312
name: dry_run
313313
description: When present and set to `true` just tests the connection without creating a connection instance.
314+
'/v1/{account_id}/connection_targets/{id}':
315+
parameters:
316+
- schema:
317+
type: string
318+
name: account_id
319+
in: path
320+
required: true
321+
description: AIMS Account ID
322+
- schema:
323+
type: string
324+
format: uuid
325+
name: id
326+
in: path
327+
required: true
328+
description: Connection Target ID
329+
get:
330+
summary: Get Existing Connection Target Information
331+
tags: []
332+
responses:
333+
'200':
334+
description: OK
335+
content:
336+
application/json:
337+
schema:
338+
type: object
339+
examples: {}
340+
'403':
341+
description: Forbidden
342+
'404':
343+
description: Not Found
344+
operationId: get_connection_target
345+
description: Returns Connection Target Information
346+
security:
347+
- aims_request_authorizer: []
348+
x-amazon-apigateway-integration:
349+
uri:
350+
'Fn::Sub': 'arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${connectorsGetConnectionTarget.Arn}/invocations'
351+
delete:
352+
summary: Delete existing connection target
353+
operationId: delete_connection_target
354+
responses:
355+
'204':
356+
description: No Content
357+
'401':
358+
description: Unauthorized
359+
'404':
360+
description: Not Found
361+
security:
362+
- aims_request_authorizer: []
363+
x-amazon-apigateway-integration:
364+
uri:
365+
'Fn::Sub': 'arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${connectorsDeleteConnectionTargetFunction.Arn}/invocations'
366+
description: Deletes existing connection target
367+
put:
368+
summary: Update existing connection target
369+
operationId: update_connection_target
370+
responses:
371+
'200':
372+
description: "Existing Connection Target"
373+
content:
374+
application/json:
375+
schema:
376+
type: object
377+
'403':
378+
description: Forbidden
379+
'404':
380+
description: Not Found
381+
security:
382+
- aims_request_authorizer: []
383+
x-amazon-apigateway-integration:
384+
uri:
385+
'Fn::Sub': 'arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${connectorsUpdateConnectionTarget.Arn}/invocations'
386+
description: Updates existing connection target
387+
requestBody:
388+
content:
389+
application/json:
390+
schema:
391+
type: object
392+
description: Valid Connection Target Object
393+
'/v1/{account_id}/connection_targets':
394+
parameters:
395+
- schema:
396+
type: string
397+
name: account_id
398+
in: path
399+
required: true
400+
description: AIMS Account ID
401+
get:
402+
summary: "List all account's connection targets"
403+
tags: []
404+
responses:
405+
'200':
406+
description: OK
407+
content:
408+
application/json:
409+
schema:
410+
type: array
411+
items:
412+
type: object
413+
operationId: list_connection_targets
414+
description: Returns a list of all connections targets for an account
415+
security:
416+
- aims_request_authorizer: []
417+
post:
418+
summary: Create connection target
419+
operationId: create_connection_target
420+
responses:
421+
'201':
422+
description: "New connection target object created"
423+
content:
424+
application/json:
425+
schema:
426+
type: object
427+
'403':
428+
description: Forbidden
429+
'404':
430+
description: Not Found
431+
security:
432+
- aims_request_authorizer: []
433+
x-amazon-apigateway-integration:
434+
uri:
435+
'Fn::Sub': 'arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${connectorsCreateConnectionTarget.Arn}/invocations'
436+
description: Create connection target
437+
requestBody:
438+
content:
439+
application/json:
440+
schema:
441+
type: object
442+
description: Valid Connection Target object
443+
examples: {}
444+
description: Valid Integration Connection Objects
314445
'/v1/integration_types/{name}':
315446
parameters:
316447
- schema:

0 commit comments

Comments
 (0)