Search
Preparing search index...
The search index is not available
ASK SDK for Node.js
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
StandardSkillBuilder
Interface StandardSkillBuilder
An interface containing help functions to build a
CustomSkill
with dynamoDB configuration options.
Hierarchy
BaseSkillBuilder
StandardSkillBuilder
Index
Methods
add
Error
Handler
add
Error
Handlers
add
Request
Handler
add
Request
Handlers
add
Request
Interceptors
add
Response
Interceptors
create
get
Skill
Configuration
lambda
with
Auto
Create
Table
with
Custom
User
Agent
with
Dynamo
DbClient
with
Partition
Key
Generator
with
Skill
Id
with
Table
Name
Methods
add
Error
Handler
add
Error
Handler
(
matcher
:
function
, executor
:
function
)
:
this
Parameters
matcher:
function
(
input
:
HandlerInput
, error
:
Error
)
:
Promise
<
boolean
>
|
boolean
Parameters
input:
HandlerInput
error:
Error
Returns
Promise
<
boolean
>
|
boolean
executor:
function
(
input
:
HandlerInput
, error
:
Error
)
:
Promise
<
Response
>
|
Response
Parameters
input:
HandlerInput
error:
Error
Returns
Promise
<
Response
>
|
Response
Returns
this
add
Error
Handlers
add
Error
Handlers
(
...
errorHandlers
:
CustomSkillErrorHandler
[]
)
:
this
Parameters
Rest
...
errorHandlers:
CustomSkillErrorHandler
[]
Returns
this
add
Request
Handler
add
Request
Handler
(
matcher
:
function
|
string
, executor
:
function
)
:
this
Parameters
matcher:
function
|
string
executor:
function
(
input
:
HandlerInput
)
:
Promise
<
Response
>
|
Response
Parameters
input:
HandlerInput
Returns
Promise
<
Response
>
|
Response
Returns
this
add
Request
Handlers
add
Request
Handlers
(
...
requestHandlers
:
CustomSkillRequestHandler
[]
)
:
this
Parameters
Rest
...
requestHandlers:
CustomSkillRequestHandler
[]
Returns
this
add
Request
Interceptors
add
Request
Interceptors
(
...
executors
:
Array
<
CustomSkillRequestInterceptor
|
function
>
)
:
this
Parameters
Rest
...
executors:
Array
<
CustomSkillRequestInterceptor
|
function
>
Returns
this
add
Response
Interceptors
add
Response
Interceptors
(
...
executors
:
Array
<
CustomSkillResponseInterceptor
|
function
>
)
:
this
Parameters
Rest
...
executors:
Array
<
CustomSkillResponseInterceptor
|
function
>
Returns
this
create
create
(
)
:
CustomSkill
Returns
CustomSkill
get
Skill
Configuration
get
Skill
Configuration
(
)
:
CustomSkillConfiguration
Returns
CustomSkillConfiguration
lambda
lambda
(
)
:
LambdaHandler
Returns
LambdaHandler
with
Auto
Create
Table
with
Auto
Create
Table
(
autoCreateTable
:
boolean
)
:
this
Parameters
autoCreateTable:
boolean
Returns
this
with
Custom
User
Agent
with
Custom
User
Agent
(
customUserAgent
:
string
)
:
this
Parameters
customUserAgent:
string
Returns
this
with
Dynamo
DbClient
with
Dynamo
DbClient
(
customDynamoDBClient
:
DynamoDB
)
:
this
Parameters
customDynamoDBClient:
DynamoDB
Returns
this
with
Partition
Key
Generator
with
Partition
Key
Generator
(
partitionKeyGenerator
:
PartitionKeyGenerator
)
:
this
Parameters
partitionKeyGenerator:
PartitionKeyGenerator
Returns
this
with
Skill
Id
with
Skill
Id
(
skillId
:
string
)
:
this
Parameters
skillId:
string
Returns
this
with
Table
Name
with
Table
Name
(
tableName
:
string
)
:
this
Parameters
tableName:
string
Returns
this
Globals
Standard
Skill
Builder
add
Error
Handler
add
Error
Handlers
add
Request
Handler
add
Request
Handlers
add
Request
Interceptors
add
Response
Interceptors
create
get
Skill
Configuration
lambda
with
Auto
Create
Table
with
Custom
User
Agent
with
Dynamo
DbClient
with
Partition
Key
Generator
with
Skill
Id
with
Table
Name
An interface containing help functions to build a CustomSkill with dynamoDB configuration options.