Skip to content

Commit 24aa555

Browse files
author
Jeremiah Langner
committed
feat(dynamodb): replace sns integration response fn w dynamodb
1 parent cc43dd8 commit 24aa555

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/package/dynamodb/compileMethodsToDynamodb.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,19 @@ module.exports = {
7171
StatusCode: 200,
7272
SelectionPattern: 200,
7373
ResponseParameters: {},
74-
ResponseTemplates: this.getSnsIntegrationResponseTemplate(http, 'success')
74+
ResponseTemplates: this.getDynamodbResponseTemplates(http, 'success')
7575
},
7676
{
7777
StatusCode: 400,
7878
SelectionPattern: 400,
7979
ResponseParameters: {},
80-
ResponseTemplates: this.getSnsIntegrationResponseTemplate(http, 'clientError')
80+
ResponseTemplates: this.getDynamodbResponseTemplates(http, 'clientError')
8181
},
8282
{
8383
StatusCode: 500,
8484
SelectionPattern: 500,
8585
ResponseParameters: {},
86-
ResponseTemplates: this.getSnsIntegrationResponseTemplate(http, 'serverError')
86+
ResponseTemplates: this.getDynamodbResponseTemplates(http, 'serverError')
8787
}
8888
]
8989
}

0 commit comments

Comments
 (0)