Slide 26
Slide 26 text
i n v o k e ( ) Ͱ e v e n t Λ h a n d l e r I n p u t ʹ ม
const input : HandlerInput = {
requestEnvelope, //͜Ε͕event
context,
attributesManager : AttributesManagerFactory.init({
requestEnvelope,
persistenceAdapter : this.persistenceAdapter,
}),
responseBuilder : ResponseFactory.init(),
serviceClientFactory : this.apiClient
? new ServiceClientFactory({
apiClient : this.apiClient,
apiEndpoint : requestEnvelope.context.System.apiEndpoint,
authorizationValue : requestEnvelope.context.System.apiAccessToken,
})
: undefined,
};
https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs/blob/2.0.x/ask-sdk-core/lib/skill/CustomSkill.ts#L65