Skip to content

Commit

Permalink
Silence no access to DAX #360
Browse files Browse the repository at this point in the history
  • Loading branch information
iann0036 committed Mar 15, 2024
1 parent 9b74747 commit c392397
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/services/dynamodb.js
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ async function updateDatatableDatabaseDynamoDB() {

await sdkcall("DAX", "describeClusters", {
// no params
}, true).then((data) => {
}, false).then((data) => {
$('#section-database-dynamodb-acceleratorclusters-datatable').deferredBootstrapTable('removeAll');

data.Clusters.forEach(cluster => {
Expand All @@ -464,7 +464,7 @@ async function updateDatatableDatabaseDynamoDB() {

await sdkcall("DAX", "describeParameterGroups", {
// no params
}, true).then(async (data) => {
}, false).then(async (data) => {
$('#section-database-dynamodb-acceleratorparametergroups-datatable').deferredBootstrapTable('removeAll');

await Promise.all(data.ParameterGroups.map(parameterGroup => {
Expand All @@ -491,7 +491,7 @@ async function updateDatatableDatabaseDynamoDB() {

await sdkcall("DAX", "describeSubnetGroups", {
// no params
}, true).then((data) => {
}, false).then((data) => {
$('#section-database-dynamodb-acceleratorsubnetgroups-datatable').deferredBootstrapTable('removeAll');

data.SubnetGroups.forEach(subnetGroup => {
Expand Down

0 comments on commit c392397

Please sign in to comment.