Skip to content

Commit

Permalink
generate sample events for amazon connect (#1347)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranman authored and sriram-mv committed Aug 26, 2019
1 parent 6e5e357 commit db1d6c8
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,29 @@
}
}
},
"connect": {
"contact-flow-event": {
"filename": "ConnectContactFlowEvent",
"help": "Generates an Amazon Connect Contact Flow Event",
"tags": {
"region": {
"default": "us-east-1"
},
"partition": {
"default": "aws"
},
"account-id": {
"default": "123456789012"
},
"contact-id": {
"default": "5ca32fbd-8f92-46af-92a5-6b0f970f0efe"
},
"phone-number": {
"default": "+11234567890"
}
}
}
},
"dynamodb": {
"update": {
"filename": "DynamoDBUpdate",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"Name": "ContactFlowEvent",
"Details": {
"ContactData": {
"Attributes": {},
"Channel": "VOICE",
"ContactId": "{{{contact_id}}}",
"CustomerEndpoint": {
"Address": "{{{phone_number}}}",
"Type": "TELEPHONE_NUMBER"
},
"InitialContactId": "{{{contact_id}}}",
"InitiationMethod": "API",
"InstanceARN": "arn:{{{partition}}}:connect:{{{region}}}:{{{account_id}}}:instance/9308c2a1-9bc6-4cea-8290-6c0b4a6d38fa",
"MediaStreams": {
"Customer": {
"Audio": {
"StartFragmentNumber": "91343852333181432392682062622220590765191907586",
"StartTimestamp": "1565781909613",
"StreamARN": "arn:{{{partition}}}:kinesisvideo:{{{region}}}:{{{account_id}}}:stream/connect-contact-a3d73b84-ce0e-479a-a9dc-5637c9d30ac9/1565272947806"
}
}
},
"PreviousContactId": "{{{contact_id}}}",
"Queue": null,
"SystemEndpoint": {
"Address": "{{{phone_number}}}",
"Type": "TELEPHONE_NUMBER"
}
},
"Parameters": {}
}
}

0 comments on commit db1d6c8

Please sign in to comment.