I'm attempting to use the AWS JS SDK to fire off a voice call. What I can't figure out is what the ConfigurationSetName
is, or where in the AWS Console it is configured.
For example:
await pinpoint.sendVoiceMessage({
CallerId: '+12025550184',
ConfigurationSetName: '***WHAT GOES HERE??***',
Content: {
SSMLMessage: {
LanguageCode: 'en-US',
Text: '<speak>Hello!</speak>',
VoiceId: 'Joanna'
}
},
DestinationPhoneNumber: '+12025550150',
OriginationPhoneNumber: '+12025550184'
}).promise();
All I've been able to find is the REST API documentation. This doesn't explain where to set one up in the AWS Console in the first place.