public class SkillMessagingServiceClient extends com.amazon.ask.model.services.BaseServiceClient implements SkillMessagingService
Constructor and Description |
---|
SkillMessagingServiceClient(com.amazon.ask.model.services.ApiConfiguration apiConfiguration,
com.amazon.ask.model.services.AuthenticationConfiguration authenticationConfiguration) |
SkillMessagingServiceClient(com.amazon.ask.model.services.ApiConfiguration apiConfiguration,
com.amazon.ask.model.services.lwa.LwaClient lwaClient) |
Modifier and Type | Method and Description |
---|---|
com.amazon.ask.model.services.ApiResponse<Void> |
callSendSkillMessage(String userId,
SendSkillMessagingRequest sendSkillMessagingRequest)
Send a message request to a skill for a specified user.
|
void |
sendSkillMessage(String userId,
SendSkillMessagingRequest sendSkillMessagingRequest)
Send a message request to a skill for a specified user.
|
public SkillMessagingServiceClient(com.amazon.ask.model.services.ApiConfiguration apiConfiguration, com.amazon.ask.model.services.AuthenticationConfiguration authenticationConfiguration)
public SkillMessagingServiceClient(com.amazon.ask.model.services.ApiConfiguration apiConfiguration, com.amazon.ask.model.services.lwa.LwaClient lwaClient)
public com.amazon.ask.model.services.ApiResponse<Void> callSendSkillMessage(String userId, SendSkillMessagingRequest sendSkillMessagingRequest) throws com.amazon.ask.model.services.ServiceException
callSendSkillMessage
in interface SkillMessagingService
userId
- The user Id for the specific user to send the message (required)sendSkillMessagingRequest
- Message Request to be sent to the skill. (required)com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic void sendSkillMessage(String userId, SendSkillMessagingRequest sendSkillMessagingRequest) throws com.amazon.ask.model.services.ServiceException
sendSkillMessage
in interface SkillMessagingService
userId
- The user Id for the specific user to send the message (required)sendSkillMessagingRequest
- Message Request to be sent to the skill. (required)com.amazon.ask.model.services.ServiceException
- if fails to make API callCopyright © 2023. All rights reserved.