public class ProactiveEventsServiceClient extends com.amazon.ask.model.services.BaseServiceClient implements ProactiveEventsService
Constructor and Description |
---|
ProactiveEventsServiceClient(com.amazon.ask.model.services.ApiConfiguration apiConfiguration,
com.amazon.ask.model.services.AuthenticationConfiguration authenticationConfiguration) |
ProactiveEventsServiceClient(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> |
callCreateProactiveEvent(CreateProactiveEventRequest createProactiveEventRequest,
SkillStage stage)
Create a new proactive event in live stage.
|
void |
createProactiveEvent(CreateProactiveEventRequest createProactiveEventRequest,
SkillStage stage)
Create a new proactive event in live stage.
|
public ProactiveEventsServiceClient(com.amazon.ask.model.services.ApiConfiguration apiConfiguration, com.amazon.ask.model.services.AuthenticationConfiguration authenticationConfiguration)
public ProactiveEventsServiceClient(com.amazon.ask.model.services.ApiConfiguration apiConfiguration, com.amazon.ask.model.services.lwa.LwaClient lwaClient)
public com.amazon.ask.model.services.ApiResponse<Void> callCreateProactiveEvent(CreateProactiveEventRequest createProactiveEventRequest, SkillStage stage) throws com.amazon.ask.model.services.ServiceException
callCreateProactiveEvent
in interface ProactiveEventsService
createProactiveEventRequest
- Request to create a new proactive event. (required)com.amazon.ask.model.services.ServiceException
- if fails to make API callpublic void createProactiveEvent(CreateProactiveEventRequest createProactiveEventRequest, SkillStage stage) throws com.amazon.ask.model.services.ServiceException
createProactiveEvent
in interface ProactiveEventsService
createProactiveEventRequest
- Request to create a new proactive event. (required)com.amazon.ask.model.services.ServiceException
- if fails to make API callCopyright © 2023. All rights reserved.