amazon-connect/amazon-connect-message-streaming-examples

lib/chat-message-streaming-examples-stack.ts:259:27 - error TS1109: Expression expected.

jww opened this issue · 2 comments

jww commented

There seems to be an inadvertent change to the lib/chat-message-streaming-examples-stack.ts file.

node_modules/ts-node/src/index.ts:513
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
lib/chat-message-streaming-examples-stack.ts:259:27 - error TS1109: Expression expected.

259 arn:aws:s3:::${}/*,

Getting the same error.

I tried to fix the issue by reverting this line to the previous commit.

changed this:
arn:aws:s3:::${}/*,

to this
arn:aws:mobiletargeting:${this.region}:${this.account}:apps/${this.node.tryGetContext("pinpointAppId")}/messages,

cdk deploys fine, however, messages from the Agent to the mobile cell phone are not sending. The agent is able to see messages from the customer, but the agent cannot send messages back to the customer.

Can we get an update on when this can be resolved?

Thanks for calling this out, addressed this (rolled back to previous version).