Skip to content

Commit 41f5d92

Browse files
author
cibot
committed
Definitions Update responder
1 parent d0f7631 commit 41f5d92

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

alsdkdefs/apis/responder/responder.v1.yaml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,61 @@ paths:
777777
requestParameters:
778778
- integration.request.path.account_id: method.request.path.account_id
779779
- integration.request.path.id: method.request.path.id
780+
'/v1/{account_id}/incidents/{incident_id}/responses':
781+
parameters:
782+
- schema:
783+
type: string
784+
name: account_id
785+
in: path
786+
required: true
787+
description: AIMS Account ID
788+
- schema:
789+
type: string
790+
name: incident_id
791+
in: path
792+
required: true
793+
description: incident id
794+
get:
795+
summary: Get list of MR items configured for an incident
796+
tags: []
797+
responses:
798+
'200':
799+
description: OK
800+
content:
801+
application/json:
802+
schema:
803+
type: object
804+
properties:
805+
mr_config_ids:
806+
type: array
807+
items:
808+
type: string
809+
'401':
810+
description: Unauthorized
811+
'404':
812+
description: Not Found
813+
operationId: get_responses_for_incident
814+
description: Returns list of MR config objects
815+
security:
816+
- aims_request_authorizer: []
817+
x-amazon-apigateway-integration:
818+
httpMethod: POST
819+
type: aws_proxy
820+
uri:
821+
'Fn::Sub': 'arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${ResponderManagedResponse.Outputs.ResponderGetResponsesForIncidentFunction}:responderGetResponsesForIncident/invocations'
822+
passthroughBehavior: when_no_match
823+
payloadFormatVersion: '1.0'
824+
requestParameters:
825+
- integration.request.path.account_id: method.request.path.account_id
826+
- integration.request.path.incident_id: method.request.path.incident_id
827+
parameters:
828+
- schema:
829+
type: string
830+
enum:
831+
- xdr
832+
in: query
833+
name: product_type
834+
description: return only MR configs for a specific product type
780835
'/v1/{account_id}/actions':
781836
parameters:
782837
- schema:

0 commit comments

Comments
 (0)